aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-enrich/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-enrich/APKBUILD')
-rw-r--r--community/py3-enrich/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/py3-enrich/APKBUILD b/community/py3-enrich/APKBUILD
new file mode 100644
index 00000000000..0de48fe642e
--- /dev/null
+++ b/community/py3-enrich/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Andy Postnikov <apostnikov@gmail.com>
+pkgname=py3-enrich
+_pkgname=enrich
+pkgver=1.2.7
+pkgrel=3
+pkgdesc="adds few missing features to the wonderful rich library"
+url="https://github.com/pycontribs/enrich"
+arch="noarch"
+license="MIT"
+depends="py3-rich"
+makedepends="
+ py3-pytest
+ py3-pytest-mock
+ py3-setuptools
+ py3-setuptools_scm
+ "
+subpackages="$pkgname-pyc"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ # https://github.com/pycontribs/enrich/issues/40
+ pytest -v -k 'not test_rich_console_ex'
+}
+
+package() {
+ python3 setup.py install --skip-build --root="$pkgdir"
+}
+
+sha512sums="
+4e3d8598e82d7d013ff74dd325be02245086159fef819431a1ba7505e2e1557992ccbefc0b5a37d0e81487b4e378bef02179c6b74fd50528d6710ff297f0832a enrich-1.2.7.tar.gz
+"