mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
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
32 lines
963 B
Text
32 lines
963 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py3-zope-interface
|
|
_pkgname=zope.interface
|
|
pkgver=5.5.2
|
|
pkgrel=0
|
|
pkgdesc="Separate distribution of the zope.interface package used in Zope"
|
|
url="https://zopeinterface.readthedocs.io"
|
|
arch="all"
|
|
license="ZPL-2.1"
|
|
makedepends="python3-dev py3-setuptools"
|
|
checkdepends="py3-coverage py3-zope-event py3-zope-testing"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-zope-interface" # Backwards compatibility
|
|
provides="py-zope-interface=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
ecc20df9b84c91f7a03ce7be087abcd6288f77b2e04f6974ece5b86a222944baf0dc0a2aa49063c74dc7c4d47c474fd01f512c7686164806d48f360667581205 zope.interface-5.5.2.tar.gz
|
|
"
|