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

Antonio Rojas arojas at gemini.archlinux.org
Wed Jul 27 20:40:52 UTC 2022


    Date: Wednesday, July 27, 2022 @ 20:40:51
  Author: arojas
Revision: 1258941

upgpkg: python-soupsieve 2.3.2.post1-1: Update to 2.3.2.post1

Modified:
  python-soupsieve/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-27 20:37:11 UTC (rev 1258940)
+++ PKGBUILD	2022-07-27 20:40:51 UTC (rev 1258941)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-soupsieve
-pkgver=2.3.1
+pkgver=2.3.2.post1
 pkgrel=1
 pkgdesc="A CSS4 selector implementation for Beautiful Soup"
 url="https://github.com/facelessuser/soupsieve"
@@ -8,14 +8,14 @@
 license=('MIT')
 arch=('any')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-hatchling')
 checkdepends=('python-pytest' 'python-beautifulsoup4' 'python-html5lib' 'python-lxml')
 source=("https://github.com/facelessuser/soupsieve/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('3f1245b27d67e8b37bce4cb0b21b2b3f4d6b7ae112cc66672e5406c0701b28e605ed12db1e111bfeccea15625b17042e398b075b7f026d3f3e15069f0cafccac')
+sha512sums=('80eae1e7256cbcf2f2b8520779a5bdb68798e9813ed738ee933204ff1c23ad52553e21f3aa89ad61b900b906dcaa7a1eebd819300417304df782cda9e2d79c4a')
 
 build() {
   cd soupsieve-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -28,7 +28,7 @@
 
 package() {
   cd soupsieve-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
 }



More information about the arch-commits mailing list