Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
python-gast


Commits:
245d63c0 by loqs at 2026-02-07T18:48:01+00:00
SPDX license identifier

https://github.com/serge-sans-paille/gast/blob/0.7.0/LICENSE

- - - - -
792a5395 by loqs at 2026-02-07T18:49:59+00:00
Use PEP 517 for building

Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -4,8 +4,11 @@ pkgbase = python-gast
        pkgrel = 2
        url = https://github.com/serge-sans-paille/gast
        arch = any
-       license = BSD
+       license = BSD-3-Clause
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
        source = https://pypi.io/packages/source/g/gast/gast-0.7.0.tar.gz
        sha512sums = 
ee7c17f3f890edf8e32845bee9b616cd0ed4a0b235833b11ce6716f15675a03fc835b2df1ac6417d5332e2c162ade0fdc0533914c014537ab0526f98dd7339aa


=====================================
PKGBUILD
=====================================
@@ -5,19 +5,19 @@ pkgrel=2
 pkgdesc="AST that abstracts the underlying Python version "
 url="https://github.com/serge-sans-paille/gast";
 arch=(any)
-license=('BSD')
+license=('BSD-3-Clause')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz";)
 
sha512sums=('ee7c17f3f890edf8e32845bee9b616cd0ed4a0b235833b11ce6716f15675a03fc835b2df1ac6417d5332e2c162ade0fdc0533914c014537ab0526f98dd7339aa')
 
 build() {
   cd gast-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd gast-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-gast/-/compare/730042a86a15ce500aa881c5399c258de2729e27...792a53951f21282a0197e00b425a6ce922d0e084

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-gast/-/compare/730042a86a15ce500aa881c5399c258de2729e27...792a53951f21282a0197e00b425a6ce922d0e084
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to