1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-enrich/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

35 lines
869 B
Text

# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=py3-enrich
_pkgname=enrich
pkgver=1.2.7
pkgrel=2
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
"
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
"