Date: Monday, November 21, 2022 @ 07:05:53 Author: yan12125 Revision: 1350548
upgpkg: python-httpx 0.23.1-1; add a link to upstream changelog Pushing to [community-testing] instead of [community] due to backward-incompatible changes [1] [1] https://github.com/encode/httpx/blob/0.23.1/CHANGELOG.md#removed Modified: python-httpx/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-21 07:05:52 UTC (rev 1350547) +++ PKGBUILD 2022-11-21 07:05:53 UTC (rev 1350548) @@ -3,8 +3,9 @@ _pkgname=httpx pkgname=python-httpx -pkgver=0.23.0 -pkgrel=2 +# https://github.com/encode/httpx/blob/master/CHANGELOG.md +pkgver=0.23.1 +pkgrel=1 pkgdesc="A next generation HTTP client for Python" arch=('any') url="https://github.com/encode/${_pkgname}" @@ -18,14 +19,14 @@ 'python-rich: command line client support' 'python-trio: alternative async library' ) -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-hatchling' 'python-hatch-fancy-pypi-readme') checkdepends=('python-pytest-asyncio' 'python-pytest-trio' 'python-typing_extensions' 'python-brotlicffi' 'python-h2' 'python-trustme' 'uvicorn' 'python-socksio' - 'python-rich' 'python-chardet') + 'python-rich' 'python-chardet' 'python-multipart') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz" "uvicorn-test-server-use-h11.diff") -sha512sums=('3cfdf2b3b2f15967a1eec0be05ed947c5e18a46576b68a9cbfd5147dfd4736cb7c389f5431732b93f3a11f3ec6c6f25f7cbb3d96d845f00b58e2b8dae047c1d5' +sha512sums=('3fe280b6d3cb1a12bdd502e7bd432588375f9cebfcd9e071acb6e851866a56d84a715428599a297f5df43d73997b2a0c02ba1a12b3e32d292b2051161a350751' 'd86ec2b97ca0dda68f023f9d1fbed0cb143e4ae118ac71fe6651f8f65d7130f014c0cc14a9ab490fc09583370141d5827976c334bd1c58aaebcf1a00762214c9') -b2sums=('036c66b2c3f743cd069716297f331f0d75043a98180b9db3e156c5692ae8bf9c68d1db87169953a7f44aaf7ee8554d0166f70b508f77b7ff4b0ebc0500bc02ad' +b2sums=('ee01771377bbfebbc4a9346280c8d59508c78295e61b6f9d60a07099e44dfb0fc208d37b68f511bbbacb48438cf6daa73ef82d7a7ae75470409c8346ddad0ad5' 'b67493e9c8d38ae9b64d831b178d8b943a90a3382e381f08792a35c935fa702b094ea962eb653e5b6ad1b5990466d3d0814d166093aa7b9e921632e61d4ebd45') prepare() { @@ -41,7 +42,7 @@ build() { cd ${_pkgname}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -53,6 +54,6 @@ package() { cd ${_pkgname}-${pkgver} - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.md }
