mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-zope-component
|
|
_pyname=zope.component
|
|
pkgver=4.6.2
|
|
pkgrel=1
|
|
pkgdesc="Zope Component Architecture"
|
|
# Tests install outside python modules via bdist_wheel which fails
|
|
options="!check"
|
|
url="https://pypi.python.org/pypi/zope.component"
|
|
arch="noarch"
|
|
license="ZPL-2.1"
|
|
depends="
|
|
py3-setuptools
|
|
py3-zope-deferredimport
|
|
py3-zope-deprecation
|
|
py3-zope-event
|
|
py3-zope-hookable
|
|
py3-zope-interface
|
|
"
|
|
checkdepends="python3-dev libffi-dev" # Required because pypi downloads dependencies for testing
|
|
source="$_pyname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.component/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
replaces="py-zope-component" # Backwards compatibility
|
|
provides="py-zope-component=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="ce018928c5fe86b8e32c6ebd7e925ce302b7ed09655f2811277fe9d45b057e6a1a88508678d56bdf8ed44e5b5cffd0d287855f35fa8380b5763c42efd8e7400d zope.component-4.6.2.tar.gz"
|