diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -4,17 +4,17 @@ # Maintainer: Andre Klitzing <aklitzing () gmail () com> # AUR Category: devel pkgname=tortoisehg -pkgver=5.1.0 +pkgver=5.2.0 pkgrel=0 -_pkgchangeset=89b2d1787506 +_pkgchangeset=fb9035853199 pkgdesc="Graphical tools for Mercurial" url="https://tortoisehg.bitbucket.io" license=("GPL") -depends=('python2' 'mercurial>=5.0' 'mercurial<5.2' 'python2-qscintilla-qt5' 'python2-iniparse' 'qt5-svg') -builddepends=(python2) +depends=('python' 'mercurial>=5.2' 'mercurial<5.3' 'python-qscintilla-qt5' 'python-iniparse' 'qt5-svg' 'python-pyqt5') +builddepends=(python) arch=('any') -optdepends=('python2-pygments: syntax highlighting' - 'python2-nautilus: Python binding for Nautilus components') +optdepends=('python-pygments: syntax highlighting' + 'python-nautilus: Python binding for Nautilus components') if [ -z ${_pkgchangeset+x} ]; then @@ -31,14 +31,15 @@ package() { cd "${srcdir}/tortoisehg-thg-${_pkgchangeset}" fi - python2 setup.py install --prefix=/usr --root="${pkgdir}" + python setup.py install --prefix=/usr --root="${pkgdir}" install -Dm 644 "contrib/mergetools.rc" "${pkgdir}/etc/mercurial/hgrc.d/thgmergetools.rc" install -Dm 644 "contrib/thg.desktop" "${pkgdir}/usr/share/applications/thg.desktop" install -Dm 644 "icons/svg/thg_logo.svg" "${pkgdir}/usr/share/pixmaps/thg_logo.svg" - # already provided by hg 4.0 - rm -f "${pkgdir}/usr/lib/python2.7/site-packages/hgext3rd/__init__.py" - rm -f "${pkgdir}/usr/lib/python2.7/site-packages/hgext3rd/__init__.pyc" + # already provided by hg + rm -f "${pkgdir}/usr/lib/python3.8/site-packages/hgext3rd/__init__.py" + rm -f "${pkgdir}/usr/lib/python3.8/site-packages/hgext3rd/__init__.pyc" + rm -rf "${pkgdir}/usr/lib/python3.8/site-packages/hgext3rd/__pycache__/" } -sha256sums=('8a59ecf7cadd93ce320e842e9a6c77ad1065e02040262bde0c953028fbb69178') +sha256sums=('b3630d1ee2662e310ba49b408bfe697a72686d8435a43a1df86d91fda89fce68') |