From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1341345-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3BC2C158003 for <garchives@archives.gentoo.org>; Fri, 19 Nov 2021 14:59:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09AF4E07D0; Fri, 19 Nov 2021 14:59:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0180E07D8 for <gentoo-commits@lists.gentoo.org>; Fri, 19 Nov 2021 14:59:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1F2F342E77 for <gentoo-commits@lists.gentoo.org>; Fri, 19 Nov 2021 14:59:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 516E51D5 for <gentoo-commits@lists.gentoo.org>; Fri, 19 Nov 2021 14:59:06 +0000 (UTC) From: "Marek Szuba" <marecki@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" <marecki@gentoo.org> Message-ID: <1637333933.1c799a266c07f39a5967016493b3501e9655d65c.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ansible-compat/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ansible-compat/Manifest dev-python/ansible-compat/ansible-compat-0.5.0.ebuild dev-python/ansible-compat/metadata.xml X-VCS-Directories: dev-python/ansible-compat/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 1c799a266c07f39a5967016493b3501e9655d65c X-VCS-Branch: master Date: Fri, 19 Nov 2021 14:59:06 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c382c0ef-a7e8-476a-88c4-7f866a026de4 X-Archives-Hash: b5850f12946f50f0fb35042d0e4a2dc7 commit: 1c799a266c07f39a5967016493b3501e9655d65c Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Fri Nov 19 13:45:25 2021 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Fri Nov 19 14:58:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c799a26 dev-python/ansible-compat: initial import New dependency of app-admin/ansible-molecule. Adding 0.5.0 because it is the latest version currently available on PyPI, using tarballs from GitHub would require messing around with setuptools_scm. Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> dev-python/ansible-compat/Manifest | 1 + .../ansible-compat/ansible-compat-0.5.0.ebuild | 39 ++++++++++++++++++++++ dev-python/ansible-compat/metadata.xml | 13 ++++++++ 3 files changed, 53 insertions(+) diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest new file mode 100644 index 000000000000..942408e367d8 --- /dev/null +++ b/dev-python/ansible-compat/Manifest @@ -0,0 +1 @@ +DIST ansible-compat-0.5.0.tar.gz 32913 BLAKE2B 468dbcf20865225c76896dd8aad6f4b9a749b7a45d661484f89e2eaab4416b29f2e0ea0477b86ea52193165cd23180a79ebd5adac571e0b7d659096e84c27bcb SHA512 3ea219ceda313daf923d11ff45c31a760ddbae7ac782b1f89316eb29960a8028fab4e7e242fa0247c6ef5824d71ff9f22ae8956af73dda261a69713110e3db8e diff --git a/dev-python/ansible-compat/ansible-compat-0.5.0.ebuild b/dev-python/ansible-compat/ansible-compat-0.5.0.ebuild new file mode 100644 index 000000000000..4001784180fa --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-0.5.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: 0.6.0+ support py3.10 upstream but as of 2021-11-18 we are still missing +# support for it in app-admin/ansible-base, add when ready +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" +HOMEPAGE="https://pypi.org/project/ansible-compat/ https://github.com/ansible-community/ansible-compat/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=app-admin/ansible-base-2.9.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/subprocess-tee-0.3.5[${PYTHON_USEDEP}] +" +BDEPEND="$(python_gen_cond_dep ' + >=dev-python/setuptools_scm-6.3.1[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}] + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-markdown[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-plus[${PYTHON_USEDEP}] + ) +')" + +# Requires currently unpackaged Sphinx extension myst_parser +#distutils_enable_sphinx docs 'dev-python/sphinx_ansible_theme' + +distutils_enable_tests pytest diff --git a/dev-python/ansible-compat/metadata.xml b/dev-python/ansible-compat/metadata.xml new file mode 100644 index 000000000000..d3c8f1c3e37f --- /dev/null +++ b/dev-python/ansible-compat/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">ansible-compat</remote-id> + <remote-id type="github">ansible-community/ansible-compat</remote-id> + </upstream> +</pkgmetadata>