aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-tomlkit/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-01 17:52:32 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-02 00:11:27 -0300
commit71c00a80f6a4eed4f89e05e2dbaede0bcfd0d151 (patch)
tree84ecb45c4f655ffa30263c99bbc4a66248cf2eee /testing/py3-tomlkit/APKBUILD
parent66221222c916248e89e9c64a3819039b5594e17b (diff)
downloadaports-71c00a80f6a4eed4f89e05e2dbaede0bcfd0d151.tar.gz
aports-71c00a80f6a4eed4f89e05e2dbaede0bcfd0d151.tar.bz2
aports-71c00a80f6a4eed4f89e05e2dbaede0bcfd0d151.tar.xz
testing/py3-tomlkit: upgrade to 0.5.5
Diffstat (limited to 'testing/py3-tomlkit/APKBUILD')
-rw-r--r--testing/py3-tomlkit/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/testing/py3-tomlkit/APKBUILD b/testing/py3-tomlkit/APKBUILD
index 43a1820d8b..c4be2ac438 100644
--- a/testing/py3-tomlkit/APKBUILD
+++ b/testing/py3-tomlkit/APKBUILD
@@ -2,15 +2,15 @@
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-tomlkit
_realname=tomlkit
-pkgver=0.5.4
+pkgver=0.5.5
pkgrel=0
pkgdesc="Python3 library for parsing and modifying TOML"
-options="!check" # No tests on pypi tarball, github uses pyproject.toml
url="https://github.com/sdispater/tomlkit"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
+checkdepends="pytest"
source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
@@ -18,8 +18,12 @@ build() {
python3 setup.py build
}
+check() {
+ py.test-3
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="7537cca7a4af491d48211739b4f90533d3b5aaad43184c9c414251bc7ccc5531e1b9effd3a92710a6e83207227639d238cebd48a1839e24b0416025af82fb045 tomlkit-0.5.4.tar.gz"
+sha512sums="5de04c76583ed5e80031d1b7ffaf6e790166829ddc47e238c5ac6b9b87329e732b5e73e2af995d916372a87c69434958ffd3afa8eb07b8663398ff9e0fd5473c tomlkit-0.5.5.tar.gz"