From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/sphinx-jinja/Manifest | 3 ++ dev-python/sphinx-jinja/metadata.xml | 18 ++++++++++++ dev-python/sphinx-jinja/sphinx-jinja-0.2.1.ebuild | 35 +++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 dev-python/sphinx-jinja/Manifest create mode 100644 dev-python/sphinx-jinja/metadata.xml create mode 100644 dev-python/sphinx-jinja/sphinx-jinja-0.2.1.ebuild (limited to 'dev-python/sphinx-jinja') diff --git a/dev-python/sphinx-jinja/Manifest b/dev-python/sphinx-jinja/Manifest new file mode 100644 index 000000000000..d672eb40d127 --- /dev/null +++ b/dev-python/sphinx-jinja/Manifest @@ -0,0 +1,3 @@ +DIST sphinx-jinja-0.2.1.tar.gz 6676 SHA256 3f2019339aadc40d0a2161dfbbe9ec1b42028b23fa7b8c13e76ae7710a8356ff SHA512 4b5239c76493f8eabc2a079d82d52b8bb34e884e308aa7e1205cfa40690854ddd1e4c1aee9f7ff0624eee2588a3af9196a83a79f0f49359df315cb0886f09c94 WHIRLPOOL eb1993579c0b2d8f2e485b5d3780c42f4fbbb42592c7c19b5bea0b416fc7db093c25791b4793257bed2f6b1050ddb1e8a96a80ee2a3ddea9c70142e5ba6e8828 +EBUILD sphinx-jinja-0.2.1.ebuild 849 SHA256 290b0f8df90f0b7ad9dcac26e8c3c13cc342a045bdb012626aa1c0e103fd46d4 SHA512 d2c3b858f9f9128b4c814918dd4dc61caa86958be895b6b14a4d6f32951ee719e1198e9f58c252ea2e218ff848ab25ac9578a32f9a5a786d29798f0e0f0d7961 WHIRLPOOL 62d2e39299ca9fc9617952a6ce8c073556e5ab6aa2243ebd1666ff239822910d40cfd928bece6b4795c87ab9015a8a8ba20e71db0c50e1446152ecfd052049bf +MISC metadata.xml 575 SHA256 18b478c0dbebac3c84b874ef3171d608618207529d31b270f8dd8170b9319a5c SHA512 f9a56f712f16ee55b60e005a92f893a8a97de67a52d615537e10cee4ce9435388200ae832edf080ef1c78731974b42d415f597b04ab934d785d60bbbd93fd865 WHIRLPOOL 123ea8acb85b460ad7b3cfa31bcaefe33b32e46f9ba2f467f5f9c7dfcd0541ec52ee03b0275b9242ab24b8223ebc1d121de676a2c82215160b6be4e05c818823 diff --git a/dev-python/sphinx-jinja/metadata.xml b/dev-python/sphinx-jinja/metadata.xml new file mode 100644 index 000000000000..5d26a6d415b1 --- /dev/null +++ b/dev-python/sphinx-jinja/metadata.xml @@ -0,0 +1,18 @@ + + + + + dolsen@gentoo.org + + + + tardyp@gmail.com + Pierre Tardy + + sphinx-jinja + tardyp/sphinx-jinja + + A sphinx extension to include jinja based templates + based documentation into a sphinx doc + + diff --git a/dev-python/sphinx-jinja/sphinx-jinja-0.2.1.ebuild b/dev-python/sphinx-jinja/sphinx-jinja-0.2.1.ebuild new file mode 100644 index 000000000000..9c388a00c4c0 --- /dev/null +++ b/dev-python/sphinx-jinja/sphinx-jinja-0.2.1.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=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="A sphinx extension to include jinja based templates into a sphinx doc" +HOMEPAGE="https://github.com/tardyp/sphinx-jinja https://pypi.python.org/pypi/sphinx-jinja" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.0[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] + dev-python/sphinx-testing[${PYTHON_USEDEP}] )" + +python_prepare() { + if python_is_python3; then + sed -i -e "s/import urllib/import urllib.request as urllib/" sphinxcontrib/jinja.py || die + fi +} + +python_test() { + nosetests || die +} -- cgit v1.2.3