David Runge pushed to branch main at Arch Linux / Packaging / Packages / python-pytest-aiohttp
Commits: 57d4da16 by David Runge at 2024-04-05T11:55:50+02:00 Switch to correct SPDX license identifier Signed-off-by: David Runge <[email protected]> - - - - - 798bc870 by David Runge at 2024-04-05T11:58:41+02:00 Switch to upstream provided auto-generated source tarball Signed-off-by: David Runge <[email protected]> - - - - - e7c92574 by David Runge at 2024-04-05T12:01:16+02:00 Switch to PEP517 Signed-off-by: David Runge <[email protected]> - - - - - d4bf9d7f by David Runge at 2024-04-05T12:01:40+02:00 upgpkg: 1.0.5-2: Rebuild against Python 3.12 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,17 +1,21 @@ pkgbase = python-pytest-aiohttp pkgdesc = pytest plugin for aiohttp support pkgver = 1.0.5 - pkgrel = 1 + pkgrel = 2 url = https://github.com/aio-libs/pytest-aiohttp arch = any - license = Apache + license = Apache-2.0 + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools makedepends = python-setuptools-scm + makedepends = python-wheel depends = python depends = python-pytest depends = python-aiohttp depends = python-py - source = https://pypi.io/packages/source/p/pytest-aiohttp/pytest-aiohttp-1.0.5.tar.gz - sha256sums = 880262bc5951e934463b15e3af8bb298f11f7d4d3ebac970aab425aff10a780a - sha512sums = b8421c63e4d5caa9742a013a6d1fd3c010b5e4a48e4f5c1a07ddfb7b05853ce6a7a0d65ce78493fd607f59c669d31c75d97a9022048e6a60cbc90a19a48dd02c + source = python-pytest-aiohttp-1.0.5.tar.gz::https://github.com/aio-libs/pytest-aiohttp/archive/v1.0.5.tar.gz + sha256sums = c185f35de7ade7faec96e8a83d31ef1da61b93cdf6d0f405be500f60a315253b + sha512sums = 953305728271cb5f3e315653db32b582689ab773fde2c73d4bd369153cb021f4543c12e37acef8b5694447b659bc9f94ffcbad277b53362933d13d2dd7a326d9 pkgname = python-pytest-aiohttp ===================================== PKGBUILD ===================================== @@ -1,28 +1,27 @@ # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -_pkgname=pytest-aiohttp pkgname=python-pytest-aiohttp +_name="${pkgname#python-}" pkgver=1.0.5 -pkgrel=1 +pkgrel=2 pkgdesc='pytest plugin for aiohttp support' url='https://github.com/aio-libs/pytest-aiohttp' arch=('any') -license=('Apache') +license=('Apache-2.0') depends=('python' 'python-pytest' 'python-aiohttp' 'python-py') -makedepends=('python-setuptools-scm') -#source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/pytest-aiohttp/archive/v${pkgver}.tar.gz) -source=(https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz) -sha256sums=('880262bc5951e934463b15e3af8bb298f11f7d4d3ebac970aab425aff10a780a') -sha512sums=('b8421c63e4d5caa9742a013a6d1fd3c010b5e4a48e4f5c1a07ddfb7b05853ce6a7a0d65ce78493fd607f59c669d31c75d97a9022048e6a60cbc90a19a48dd02c') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm' 'python-wheel') +source=(${pkgname}-${pkgver}.tar.gz::$url/archive/v${pkgver}.tar.gz) +sha256sums=('c185f35de7ade7faec96e8a83d31ef1da61b93cdf6d0f405be500f60a315253b') +sha512sums=('953305728271cb5f3e315653db32b582689ab773fde2c73d4bd369153cb021f4543c12e37acef8b5694447b659bc9f94ffcbad277b53362933d13d2dd7a326d9') build() { - cd ${_pkgname}-${pkgver} - python setup.py build + cd ${_name}-${pkgver} + SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python -m build --wheel --no-isolation } package() { - cd ${_pkgname}-${pkgver} - python setup.py install --root="${pkgdir}" -O1 --skip-build + cd ${_name}-${pkgver} + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm 644 README.rst CHANGES.rst -t "${pkgdir}/usr/share/doc/${pkgname}" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-aiohttp/-/compare/384eba43a0ea8ddb1ff0ec6c6f0a06fa2f631519...d4bf9d7f77e0d561582e112e8f9af2b7c972ee69 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytest-aiohttp/-/compare/384eba43a0ea8ddb1ff0ec6c6f0a06fa2f631519...d4bf9d7f77e0d561582e112e8f9af2b7c972ee69 You're receiving this email because of your account on gitlab.archlinux.org.
