diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/namespace-google |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/namespace-google')
-rw-r--r-- | dev-python/namespace-google/Manifest | 2 | ||||
-rw-r--r-- | dev-python/namespace-google/metadata.xml | 7 | ||||
-rw-r--r-- | dev-python/namespace-google/namespace-google-1.ebuild | 33 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/namespace-google/Manifest b/dev-python/namespace-google/Manifest new file mode 100644 index 000000000000..31e0bcfdc3e3 --- /dev/null +++ b/dev-python/namespace-google/Manifest @@ -0,0 +1,2 @@ +EBUILD namespace-google-1.ebuild 861 SHA256 2a5e7ece050ec65679e3fa72d81fa300936aa03aee10c0daa201587238ec2cb5 SHA512 fbd9bb3ea727ba9382c2161afcf57a8385ef0f9c3db391a69fbf364480b9526d8b95b963ce9a25519986032c939ba77492a8ee830936f71e5a9189c8c1ac1c30 WHIRLPOOL 538b4e236eb7f6b59a830a6383ad70fa1f3cdc25bd0192487517ba78cc03218a2758ff3581bf0f5ee2d7035b67c44c0e0187abae5c54cd7a5af279b9b890a592 +MISC metadata.xml 218 SHA256 ddc25240b08f34a11ec40b8f89b0465343135e80dd8762624858e383651e9363 SHA512 4558fee4c51117e21b1f42ca3edbdf1195ed297db798d6bfa0e5fbb7019654a187422b0abde7af5d800caffed66d1e55e4280e8be602bad591424d9776c46781 WHIRLPOOL e5a7ee851a7d7a5d30327c10ae6ea910afd395771a1ee35607ba1c183882c6c2257ff637cde344befa2388038b1546a7a9df0502939d26a58ebbb1e920c4ecdc diff --git a/dev-python/namespace-google/metadata.xml b/dev-python/namespace-google/metadata.xml new file mode 100644 index 000000000000..266e3f19ca59 --- /dev/null +++ b/dev-python/namespace-google/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-google/namespace-google-1.ebuild b/dev-python/namespace-google/namespace-google-1.ebuild new file mode 100644 index 000000000000..8672dd9e348e --- /dev/null +++ b/dev-python/namespace-google/namespace-google-1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy ) +inherit python-r1 + +DESCRIPTION="Namespace package declaration for google" +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-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="${PYTHON_DEPS}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_unpack() { + mkdir -p "${S}"/google || die + cat > "${S}"/google/__init__.py <<-EOF || die + __import__('pkg_resources').declare_namespace(__name__) + EOF +} + +src_install() { + python_foreach_impl python_domodule google +} |