mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-16 13:21:39 +01:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
36 lines
866 B
Plaintext
36 lines
866 B
Plaintext
# Contributor: Ado <ado@expedio.it>
|
|
# Maintainer: Ado <ado@expedio.it>
|
|
pkgname=py3-parse
|
|
_pkgname=parse
|
|
pkgver=1.20.0
|
|
pkgrel=1
|
|
pkgdesc="Parse strings using a specification based on the Python format() syntax"
|
|
url="https://github.com/r1chardj0n3s/parse"
|
|
arch="noarch"
|
|
license="MIT"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="$_pkgname-$pkgver.tar.gz::https://github.com/r1chardj0n3s/parse/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
options="!check" # todo
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/$_pkgname-$pkgver-*.whl
|
|
}
|
|
|
|
|
|
sha512sums="
|
|
690152d1c459cb52860a948094b2d3f0e5f7a391162ed8fabb8fba032ef5a0741cd04d13090d791299b970497a7a2e8578f483d3c286a6a74d03940b9b6e9fba parse-1.20.0.tar.gz
|
|
"
|