From e08967e1546a696630c72895086731ba95b9f42f Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Sat, 10 Oct 2020 11:05:09 +0200 Subject: dev-python/namespace-gandi: Add compatibility with Python 3.9 Package-Manager: Portage-3.0.4, Repoman-3.0.1 --- dev-python/namespace-gandi/Manifest | 2 +- .../namespace-gandi/namespace-gandi-1-r2.ebuild | 33 ---------------------- .../namespace-gandi/namespace-gandi-1-r3.ebuild | 33 ++++++++++++++++++++++ 3 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 dev-python/namespace-gandi/namespace-gandi-1-r2.ebuild create mode 100644 dev-python/namespace-gandi/namespace-gandi-1-r3.ebuild (limited to 'dev-python/namespace-gandi') diff --git a/dev-python/namespace-gandi/Manifest b/dev-python/namespace-gandi/Manifest index b50aee6..6f804a9 100644 --- a/dev-python/namespace-gandi/Manifest +++ b/dev-python/namespace-gandi/Manifest @@ -1,2 +1,2 @@ -EBUILD namespace-gandi-1-r2.ebuild 720 BLAKE2B 446eaa2b50394441c080cbf7a621b6861fde777d852a5615c3fe13787d88fdd4d4e1643ebde37ef11093378229483078b71a1fb07c3fbb700375b9071d6b396a SHA512 ff8e872122c90c9a724d3fc4aa60de2faa153619d0f6f8772728f3c8d5ec625fdd35c10333b8034ae9e26a3b0106ab8210990d784f812dc9228974fe9592cf22 +EBUILD namespace-gandi-1-r3.ebuild 722 BLAKE2B db9e4ea0839574ea6f866741fe356b1416523b23190892a57866153841934e2fba5b47caff8924dda34115f07c857ab393e2c5c9324db1d0eb2c91a82d6b8a02 SHA512 43e211e9dbbebb23e3e5fa276735d1d6d65014d281e2d8a8f8376cc13e7b419d0e79e39d38536596002a11845def77c9dc019071506a0472f1e70659fd14b7df MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/dev-python/namespace-gandi/namespace-gandi-1-r2.ebuild b/dev-python/namespace-gandi/namespace-gandi-1-r2.ebuild deleted file mode 100644 index 3e4d303..0000000 --- a/dev-python/namespace-gandi/namespace-gandi-1-r2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} pypy ) -inherit python-r1 - -DESCRIPTION="Namespace package declaration for gandi" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages" -SRC_URI="" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - ${PYTHON_DEPS}" -DEPEND="${PYTHON_DEPS}" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -src_unpack() { - mkdir -p "${S}"/gandi || die - cat > "${S}"/gandi/__init__.py <<-EOF || die - __import__('pkg_resources').declare_namespace(__name__) - EOF -} - -src_install() { - python_foreach_impl python_domodule gandi -} diff --git a/dev-python/namespace-gandi/namespace-gandi-1-r3.ebuild b/dev-python/namespace-gandi/namespace-gandi-1-r3.ebuild new file mode 100644 index 0000000..7c04ea3 --- /dev/null +++ b/dev-python/namespace-gandi/namespace-gandi-1-r3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} pypy ) +inherit python-r1 + +DESCRIPTION="Namespace package declaration for gandi" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages" +SRC_URI="" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="${PYTHON_DEPS}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_unpack() { + mkdir -p "${S}"/gandi || die + cat > "${S}"/gandi/__init__.py <<-EOF || die + __import__('pkg_resources').declare_namespace(__name__) + EOF +} + +src_install() { + python_foreach_impl python_domodule gandi +} -- cgit v1.2.3-2-gb3c3