diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-09-01 16:41:23 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-09-01 16:41:23 -0500 |
commit | 1eadca3b451a5675ee96a7ce0d85c30d6a6f8674 (patch) | |
tree | 4a1a498c761196ecf2def2c2bdaf188026aba52f /testing | |
parent | eb32838e2726075282be2bd2c7ac6b19e272c3f0 (diff) | |
download | aports-1eadca3b451a5675ee96a7ce0d85c30d6a6f8674.tar.bz2 aports-1eadca3b451a5675ee96a7ce0d85c30d6a6f8674.tar.xz |
testing/py-gnutls: upgrade to 1.2.2
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-gnutls/APKBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/testing/py-gnutls/APKBUILD b/testing/py-gnutls/APKBUILD index c52934242..abaf40411 100644 --- a/testing/py-gnutls/APKBUILD +++ b/testing/py-gnutls/APKBUILD @@ -3,8 +3,8 @@ pkgname=py-gnutls _name=python-gnutls -pkgver=1.2.0 -pkgrel=1 +pkgver=1.2.2 +pkgrel=0 pkgdesc="Python wrapper for the GNUTLS library" url="http://pypi.python.org/pypi/python-gnutls" arch="all" @@ -14,10 +14,16 @@ makedepends="python-dev gnutls-dev" install= subpackages="" source="http://pypi.python.org/packages/source/p/$_name/$_name-$pkgver.tar.gz" + +_buildroot=${srcdir}/${_name}-${pkgver} build() { - cd "$srcdir"/$_name-$pkgver - mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages + cd ${_buildroot} + python setup.py build +} + +package() { + cd ${_buildroot} python setup.py install --root="$pkgdir" - echo "/usr/lib/python2.6/site-packages/$_name-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_name.pth } -md5sums="18a7b92abdc1598b916d7ff5019b72bf python-gnutls-1.2.0.tar.gz" + +md5sums="1ca32b3e2d22ca33a15222191efc04aa python-gnutls-1.2.2.tar.gz" |