summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFantix King2016-01-19 12:29:59 +0800
committerFantix King2016-01-19 21:17:31 +0800
commitcda97127b8df4fa3bb193f7d1cefaa597970a5a3 (patch)
tree005136125c360d31042133e1a2390fb45f4800a8
downloadaur-cda97127b8df4fa3bb193f7d1cefaa597970a5a3.tar.gz
0.4.9-2.1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD37
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..187cecc8e4b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Tue Jan 19 13:16:09 UTC 2016
+pkgbase = libx32-python-greenlet
+ pkgdesc = Lightweight in-process concurrent programming (x32 ABI)
+ pkgver = 0.4.9
+ pkgrel = 2.1
+ url = http://pypi.python.org/pypi/greenlet
+ arch = x86_64
+ license = MIT
+ makedepends = python-setuptools
+ depends = libx32-python
+ depends = python-greenlet
+ source = https://pypi.python.org/packages/source/g/greenlet/greenlet-0.4.9.zip
+ sha512sums = 2dce966827caf32b21cf005498ef6e595524ffb0aabbe424c705850986edfda4f4b2ba791180a7de900b1778594851de83a5b2cc69baf31c968ee8fb9131ba58
+
+pkgname = libx32-python-greenlet
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..558aa88f477
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 142448 2015-10-01 16:05:48Z fyan $
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Ralf Schmitt <ralf@systemexit.de>
+
+_pkgbasename=python-greenlet
+pkgname=libx32-python-greenlet
+pkgver=0.4.9
+pkgrel=2.1
+pkgdesc="Lightweight in-process concurrent programming (x32 ABI)"
+license=("MIT")
+url="http://pypi.python.org/pypi/greenlet"
+makedepends=('python-setuptools')
+depends=('libx32-python' $_pkgbasename)
+source=("https://pypi.python.org/packages/source/g/greenlet/greenlet-${pkgver}.zip")
+arch=('x86_64')
+
+build() {
+ cd greenlet-$pkgver
+ python-x32 setup.py build
+}
+
+check() {
+ cd greenlet-$pkgver
+ python-x32 setup.py test
+}
+
+package() {
+ cd greenlet-$pkgver
+ python-x32 setup.py install -O1 --root="$pkgdir"
+
+ rm -rf "${pkgdir}"/usr/{share,libx32/python}
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+sha512sums=('2dce966827caf32b21cf005498ef6e595524ffb0aabbe424c705850986edfda4f4b2ba791180a7de900b1778594851de83a5b2cc69baf31c968ee8fb9131ba58')