mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-14 11:49:53 +03:00
34 lines
1,003 B
Text
34 lines
1,003 B
Text
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=py3-dependency-groups
|
|
pkgver=1.3.1
|
|
pkgrel=0
|
|
pkgdesc="An implementation of Dependency Groups (PEP 735)."
|
|
url="https://dependency-groups.readthedocs.io/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-flit-core"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://pypi.python.org/packages/source/d/dependency_groups/dependency_groups-$pkgver.tar.gz"
|
|
builddir="$srcdir/dependency_groups-$pkgver"
|
|
|
|
build() {
|
|
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 -v
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
03e707791494da58cb860e9d605e657812f538d8f39d239f99108236c42eb831467969a561fbc587aa33a88794652aa2e63b43421b3beda42a825602f3fe7c17 dependency_groups-1.3.1.tar.gz
|
|
"
|