From: Louis Sautier Date: Tue, 2 Jul 2019 12:55:15 +0000 (+0200) Subject: dev-python/namespace-jaraco: bump to v2 for pkgutil-style packages X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c4edda0d524dfca20de6f9546f3806de9109fdae;p=gentoo.git dev-python/namespace-jaraco: bump to v2 for pkgutil-style packages All dev-python/jaraco-* packages are switching to pkgutil-style packages. Drop blocker on older jaraco-logging versions that are not in the tree any more. Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Louis Sautier --- diff --git a/dev-python/namespace-jaraco/namespace-jaraco-2.ebuild b/dev-python/namespace-jaraco/namespace-jaraco-2.ebuild new file mode 100644 index 000000000000..eae5d12efb45 --- /dev/null +++ b/dev-python/namespace-jaraco/namespace-jaraco-2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) +inherit python-r1 + +DESCRIPTION="Namespace package declaration for jaraco" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages" +SRC_URI="" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" +IUSE="" + +RDEPEND=" + ! "${S}"/jaraco/__init__.py <<-EOF || die + __path__ = __import__('pkgutil').extend_path(__path__, __name__) + EOF +} + +src_install() { + python_foreach_impl python_domodule jaraco +}