summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-07-17 19:43:29 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-07-17 19:43:29 +0000
commit338f10ee64b4ff7b6987437deae5b67a9169a0e6 (patch)
tree1d3c1927a4b95cdf986d2a8b458e767dd7d7815a /dev-python/sphinxcontrib-issuetracker
parentversion bump for bug 424333 (diff)
downloadgentoo-2-338f10ee64b4ff7b6987437deae5b67a9169a0e6.tar.gz
gentoo-2-338f10ee64b4ff7b6987437deae5b67a9169a0e6.tar.bz2
gentoo-2-338f10ee64b4ff7b6987437deae5b67a9169a0e6.zip
Version bump. Do not run test requiring network access, wrt bug #425694.
(Portage version: 2.1.11.5/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/sphinxcontrib-issuetracker')
-rw-r--r--dev-python/sphinxcontrib-issuetracker/ChangeLog9
-rw-r--r--dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.10.1.ebuild51
2 files changed, 58 insertions, 2 deletions
diff --git a/dev-python/sphinxcontrib-issuetracker/ChangeLog b/dev-python/sphinxcontrib-issuetracker/ChangeLog
index d6020a5d6c7a..9f50f528105c 100644
--- a/dev-python/sphinxcontrib-issuetracker/ChangeLog
+++ b/dev-python/sphinxcontrib-issuetracker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/sphinxcontrib-issuetracker
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-issuetracker/ChangeLog,v 1.6 2012/05/21 12:00:59 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-issuetracker/ChangeLog,v 1.7 2012/07/17 19:43:29 kensington Exp $
+
+*sphinxcontrib-issuetracker-0.10.1 (17 Jul 2012)
+
+ 17 Jul 2012; Michael Palimaka <kensington@gentoo.org>
+ +sphinxcontrib-issuetracker-0.10.1.ebuild:
+ Version bump. Do not run test requiring network access, wrt bug #425694.
21 May 2012; Johannes Huber <johu@gentoo.org>
sphinxcontrib-issuetracker-0.9.ebuild:
@@ -28,4 +34,3 @@
+sphinxcontrib-issuetracker-0.9.ebuild:
Initial commit. Imported from kde overlay. Written by Chris Reffett
<geekboy72@gmail.com>.
-
diff --git a/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.10.1.ebuild b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.10.1.ebuild
new file mode 100644
index 000000000000..997a4a6c88b4
--- /dev/null
+++ b/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.10.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.10.1.ebuild,v 1.1 2012/07/17 19:43:29 kensington Exp $
+
+EAPI="4"
+SUPPORT_PYTHON_ABIS="1"
+PYTHON_DEPEND="2:2.6"
+RESTRICT_PYTHON_ABIS="2.5 3.*"
+PYTHON_TESTS_RESTRICTED_ABIS="*-jython *-pypy-*"
+DISTUTILS_SRC_TEST="py.test"
+
+inherit distutils
+
+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="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/requests-0.13
+ >=dev-python/sphinx-1.1"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ test? (
+ dev-python/mock
+ dev-python/pyquery
+ )"
+
+PYTHON_MODNAME="${PN/-//}.py"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # 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
+}
+
+pkg_postinst() {
+ python_mod_optimize sphinxcontrib/issuetracker/resolvers.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup sphinxcontrib/issuetracker/resolvers.py
+}