[arch-commits] Commit in python2-contextlib2/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Jan 23 06:24:43 UTC 2016


    Date: Saturday, January 23, 2016 @ 07:24:43
  Author: fyan
Revision: 158651

archrelease: copy trunk to community-any

Added:
  python2-contextlib2/repos/community-any/PKGBUILD
    (from rev 158650, python2-contextlib2/trunk/PKGBUILD)
Deleted:
  python2-contextlib2/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   71 +++++++++++++++++++++++--------------------------------------
 1 file changed, 27 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-23 06:24:21 UTC (rev 158650)
+++ PKGBUILD	2016-01-23 06:24:43 UTC (rev 158651)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Cedric Girard <girard.cedric at gmail.com>
-
-pkgbase=python-contextlib2
-_pypiname=contextlib2
-pkgname=(python-contextlib2 python2-contextlib2)
-pkgver=0.5.1
-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')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.python.org/packages/source/${_pypiname:0:1}/${_pypiname}/${_pypiname}-$pkgver.tar.gz")
-md5sums=('b7f4c5a2b900c419b11b20f59838de1b')
-
-prepare() {
-  cp -a ${_pypiname}-$pkgver{,-py2}
-}
-
-build() {
-  cd "${srcdir}/${_pypiname}-$pkgver"
-  python setup.py build
-
-  cd "${srcdir}/${_pypiname}-$pkgver-py2"
-  python2 setup.py build
-}
-
-package_python-contextlib2() {
-  depends=('python')
-
-  cd ${_pypiname}-$pkgver
-  python setup.py install --root="${pkgdir}"
-  install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-contextlib2() {
-  depends=('python2')
-
-  cd ${_pypiname}-$pkgver-py2
-  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 158650, python2-contextlib2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-01-23 06:24:43 UTC (rev 158651)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Cedric Girard <girard.cedric at gmail.com>
+
+_pypiname=contextlib2
+pkgname=python2-contextlib2
+pkgver=0.5.1
+pkgrel=2
+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.python.org/packages/source/${_pypiname:0:1}/${_pypiname}/${_pypiname}-$pkgver.tar.gz")
+md5sums=('b7f4c5a2b900c419b11b20f59838de1b')
+
+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"
+}



More information about the arch-commits mailing list