summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD26
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6ceb871be8e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-mixer
+ pkgdesc = Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects.
+ pkgver = 6.0.0
+ pkgrel = 1
+ url = https://github.com/klen/mixer
+ arch = any
+ license = BSD-3
+ makedepends = python-setuptools
+ depends = python-faker
+ optdepends = python-django: Django ORM support
+ optdepends = python-flask-sqlalchemy: SQLAlchemy ORM support and integration as Flask application
+ optdepends = python-mongoengine: Mongoengine ODM support
+ optdepends = python-sqlalchemy: SQLAlchemy ORM support
+ source = python-mixer-6.0.0.tar.gz::https://codeload.github.com/klen/mixer/tar.gz/6.0.0
+ sha256sums = 140fae4fa0b060d2b90a0e53b19db9c0d42fecd83f7059707a6f751d9c1e1328
+
+pkgname = python-mixer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..65b133deae0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Adam Schubert <adam.schubert@sg1-game.net>
+
+pkgname=python-mixer
+pkgver=6.0.0
+pkgdesc="Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects."
+pkgrel=1
+arch=('any')
+license=('BSD-3')
+url='https://github.com/klen/mixer'
+source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/klen/mixer/tar.gz/$pkgver)
+sha256sums=('140fae4fa0b060d2b90a0e53b19db9c0d42fecd83f7059707a6f751d9c1e1328')
+makedepends=('python-setuptools')
+depends=(
+ 'python-faker'
+)
+
+optdepends=('python-django: Django ORM support'
+ 'python-flask-sqlalchemy: SQLAlchemy ORM support and integration as Flask application'
+ 'python-mongoengine: Mongoengine ODM support'
+ 'python-sqlalchemy: SQLAlchemy ORM support'
+)
+
+package() {
+ cd "${srcdir}/mixer-${pkgver}"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}