diff options
author | Axel Gembe | 2019-12-02 12:12:29 +0700 |
---|---|---|
committer | Axel Gembe | 2019-12-02 12:12:29 +0700 |
commit | f151ab99045e367553a78affeaa2adb8995af0fc (patch) | |
tree | a52594860d037ffdee0c76c2ba91690a74de95fe | |
parent | bcab0a849f80cfe0739f5051404177bc10d447cb (diff) | |
download | aur-f151ab99045e367553a78affeaa2adb8995af0fc.tar.gz |
Switch to Python 3
PyRescene supports Python 3 so there is no reason to depend on Python 2.
Thanks to hashworks for the suggestion!
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = pyrescene-hg pkgdesc = pyReScene is a port of ReScene .NET to the Python programming language. pkgver = 806 - pkgrel = 3 + pkgrel = 4 url = https://bitbucket.org/Gfy/pyrescene arch = any license = MIT @@ -9,9 +9,9 @@ pkgbase = pyrescene-hg license = Custom makedepends = mercurial makedepends = git - depends = python2 + depends = python depends = chromaprint - depends = python2-numpy + depends = python-numpy depends = unrar depends = lib32-libstdc++5 source = hg+https://bitbucket.org/Gfy/pyrescene/ @@ -1,12 +1,12 @@ -# Maintainer: dryes <joswiseman@cock.li> +# Maintainer: ichundes <derago@gmail.com> pkgname='pyrescene-hg' pkgver=806 -pkgrel=3 +pkgrel=4 pkgdesc='pyReScene is a port of ReScene .NET to the Python programming language.' url='https://bitbucket.org/Gfy/pyrescene' arch=('any') license=('MIT' 'GPL' 'Custom') -depends=('python2' 'chromaprint' 'python2-numpy' 'unrar' 'lib32-libstdc++5') +depends=('python' 'chromaprint' 'python-numpy' 'unrar' 'lib32-libstdc++5') makedepends=('mercurial' 'git') source=('hg+https://bitbucket.org/Gfy/pyrescene/' 'git://github.com/dryes/rarlinux.git') md5sums=('SKIP' @@ -22,11 +22,11 @@ package() { cp 'rescene/srr.py' 'rescene/srr.py~' sed -i -r 's|(dest=\"rar_executable_dir\",)|\1 default=\"/opt/rarlinux\",|' 'rescene/srr.py' - python2 'setup.py' install --root="${pkgdir}" + python 'setup.py' install --root="${pkgdir}" mv 'rescene/srr.py~' 'rescene/srr.py' mkdir -p "${pkgdir}/opt/rarlinux" - python2 'bin/preprardir.py' "${srcdir}/rarlinux" "${pkgdir}/opt/rarlinux" + python 'bin/preprardir.py' "${srcdir}/rarlinux" "${pkgdir}/opt/rarlinux" chown -R root:root "${pkgdir}/opt/rarlinux" chmod -R a+x "${pkgdir}/opt/rarlinux" # RAR 5.50 breaks pyrescene |