aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/pyx/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/pyx/APKBUILD')
-rw-r--r--unmaintained/pyx/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/pyx/APKBUILD b/unmaintained/pyx/APKBUILD
new file mode 100644
index 0000000000..cbbbf8e3d4
--- /dev/null
+++ b/unmaintained/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"