public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/namespace-sphinxcontrib/
Date: Tue, 11 Jul 2017 20:33:43 +0000 (UTC)	[thread overview]
Message-ID: <1499804399.94d7724a8e152cdc9109efc85b878b52db476090.bicatali@gentoo> (raw)

commit:     94d7724a8e152cdc9109efc85b878b52db476090
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 10 19:37:12 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Jul 11 20:19:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d7724a

dev-python/namespace-sphinxcontrib: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/namespace-sphinxcontrib/metadata.xml    |  7 +++++
 .../namespace-sphinxcontrib-1.0.ebuild             | 35 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/namespace-sphinxcontrib/metadata.xml b/dev-python/namespace-sphinxcontrib/metadata.xml
new file mode 100644
index 00000000000..3743220e59f
--- /dev/null
+++ b/dev-python/namespace-sphinxcontrib/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-sphinxcontrib/namespace-sphinxcontrib-1.0.ebuild b/dev-python/namespace-sphinxcontrib/namespace-sphinxcontrib-1.0.ebuild
new file mode 100644
index 00000000000..9fac6c93316
--- /dev/null
+++ b/dev-python/namespace-sphinxcontrib/namespace-sphinxcontrib-1.0.ebuild
@@ -0,0 +1,35 @@
+# 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 sphinxcontrib"
+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}"
+
+MODNAME=${PN#namespace-}
+
+src_unpack() {
+	mkdir -p "${S}"/${MODNAME} || die
+	cat > "${S}"/${MODNAME}/__init__.py <<-EOF || die
+		__import__('pkg_resources').declare_namespace(__name__)
+	EOF
+}
+
+src_install() {
+	python_foreach_impl python_domodule ${MODNAME}
+}


             reply	other threads:[~2017-07-11 20:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-11 20:33 Sebastien Fabbro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-07-29 20:38 [gentoo-commits] repo/gentoo:master commit in: dev-python/namespace-sphinxcontrib/ Matt Thode
2017-07-29 20:38 Matt Thode
2017-12-16 21:49 Mike Gilbert
2019-01-29 13:35 Mikle Kolyada
2019-12-30 21:54 Piotr Karbowski
2020-05-31 17:17 Michał Górny
2020-08-01 22:29 Michał Górny
2021-05-18 13:02 Michał Górny
2021-05-18 13:02 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1499804399.94d7724a8e152cdc9109efc85b878b52db476090.bicatali@gentoo \
    --to=bicatali@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox