aboutsummaryrefslogtreecommitdiffstats
path: root/dev-python
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-01-13 15:59:49 +0100
committerWynn Wolf Arbor2020-01-13 15:59:49 +0100
commit90b60b5044587535e792ed5410acbf10a76963e7 (patch)
tree316d681581cb2b3a4218f31e72cab376e70b8252 /dev-python
downloadpramantha-90b60b5044587535e792ed5410acbf10a76963e7.tar.gz
Initial import
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/namespace-gandi/Manifest2
-rw-r--r--dev-python/namespace-gandi/metadata.xml7
-rw-r--r--dev-python/namespace-gandi/namespace-gandi-1-r1.ebuild33
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/namespace-gandi/Manifest b/dev-python/namespace-gandi/Manifest
new file mode 100644
index 0000000..4bdce6d
--- /dev/null
+++ b/dev-python/namespace-gandi/Manifest
@@ -0,0 +1,2 @@
+EBUILD namespace-gandi-1-r1.ebuild 730 BLAKE2B c0b1eabff6a4cfda4e206ec6394ea2e5e22ed335a8576033183d34c1620f2363c7ee35f2a87ba8859399c181e0b24b39633b8dd6a4f1f998c40abe2420535935 SHA512 1ea8c3fe2ec94c62c9baec472efbf1f04432a6818813596729174243e7bf8c89208a0bc323e499f808835a34a78fdc976a2b6b41bb480d35435f72e79363732e
+MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0
diff --git a/dev-python/namespace-gandi/metadata.xml b/dev-python/namespace-gandi/metadata.xml
new file mode 100644
index 0000000..c544433
--- /dev/null
+++ b/dev-python/namespace-gandi/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="person">
+ <email>wolf@oriole.systems</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/namespace-gandi/namespace-gandi-1-r1.ebuild b/dev-python/namespace-gandi/namespace-gandi-1-r1.ebuild
new file mode 100644
index 0000000..98983f5
--- /dev/null
+++ b/dev-python/namespace-gandi/namespace-gandi-1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} pypy )
+inherit python-r1
+
+DESCRIPTION="Namespace package declaration for gandi"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages"
+SRC_URI=""
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+DEPEND="${PYTHON_DEPS}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_unpack() {
+ mkdir -p "${S}"/gandi || die
+ cat > "${S}"/gandi/__init__.py <<-EOF || die
+ __import__('pkg_resources').declare_namespace(__name__)
+ EOF
+}
+
+src_install() {
+ python_foreach_impl python_domodule gandi
+}