Commit 197017e0 authored by Jakub Jirutka's avatar Jakub Jirutka
Browse files

testing/pg_activity: new aport

parent 529e88f9
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=pg_activity
pkgver=2.1.3
pkgrel=0
pkgdesc="A top like application for PostgreSQL server activity monitoring"
url="https://github.com/dalibo/pg_activity"
arch="noarch"
license="PostgreSQL"
depends="python3 py3-attrs py3-blessed py3-humanize py3-psutil py3-psycopg2"
checkdepends="py3-pytest"
makedepends="py3-setuptools"
source="https://github.com/dalibo/pg_activity/archive/v$pkgver/pg_activity-$pkgver.tar.gz"
build() {
python3 setup.py build
}
check() {
# FIXME: test_ui fails, probably missing dependency?
pytest --ignore=tests/test_ui.txt
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="e28c75d1b88f6b530820d82327d6428d2388341bd09ba4efec5e80e753aee17e995b4e6d5ee8b35b3b972f20aa1228d525fe0c4bdcb8e365795d568a4a25c076 pg_activity-2.1.3.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment