From b645209f3f58eb797512f367fe9c62792fbd9720 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 1 Sep 2011 16:42:10 -0500 Subject: main/py-gnutls: move from testing --- main/py-gnutls/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 main/py-gnutls/APKBUILD (limited to 'main') diff --git a/main/py-gnutls/APKBUILD b/main/py-gnutls/APKBUILD new file mode 100644 index 000000000..abaf40411 --- /dev/null +++ b/main/py-gnutls/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista + +pkgname=py-gnutls +_name=python-gnutls +pkgver=1.2.2 +pkgrel=0 +pkgdesc="Python wrapper for the GNUTLS library" +url="http://pypi.python.org/pypi/python-gnutls" +arch="all" +license="PSF" +depends="python" +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 ${_buildroot} + python setup.py build +} + +package() { + cd ${_buildroot} + python setup.py install --root="$pkgdir" +} + +md5sums="1ca32b3e2d22ca33a15222191efc04aa python-gnutls-1.2.2.tar.gz" -- cgit v1.2.3