Date: Wednesday, April 26, 2017 @ 06:57:00 Author: felixonmars Revision: 225399
archrelease: copy trunk to community-any Added: python2-contextlib2/repos/community-any/PKGBUILD (from rev 225398, python2-contextlib2/trunk/PKGBUILD) Deleted: python2-contextlib2/repos/community-any/PKGBUILD ----------+ PKGBUILD | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-04-26 06:56:30 UTC (rev 225398) +++ PKGBUILD 2017-04-26 06:57:00 UTC (rev 225399) @@ -1,27 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Cedric Girard <girard.ced...@gmail.com> - -_pypiname=contextlib2 -pkgname=python2-contextlib2 -pkgver=0.5.4 -pkgrel=1 -pkgdesc="contextlib2 is a backport of the standard library’s contextlib module to earlier Python versions" -arch=('any') -url="http://pypi.python.org/pypi/${_pypiname}" -license=('PSF') -depends=('python2') -makedepends=('python2-setuptools') -source=("https://pypi.io/packages/source/${_pypiname:0:1}/${_pypiname}/${_pypiname}-$pkgver.tar.gz") -md5sums=('2d66215f9902c8b857688d4e3b527b3f') - -build() { - cd "${srcdir}/${_pypiname}-$pkgver" - python2 setup.py build -} - -package() { - cd ${_pypiname}-$pkgver - python2 setup.py install --root="${pkgdir}" - install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: python2-contextlib2/repos/community-any/PKGBUILD (from rev 225398, python2-contextlib2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-04-26 06:57:00 UTC (rev 225399) @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Cedric Girard <girard.ced...@gmail.com> + +_pypiname=contextlib2 +pkgname=python2-contextlib2 +pkgver=0.5.5 +pkgrel=1 +pkgdesc="contextlib2 is a backport of the standard library’s contextlib module to earlier Python versions" +arch=('any') +url="http://pypi.python.org/pypi/${_pypiname}" +license=('PSF') +depends=('python2') +makedepends=('python2-setuptools') +source=("https://pypi.io/packages/source/${_pypiname:0:1}/${_pypiname}/${_pypiname}-$pkgver.tar.gz") +sha512sums=('d5c97ff8eef7d8b14da0bfdc3515f8019bcc05e24cb922ce08ca2366d5182b029d873bbf172e9e6791297df05e24f6faf40868550063dcdb54f451b14c9e505d') + +build() { + cd "${srcdir}/${_pypiname}-$pkgver" + python2 setup.py build +} + +package() { + cd ${_pypiname}-$pkgver + python2 setup.py install --root="${pkgdir}" + install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}