Skip to content

Commit 75a47cb

Browse files
authored
extra/python3-pyproject-metadata (#40)
1 parent 42f6cf3 commit 75a47cb

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

  • extra/python3-pyproject-metadata
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Alpine-Maintainer: Patrycja Rosa <[email protected]>
2+
# Maintainer: Ethan Leir <[email protected]>
3+
pkgname=python3-pyproject-metadata
4+
pkgver=0.9.1
5+
pkgrel=0
6+
pkgdesc="PEP 621 metadata parsing"
7+
url="https://github.com/FFY00/python-pyproject-metadata"
8+
arch="noarch"
9+
license="MIT"
10+
depends="python3 python3-packaging"
11+
makedepends="python3-gpep517 python3-flit-core python3-wheel"
12+
checkdepends="python3-pytest"
13+
source="$pkgname-$pkgver-3.tar.gz::https://github.com/FFY00/python-pyproject-metadata/archive/refs/tags/$pkgver.tar.gz"
14+
subpackages=""
15+
builddir="$srcdir/pyproject-metadata-$pkgver"
16+
17+
build() {
18+
gpep517 build-wheel \
19+
--wheel-dir .dist \
20+
--output-fd 3 3>&1 >&2
21+
}
22+
23+
check() {
24+
pytest
25+
}
26+
27+
package() {
28+
python3 -m installer -d "$pkgdir" \
29+
.dist/*.whl
30+
}
31+
32+
sha512sums="
33+
80afd47a8b33d6f756610ee317550435508f10b2eedac439c5e54ff0abf7bf02a36c75b60b264cc09ee21591cc10f714034c68745542df44227a8894253e8256 python3-pyproject-metadata-0.9.1-3.tar.gz
34+
"

0 commit comments

Comments
 (0)