[arch-commits] Commit in python-logilab-common/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Dec 1 14:36:15 UTC 2014
Date: Monday, December 1, 2014 @ 15:36:14
Author: fyan
Revision: 227229
archrelease: copy trunk to extra-any
Added:
python-logilab-common/repos/extra-any/PKGBUILD
(from rev 227228, python-logilab-common/trunk/PKGBUILD)
Deleted:
python-logilab-common/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 138 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 69 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-01 14:35:54 UTC (rev 227228)
+++ PKGBUILD 2014-12-01 14:36:14 UTC (rev 227229)
@@ -1,69 +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=0.63.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.python.org/packages/source/l/logilab-common/logilab-common-$pkgver.tar.gz")
-sha1sums=('c29eb16fdd4974dfb5a568dc661c5dc863834137')
-
-prepare() {
- cp -a logilab-common-${pkgver}{,-py3}
-}
-
-build() {
- cd logilab-common-${pkgver}
- python2 setup.py build
-
- cd ../logilab-common-${pkgver}-py3
- python3 setup.py build
-}
-
-check() {
- cd logilab-common-${pkgver}
- # Hack to make it importable at this stage
- touch build/lib/logilab/__init__.py
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 bin/pytest
- rm build/lib/logilab/__init__.py
-
- cd ../logilab-common-${pkgver}-py3
- touch build/lib/logilab/__init__.py
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python3 bin/pytest
- rm build/lib/logilab/__init__.py
-}
-
-package_python2-logilab-common() {
- depends=('python2')
- optdepends=('python2-six: for logilab.common.testlib')
-
- cd "${srcdir}"/logilab-common-${pkgver}
-
- python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="${pkgdir}"
-
- mv "${pkgdir}"/usr/bin/pytest{,2}
-
- # fix permissions ...
- find "${pkgdir}" -type f -exec chmod +r {} \;
-}
-
-package_python-logilab-common() {
- depends=('python')
- optdepends=('python-six: for logilab.common.testlib')
-
- cd "${srcdir}"/logilab-common-${pkgver}-py3
-
- python3 setup.py install --optimize=1 --skip-build --prefix=/usr --root="${pkgdir}"
-
- # fix permissions ...
- find "${pkgdir}" -type f -exec chmod +r {} \;
-}
Copied: python-logilab-common/repos/extra-any/PKGBUILD (from rev 227228, python-logilab-common/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-12-01 14:36:14 UTC (rev 227229)
@@ -0,0 +1,69 @@
+# $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=0.63.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.python.org/packages/source/l/logilab-common/logilab-common-$pkgver.tar.gz")
+sha1sums=('ca448e76467f6c7b59ce820947734467c7b18d4d')
+
+prepare() {
+ cp -a logilab-common-${pkgver}{,-py3}
+}
+
+build() {
+ cd logilab-common-${pkgver}
+ python2 setup.py build
+
+ cd ../logilab-common-${pkgver}-py3
+ python3 setup.py build
+}
+
+check() {
+ cd logilab-common-${pkgver}
+ # Hack to make it importable at this stage
+ touch build/lib/logilab/__init__.py
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 bin/pytest
+ rm build/lib/logilab/__init__.py
+
+ cd ../logilab-common-${pkgver}-py3
+ touch build/lib/logilab/__init__.py
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python3 bin/pytest
+ rm build/lib/logilab/__init__.py
+}
+
+package_python2-logilab-common() {
+ depends=('python2')
+ optdepends=('python2-six: for logilab.common.testlib')
+
+ cd "${srcdir}"/logilab-common-${pkgver}
+
+ python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="${pkgdir}"
+
+ mv "${pkgdir}"/usr/bin/pytest{,2}
+
+ # fix permissions ...
+ find "${pkgdir}" -type f -exec chmod +r {} \;
+}
+
+package_python-logilab-common() {
+ depends=('python')
+ optdepends=('python-six: for logilab.common.testlib')
+
+ cd "${srcdir}"/logilab-common-${pkgver}-py3
+
+ python3 setup.py install --optimize=1 --skip-build --prefix=/usr --root="${pkgdir}"
+
+ # fix permissions ...
+ find "${pkgdir}" -type f -exec chmod +r {} \;
+}
More information about the arch-commits
mailing list