mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
i genuinely don't know where "armv8l" comes from but armv7 and armhf apparently get that as their architecture, so...
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=py3-dep-logic
|
|
pkgver=0.4.6
|
|
pkgrel=0
|
|
pkgdesc="Python dependency specifications supporting logical operations"
|
|
url="https://github.com/pdm-project/dep-logic"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="py3-packaging"
|
|
makedepends="py3-gpep517 py3-pdm-backend py3-wheel"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/pdm-project/dep-logic/archive/$pkgver/py3-dep-logic-$pkgver.tar.gz
|
|
support-more-architectures.patch
|
|
"
|
|
builddir="$srcdir/dep-logic-$pkgver"
|
|
|
|
build() {
|
|
export PDM_BUILD_SCM_VERSION=$pkgver
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
f7d48a9f51465106181a108ce12641a30310594b1ff337d107dbb7484b9127e68ce43e351e05d3ee28163f9522eca1cbf5b0a0f149a6458c67a98d832ec2445f py3-dep-logic-0.4.6.tar.gz
|
|
5aa50bde0b6c4554e287ab2be61d25043a17171bf368a9144374c287dd2ed4b952c838ef5671c2b2c16766dc887e6a26f96b056777e3459808a42ee6989baf6e support-more-architectures.patch
|
|
"
|