aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-portend/APKBUILD
blob: 3967de938d4cafd12296fc8c50ec53563125a34a (plain) (blame)
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
32
33
34
35
36
37
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-portend
pkgver=3.1.0
pkgrel=0
pkgdesc="TCP port monitoring and discovery"
url="https://github.com/jaraco/portend"
arch="noarch"
license="MIT"
depends="
	py3-tempora
	python3
	"
# py3-setuptools_scm is required to set version of python module
makedepends="
	py3-setuptools
	py3-setuptools_scm
	"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/p/portend/portend-$pkgver.tar.gz"
builddir="$srcdir/portend-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
017dff68ea85f48d19398f71fbd8189329ca9c27c05d8599dd5e53632eb5ddc6dea322e94c924a0653f25f042a3c8ee1cda5f8450b02f3406a72036d54cd1aaf  portend-3.1.0.tar.gz
"