[arch-commits] Commit in python-logilab-common/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Mar 20 13:48:10 UTC 2017
Date: Monday, March 20, 2017 @ 13:48:09
Author: felixonmars
Revision: 217573
archrelease: copy trunk to community-any
Added:
python-logilab-common/repos/community-any/PKGBUILD
(from rev 217571, 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 2017-03-20 13:48:05 UTC (rev 217572)
+++ PKGBUILD 2017-03-20 13:48:09 UTC (rev 217573)
@@ -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.3.0
-pkgrel=2
-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=('50cdf0e0f754da15e2aa16917027635ce1b2f057')
-
-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/logilab-pytest
-
- cd "$srcdir"/logilab-common-$pkgver-py2
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 bin/logilab-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/logilab-pytest{,2}
-}
Copied: python-logilab-common/repos/community-any/PKGBUILD (from rev 217571, python-logilab-common/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-03-20 13:48:09 UTC (rev 217573)
@@ -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.4.0
+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=('a5fcd9c74cadb320c98d6d8fbe5b3d2bfb35415b')
+
+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/logilab-pytest
+
+ cd "$srcdir"/logilab-common-$pkgver-py2
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 bin/logilab-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/logilab-pytest{,2}
+}
More information about the arch-commits
mailing list