diff options
Diffstat (limited to 'pcr/python2-daemon/PKGBUILD')
-rw-r--r-- | pcr/python2-daemon/PKGBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/pcr/python2-daemon/PKGBUILD b/pcr/python2-daemon/PKGBUILD index 431ff7e8e..382af4ed5 100644 --- a/pcr/python2-daemon/PKGBUILD +++ b/pcr/python2-daemon/PKGBUILD @@ -2,19 +2,25 @@ # Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> pkgname=python2-daemon -pkgver=1.6 -pkgrel=2 +_libname=${pkgname/python2-/python-} +pkgver=2.0.5 +pkgrel=1 pkgdesc="Library to implement a well-behaved Unix daemon process" -license=("PSF-2+") +license=("PSF") url="http://pypi.python.org/pypi/python-daemon" depends=('python2-lockfile') -makedepends=('python2-distribute') +makedepends=('python2-setuptools' 'python2-docutils') source=(http://pypi.python.org/packages/source/p/python-daemon/python-daemon-$pkgver.tar.gz) arch=('any') -options=(!emptydirs) build() { - cd "$srcdir/python-daemon-$pkgver" - python2 setup.py install --root="$pkgdir" + cd "$srcdir/$_libname-$pkgver" + python2 setup.py build } +package() { + cd "$srcdir/$_libname-$pkgver" + python2 setup.py install --skip-build -O1 --root="$pkgdir" +} + +sha256sums=('afde4fa433d94d007206ee31a0941d55b5eb232a5422b670aad628547b46bf68') |