Date: Sunday, July 12, 2015 @ 21:00:07 Author: jelle Revision: 136739
Fix mess up of python2/python hglib :-) Modified: python-hglib/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-07-12 18:55:42 UTC (rev 136738) +++ PKGBUILD 2015-07-12 19:00:07 UTC (rev 136739) @@ -1,9 +1,10 @@ # Contributor: Erik Johnson <palehose at gmail dot com> +# Maintainer: Jelle van der Waa <je...@archlinux.org> pkgbase=python-hglib pkgname=('python2-hglib' 'python-hglib') pkgver=1.6 -pkgrel=1 +pkgrel=2 arch=('any') url="https://pypi.python.org/pypi/python-hglib" license=('MIT') @@ -16,16 +17,16 @@ cp -rf "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}-2" } -package_python-hglib() { - pkgdesc="python-hglib is a library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg." - depends=('python' 'mercurial') +package_python2-hglib() { + pkgdesc="python2-hglib is a library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg." + depends=('python2' 'mercurial') cd "${srcdir}/${pkgbase}-${pkgver}-2" python2 setup.py install --root=${pkgdir} --optimize=1 } -package_python2-hglib() { - pkgdesc="python2-hglib is a library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg." - depends=('python2' 'mercurial') +package_python-hglib() { + pkgdesc="python-hglib is a library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg." + depends=('python' 'mercurial') cd "${srcdir}/${pkgbase}-${pkgver}" python setup.py install --root=${pkgdir} --optimize=1 }