diff options
-rw-r--r-- | testing/py3-tomlkit/APKBUILD | 10 |
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" |