summaryrefslogtreecommitdiff
path: root/dev-python/sphinxcontrib-issuetracker
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/sphinxcontrib-issuetracker
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/sphinxcontrib-issuetracker')
-rw-r--r--dev-python/sphinxcontrib-issuetracker/Manifest4
-rw-r--r--dev-python/sphinxcontrib-issuetracker/metadata.xml11
-rw-r--r--dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild56
-rw-r--r--dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild62
4 files changed, 133 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-issuetracker/Manifest b/dev-python/sphinxcontrib-issuetracker/Manifest
new file mode 100644
index 000000000000..20654fd7426b
--- /dev/null
+++ b/dev-python/sphinxcontrib-issuetracker/Manifest
@@ -0,0 +1,4 @@
+DIST sphinxcontrib-issuetracker-0.11.tar.gz 30351 BLAKE2B 304526543f5d24cc4b2cc76ea8d242d8942fa54737e3d1f0924e816d24aa4838e054b8af468837447d601cacaae987cd285fc706292b979d29dc84f1dbb77ddd SHA512 fb4a977bea22451a3d90b16821fc2a38ed53b17913666ca250e9aab8bb1726bbdb52fb2b6dbb2ae512a0ca6cc3d33dcddeba758c02c77b099180443d67e147c9
+EBUILD sphinxcontrib-issuetracker-0.11-r1.ebuild 1376 BLAKE2B cde89704ec98f055522a14f8a7f1fe26882c420d9a1763c527ca1857f91da5711f9049383fd2a031391205a1fc084891495fcdd959b14ce54eb590c605f6237f SHA512 dbe2e63afe4384889d2c492bc154492de5b3e7ef187914fbd6169d24b28f37665bbced82a8e44b2e0952df77db4bd438f4daa52ca22135835a093611cc7ad77a
+EBUILD sphinxcontrib-issuetracker-0.11-r2.ebuild 1552 BLAKE2B ff45fc5849010015e1b52865739202e17daed961800df7595e27f33d70bb5ae92b4aa1d5c6b7a850f887b878959963da8428150655379f8f5530d7ed3ca0b699 SHA512 9c064d855275e3ae7295e47b4e8e320267827066e20f0c46684e65005c0b18add8b662f595f488cf9f3619843ca29386a2c5720929ef4b7ec228ba68237c98e6
+MISC metadata.xml 329 BLAKE2B 6c548d2fa97bf0724181e8afbdcf74b9a6a0fc429d9541db316d5a416ad356508685884a5feda0fbeeb2cc931afa8f5e8ca7c8123f0f687386694c9f3c224d9f SHA512 16db67eafefac64ab7b17d99e0520c1c6f58cfd929274e9f82af85aa4842278ebe29fda98ad824c673b3bc56fe8c5cf469260fec9ec2c977ca11d51b8343a2bd
diff --git a/dev-python/sphinxcontrib-issuetracker/metadata.xml b/dev-python/sphinxcontrib-issuetracker/metadata.xml
new file mode 100644
index 000000000000..e27bdf9248f7
--- /dev/null
+++ b/dev-python/sphinxcontrib-issuetracker/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>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">sphinxcontrib-issuetracker</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild
new file mode 100644
index 000000000000..62bfbec5ce28
--- /dev/null
+++ b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Extension to sphinx to create links to issue trackers"
+HOMEPAGE="http://sphinxcontrib-issuetracker.readthedocs.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-python/requests-0.13[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.1[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+python_prepare_all() {
+ # test requires network access (bug #425694)
+ rm tests/test_builtin_trackers.py || die
+
+ # Tests from tests/test_stylesheet.py require dev-python/PyQt4[X,webkit]
+ # and virtualx.eclass.
+ rm tests/test_stylesheet.py || die
+
+ # Avoid redundant objects.inv from downloading, sed more lightwieght
+ if use doc; then
+ sed -e "s:^intersphinx_mapping:#intersphinx_mapping:" \
+ -e "s:^ 'sphinx':#:" \
+ -i doc/conf.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ emake -C doc html
+ HTML_DOCS=( doc/_build/html/. )
+ fi
+}
+
+python_test() {
+ py.test || die
+}
diff --git a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild
new file mode 100644
index 000000000000..8215945209c1
--- /dev/null
+++ b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Extension to sphinx to create links to issue trackers"
+HOMEPAGE="http://sphinxcontrib-issuetracker.readthedocs.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RDEPEND="
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+python_prepare_all() {
+ # test requires network access (bug #425694)
+ rm tests/test_builtin_trackers.py || die
+
+ # Tests from tests/test_stylesheet.py require dev-python/PyQt4[X,webkit]
+ # and virtualx.eclass.
+ rm tests/test_stylesheet.py || die
+
+ # Avoid redundant objects.inv from downloading, sed more lightweight
+ if use doc; then
+ sed -e "s:^intersphinx_mapping:#intersphinx_mapping:" \
+ -e "s:^ 'sphinx':#:" \
+ -i doc/conf.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ emake -C doc html
+ HTML_DOCS=( doc/_build/html/. )
+ fi
+}
+
+python_test() {
+ py.test || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ find "${ED}" -name '*.pth' -delete || die
+}