blob: 34c4715b57ea8db7a8d15d9a333548882f0b010e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-pg_activity
_pkgname=pg_activity
pkgver=1.5.0
pkgrel=1
pkgdesc="A top like application for PostgreSQL server activity monitoring."
url="https://github.com/julmon/pg_activity"
arch="noarch"
license="PostgreSQL"
depends="py3-psycopg2 py3-psutil"
makedepends="py3-setuptools"
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() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="01e3d2a1f0c839e40d1da79197dd8a405dee302d46495b972f11e3672e52becceb6211cccc6e1a5c711ca36247dcead6e959435d5f4eb1735556073b6c834904 pg_activity-1.5.0.tar.gz"
|