1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/py3-zope-configuration/APKBUILD

35 lines
1.2 KiB
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-zope-configuration
_pkgname=zope.configuration
pkgver=5.0
pkgrel=0
pkgdesc="Zope Configuration Markup Language"
url="https://pypi.org/project/zope.configuration"
arch="noarch"
license="ZPL-2.1"
depends="python3 py3-zope-interface py3-setuptools py3-zope-schema py3-zope-i18nmessageid"
checkdepends="py3-zope-testrunner py3-zope-testing py3-manuel"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-zope-configuration" # Backwards compatibility
provides="py-zope-configuration=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
rm -r "$pkgdir"/usr/lib/python*/site-packages/zope/configuration/tests
}
sha512sums="
59a720b9062ba5254b8a0c9b7dd4f44ab709ac29050c9f2eeb05827ed34f74940eed52ce5ec551bc0c8292f5ed0921a4d07c110f1b68baedcc6c02cd5edd9e00 zope.configuration-5.0.tar.gz
"