diff options
Diffstat (limited to 'testing/supervisor/APKBUILD')
-rw-r--r-- | testing/supervisor/APKBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/supervisor/APKBUILD b/testing/supervisor/APKBUILD new file mode 100644 index 0000000000..fab6c7b0f2 --- /dev/null +++ b/testing/supervisor/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Peter Bui <pnutzh4x0r@gmail.com> +# Maintainer: +pkgname=supervisor +pkgver=3.1.1 +pkgrel=0 +pkgdesc="A system for controlling process state under UNIX" +url="http://supervisord.org" +arch="noarch" +license="custom" +depends="python py-meld3" +depends_dev="python-dev py-setuptools" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz + supervisord.conf + supervisord.initrd + supervisord.logrotate" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 || return 1 + install -Dm600 "$srcdir/supervisord.conf" "$pkgdir/etc/supervisord.conf" + install -Dm755 "$srcdir/supervisord.initrd" "$pkgdir/etc/init.d/supervisord" + install -Dm644 "$srcdir/supervisord.logrotate" "$pkgdir/etc/logrotate.d/supervisord" +} + +md5sums="8c9714feaa63902f03871317e3ebf62e supervisor-3.1.1.tar.gz +57e02ffc69bd9e320427fedbb7e94970 supervisord.conf +b3b6e90ac903e87953b965822542053c supervisord.initrd +0701f381ce4057767d513183aba09edd supervisord.logrotate" +sha256sums="e3c3b35804c24b6325b5ba462553ebee80d5f4d1766274737b5c532cd4a11d59 supervisor-3.1.1.tar.gz +6537f5cc77e9ba23191a8cb650cafffae6556c0d4c038e7b45554259a660261d supervisord.conf +56ad06ceba126c6a928afdd27b6070a8a15d547eccae7743e924b6992e0084ea supervisord.initrd +fabd336baf786118635b8fce26f78d944eb57db7157012703ba9be754fdaac40 supervisord.logrotate" +sha512sums="bcd4841185b3eb51c59e0252ec2b825fe2799fec4f81eb4c27ac28103cae6b54819938c57d2c2dfb0d90291a3938b8bd6e033aa7dd75af501224ed94b9a92c13 supervisor-3.1.1.tar.gz +ce99b46b2f9112ed89d96a5d4844f91af1fc560d9db00291600e114f7e5a0ae7e5257e2240468669499275fe918d149f56359ce427628dff46b32d57e64f1052 supervisord.conf +b18ee1f978b3749804eb695bcc36e9dcabf7d11486bcf180675bab8da442fb4e70c95338d110b12a238a83ccc4f78a37cd5446cb6d64c77ed6d6c75cb53d9249 supervisord.initrd +881fd0893280cb5053f56128838af51b6c79d715559e7b04a268102fd7b6121c99ff4411ed7f443f21232146925d40e1fbe269e5fcefa3f86fa35ba9d3625193 supervisord.logrotate" |