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


Commits:
9d9771de by Antonio Rojas at 2024-05-10T21:29:47+02:00
upgpkg: 0.30.0-1: Update to 0.30.0

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,15 +1,18 @@
 pkgbase = python-pytest-httpx
        pkgdesc = Send responses to httpx
-       pkgver = 0.27.0
-       pkgrel = 2
+       pkgver = 0.30.0
+       pkgrel = 1
        url = https://colin-b.github.io/pytest_httpx
        arch = any
        license = MIT
        checkdepends = python-pytest-asyncio
-       makedepends = python-setuptools
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-setuptools-scm
+       makedepends = python-wheel
        depends = python-httpx
        depends = python-pytest
-       source = 
https://github.com/Colin-b/pytest_httpx/archive/v0.27.0/python-pytest-httpx-0.27.0.tar.gz
-       sha512sums = 
5152a0632d6e5f09928e41339a29d2b7164c6969cfed0029ed1500d0352b7544590d79b7de864bd3ca97f35160b558328a721da54fb02ec1e0a99ecaf04c28ed
+       source = 
https://github.com/Colin-b/pytest_httpx/archive/v0.30.0/python-pytest-httpx-0.30.0.tar.gz
+       sha512sums = 
e3c20993921a5ae23a6dabcb68e495477fad32fdf69ce8a03b3a7fb5ab9732b364b5293c91fa7bb0eab7e57fe681a7ef118e8df1cdfc15ff012a6f5496207ec7
 
 pkgname = python-pytest-httpx


=====================================
PKGBUILD
=====================================
@@ -1,35 +1,35 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=python-pytest-httpx
-pkgver=0.27.0
-pkgrel=2
+pkgver=0.30.0
+pkgrel=1
 pkgdesc='Send responses to httpx'
 arch=('any')
 license=('MIT')
 url='https://colin-b.github.io/pytest_httpx'
 depends=('python-httpx' 'python-pytest')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
 checkdepends=('python-pytest-asyncio')
 
source=("https://github.com/Colin-b/pytest_httpx/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('5152a0632d6e5f09928e41339a29d2b7164c6969cfed0029ed1500d0352b7544590d79b7de864bd3ca97f35160b558328a721da54fb02ec1e0a99ecaf04c28ed')
+sha512sums=('e3c20993921a5ae23a6dabcb68e495477fad32fdf69ce8a03b3a7fb5ab9732b364b5293c91fa7bb0eab7e57fe681a7ef118e8df1cdfc15ff012a6f5496207ec7')
 
 build() {
   cd pytest_httpx-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
   # Hack entry points by installing it
 
   cd pytest_httpx-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  python -m installer --destdir="$PWD/tmp_install" dist/*.whl
   local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
   PYTHONPATH="$PWD/tmp_install/$site_packages:$PYTHONPATH" pytest
 }
 
 package() {
   cd pytest_httpx-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-httpx/-/commit/9d9771de86b33a6efa6c44f8bcf12aea5b779d80

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-httpx/-/commit/9d9771de86b33a6efa6c44f8bcf12aea5b779d80
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to