diff options
Diffstat (limited to 'dev-python/namespace-paste')
-rw-r--r-- | dev-python/namespace-paste/Manifest | 2 | ||||
-rw-r--r-- | dev-python/namespace-paste/metadata.xml | 7 | ||||
-rw-r--r-- | dev-python/namespace-paste/namespace-paste-1.ebuild | 33 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/namespace-paste/Manifest b/dev-python/namespace-paste/Manifest new file mode 100644 index 000000000000..a49295d1f592 --- /dev/null +++ b/dev-python/namespace-paste/Manifest @@ -0,0 +1,2 @@ +EBUILD namespace-paste-1.ebuild 806 BLAKE2B 3448b3a0002a6fa66b51512104d5925e36f62d09b88d721b4fe4923db97120f5dce1a50df4a480c62edbfb9347034328e8457cea94f12a905f6b180bf227cad1 SHA512 404ea5912e7eddbb6b5d0f61033e083cdd4a25df0c11b317e725f10bec3373a3774df5233b451cb6e2c0593ce323867d51d1d509d3c180b26ce61bab5da0091d +MISC metadata.xml 218 BLAKE2B 086fdcf7b63ca7bd6c58e861d717bb375e1cd372eff26d5d2eeeb176d8c5e6f10e653562abafb50eae7d7508f8e3d421b87e6a749acd0490308672828d0da697 SHA512 4558fee4c51117e21b1f42ca3edbdf1195ed297db798d6bfa0e5fbb7019654a187422b0abde7af5d800caffed66d1e55e4280e8be602bad591424d9776c46781 diff --git a/dev-python/namespace-paste/metadata.xml b/dev-python/namespace-paste/metadata.xml new file mode 100644 index 000000000000..266e3f19ca59 --- /dev/null +++ b/dev-python/namespace-paste/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-python/namespace-paste/namespace-paste-1.ebuild b/dev-python/namespace-paste/namespace-paste-1.ebuild new file mode 100644 index 000000000000..c2f6b3a81b24 --- /dev/null +++ b/dev-python/namespace-paste/namespace-paste-1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) +inherit python-r1 + +DESCRIPTION="Namespace package declaration for paste" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages" +SRC_URI="" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="${PYTHON_DEPS}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_unpack() { + mkdir -p "${S}"/paste || die + cat > "${S}"/paste/__init__.py <<-EOF || die + __import__('pkg_resources').declare_namespace(__name__) + EOF +} + +src_install() { + python_foreach_impl python_domodule paste +} |