Massimiliano Torromeo pushed to branch main at Arch Linux / Packaging / 
Packages / python-grequests


Commits:
daa5670f by Massimiliano Torromeo at 2023-08-01T10:54:48+02:00
upgpkg: 0.7.0-1

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -2,26 +2,26 @@
 
 pkgname=python-grequests
 _libname=grequests
-pkgver=0.6.0
-pkgrel=5
+pkgver=0.7.0
+pkgrel=1
 pkgdesc="Allows you to use Requests with Gevent to make asyncronous HTTP 
Requests easily."
 url="https://pypi.python.org/pypi/grequests/";
 license=('custom: ISC')
 arch=('any')
-depends=('python-requests' 'python-gevent')
-makedepends=('python-setuptools')
+depends=(python-requests python-gevent)
+makedepends=(python-setuptools python-wheel python-build python-installer)
 
source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz
         
$_libname-$pkgver-LICENSE::https://github.com/kennethreitz/grequests/raw/v$pkgver/LICENSE)
-sha256sums=('7dec890c6668e6755a1ea968565535867956639301268394d24df67b478df666'
+sha256sums=('5c33f14268df5b8fa1107d8537815be6febbad6ec560524d6a404b7778cf6ba6'
             '4063882a8913e4b37457d58fe6600bd975ba053c8db2e8c6b218e7c9c8575ca8')
 
 build() {
     cd "$srcdir"/$_libname-$pkgver
-    python setup.py build
+    python -m build --wheel --no-isolation
 }
 
 package_python-grequests() {
     cd "$srcdir"/$_libname-$pkgver
-    python setup.py install --skip-build -O1 --root="$pkgdir"
+    python -m installer --destdir="$pkgdir" dist/*.whl
     install -m0644 -D "$srcdir"/$_libname-$pkgver-LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-grequests/-/commit/daa5670f08e74160fc5e62a94f57adff84f60b39

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


Reply via email to