[arch-commits] Commit in python-logilab-common/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jun 16 15:37:33 UTC 2020
Date: Tuesday, June 16, 2020 @ 15:37:32
Author: felixonmars
Revision: 646226
upgpkg: python-logilab-common 1.7.0-1
Modified:
python-logilab-common/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-16 15:36:28 UTC (rev 646225)
+++ PKGBUILD 2020-06-16 15:37:32 UTC (rev 646226)
@@ -4,25 +4,17 @@
# Contributor: Alexander Fehr <pizzapunk gmail com>
pkgname=python-logilab-common
-pkgver=1.6.4
+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')
-optdepends=('python-six: for logilab.common.testlib')
-makedepends=('python-setuptools')
-checkdepends=('python-six' 'python-pytz')
+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=('30d65b6010cc42da719771feda7e4343c8f705e49ad744342241cb6ab0a31f5f89cdda1347fdc658ee939e3a64b2a51d3df03e2d06c0d9bf69c75259706a19be')
+sha512sums=('26b3c142074a624ce8a37287723493219b4b6f949f5f0b93deb0a0feae0e12aa8e55c14115f32bc6a433deff1c79919d7a4695b87e13ec44bc3f84b55ff6741a')
-prepare() {
- cp -a logilab-common-$pkgver{,-py2}
-
- sed -i 's/from cgi import escape/from html import escape/' logilab-common-$pkgver/logilab/common/ureports/html_writer.py
-}
-
build() {
cd logilab-common-$pkgver
python setup.py build
@@ -30,7 +22,7 @@
check() {
cd logilab-common-$pkgver
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python bin/logilab-pytest || :
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python bin/logilab-pytest
}
package() {
More information about the arch-commits
mailing list