diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..97acb90c426a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-pgi + pkgdesc = Pure Python GObject Introspection Bindings. Needed for gi with pypy + pkgver = 0.0.10.1 + pkgrel = 1 + url = https://pypi.python.org/pypi/pgi + arch = any + license = GPL + depends = python + depends = python-gobject + options = !emptydirs + source = https://pypi.python.org/packages/source/p/pgi/pgi-0.0.10.1.tar.gz + md5sums = b624bb10f6c84955c6fb03a11867aa30 + +pkgname = python-pgi + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e77765166867 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: BenoƮt Taine <ork@olol.eu> +_pypi_module=pgi +pkgname=python-${_pypi_module} +pkgver=0.0.10.1 +pkgrel=1 +pkgdesc="Pure Python GObject Introspection Bindings. Needed for gi with pypy" +arch=(any) +url="https://pypi.python.org/pypi/pgi" +license=('GPL') +groups=() +depends=('python' 'python-gobject') +makedepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +install= +source=("https://pypi.python.org/packages/source/p/pgi/pgi-${pkgver}.tar.gz") +md5sums=(b624bb10f6c84955c6fb03a11867aa30) + +package() { + cd "$srcdir/$_pypi_module-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |