diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-21 19:03:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-21 19:03:35 +0000 |
commit | 0ebf740b9c9bc7c10ac41bea315ecc6c01c79166 (patch) | |
tree | 15bb76d57cfb8652fd2627a24007e0bb92ec4a99 /dev-python/sphinx-jinja | |
parent | 5b5df25227111ef465caf5c52bcfb66dac3219cd (diff) |
gentoo resync : 21.01.2018
Diffstat (limited to 'dev-python/sphinx-jinja')
-rw-r--r-- | dev-python/sphinx-jinja/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/sphinx-jinja/Manifest b/dev-python/sphinx-jinja/Manifest index 6c3ee594550d..be38eb7f474a 100644 --- a/dev-python/sphinx-jinja/Manifest +++ b/dev-python/sphinx-jinja/Manifest @@ -1,3 +1,5 @@ DIST sphinx-jinja-0.2.1.tar.gz 6676 BLAKE2B e009731381dff9aebbfd9ddddc3ce128a6dd172b64ef2610847296b30d2cc4ad5fc71f71d2e1ff5fcf2d0e717b92822bffedc25fbcb6215e072bfe285038a9df SHA512 4b5239c76493f8eabc2a079d82d52b8bb34e884e308aa7e1205cfa40690854ddd1e4c1aee9f7ff0624eee2588a3af9196a83a79f0f49359df315cb0886f09c94 +DIST sphinx-jinja-0.3.0.tar.gz 7035 BLAKE2B a43c2ab6c1f0178987ccf9f69acbf0b50974573b83d0503e7888a56bf024e519ad69e3ac6ec9b8d27d7e01e9482008b6579c6892ce114124c0ef12ef456c887c SHA512 b39211a0013db020112c865335811317699e7ade734bfd9bb24f51934df4652f0560b81f5e253fc663fbd8a269fd962ef2bfd6dc96eab12a397a538e758cddfd EBUILD sphinx-jinja-0.2.1.ebuild 849 BLAKE2B 6d86ed30c28478224edc2c4047b498c1d78bc0b3266255cea84d104a328697c4a2de4b637453055f5ea7d1d869c7f868f139be122cf012a0bbfa9c3a2e46acaa SHA512 d2c3b858f9f9128b4c814918dd4dc61caa86958be895b6b14a4d6f32951ee719e1198e9f58c252ea2e218ff848ab25ac9578a32f9a5a786d29798f0e0f0d7961 +EBUILD sphinx-jinja-0.3.0.ebuild 849 BLAKE2B 219af5892af7f2aa09b65c199dae8929fc86c9e822691c387602da83d1d084b9c93014de86b4adc7f6b588b3a03b7440adbe3e6a82f5f039a676e57ec9d3f150 SHA512 9e1e5f63dbd57494b2c3c0537c62423b1ec981e5a154df17fb16e08d6f9605bfdbdc36ebddaa6073fd8e3ecaefb080fc98b8ad787bc492dd8b7a4a88fed3c085 MISC metadata.xml 575 BLAKE2B dc5634c194e0b35aebe4fe686fbb1fbd2ceb6e2aa3bf0b3cf476a3f67fe04c2ebba4711a51e248ba234dff8d4f94a583d36966ff21be0b17d3eba21d32b48ee0 SHA512 f9a56f712f16ee55b60e005a92f893a8a97de67a52d615537e10cee4ce9435388200ae832edf080ef1c78731974b42d415f597b04ab934d785d60bbbd93fd865 diff --git a/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild b/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild new file mode 100644 index 000000000000..df6366a639de --- /dev/null +++ b/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 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 +} |