diff options
author | Michel Zou | 2019-03-21 17:35:46 +0100 |
---|---|---|
committer | Michel Zou | 2019-03-21 17:35:46 +0100 |
commit | a60bd7029f215c3070907c9c96ac0e9e9ef47bce (patch) | |
tree | 5096df0d32b68a445da33bd3839ea84523f73758 | |
parent | cf5d9cc4ea79f68c4e36531ef56838186cdbf76a (diff) | |
download | aur-a60bd7029f215c3070907c9c96ac0e9e9ef47bce.tar.gz |
0.6.9
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 10 insertions, 31 deletions
@@ -1,22 +1,14 @@ -# Generated by mksrcinfo v8 -# Sun Mar 4 07:45:19 UTC 2018 pkgbase = python-transitions pkgdesc = A lightweight, object-oriented finite state machine implementation in Python - pkgver = 0.6.4 + pkgver = 0.6.9 pkgrel = 1 url = http://github.com/tyarkoni/transitions arch = any license = MIT makedepends = python-setuptools - makedepends = python2-setuptools - makedepends = python-six - makedepends = python2-six - source = https://github.com/tyarkoni/transitions/archive/0.6.4.tar.gz - md5sums = c87ad738a331ae2b2cda373e918aafb8 - -pkgname = python-transitions depends = python-six + source = https://github.com/tyarkoni/transitions/archive/0.6.9.tar.gz + sha256sums = 214f5121f045e713a4f2043faf775a3b5fc43731ec9bd9f7bd8f67579d8f6257 -pkgname = python2-transitions - depends = python2-six +pkgname = python-transitions @@ -1,40 +1,27 @@ -pkgbase=python-transitions -pkgname=('python-transitions' 'python2-transitions') -pkgver=0.6.4 +pkgname=python-transitions +pkgver=0.6.9 pkgrel=1 pkgdesc="A lightweight, object-oriented finite state machine implementation in Python" url="http://github.com/tyarkoni/transitions" arch=(any) license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six') +makedepends=('python-setuptools') +depends=('python-six') source=("https://github.com/tyarkoni/transitions/archive/${pkgver}.tar.gz") -md5sums=('c87ad738a331ae2b2cda373e918aafb8') +sha256sums=('214f5121f045e713a4f2043faf775a3b5fc43731ec9bd9f7bd8f67579d8f6257') prepare() { cd "${srcdir}"/transitions-$pkgver } build() { - cp -r "${srcdir}"/transitions-$pkgver "${srcdir}"/transitions-$pkgver-py2 - cd "${srcdir}"/transitions-$pkgver python setup.py build - - cd "${srcdir}"/transitions-$pkgver-py2 - python2 setup.py build } -package_python-transitions() { - depends=('python-six') - +package() { cd "${srcdir}/transitions-$pkgver" python setup.py install --root=${pkgdir} --optimize=1 } -package_python2-transitions() { - depends=('python2-six') - - cd "${srcdir}/transitions-$pkgver" - python2 setup.py install --root=${pkgdir} --optimize=1 -} |