diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-30 11:27:51 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-30 12:45:26 +0200 |
commit | db7e34bf4a0ad7f5f04bcdf6b8b0701ec1163c7d (patch) | |
tree | a6e7dcdd3be5ac302150fd0c756069f2a6a64ebb /community/py-waitress | |
parent | 50a3468a18d6eb9e4239b1400d785ec4818fe966 (diff) | |
download | aports-db7e34bf4a0ad7f5f04bcdf6b8b0701ec1163c7d.tar.bz2 aports-db7e34bf4a0ad7f5f04bcdf6b8b0701ec1163c7d.tar.xz |
community/py-waitress: add -openrc subpkg
Diffstat (limited to 'community/py-waitress')
-rw-r--r-- | community/py-waitress/APKBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/community/py-waitress/APKBUILD b/community/py-waitress/APKBUILD index 9822a343fa..b9bae46781 100644 --- a/community/py-waitress/APKBUILD +++ b/community/py-waitress/APKBUILD @@ -3,14 +3,14 @@ pkgname=py-waitress _pkgname=waitress pkgver=1.1.0 -pkgrel=0 +pkgrel=1 pkgdesc="A Python WSGI server" url="https://github.com/Pylons/waitress" arch="noarch" license="ZPL-2.1" checkdepends="py-nose" makedepends="python2-dev python3-dev py-setuptools" -subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3" +subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3 $pkgname-openrc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz waitress.initd waitress.confd" @@ -40,6 +40,11 @@ package() { install -D -m 644 "$srcdir"/waitress.confd etc/conf.d/waitress } +openrc() { + default_openrc + depends="$pkgname=$pkgver-r$pkgrel" +} + _py2() { replaces="$pkgname" _py python2 |