mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-18 12:02:28 +01:00
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.2
|
|
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="
|
|
0d997cc44b1595573e9cf27286093445585b7b68f8ae5976b87671cc2fb7692641d60c756c1ce6ca4a8bf618046ae65f423012eb7a6d9368c59c87a12c7c6be8 parse-1.20.2.tar.gz
|
|
"
|