mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-ansible-compat: fix build
This commit is contained in:
parent
6fad0e8f0a
commit
aeb10e2e81
1 changed files with 4 additions and 6 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python3-ansible-compat'
|
# Template file for 'python3-ansible-compat'
|
||||||
pkgname=python3-ansible-compat
|
pkgname=python3-ansible-compat
|
||||||
version=2.0.2
|
version=2.0.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname/python3-/}-${version}"
|
wrksrc="${pkgname/python3-/}-${version}"
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
make_install_target="ansible_compat-${version}-py3-none-any.whl"
|
hostmakedepends="python3-wheel python3-setuptools_scm"
|
||||||
hostmakedepends="python3-wheel python3-toml"
|
depends="python3-subprocess-tee python3-yaml"
|
||||||
depends="python3-subprocess-tee"
|
|
||||||
short_desc="Python package for working with various version of ansible"
|
short_desc="Python package for working with various version of ansible"
|
||||||
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -15,8 +14,7 @@ distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.t
|
||||||
checksum=c651995dc323ef145bab857fee6540febc881fb71b7feafe8163d49e273163a5
|
checksum=c651995dc323ef145bab857fee6540febc881fb71b7feafe8163d49e273163a5
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
# scm versioning is broken in this release
|
vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
|
||||||
vsed -e "/name =/a version = ${version}" -i setup.cfg
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue