From d15b35662f5e40d44feae4453fabe0f80fb47223 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Wed, 14 Oct 2020 21:31:09 -0400 Subject: [PATCH] python3-ansible-lint: update distfiles, fix egg-info version --- srcpkgs/python3-ansible-lint/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template index dfb1a82418d..80fa8dbe130 100644 --- a/srcpkgs/python3-ansible-lint/template +++ b/srcpkgs/python3-ansible-lint/template @@ -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 " 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() {