[arch-commits] Commit in python-astroid/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Sat Jul 9 18:11:13 UTC 2022


    Date: Saturday, July 9, 2022 @ 18:11:13
  Author: alerque
Revision: 1249220

upgpkg: python-astroid 2.12.0-1

Modified:
  python-astroid/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-09 17:51:14 UTC (rev 1249219)
+++ PKGBUILD	2022-07-09 18:11:13 UTC (rev 1249220)
@@ -5,7 +5,7 @@
 
 _pyname=astroid
 pkgname=python-$_pyname
-pkgver=2.11.6
+pkgver=2.12.0
 pkgrel=1
 pkgdesc='A common base representation of python source code'
 arch=(any)
@@ -16,16 +16,20 @@
          wrapt)
 depends=(python
          "${_pydeps[@]/#/python-}")
-makedepends=(python-{build,installer}
-             python-setuptools
-             python-wheel)
+makedepends=(python-{build,installer,wheel}
+             python-setuptools)
 checkdepends=(python-pytest)
 replaces=(python-logilab-astng)
 conflicts=(python-logilab-astng)
 _archive="$_pyname-$pkgver"
 source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('987c3c54dfdebdd14b5b348a5295aabcc8c572f93d19bfe4730a7611bf284ff2')
+sha256sums=('1f9c18a16417980eb7586045ea9ab726ec3f5d5acf8136f1f32531d781f67140')
 
+prepare() {
+	cd "$_archive"
+	sed -i -e '/^requires =/s/~=[0-9.]\+//g' pyproject.toml
+}
+
 build() {
 	cd "$_archive"
 	python -m build -wn



More information about the arch-commits mailing list