summaryrefslogtreecommitdiff
path: root/dev-python/namespace-repoze
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/namespace-repoze
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/namespace-repoze')
-rw-r--r--dev-python/namespace-repoze/Manifest2
-rw-r--r--dev-python/namespace-repoze/metadata.xml7
-rw-r--r--dev-python/namespace-repoze/namespace-repoze-1.ebuild33
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/namespace-repoze/Manifest b/dev-python/namespace-repoze/Manifest
new file mode 100644
index 000000000000..946496a8b2e8
--- /dev/null
+++ b/dev-python/namespace-repoze/Manifest
@@ -0,0 +1,2 @@
+EBUILD namespace-repoze-1.ebuild 744 BLAKE2B 69e558c8b6eaa9de7cd29ca9a0dc8cf021d2d2272bd7a18dd10e491ce0fb96061a601a70851ef8ed1230d6f0445fb8a25d3a1fadccf1bc798d1e98f1bc23634a SHA512 db9458af27813d2b39e54bdaab19cd1eeb28ed328b6c11840918c44fb75e4a3079d42992ec1eda38d24704671b3dded81e73bc561bed5bd3f036ca2ef4fe8612
+MISC metadata.xml 218 BLAKE2B 086fdcf7b63ca7bd6c58e861d717bb375e1cd372eff26d5d2eeeb176d8c5e6f10e653562abafb50eae7d7508f8e3d421b87e6a749acd0490308672828d0da697 SHA512 4558fee4c51117e21b1f42ca3edbdf1195ed297db798d6bfa0e5fbb7019654a187422b0abde7af5d800caffed66d1e55e4280e8be602bad591424d9776c46781
diff --git a/dev-python/namespace-repoze/metadata.xml b/dev-python/namespace-repoze/metadata.xml
new file mode 100644
index 000000000000..266e3f19ca59
--- /dev/null
+++ b/dev-python/namespace-repoze/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-repoze/namespace-repoze-1.ebuild b/dev-python/namespace-repoze/namespace-repoze-1.ebuild
new file mode 100644
index 000000000000..92cb3300eda6
--- /dev/null
+++ b/dev-python/namespace-repoze/namespace-repoze-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 python{2_7,3_{4,5,6}} )
+inherit python-r1
+
+DESCRIPTION="Namespace package declaration for repoze"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages"
+SRC_URI=""
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+DEPEND="${PYTHON_DEPS}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_unpack() {
+ mkdir -p "${S}"/repoze || die
+ cat > "${S}"/repoze/__init__.py <<-EOF || die
+ __import__('pkg_resources').declare_namespace(__name__)
+ EOF
+}
+
+src_install() {
+ python_foreach_impl python_domodule repoze
+}