diff options
Diffstat (limited to 'dev-python/namespace-jaraco')
-rw-r--r-- | dev-python/namespace-jaraco/Manifest | 2 | ||||
-rw-r--r-- | dev-python/namespace-jaraco/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/namespace-jaraco/namespace-jaraco-1.ebuild | 37 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/namespace-jaraco/Manifest b/dev-python/namespace-jaraco/Manifest new file mode 100644 index 000000000000..53b7682d68a5 --- /dev/null +++ b/dev-python/namespace-jaraco/Manifest @@ -0,0 +1,2 @@ +EBUILD namespace-jaraco-1.ebuild 896 BLAKE2B 99c7404ea4dba6c69b0c356c09ea07078053aa205701c11261348391a6d27fc6871456abb487fe6142177c5e35c908498ee513c80e8762bf4f526588a2fbf643 SHA512 4d5a6abf848d0fe47bf8f67d32012df68b34e4bf63415125e5c56d06a7a755a20a8c76753cc7c67d59696bd4e37e9bf38e53f41d744f2f556383ff6d2bac85a8 +MISC metadata.xml 346 BLAKE2B bf549c97be0470c6694566c73fb27eda911bd1c7e38641ccfc90e0cbf33717499177dcd4d6b6ce475d430a04ba395500d41aa5cf7d7938ae8bdd1c0840e0a6e0 SHA512 747d2fe0daa0213a7f9d737cc8c5037438ef9262ba049a7a687e944cb1251b9b3dc39ea03a810b5ca61c7b95c7f1360bc397c4d75fc26746cab5029f7736efdf diff --git a/dev-python/namespace-jaraco/metadata.xml b/dev-python/namespace-jaraco/metadata.xml new file mode 100644 index 000000000000..461777f87e51 --- /dev/null +++ b/dev-python/namespace-jaraco/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sbraz@gentoo.org</email> + <name>Louis Sautier</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/namespace-jaraco/namespace-jaraco-1.ebuild b/dev-python/namespace-jaraco/namespace-jaraco-1.ebuild new file mode 100644 index 000000000000..a7aaa56fef50 --- /dev/null +++ b/dev-python/namespace-jaraco/namespace-jaraco-1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} ) +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=" + !<dev-python/jaraco-logging-1.5.2 + !<dev-python/jaraco-packaging-5.1 + dev-python/setuptools[${PYTHON_USEDEP}] + ${PYTHON_DEPS} +" +DEPEND="${PYTHON_DEPS}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_unpack() { + mkdir -p "${S}"/jaraco || die + cat > "${S}"/jaraco/__init__.py <<-EOF || die + __import__('pkg_resources').declare_namespace(__name__) + EOF +} + +src_install() { + python_foreach_impl python_domodule jaraco +} |