diff options
Diffstat (limited to 'community/py3-setproctitle')
-rw-r--r-- | community/py3-setproctitle/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/py3-setproctitle/APKBUILD b/community/py3-setproctitle/APKBUILD new file mode 100644 index 0000000000..9093e394fe --- /dev/null +++ b/community/py3-setproctitle/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname=py3-setproctitle +_pkgname=setproctitle +pkgver=1.1.10 +pkgrel=3 +pkgdesc="A Python module to customize the process title" +url="https://github.com/dvarrazzo/py-setproctitle" +arch="all" +license="BSD" +depends="python3" +makedepends="musl-dev py3-setuptools python3-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/dvarrazzo/$pkgname/archive/version-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-version-$pkgver" + +replaces=py-setproctitle # Backwards compatibility +provides=py-setproctitle=$pkgver-r$pkgrel # Backwards compatibility + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="987729fd4f6b1f6ca1bead0814a2917eee4a30b01cdd8c3f0d028c4f925f1d1eff2ee2fe3945a2770d9cc7a6f2e74059db21dc8cd112d66304bd481fd287da23 py3-setproctitle-1.1.10.tar.gz" |