mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
https://github.com/r1chardj0n3s/parse Parse strings using a specification based on the Python format() syntax testing/
35 lines
866 B
Text
35 lines
866 B
Text
# Contributor: Ado <ado@expedio.it>
|
|
# Maintainer: Ado <ado@expedio.it>
|
|
pkgname=py3-parse
|
|
_pkgname=parse
|
|
pkgver=1.19.1
|
|
pkgrel=0
|
|
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="
|
|
f3fd067cbe6f30f0e61297f471dd7eb183d351ca60bf5a4dfd31cf0775988ecea6dfdf3f0ecd23dbe9fb3f8be3f5c1b824af660074589cb3b289658d0af898fa parse-1.19.1.tar.gz
|
|
"
|