diff options
author | Ekin Dursun | 2018-06-07 10:17:34 +0300 |
---|---|---|
committer | Ekin Dursun | 2018-06-07 10:17:34 +0300 |
commit | bc5bf1da53866048db1a630fce79d74f0306d1a6 (patch) | |
tree | 1d37bd2bec9fa8eae1eb516ce962d85429dfc799 | |
parent | 3f3610fa161184d7d2d08d402c24c76fdff58ff9 (diff) | |
download | aur-bc5bf1da53866048db1a630fce79d74f0306d1a6.tar.gz |
Version bump
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 29 insertions, 10 deletions
@@ -1,18 +1,26 @@ pkgbase = python-uncompyle6 pkgdesc = Python byte-code disassembler and source-code converter. - pkgver = 3.2.0 + pkgver = 3.2.1 pkgrel = 1 url = https://github.com/rocky/python-uncompyle6/ arch = any license = MIT makedepends = python-setuptools + makedepends = python2-setuptools + source = https://files.pythonhosted.org/packages/source/u/uncompyle6/uncompyle6-3.2.1.tar.gz + sha256sums = e4b31b1234d6a6068061942c9e67dbbf4eb709b0055a85c10b320aed6c0f7117 + +pkgname = python-uncompyle6 depends = python-spark-parser>=1.8.5 depends = python-spark-parser<1.9.0 depends = python-xdis>=3.8.2 depends = python-xdis<3.9.0 depends = python-six - source = https://files.pythonhosted.org/packages/source/u/uncompyle6/uncompyle6-3.2.0.tar.gz - sha256sums = 3985675039554fb0ce3c7cff823a747a93f96a29946c5f39ab3c0f72bad8a2a2 -pkgname = python-uncompyle6 +pkgname = python2-uncompyle6 + depends = python2-spark-parser>=1.8.5 + depends = python2-spark-parser<1.9.0 + depends = python2-xdis>=3.8.2 + depends = python2-xdis<3.9.0 + depends = python2-six @@ -1,25 +1,36 @@ # Maintainer: Ekin Dursun <ekindursun@gmail.com> # Contributor: Oliver Mangold omangold at gmail dot com -pkgname=python-uncompyle6 _name=uncompyle6 -pkgver=3.2.0 +pkgbase="python-${_name}" +pkgname=("python-${_name}" "python2-${_name}") +pkgver=3.2.1 pkgrel=1 pkgdesc="Python byte-code disassembler and source-code converter." arch=('any') url="https://github.com/rocky/python-uncompyle6/" license=('MIT') -makedepends=('python-setuptools') -depends=('python-spark-parser>=1.8.5' 'python-spark-parser<1.9.0' 'python-xdis>=3.8.2' 'python-xdis<3.9.0' 'python-six') +makedepends=('python-setuptools' 'python2-setuptools') source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha256sums=('3985675039554fb0ce3c7cff823a747a93f96a29946c5f39ab3c0f72bad8a2a2') +sha256sums=('e4b31b1234d6a6068061942c9e67dbbf4eb709b0055a85c10b320aed6c0f7117') build() { cd "$srcdir/$_name-$pkgver" python setup.py build } -package() { +package_python-uncompyle6() { + depends=('python-spark-parser>=1.8.5' 'python-spark-parser<1.9.0' 'python-xdis>=3.8.2' 'python-xdis<3.9.0' 'python-six') + cd "$srcdir/$_name-$pkgver" python setup.py install --root="$pkgdir" } + +package_python2-uncompyle6() { + depends=('python2-spark-parser>=1.8.5' 'python2-spark-parser<1.9.0' 'python2-xdis>=3.8.2' 'python2-xdis<3.9.0' 'python2-six') + + cd "$srcdir/$_name-$pkgver" + python2 setup.py install --root="$pkgdir" + mv "$pkgdir/usr/bin/uncompyle6" "$pkgdir/usr/bin/uncompyle62" + mv "$pkgdir/usr/bin/pydisassemble" "$pkgdir/usr/bin/pydisassemble2" +} |