diff options
author | prspkt <prspkt@protonmail.com> | 2019-07-18 01:55:26 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-07-18 02:03:42 +0300 |
commit | d9081cfe31cc921f18febdaeb94675c43c9e93e1 (patch) | |
tree | 61874c98dfba6b6b3cc96208b2a50246f9b936dd /testing/py3-pg_activity | |
parent | b076da154d4b5a921f2e34a3788b891e1f3eecb5 (diff) | |
download | aports-d9081cfe31cc921f18febdaeb94675c43c9e93e1.tar.bz2 aports-d9081cfe31cc921f18febdaeb94675c43c9e93e1.tar.xz |
testing/py3-pg_activity: clarify license, modernize
Diffstat (limited to 'testing/py3-pg_activity')
-rw-r--r-- | testing/py3-pg_activity/APKBUILD | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/testing/py3-pg_activity/APKBUILD b/testing/py3-pg_activity/APKBUILD index 02a33807ad..34c4715b57 100644 --- a/testing/py3-pg_activity/APKBUILD +++ b/testing/py3-pg_activity/APKBUILD @@ -1,35 +1,31 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=py3-pg_activity -_pkgname=${pkgname#py3-} +_pkgname=pg_activity pkgver=1.5.0 -pkgrel=0 +pkgrel=1 pkgdesc="A top like application for PostgreSQL server activity monitoring." url="https://github.com/julmon/pg_activity" arch="noarch" -license="custom" +license="PostgreSQL" depends="py3-psycopg2 py3-psutil" makedepends="py3-setuptools" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/julmon/$_pkgname/archive/v$pkgver.tar.gz" +source="$_pkgname-$pkgver.tar.gz::https://github.com/julmon/$_pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces=py-pg_activity # Backwards compatibility provides=py-pg_activity=$pkgver-r$pkgrel # Backwards compatibility build() { - cd "$builddir" python3 setup.py build } check() { - cd "$builddir" python3 setup.py check } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="01e3d2a1f0c839e40d1da79197dd8a405dee302d46495b972f11e3672e52becceb6211cccc6e1a5c711ca36247dcead6e959435d5f4eb1735556073b6c834904 py3-pg_activity-1.5.0.tar.gz" +sha512sums="01e3d2a1f0c839e40d1da79197dd8a405dee302d46495b972f11e3672e52becceb6211cccc6e1a5c711ca36247dcead6e959435d5f4eb1735556073b6c834904 pg_activity-1.5.0.tar.gz" |