diff --git a/srcpkgs/ansible-core/template b/srcpkgs/ansible-core/template index 90390483d86687..2f9ba5bc5f16a5 100644 --- a/srcpkgs/ansible-core/template +++ b/srcpkgs/ansible-core/template @@ -1,26 +1,27 @@ # Template file for 'ansible-core' pkgname=ansible-core -version=2.17.5 +version=2.18.0 revision=1 hostmakedepends="python3-setuptools python3-wheel python3-packaging - python3-straight.plugin python3-docutils python3-Jinja2 python3-yaml" + python3-straight.plugin python3-docutils python3-Jinja2 python3-yaml python3-build + python3-installer" depends="python3-cryptography python3-Jinja2 python3-paramiko python3-yaml - python3-packaging python3-resolvelib python3-pytz git" + python3-packaging python3-resolvelib python3-pytz git util-linux" checkdepends="${depends} python3-pytest python3-pytest-xdist python3-pytest-forked unzip openssh python3-pytest-mock libselinux python3-passlib" short_desc="Simple deployment, configuration management and execution framework" -maintainer="Orphaned " +maintainer="André L. C. Moreira " license="GPL-3.0-or-later" homepage="https://www.ansible.com/" changelog="https://raw.githubusercontent.com/ansible/ansible/stable-${version%.*}/changelogs/CHANGELOG-v${version%.*}.rst" -distfiles="${PYPI_SITE}/a/ansible-core/ansible_core-${version}.tar.gz" -checksum=ae7f51fd13dc9d57c9bcd43ef23f9c255ca8f18f4b5c0011a4f9b724d92c5a8e +distfiles="https://github.com/ansible/ansible/archive/refs/tags/v${version}.tar.gz" +checksum=7b05c060502bf0d792a23502803a5ca2189ece25d0c8653339805e54671cf6a9 conflicts="ansible<2.10.1_1" replaces="ansible-base<2.11.0_1" do_build() { - python setup.py build + python -m build --wheel --no-isolation } do_check() { @@ -28,7 +29,7 @@ do_check() { } do_install() { - python setup.py install --root="${DESTDIR}" + python -m installer --destdir="${DESTDIR}" dist/*.whl mkdir man ./packaging/cli-doc/build.py man --output-dir man diff --git a/srcpkgs/ansible/template b/srcpkgs/ansible/template index 0972275964ed5e..cdcad152a1d41e 100644 --- a/srcpkgs/ansible/template +++ b/srcpkgs/ansible/template @@ -1,15 +1,15 @@ # Template file for 'ansible' pkgname=ansible -version=10.5.0 +version=11.0.0 revision=1 build_style="python3-pep517" hostmakedepends="python3-setuptools python3-wheel" depends="ansible-core" short_desc="Simple deployment, configuration management and execution framework" -maintainer="Orphaned " +maintainer="André L. C. Moreira " license="GPL-3.0-or-later" homepage="https://www.ansible.com/" distfiles="${PYPI_SITE}/a/ansible/ansible-${version}.tar.gz" -checksum=ba2045031a7d60c203b6e5fe1f8eaddd53ae076f7ada910e636494384135face +checksum=d6b3929f9954e49387870a4da290dbfa38a1f56ea6d4bf24c9a2765d2897db79 # Relevant tests happen in ansible-core make_check=no