From 212c276c7a1adc636349628164228240838b17b4 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Sun, 19 Apr 2020 18:59:53 +0200 Subject: dev-python/namespace-gandi: Bump to -r2 This commit will drop support for older python versions. Package-Manager: Portage-2.3.89, Repoman-2.3.20 --- dev-python/namespace-gandi/Manifest | 2 +- .../namespace-gandi/namespace-gandi-1-r1.ebuild | 33 ---------------------- .../namespace-gandi/namespace-gandi-1-r2.ebuild | 33 ++++++++++++++++++++++ 3 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 dev-python/namespace-gandi/namespace-gandi-1-r1.ebuild create mode 100644 dev-python/namespace-gandi/namespace-gandi-1-r2.ebuild (limited to 'dev-python') diff --git a/dev-python/namespace-gandi/Manifest b/dev-python/namespace-gandi/Manifest index 4bdce6d..b50aee6 100644 --- a/dev-python/namespace-gandi/Manifest +++ b/dev-python/namespace-gandi/Manifest @@ -1,2 +1,2 @@ -EBUILD namespace-gandi-1-r1.ebuild 730 BLAKE2B c0b1eabff6a4cfda4e206ec6394ea2e5e22ed335a8576033183d34c1620f2363c7ee35f2a87ba8859399c181e0b24b39633b8dd6a4f1f998c40abe2420535935 SHA512 1ea8c3fe2ec94c62c9baec472efbf1f04432a6818813596729174243e7bf8c89208a0bc323e499f808835a34a78fdc976a2b6b41bb480d35435f72e79363732e +EBUILD namespace-gandi-1-r2.ebuild 720 BLAKE2B 446eaa2b50394441c080cbf7a621b6861fde777d852a5615c3fe13787d88fdd4d4e1643ebde37ef11093378229483078b71a1fb07c3fbb700375b9071d6b396a SHA512 ff8e872122c90c9a724d3fc4aa60de2faa153619d0f6f8772728f3c8d5ec625fdd35c10333b8034ae9e26a3b0106ab8210990d784f812dc9228974fe9592cf22 MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/dev-python/namespace-gandi/namespace-gandi-1-r1.ebuild b/dev-python/namespace-gandi/namespace-gandi-1-r1.ebuild deleted file mode 100644 index 98983f5..0000000 --- a/dev-python/namespace-gandi/namespace-gandi-1-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} 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-r2.ebuild b/dev-python/namespace-gandi/namespace-gandi-1-r2.ebuild new file mode 100644 index 0000000..3e4d303 --- /dev/null +++ b/dev-python/namespace-gandi/namespace-gandi-1-r2.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} 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