mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 17:43:51 +02:00
python3-ansible-lint: update distfiles, fix egg-info version
This commit is contained in:
parent
f2a4b0db96
commit
d15b35662f
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python3-ansible-lint'
|
||||
pkgname=python3-ansible-lint
|
||||
version=4.3.5
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="ansible-lint-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
|
@ -11,12 +11,12 @@ maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
|||
license="MIT"
|
||||
homepage="https://github.com/willthames/ansible-lint"
|
||||
changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=df5ffb79cbd76ab02bf6dd4b493502d6ba59fafb669d6f57f487251a6c955adc
|
||||
distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
|
||||
checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
|
||||
|
||||
post_patch() {
|
||||
vsed -i pyproject.toml -e '/setuptools_scm/d'
|
||||
vsed -i setup.cfg -e '/setup_requires =/,/setuptools_scm_git_archive/d'
|
||||
# scm versioning is broken in this release
|
||||
vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue