Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-beniget


Commits:
3c32c43d by Antonio Rojas at 2024-06-28T08:09:06+02:00
upgpkg: 0.4.2.post0-1: Update ot 0.4.2.post0

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,13 +1,18 @@
 pkgbase = python-beniget
        pkgdesc = A static analyzer for Python code
-       pkgver = 0.4.1
-       pkgrel = 6
+       pkgver = 0.4.2.post0
+       pkgrel = 1
        url = https://github.com/serge-sans-paille/beniget
        arch = any
-       license = BSD
+       license = BSD-3-Clause
+       makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
+       depends = python
        depends = python-gast
-       source = 
https://files.pythonhosted.org/packages/source/b/beniget/beniget-0.4.1.tar.gz
-       sha256sums = 
75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c
+       source = 
git+https://github.com/serge-sans-paille/beniget#tag=0.4.2.post0
+       sha256sums = 
4404611e26c0215af8f0158ab2bc1b8de07fb434b68ebd9a5ed7f1ef99e18419
 
 pkgname = python-beniget


=====================================
PKGBUILD
=====================================
@@ -2,24 +2,29 @@
 # Contributor: Ashwin Vishnu <ashwinvis+arch at pr0t0nm4il dot com>
 
 pkgname=python-beniget
-pkgver=0.4.1
-pkgrel=6
+pkgver=0.4.2.post0
+pkgrel=1
 pkgdesc='A static analyzer for Python code'
 arch=(any)
 url='https://github.com/serge-sans-paille/beniget'
-license=(BSD)
-depends=(python-gast)
-makedepends=(python-setuptools)
-source=(https://files.pythonhosted.org/packages/source/b/beniget/beniget-$pkgver.tar.gz)
-sha256sums=('75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c')
+license=(BSD-3-Clause)
+depends=(python
+         python-gast)
+makedepends=(git
+             python-build
+             python-installer
+             python-setuptools
+             python-wheel)
+source=(git+https://github.com/serge-sans-paille/beniget#tag=$pkgver)
+sha256sums=('4404611e26c0215af8f0158ab2bc1b8de07fb434b68ebd9a5ed7f1ef99e18419')
 
 build() {
-  cd beniget-$pkgver
-  python setup.py build
+  cd beniget
+  python -m build --wheel --no-isolation
 }
 
 package() {
-  cd beniget-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  cd beniget
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-beniget/-/commit/3c32c43da98761d946a8d041ce450fc1a734e0d5

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-beniget/-/commit/3c32c43da98761d946a8d041ce450fc1a734e0d5
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to