aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-portend/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-portend/APKBUILD')
-rw-r--r--community/py3-portend/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/py3-portend/APKBUILD b/community/py3-portend/APKBUILD
new file mode 100644
index 0000000000..208d0fe9b2
--- /dev/null
+++ b/community/py3-portend/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=py3-portend
+pkgver=2.7.1
+pkgrel=0
+pkgdesc="TCP port monitoring and discovery"
+url="https://github.com/jaraco/portend"
+arch="noarch"
+license="MIT"
+depends="
+ py3-tempora
+ python3
+ "
+makedepends="
+ py3-setuptools
+ py3-setuptools_scm
+ py3-toml
+ "
+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="079bfc286491753e980b5000ee716031225439523a8d9a79c2571359adee74ee024dd680c41adb966487dc39eea3d0dbeb928c5c72fa21ab897283310ef21906 portend-2.7.1.tar.gz"