ayaports/user/py3-tomlkit/APKBUILD
2022-07-29 15:47:03 +00:00

32 lines
872 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-tomlkit
_realname=tomlkit
pkgver=0.7.2
pkgrel=0
pkgdesc="Python3 library for parsing and modifying TOML"
url="https://github.com/sdispater/tomlkit"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-yaml"
source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
build() {
python3 setup.py build
}
check() {
py.test-3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
}
sha512sums="
cfb17d133463c22ae8b76dd03587f23f6dafedfd2decdf15ae29fe5c05117ebd3e17057f49bdb17345386f5ce3073b1e5b1937c6ab6683aefb0fc0abd7571580 tomlkit-0.7.2.tar.gz
"