aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-04-12 07:21:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-17 11:45:42 +0000
commit741c2f5c822c49747c29d0b6fbaae3bf1134a104 (patch)
tree8505d7a0fc2c4048c23c1730096cafbd95a16faa
parent76e91596ba480069989e69ffcd2fff7368c509b6 (diff)
downloadaports-741c2f5c822c49747c29d0b6fbaae3bf1134a104.tar.bz2
aports-741c2f5c822c49747c29d0b6fbaae3bf1134a104.tar.xz
testing/py-pytoml: add check, rename, upgrade
-rw-r--r--testing/py-pytoml/APKBUILD (renamed from testing/py-toml/APKBUILD)12
1 files changed, 9 insertions, 3 deletions
diff --git a/testing/py-toml/APKBUILD b/testing/py-pytoml/APKBUILD
index c2e9c2c1fd..c6fd913fa8 100644
--- a/testing/py-toml/APKBUILD
+++ b/testing/py-pytoml/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Maintainer:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-toml
_pkgname=pytoml
-pkgver=0.1.14
+pkgver=0.1.20
pkgrel=0
pkgdesc="A TOML-0.4.0 parser/writer for Python"
url="https://github.com/avakar/pytoml"
@@ -21,6 +21,12 @@ build() {
python3 setup.py build
}
+check() {
+ cd "$builddir"
+ python2 setup.py test
+ python3 setup.py test
+}
+
package() {
mkdir -p "$pkgdir"
}
@@ -44,4 +50,4 @@ _py3() {
_py python3
}
-sha512sums="1a608dfa563ebf979bd72b7fad755d3c02afbda6cff99a0ed9a36ca8eecaaea5f89b7b39ff1f5204dd7302e8957c8304dbc4c221e56589c7654edc0fe93f3178 py-toml-0.1.14.tar.gz"
+sha512sums="9b913219e65e2329302455a1457a39cf5eb37e04c03025dfdbb81db4ffe60b547fb7e64fc961608004900365ccfddb4225042105fa2db8bd2e393fa2797fc24f py-toml-0.1.20.tar.gz"