Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions extra/python3-pyproject-metadata/APKBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Alpine-Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Ethan Leir <eleir@qnx.com>
pkgname=python3-pyproject-metadata
pkgver=0.9.1
pkgrel=0
pkgdesc="PEP 621 metadata parsing"
url="https://github.com/FFY00/python-pyproject-metadata"
arch="noarch"
license="MIT"
depends="python3 python3-packaging"
makedepends="python3-gpep517 python3-flit-core python3-wheel"
checkdepends="python3-pytest"
source="$pkgname-$pkgver-3.tar.gz::https://github.com/FFY00/python-pyproject-metadata/archive/refs/tags/$pkgver.tar.gz"
subpackages=""
builddir="$srcdir/pyproject-metadata-$pkgver"

build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}

check() {
pytest
}

package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}

sha512sums="
80afd47a8b33d6f756610ee317550435508f10b2eedac439c5e54ff0abf7bf02a36c75b60b264cc09ee21591cc10f714034c68745542df44227a8894253e8256 python3-pyproject-metadata-0.9.1-3.tar.gz
"
Loading