mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
28 lines
901 B
Text
28 lines
901 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py3-zope-interface
|
|
_pkgname=zope.interface
|
|
pkgver=5.0.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"
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="3e7ae0b6f8410a5baa8ade4728dde45af262584d3057149070fe025ae544d22b980fe566b0f18ff2c247a91256b2f84f0a8fbd0656e6528476b538efdd2f2520 zope.interface-5.0.2.tar.gz"
|