diff options
author | prspkt <prspkt@protonmail.com> | 2019-07-01 21:31:20 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-07-01 21:31:23 +0300 |
commit | a092eeb40da91c958cba2cbe8206e1f0b757e1d2 (patch) | |
tree | 9e2b6d44e7519b5c4a66cd21cc4643201c9ae62c /testing/py3-transitions | |
parent | f4ef4ab26a08059096cc5d4e5d6d0547b7769b31 (diff) | |
download | aports-a092eeb40da91c958cba2cbe8206e1f0b757e1d2.tar.bz2 aports-a092eeb40da91c958cba2cbe8206e1f0b757e1d2.tar.xz |
testing/py-transitions: drop python2
Diffstat (limited to 'testing/py3-transitions')
-rw-r--r-- | testing/py3-transitions/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/py3-transitions/APKBUILD b/testing/py3-transitions/APKBUILD new file mode 100644 index 0000000000..dbdef3b3b1 --- /dev/null +++ b/testing/py3-transitions/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-transitions +_pkgname=transitions +pkgver=0.4.2 +pkgrel=2 +pkgdesc="A lightweight, object-oriented Python state machine implementation" +url="https://github.com/tyarkoni/transitions" +arch="noarch" +license="MIT" +depends="py3-six" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +replaces=py-transitions # Backwards compatibility +provides=py-transitions=$pkgver-r$pkgrel # Backwards compatibility + +build() { + cd "$builddir" + python3 setup.py build || return 1 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +md5sums="47c77f7ee61a997e297251a55e4e3019 transitions-0.4.2.tar.gz" +sha256sums="94752bed6d33351bf8bd07a944b27b446a1ecda48bdba16a57505a8beb3fac61 transitions-0.4.2.tar.gz" +sha512sums="8dc876ad12b8cc9813eb81a33a9b1e2cee669cdc2acf7dc18169b5aee3a91b2f55997054f35f0cb50261e66c43fc5d6bddc8d9f35125d2a690fcd0f2469d5802 transitions-0.4.2.tar.gz" |