commit:     2864b10d3da3d29d8c61524dc792ec359fffcbd0
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 11:27:39 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue May 16 11:27:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2864b10d

dev-python/sphinx-testing: Initial version

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/sphinx-testing/Manifest                 |  1 +
 dev-python/sphinx-testing/metadata.xml             | 11 +++++++++
 .../sphinx-testing/sphinx-testing-0.7.2.ebuild     | 27 ++++++++++++++++++++++
 3 files changed, 39 insertions(+)

diff --git a/dev-python/sphinx-testing/Manifest 
b/dev-python/sphinx-testing/Manifest
new file mode 100644
index 00000000000..e466695cc56
--- /dev/null
+++ b/dev-python/sphinx-testing/Manifest
@@ -0,0 +1 @@
+DIST sphinx-testing-0.7.2.tar.gz 11040 SHA256 
9d30f93007620e137b33edf19f52a7225eab853546b7e588ef09d1342e821e94 SHA512 
d267c74d97443db2df69914a825da969021e37fc61b8a664ef382504fa826387a95230bf9259b58c6f26721f33985fa2168d2714342a2166b59740cf1b3ad724
 WHIRLPOOL 
78ea240607f62c7c3ca98fc2ba0ec197b54aba6c0782d82c4da8fd695a37baae4d0b9bcd056b790dc610979a0031cce250d19c8360ffeb07463e4335af0df026

diff --git a/dev-python/sphinx-testing/metadata.xml 
b/dev-python/sphinx-testing/metadata.xml
new file mode 100644
index 00000000000..605d625f69e
--- /dev/null
+++ b/dev-python/sphinx-testing/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Python</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">sphinx-doc/sphinx-testing</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/sphinx-testing/sphinx-testing-0.7.2.ebuild 
b/dev-python/sphinx-testing/sphinx-testing-0.7.2.ebuild
new file mode 100644
index 00000000000..71a84edcf47
--- /dev/null
+++ b/dev-python/sphinx-testing/sphinx-testing-0.7.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Testing utility classes and functions for Sphinx extensions"
+HOMEPAGE="https://github.com/sphinx-doc/sphinx-testing";
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]
+       dev-python/sphinx[${PYTHON_USEDEP}]"
+
+DEPEND="${RDEPEND}
+       test? ( dev-python/nose[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 
'python2*') )"
+
+python_test() {
+       nosetests || die
+}

Reply via email to