Date: Saturday, May 28, 2016 @ 01:48:01 Author: faidoc Revision: 177345
archrelease: copy trunk to community-any Added: python2-polib/repos/community-any/PKGBUILD (from rev 177344, python2-polib/trunk/PKGBUILD) Deleted: python2-polib/repos/community-any/PKGBUILD ----------+ PKGBUILD | 57 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 25 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-05-27 23:47:20 UTC (rev 177344) +++ PKGBUILD 2016-05-27 23:48:01 UTC (rev 177345) @@ -1,25 +0,0 @@ -# $Id$ -# Contributor: Esteban V. Carnevale <alfpla...@mailoo.com> - -pkgname=python2-polib -_pkgname=polib -pkgver=1.0.7 -pkgrel=1 -pkgdesc='A library to manipulate gettext files' -url='https://pypi.python.org/pypi/polib' -arch=('any') -license=('MIT') -depends=('python2') -source=("https://pypi.python.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") -sha256sums=('43ce60d05ffa442ba9d3c5722193aadb93c38174b9fb471c8ea7ccbf8349bbca') - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - python2 setup.py build -} - -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - python2 setup.py install --root="${pkgdir}" --optimize=1 - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: python2-polib/repos/community-any/PKGBUILD (from rev 177344, python2-polib/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-05-27 23:48:01 UTC (rev 177345) @@ -0,0 +1,32 @@ +# $Id$ +# Contributor: Esteban V. Carnevale <alfpla...@mailoo.com> + +pkgname=(python-polib python2-polib) +_pkgname=polib +pkgver=1.0.7 +pkgrel=2 +pkgdesc='A library to manipulate gettext files' +url='https://pypi.python.org/pypi/polib' +arch=('any') +license=('MIT') +depends=('python' 'python2') +source=("https://pypi.python.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('43ce60d05ffa442ba9d3c5722193aadb93c38174b9fb471c8ea7ccbf8349bbca') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python ./setup.py build +} + +package_python-polib() { + depends=('python') + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE" +} + +package_python2-polib() { + depends=('python2') + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 +}