mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 17:16:44 +02:00
32 lines
1,014 B
Text
32 lines
1,014 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=py3-zope-schema
|
|
_pkgname=zope.schema
|
|
pkgver=7.0.1
|
|
pkgrel=3
|
|
pkgdesc="zope.interface extension for defining data schemas"
|
|
options="!check" # Tests require 'zope.testing', 'zope.testruner' and 'zope.i18nmessageid'
|
|
url="https://github.com/zopefoundation/zope.schema"
|
|
arch="noarch"
|
|
license="ZPL-2.1"
|
|
depends="py3-setuptools py3-zope-interface py3-zope-event"
|
|
makedepends="py3-gpep517"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/zope/schema/tests
|
|
}
|
|
|
|
sha512sums="
|
|
a8da9ac2e7239d15ed6cef83b4f500bca989c9ef2b7f1cd06ce532c260a8b8488b6fa42a6b2cfaeee505db87d3235f81815dc7eb80401c9e482141f8bf717e62 zope.schema-7.0.1.tar.gz
|
|
"
|