[arch-commits] Commit in supervisor/trunk (PKGBUILD)
Massimiliano Torromeo
mtorromeo at nymeria.archlinux.org
Sat Feb 2 13:35:12 UTC 2013
Date: Saturday, February 2, 2013 @ 14:35:12
Author: mtorromeo
Revision: 83526
upgpkg: supervisor 3.0a12-4
Moved setup.py install phase in the package() function and remodev unnecessary dependency python2-distribute
Modified:
supervisor/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-02 13:30:16 UTC (rev 83525)
+++ PKGBUILD 2013-02-02 13:35:12 UTC (rev 83526)
@@ -4,12 +4,13 @@
pkgname=supervisor
pkgver=3.0a12
-pkgrel=3
+pkgrel=4
pkgdesc="A system for controlling process state under UNIX"
arch=('any')
url="http://supervisord.org"
license=('custom')
-depends=('python2-distribute' 'python2-meld3')
+depends=('python2-meld3')
+makedepends=('python2-distribute')
backup=('etc/supervisord.conf')
source=("http://pypi.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz"
'supervisord'
@@ -21,11 +22,13 @@
cd "$srcdir/$pkgname-$pkgver"
rm -rf "supervisor/medusa/"{debian,demo,docs,test}
find -type f -name "*.py" -exec sed -i 's|/usr/bin/env python|/usr/bin/env python2|' {} \;
- python2 setup.py install -O1 --prefix=/usr --root="$pkgdir"
+ python2 setup.py build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install -O1 --skip-build --prefix=/usr --root="$pkgdir"
+
install -Dm600 "$srcdir/supervisord.conf" "$pkgdir/etc/supervisord.conf"
install -Dm755 "$srcdir/supervisord" "$pkgdir/etc/rc.d/supervisord"
install -Dm644 "$srcdir/supervisor.logrotate" "$pkgdir/etc/logrotate.d/supervisor"
More information about the arch-commits
mailing list