[arch-commits] Commit in python-astroid/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Feb 17 12:11:18 UTC 2021
Date: Wednesday, February 17, 2021 @ 12:11:18
Author: felixonmars
Revision: 408359
upgpkg: python-astroid 2.5-1
Modified:
python-astroid/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-17 12:09:40 UTC (rev 408358)
+++ PKGBUILD 2021-02-17 12:11:18 UTC (rev 408359)
@@ -2,8 +2,8 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-astroid
-pkgver=2.4.2
-pkgrel=4
+pkgver=2.5
+pkgrel=1
pkgdesc="Useful miscellaneous modules used by Logilab projects"
arch=('any')
url="https://github.com/PyCQA/astroid"
@@ -13,14 +13,11 @@
checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose' 'python-pytest-runner')
replaces=('python-logilab-astng')
conflicts=('python-logilab-astng')
-source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz
- $pkgname-py39-dict-union.patch::https://github.com/PyCQA/astroid/commit/d18469799108.patch)
-sha512sums=('5306428e55bb8fec388353844afb842638114d6163096d4eb4335ac488a88b7a09a03d143e3ea991ea07371d9d87e911578981e4d74e45f6b3819e389f227ba0'
- '86be5f3646201d19d56b7c6bd19b642462a5d76b4b6584ee53ef27883e3d69839774b19b3f7b767f3903426cb0f8c838e70f8a94e32c5fe2b9d86a76fd0e323b')
+source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
+sha512sums=('ba333563827058bbf67a521efcd4690ffba874ca61d8c8d4fb48881cd08fc3d7b7f5a1722b1bd0b35c04f43ba0184e2aa77e0ce6069d79578a075339352c4d37')
prepare() {
cd astroid-astroid-$pkgver
- patch -Np1 -i ../$pkgname-py39-dict-union.patch
sed -i -e 's/six~=[0-9.*]*/six/;s/wrapt~=[0-9.*]*/wrapt/;s/lazy_object_proxy==[0-9.*]*/lazy_object_proxy/' astroid/__pkginfo__.py
}
@@ -31,8 +28,7 @@
check() {
cd astroid-astroid-$pkgver
- # Some tests fail on Python 3.9 (https://github.com/PyCQA/astroid/issues/845)
- pytest -k 'not test_namedtuple_few_args and not test_namedtuple_few_fields and not test_namedtuple_inference_nonliteral and not test_dataclasses_subscript_inference_recursion_error'
+ pytest
}
package() {
More information about the arch-commits
mailing list