summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py-peewee/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-peewee/APKBUILD b/testing/py-peewee/APKBUILD
new file mode 100644
index 000000000..a8aa28f4e
--- /dev/null
+++ b/testing/py-peewee/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-peewee
+_pkgname=peewee
+pkgver=2.1.4
+pkgrel=0
+pkgdesc="A small, expressive Object-relational mapping"
+url="https://github.com/coleifer/peewee"
+arch="noarch"
+license="MIT"
+depends="python"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="7118e364b3fa9409a9003f34415a2394 peewee-2.1.4.tar.gz"
+sha256sums="fbe35b74bdccd3ebcb5c7fe49b5d6b71a426b0c1589d72697a4649dd84410230 peewee-2.1.4.tar.gz"
+sha512sums="a6f44ab9ee43264ba14e3738f5156bf2d5873307938a1f78f0202b7da43f630b4cdcfb93817f36402a48e74b8b7a5e12368843c5a95aac9fde9b4e8c64f94caf peewee-2.1.4.tar.gz"