summaryrefslogtreecommitdiff
path: root/dev-python/namespace-zope
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/namespace-zope
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/namespace-zope')
-rw-r--r--dev-python/namespace-zope/Manifest2
-rw-r--r--dev-python/namespace-zope/metadata.xml7
-rw-r--r--dev-python/namespace-zope/namespace-zope-1.ebuild33
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/namespace-zope/Manifest b/dev-python/namespace-zope/Manifest
new file mode 100644
index 000000000000..5a06fea2185f
--- /dev/null
+++ b/dev-python/namespace-zope/Manifest
@@ -0,0 +1,2 @@
+EBUILD namespace-zope-1.ebuild 940 SHA256 9e179fcb28ffb4bbefb329a2c83e800fa28d7f2c1c56f52109e27397e11daeb7 SHA512 862c7d3290153cd1341d6797ab8b325a33c1b0cfcee691004eac371c54b18b9e7e97c1a3ad2f56c16628aea873f3f50a8fd0e164e56feff82efdfd99010f688e WHIRLPOOL 8cf72752c0ddb59a427200fa315c30436734abbb32e804a136931908a6cd8bf9a29ebab46778d34f6f3f4100bbfa18da8ca49eb7f8724a77fea456f2ab207985
+MISC metadata.xml 218 SHA256 ddc25240b08f34a11ec40b8f89b0465343135e80dd8762624858e383651e9363 SHA512 4558fee4c51117e21b1f42ca3edbdf1195ed297db798d6bfa0e5fbb7019654a187422b0abde7af5d800caffed66d1e55e4280e8be602bad591424d9776c46781 WHIRLPOOL e5a7ee851a7d7a5d30327c10ae6ea910afd395771a1ee35607ba1c183882c6c2257ff637cde344befa2388038b1546a7a9df0502939d26a58ebbb1e920c4ecdc
diff --git a/dev-python/namespace-zope/metadata.xml b/dev-python/namespace-zope/metadata.xml
new file mode 100644
index 000000000000..266e3f19ca59
--- /dev/null
+++ b/dev-python/namespace-zope/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-zope/namespace-zope-1.ebuild b/dev-python/namespace-zope/namespace-zope-1.ebuild
new file mode 100644
index 000000000000..268afd299faa
--- /dev/null
+++ b/dev-python/namespace-zope/namespace-zope-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=( pypy{,3} python{2_7,3_{4,5,6}} )
+inherit python-r1
+
+DESCRIPTION="Namespace package declaration for zope"
+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 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+DEPEND="${PYTHON_DEPS}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_unpack() {
+ mkdir -p "${S}"/zope || die
+ cat > "${S}"/zope/__init__.py <<-EOF || die
+ __import__('pkg_resources').declare_namespace(__name__)
+ EOF
+}
+
+src_install() {
+ python_foreach_impl python_domodule zope
+}