mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=py3-setuptools-declarative-requirements
|
|
pkgver=1.3.0
|
|
pkgrel=0
|
|
pkgdesc="Requirements Support For Setuptools Declarative setup.cfg"
|
|
url="https://github.com/s0undt3ch/setuptools-declarative-requirements"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3 py3-setuptools"
|
|
makedepends="py3-setuptools_scm"
|
|
checkdepends="py3-pytest"
|
|
source="https://github.com/s0undt3ch/setuptools-declarative-requirements/archive/refs/tags/$pkgver/py3-setuptools-declarative-requirements-$pkgver.tar.gz"
|
|
builddir="$srcdir/setuptools-declarative-requirements-$pkgver"
|
|
options="!check" # circular dependency with py3-pytest-shell-utilities
|
|
|
|
build() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
eb20016ab0b8029a38ff4632d19d63cd4b6396c9d101efce577ac862feb3fc485ac4a644035d3267cd05caf679f9b2259e1d1340f8cd902ea7c7451e099c71cc py3-setuptools-declarative-requirements-1.3.0.tar.gz
|
|
"
|