aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-peewee
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-14 07:31:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-17 15:01:25 +0000
commit5aa59f496cb821acadb2ee4af9359dbacc545c5a (patch)
tree8fed1e104d676ab3e5c78dc57c50e4ad36057e94 /testing/py-peewee
parent14de9aa5e6e6a121a02fdb6238c59139f8674166 (diff)
downloadaports-5aa59f496cb821acadb2ee4af9359dbacc545c5a.tar.bz2
aports-5aa59f496cb821acadb2ee4af9359dbacc545c5a.tar.xz
testing/py-peewee: new aport
A small, expressive Object-relational mapping https://github.com/coleifer/peewee
Diffstat (limited to 'testing/py-peewee')
-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 0000000000..a8aa28f4e7
--- /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"