[arch-commits] Commit in python-logilab-common/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jun 16 15:37:42 UTC 2020


    Date: Tuesday, June 16, 2020 @ 15:37:41
  Author: felixonmars
Revision: 646227

archrelease: copy trunk to community-testing-any

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

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-logilab-common/repos/community-testing-any/PKGBUILD (from rev 646226, python-logilab-common/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-06-16 15:37:41 UTC (rev 646227)
@@ -0,0 +1,31 @@
+# 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.7.0
+pkgrel=1
+pkgdesc="Useful miscellaneous modules used by Logilab projects"
+arch=('any')
+url="https://www.logilab.org/project/logilab-common"
+license=('LGPL')
+depends=('python-setuptools' 'python-mypy_extensions' 'python-typing_extensions')
+checkdepends=('python-pytz')
+source=("https://pypi.io/packages/source/l/logilab-common/logilab-common-$pkgver.tar.gz")
+sha512sums=('26b3c142074a624ce8a37287723493219b4b6f949f5f0b93deb0a0feae0e12aa8e55c14115f32bc6a433deff1c79919d7a4695b87e13ec44bc3f84b55ff6741a')
+
+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