[arch-commits] Commit in python-logilab-common/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jun 22 14:11:31 UTC 2016


    Date: Wednesday, June 22, 2016 @ 14:11:31
  Author: felixonmars
Revision: 180745

archrelease: copy trunk to community-any

Added:
  python-logilab-common/repos/community-any/PKGBUILD
    (from rev 180744, python-logilab-common/trunk/PKGBUILD)
Deleted:
  python-logilab-common/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-22 14:11:13 UTC (rev 180744)
+++ PKGBUILD	2016-06-22 14:11:31 UTC (rev 180745)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgbase=python-logilab-common
-pkgname=('python2-logilab-common' 'python-logilab-common')
-pkgver=1.2.1
-pkgrel=1
-pkgdesc="Useful miscellaneous modules used by Logilab projects"
-arch=('any')
-url="http://www.logilab.org/project/logilab-common"
-license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-six' 'python2-six' 'python-pytz' 'python2-pytz' 'python2-egenix-mx-base')
-source=("https://pypi.io/packages/source/l/logilab-common/logilab-common-$pkgver.tar.gz")
-sha1sums=('e0abf168900569a95067dfc8e5978eb5d84ba9b9')
-
-prepare() {
-  cp -a logilab-common-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/logilab-common-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/logilab-common-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/logilab-common-$pkgver
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python bin/pytest
-
-  cd "$srcdir"/logilab-common-$pkgver-py2
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 bin/pytest
-}
-
-package_python-logilab-common() {
-  depends=('python')
-  optdepends=('python-six: for logilab.common.testlib')
-
-  cd "$srcdir"/logilab-common-$pkgver
-
-  python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
-}
-
-package_python2-logilab-common() {
-  depends=('python2')
-  optdepends=('python2-six: for logilab.common.testlib')
-
-  cd "$srcdir"/logilab-common-$pkgver-py2
-
-  python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
-
-  mv "$pkgdir"/usr/bin/pytest{,2}
-}

Copied: python-logilab-common/repos/community-any/PKGBUILD (from rev 180744, python-logilab-common/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-06-22 14:11:31 UTC (rev 180745)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgbase=python-logilab-common
+pkgname=('python2-logilab-common' 'python-logilab-common')
+pkgver=1.2.2
+pkgrel=1
+pkgdesc="Useful miscellaneous modules used by Logilab projects"
+arch=('any')
+url="http://www.logilab.org/project/logilab-common"
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-six' 'python2-six' 'python-pytz' 'python2-pytz' 'python2-egenix-mx-base')
+source=("https://pypi.io/packages/source/l/logilab-common/logilab-common-$pkgver.tar.gz")
+sha1sums=('ecad2d10c31dcf183c8bed87b6ec35e7ed397d27')
+
+prepare() {
+  cp -a logilab-common-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/logilab-common-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/logilab-common-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/logilab-common-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python bin/pytest
+
+  cd "$srcdir"/logilab-common-$pkgver-py2
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 bin/pytest
+}
+
+package_python-logilab-common() {
+  depends=('python')
+  optdepends=('python-six: for logilab.common.testlib')
+
+  cd "$srcdir"/logilab-common-$pkgver
+
+  python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
+}
+
+package_python2-logilab-common() {
+  depends=('python2')
+  optdepends=('python2-six: for logilab.common.testlib')
+
+  cd "$srcdir"/logilab-common-$pkgver-py2
+
+  python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
+
+  mv "$pkgdir"/usr/bin/pytest{,2}
+}



More information about the arch-commits mailing list