aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-setproctitle
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-07-25 16:51:33 +0300
committerprspkt <prspkt@protonmail.com>2019-07-25 17:16:13 +0300
commit99c2a1017dc5ba18648d64bc08b59a9042e6f5d0 (patch)
treebe65a846e54bf3418fcb8b349aa37d46d962ded5 /community/py3-setproctitle
parent701c367dbb03b5214f3181891dece1e62de128fc (diff)
downloadaports-99c2a1017dc5ba18648d64bc08b59a9042e6f5d0.tar.bz2
aports-99c2a1017dc5ba18648d64bc08b59a9042e6f5d0.tar.xz
community/py3-setproctitle: clarify license, modernize
Signed-off-by: prspkt <prspkt@protonmail.com>
Diffstat (limited to 'community/py3-setproctitle')
-rw-r--r--community/py3-setproctitle/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/community/py3-setproctitle/APKBUILD b/community/py3-setproctitle/APKBUILD
index 9093e394fe..bf80f53716 100644
--- a/community/py3-setproctitle/APKBUILD
+++ b/community/py3-setproctitle/APKBUILD
@@ -7,23 +7,21 @@ pkgrel=3
pkgdesc="A Python module to customize the process title"
url="https://github.com/dvarrazzo/py-setproctitle"
arch="all"
-license="BSD"
+license="BSD-3-Clause"
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"
+source="$_pkgname-$pkgver.tar.gz::https://github.com/dvarrazzo/py-setproctitle/archive/version-$pkgver.tar.gz"
+builddir="$srcdir/py-$_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"
+sha512sums="987729fd4f6b1f6ca1bead0814a2917eee4a30b01cdd8c3f0d028c4f925f1d1eff2ee2fe3945a2770d9cc7a6f2e74059db21dc8cd112d66304bd481fd287da23 setproctitle-1.1.10.tar.gz"