aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-transitions
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-27 07:06:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-27 07:16:46 -0300
commit72a05965d3f43b362267bfb98180ca8ec4c75aae (patch)
tree46b1cefaa8cdf98e71dd4df44885b3fbbc61a396 /testing/py3-transitions
parentd1610e68fac044b9a492aaebfd1601c5d32cb20f (diff)
downloadaports-72a05965d3f43b362267bfb98180ca8ec4c75aae.tar.bz2
aports-72a05965d3f43b362267bfb98180ca8ec4c75aae.tar.xz
testing/py3-transitions: upgrade to 0.7.1
Diffstat (limited to 'testing/py3-transitions')
-rw-r--r--testing/py3-transitions/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/py3-transitions/APKBUILD b/testing/py3-transitions/APKBUILD
index d24c0adb5d..5d4d11a422 100644
--- a/testing/py3-transitions/APKBUILD
+++ b/testing/py3-transitions/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-transitions
_pkgname=transitions
-pkgver=0.6.9
+pkgver=0.7.1
pkgrel=0
pkgdesc="A lightweight, object-oriented Python state machine implementation"
url="https://github.com/tyarkoni/transitions"
@@ -10,6 +10,7 @@ arch="noarch"
license="MIT"
depends="py3-six"
makedepends="py3-setuptools"
+checkdepends="py3-pytest py3-pycodestyle"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
@@ -20,8 +21,12 @@ build() {
python3 setup.py build
}
+check() {
+ py.test-3
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="0cef11d547ae631afcb3dad557ab81b425f825028639787337f700f19073d7cb4c69ba9b6284155b3be85fb3eac4c4abd5b0cf3104dff8d2098c219729de4352 transitions-0.6.9.tar.gz"
+sha512sums="4802e6a914270a183f66e70cf648c5f09c25b63e9233fdeb65b231ad24847d023182c6a45eaa1d47780d1f5d7f6f23695a6e578d4eaae55bf7a7ff121561e06b transitions-0.7.1.tar.gz"