summaryrefslogtreecommitdiff
path: root/pcr/python2-daemon/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-02 12:53:04 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-02 12:53:04 -0500
commit9a81a5c9e387f080d8a9240bd19230ca5ff1e31f (patch)
treea40a9df667bf31fa3467c64aea4a165a0014cb2e /pcr/python2-daemon/PKGBUILD
parent175841ac785728510c2b8676d71906e121f2da3f (diff)
downloadabslibre-9a81a5c9e387f080d8a9240bd19230ca5ff1e31f.tar.gz
abslibre-9a81a5c9e387f080d8a9240bd19230ca5ff1e31f.tar.bz2
abslibre-9a81a5c9e387f080d8a9240bd19230ca5ff1e31f.zip
python2-daemon-2.0.5-1: updating version
Diffstat (limited to 'pcr/python2-daemon/PKGBUILD')
-rw-r--r--pcr/python2-daemon/PKGBUILD20
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')