backports/py3-codespell: upgrade to 2.2.4
This commit is contained in:
parent
1860879640
commit
6b55333054
1 changed files with 16 additions and 10 deletions
|
@ -2,31 +2,37 @@
|
|||
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
||||
pkgname=py3-codespell
|
||||
_pkgname=${pkgname#py3-}
|
||||
pkgver=2.2.2
|
||||
pkgrel=0
|
||||
pkgver=2.2.4
|
||||
pkgrel=1
|
||||
pkgdesc="Fix common misspellings in text files, primarily source code"
|
||||
options="!check" # No testsuite
|
||||
url="https://github.com/codespell-project/codespell/"
|
||||
arch="noarch"
|
||||
license="GPL-2.0-only"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-setuptools
|
||||
py3-setuptools_scm
|
||||
py3-wheel
|
||||
"
|
||||
checkdepends="py3-pytest"
|
||||
depends="py3-chardet"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/codespell-project/codespell/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
|
||||
check() {
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver \
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
1783505829e2abe2eb75854cbc83403bbaeebc61d5eb1832803b065a7314c4140f936ec5018c62883befbf51e4425f96ed8298596fc9a103bcce90fb3dbf5e8d py3-codespell-2.2.2.tar.gz
|
||||
fcf303af14d7f6c081c07a37376ac2c7068b89890073f81414cf9e30638681138f78b5b04bfe5282193bbaa83162b7b73a4e25e71b73b7f9cc0a5f5c623b5786 py3-codespell-2.2.4.tar.gz
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue