1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/py3-tomli/APKBUILD
2021-07-31 02:27:28 +02:00

32 lines
803 B
Text

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-tomli
_pyname=tomli
pkgver=1.2.0
pkgrel=0
pkgdesc="Lil' TOML parser"
url="https://github.com/hukkin/tomli"
license="MIT"
arch="noarch"
depends="python3"
makedepends="pyproject2setuppy"
checkdepends="py3-pytest py3-dateutil"
source="https://github.com/hukkin/tomli/archive/$pkgver/tomli-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 -m pyproject2setuppy.main build
}
check() {
pytest
}
package() {
python3 -m pyproject2setuppy.main install \
--prefix=/usr --root="$pkgdir" --skip-build
}
sha512sums="
87b6069d026aa597774cbc87f3a7ad712905290e3c72cf123733abb1a6dc0ab5dc84f6b0eabc54b9f6de94091f7d2763bb4a56203f5ca2e292e202218e4fae37 tomli-1.2.0.tar.gz
"