[arch-commits] Commit in python-logilab-common/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jul 11 14:02:28 UTC 2017
Date: Tuesday, July 11, 2017 @ 14:02:27
Author: felixonmars
Revision: 244250
archrelease: copy trunk to community-any
Added:
python-logilab-common/repos/community-any/PKGBUILD
(from rev 244249, 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-07-11 14:02:08 UTC (rev 244249)
+++ PKGBUILD 2017-07-11 14:02:27 UTC (rev 244250)
@@ -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.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}
-}
Copied: python-logilab-common/repos/community-any/PKGBUILD (from rev 244249, python-logilab-common/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-07-11 14:02:27 UTC (rev 244250)
@@ -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.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")
+sha512sums=('e016aa8bd8641b4178aa1d1dd58c8c78bf6c3a80c35c9096d9761eeb49c9ee1ab5952839a1b7ecc404cd60b31078d3e997d73ad4f8d07d88badffe6c8748a059')
+
+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