diff options
author | Zach van Rijn <me@zv.io> | 2022-01-11 21:36:39 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:57 -0500 |
commit | 7e6c4c26fa4b95fe165a24c022a01c9fc05e73bc (patch) | |
tree | 931e6d5cfddd191e983aa19b89af1de597f68646 /user/py3-toml | |
parent | 3e3aa629a86fab53f434e0a5a87926b0856ccd7b (diff) | |
download | packages-7e6c4c26fa4b95fe165a24c022a01c9fc05e73bc.tar.gz packages-7e6c4c26fa4b95fe165a24c022a01c9fc05e73bc.tar.bz2 packages-7e6c4c26fa4b95fe165a24c022a01c9fc05e73bc.tar.xz packages-7e6c4c26fa4b95fe165a24c022a01c9fc05e73bc.zip |
user/py3-*: bunch of new py3 packages and updates. fixes #458, #459.
Diffstat (limited to 'user/py3-toml')
-rw-r--r-- | user/py3-toml/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/user/py3-toml/APKBUILD b/user/py3-toml/APKBUILD new file mode 100644 index 000000000..2705dcde0 --- /dev/null +++ b/user/py3-toml/APKBUILD @@ -0,0 +1,28 @@ +# 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="Python 3 library for TOML" +url="https://pypi.org/project/toml/" +arch="noarch" +license="MIT" +depends="python3" +checkdepends="py3-pytest" +makedepends="py3-iniconfig" +source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir/"$_pyname-$pkgver + +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" |