blob: 90c5330333339065bd3189caa63bbd578e89088a (
plain) (
tree)
|
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=py3-toml
_pyname=toml
pkgver=0.10.2
pkgrel=0
pkgdesc="Python3 library for TOML"
url="https://github.com/uiri/toml"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-iniconfig"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/"$_pyname-$pkgver
replaces="py-toml" # Backwards compatibility
provides="py-toml=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="ede2c8fed610a3827dba828f6e7ab7a8dbd5745e8ef7c0cd955219afdc83b9caea714deee09e853627f05ad1c525dc60426a6e9e16f58758aa028cb4d3db4b39 toml-0.10.2.tar.gz"
|