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

Felix Yan felixonmars at archlinux.org
Sun Mar 17 10:44:57 UTC 2019


    Date: Sunday, March 17, 2019 @ 10:44:57
  Author: felixonmars
Revision: 442349

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-17 10:44:38 UTC (rev 442348)
+++ PKGBUILD	2019-03-17 10:44:57 UTC (rev 442349)
@@ -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.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")
-sha512sums=('729635383a4dc2f941806f573baae3c2e1045c01f0bd3bfc8d588a4461ced1841b9e750031bc3b3b50e38724ec4eb8a2a26312835cdc06e7432243dd90c3c691')
-
-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 442348, python-logilab-common/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-17 10:44:57 UTC (rev 442349)
@@ -0,0 +1,37 @@
+# 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>
+
+pkgname=python-logilab-common
+pkgver=1.4.2
+pkgrel=2
+pkgdesc="Useful miscellaneous modules used by Logilab projects"
+arch=('any')
+url="http://www.logilab.org/project/logilab-common"
+license=('LGPL')
+depends=('python')
+optdepends=('python-six: for logilab.common.testlib')
+makedepends=('python-setuptools')
+checkdepends=('python-six' 'python-pytz')
+source=("https://pypi.io/packages/source/l/logilab-common/logilab-common-$pkgver.tar.gz")
+sha512sums=('729635383a4dc2f941806f573baae3c2e1045c01f0bd3bfc8d588a4461ced1841b9e750031bc3b3b50e38724ec4eb8a2a26312835cdc06e7432243dd90c3c691')
+
+prepare() {
+  cp -a logilab-common-$pkgver{,-py2}
+}
+
+build() {
+  cd logilab-common-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd logilab-common-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python bin/logilab-pytest
+}
+
+package() {
+  cd logilab-common-$pkgver
+  python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
+}


More information about the arch-commits mailing list