[arch-commits] Commit in python-logilab-common/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:13:00 UTC 2020
Date: Thursday, November 12, 2020 @ 17:12:59
Author: felixonmars
Revision: 752355
archrelease: copy trunk to community-staging-any
Added:
python-logilab-common/repos/community-staging-any/
python-logilab-common/repos/community-staging-any/PKGBUILD
(from rev 752354, python-logilab-common/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-logilab-common/repos/community-staging-any/PKGBUILD (from rev 752354, python-logilab-common/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:12:59 UTC (rev 752355)
@@ -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.8.0
+pkgrel=2
+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=('efbe507e21fe10bd9503336b25da49327dcacc6aa4cbb8eb63198ccf96945eabba7cfc8503e08426d49551279e076af0dbf5c4685a9399baf3769113aaf59d3e')
+
+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