Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / codespell
Commits: c9a4ebe5 by Robin Candau at 2026-03-05T18:28:26+01:00 upgpkg: 2.4.2-1: New upstream release + Switch to git sources https://github.com/codespell-project/codespell/releases/tag/v2.4.2 - - - - - 3 changed files: - .SRCINFO - .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,19 +1,20 @@ pkgbase = codespell pkgdesc = check code for common misspellings - pkgver = 2.4.1 - pkgrel = 2 + pkgver = 2.4.2 + pkgrel = 1 url = https://github.com/codespell-project/codespell arch = any license = GPL-2.0-only checkdepends = python-pytest-dependency + makedepends = git makedepends = python-build makedepends = python-installer makedepends = python-wheel makedepends = python-setuptools-scm depends = python-chardet - source = https://pypi.io/packages/source/c/codespell/codespell-2.4.1.tar.gz + source = git+https://github.com/codespell-project/codespell.git#tag=v2.4.2 source = remove-check-test_command.patch - sha256sums = 299fcdcb09d23e81e35a671bbe746d5ad7e8385972e65dbb833a2eaac33c01e5 + sha256sums = 9a2cefdf45e19041cca62c685e47fce9b3b611735e98822c057b3213de43e904 sha256sums = 17a5390c0123480c794d293e0a6b95a9f941ea9d5d9168649746dd55faf0b833 pkgname = codespell ===================================== .nvchecker.toml ===================================== @@ -1,3 +1,4 @@ [codespell] -source = "pypi" -pypi = "codespell" +source = "git" +git = "https://github.com/codespell-project/codespell.git" +prefix = "v" ===================================== PKGBUILD ===================================== @@ -2,34 +2,34 @@ # Maintainer: Robin Candau <[email protected]> pkgname=codespell -pkgver=2.4.1 -pkgrel=2 +pkgver=2.4.2 +pkgrel=1 pkgdesc='check code for common misspellings' arch=('any') url='https://github.com/codespell-project/codespell' license=('GPL-2.0-only') depends=('python-chardet') -makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm') +makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm') checkdepends=('python-pytest-dependency') -source=("https://pypi.io/packages/source/c/codespell/${pkgname}-${pkgver}.tar.gz" +source=("git+${url}.git#tag=v${pkgver}" "remove-check-test_command.patch") -sha256sums=('299fcdcb09d23e81e35a671bbe746d5ad7e8385972e65dbb833a2eaac33c01e5' +sha256sums=('9a2cefdf45e19041cca62c685e47fce9b3b611735e98822c057b3213de43e904' '17a5390c0123480c794d293e0a6b95a9f941ea9d5d9168649746dd55faf0b833') prepare() { - cd "${pkgname}-${pkgver}" + cd "${pkgname}" # Remove the "test_command" check which makes check() fail patch -Np1 < "${srcdir}/remove-check-test_command.patch" } build() { - cd "${pkgname}-${pkgver}" + cd "${pkgname}" python -m build --wheel --no-isolation } check() { - cd "${pkgname}-${pkgver}" + cd "${pkgname}" python -m installer --destdir=tmp_install dist/*.whl local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") export PATH="$PWD/tmp_install/usr/bin:$PATH" @@ -38,7 +38,7 @@ check() { } package() { - cd "${pkgname}-${pkgver}" + cd "${pkgname}" python -m installer --destdir="${pkgdir}" dist/*.whl install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/codespell/-/commit/c9a4ebe59b73753fc3725f1ec02b6184881b515d -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/codespell/-/commit/c9a4ebe59b73753fc3725f1ec02b6184881b515d You're receiving this email because of your account on gitlab.archlinux.org.
