aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/py-ansicolors/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-ansicolors/APKBUILD b/testing/py-ansicolors/APKBUILD
new file mode 100644
index 0000000000..0ce90d7b32
--- /dev/null
+++ b/testing/py-ansicolors/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-ansicolors
+_pkgname=ansicolors
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="ANSI colors for Python"
+url="http://github.com/verigak/colors/"
+arch="noarch"
+license="ISC"
+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="d3a19fcd75c89772360e0d2b693fc50f ansicolors-1.0.2.tar.gz"
+sha256sums="7664530bb992e3847b61e3aab1580b4df9ed00c5898e80194a9933bc9c80950a ansicolors-1.0.2.tar.gz"
+sha512sums="311417b544a81737ff05ad0dda3731e0e0d26528ac829cbc29020f79d62fb67f68de99b5d64e1404309fc7ea02a5884428431eb859c2f6f6e4d89ce899e3bfe4 ansicolors-1.0.2.tar.gz"