aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-07-15 12:06:07 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-07-15 12:08:12 +0000
commit038af385b95523de2f6ae1833c574cd40e0ecc9d (patch)
tree1f899190f970fe306bea48465aa79d7984bce7a8 /testing
parentca9d3440ad31af369f34e721ba4da7d9afedea68 (diff)
downloadaports-038af385b95523de2f6ae1833c574cd40e0ecc9d.tar.bz2
aports-038af385b95523de2f6ae1833c574cd40e0ecc9d.tar.xz
testing/pyx: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/pyx/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/pyx/APKBUILD b/testing/pyx/APKBUILD
new file mode 100644
index 0000000000..cbbbf8e3d4
--- /dev/null
+++ b/testing/pyx/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=pyx
+_pkgname=PyX
+pkgver=0.12
+pkgrel=0
+pkgdesc="Python graphics package"
+url="http://pyx.sourceforge.net/"
+arch="noarch"
+license="GPL2"
+depends="python"
+depends_dev=""
+makedepends="$depends_dev python-dev"
+install=""
+subpackages=""
+source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$_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="ce5fbaf4edf8125e0cf4de24d88d784f PyX-0.12.tar.gz"
+sha256sums="859285bc2bd51739b7eb72ecf4f7bc81355b28dcbf81e887d8cbf295526a05f2 PyX-0.12.tar.gz"
+sha512sums="8e6d1bcc898a1b33e290ca8feb8084fb34b1bff17694ad469951533133b44b8f51912747bc034c74392d7903b3acc34afe2e35b2d34fe224e634db22447c4614 PyX-0.12.tar.gz"