David Runge pushed to branch main at Arch Linux / Packaging / Packages / python-cssselect2
Commits: 18969bcf by David Runge at 2024-04-05T20:17:27+02:00 Switch to upstream provided auto-generated source tarball Signed-off-by: David Runge <[email protected]> - - - - - e3fab80f by David Runge at 2024-04-05T20:17:54+02:00 Switch to correct SPDX license identifier Signed-off-by: David Runge <[email protected]> - - - - - 9e8316f4 by David Runge at 2024-04-05T20:19:06+02:00 Add all direct dependencies Signed-off-by: David Runge <[email protected]> - - - - - cff1357c by David Runge at 2024-04-05T20:19:43+02:00 Add nvchecker integration Signed-off-by: David Runge <[email protected]> - - - - - 3351206c by David Runge at 2024-04-05T20:20:04+02:00 upgpkg: 0.7.0-4: Rebuild against Python 3.12 - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,19 +1,20 @@ pkgbase = python-cssselect2 pkgdesc = CSS selectors for Python ElementTree pkgver = 0.7.0 - pkgrel = 3 - url = https://pypi.org/project/cssselect2/ + pkgrel = 4 + url = https://github.com/Kozea/cssselect2/ arch = any - license = BSD + license = BSD-3-Clause checkdepends = python-pytest-cov checkdepends = python-pytest-isort checkdepends = python-pytest makedepends = python-build makedepends = python-flit-core makedepends = python-installer + depends = python depends = python-tinycss2 depends = python-webencodings - source = https://pypi.io/packages/source/c/cssselect2/cssselect2-0.7.0.tar.gz - sha512sums = e3c975fe159d3bec53002bda31c72d9cb346f40529272d8d5bef6aa13142ce60f1e8aa20b039d93ff5ff3d2cd34119b8b2d406f889964eded69e770e4f04e949 + source = python-cssselect2-0.7.0.tar.gz::https://github.com/Kozea/cssselect2//archive/refs/tags/0.7.0.tar.gz + sha512sums = 21e4b36fe10d87a1a5cfd9fdde54ba8dfc4c1bbb977f5cf2a8ade849c0f197f6e33d9b6de05df73a2f3b4756302c5162f44ca1ce37588f157bce0dc54c33f687 pkgname = python-cssselect2 ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,3 @@ +[python-cssselect2] +source = "pypi" +pypi = "cssselect2" ===================================== PKGBUILD ===================================== @@ -3,30 +3,31 @@ # Contributor: Kyle Keen <[email protected]> pkgname=python-cssselect2 +_name="${pkgname#python-}" pkgver=0.7.0 -pkgrel=3 +pkgrel=4 pkgdesc="CSS selectors for Python ElementTree" -url="https://pypi.org/project/cssselect2/" -license=('BSD') +url="https://github.com/Kozea/cssselect2/" +license=('BSD-3-Clause') arch=('any') -depends=('python-tinycss2' 'python-webencodings') +depends=('python' 'python-tinycss2' 'python-webencodings') makedepends=('python-build' 'python-flit-core' 'python-installer') checkdepends=('python-pytest-cov' 'python-pytest-isort' 'python-pytest') -source=("https://pypi.io/packages/source/c/cssselect2/cssselect2-$pkgver.tar.gz") -sha512sums=('e3c975fe159d3bec53002bda31c72d9cb346f40529272d8d5bef6aa13142ce60f1e8aa20b039d93ff5ff3d2cd34119b8b2d406f889964eded69e770e4f04e949') +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") +sha512sums=('21e4b36fe10d87a1a5cfd9fdde54ba8dfc4c1bbb977f5cf2a8ade849c0f197f6e33d9b6de05df73a2f3b4756302c5162f44ca1ce37588f157bce0dc54c33f687') build() { - cd cssselect2-$pkgver + cd $_name-$pkgver python -m build -nw } check() { - cd cssselect2-$pkgver + cd $_name-$pkgver pytest } package() { - cd cssselect2-$pkgver + cd $_name-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-cssselect2/-/compare/b3689f55f561c3d2403a750c7bd918d705d29440...3351206c6db46eb9c2edaebeecb42a811069fa93 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-cssselect2/-/compare/b3689f55f561c3d2403a750c7bd918d705d29440...3351206c6db46eb9c2edaebeecb42a811069fa93 You're receiving this email because of your account on gitlab.archlinux.org.
