diff options
Diffstat (limited to 'dev-python/sphinxcontrib-asyncio')
4 files changed, 96 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-asyncio/Manifest b/dev-python/sphinxcontrib-asyncio/Manifest new file mode 100644 index 000000000000..840914534b96 --- /dev/null +++ b/dev-python/sphinxcontrib-asyncio/Manifest @@ -0,0 +1,5 @@ +DIST sphinxcontrib-asyncio-0.2.0.tar.gz 10689 SHA256 96627b1ec4eba08d09ad577ff9416c131910333ef37a2c82a2716e59646739f0 SHA512 2ca25717c03385ae9bf879b8efeab8d508292d07f96d941032720d755d3db2e7bbc3c9a33c6103af9d83849ed8878bea1048d349bd0873288ee2addfee9756b7 WHIRLPOOL 7fa99d9857b7e58bd57c9de94b49aeae3614f958f697db26e384106bda853d78dc5fb6b08e72631615d4eaf9f150290e651bf87c1866139238eb5c2b0f4d8017 +EBUILD sphinxcontrib-asyncio-0.2.0-r1.ebuild 1050 SHA256 1e6ac185adfb8fd47fab639a4424261ed202fe814cd1788959499b4c001aa6c0 SHA512 c9545013ef9c8060ca3607659d5f5231009e746ef05d42093e6688813442ea17e0992820f62134de2518ea2e80987241bc1eb87b24afc653e3c2e3d0acfa5119 WHIRLPOOL d89da62dabcc7be0406024c8b103f76ecded721138415a5c9f07720460a6cab083d8c25a6933437f3793ea5434a091eaea10789c9b45b00048550437195638f5 +EBUILD sphinxcontrib-asyncio-0.2.0.ebuild 873 SHA256 9b120f9db21235f47b574821772d04c2898fb00223186efd81ce06a1ce270a88 SHA512 7f9d37e5101b98b4ce16925ba0e9a4bdae18f6d723732c183bad228720ef89eabea0f4598c7cde2c873fbcbd0ff38302b9dc1aadaef8be1eb5e734dd867e8ff2 WHIRLPOOL 6978e5b542cf8b374c4d12ee58333fb8c648afc849774b36fe5979b378e966709f721500a604d61aa89482ac027345cf33d59cb8528b5ca46028f79b18ed2db9 +MISC ChangeLog 354 SHA256 d10b9f5ff0961516aead7bbd726b32d38d2d52f828db289bc532a5b62f77041b SHA512 87b98b4420bf938483f364198fbcbf96a5f962b55c5f058d1d396382cb7317c80fd1298aacd30f80a3af12f8d73aad4745b64ad045979fc49f42bf9d04074d93 WHIRLPOOL aeb8591a9fd19bbe4649797274407ef8da7fdce49ff67498a4616224bdc50d3a3e0e5565ecbdd65e8891fd1d3791231e38381fe33c9d30eb650f8b0880f06f54 +MISC metadata.xml 479 SHA256 93cab27f4d1b60bc4eef8ad7408514eeaf10c5c5ab937607d33475ae47591920 SHA512 ea288acf888e29a1213e200599e7cc9528c99899edb613b6b77c80aa761cd0b0630837a9c1529fa8ca5e36935f263c8a37978b3afc0ea32cd8b5e3c1671dfaf5 WHIRLPOOL 23656401679004ad3aeb1a111f00d2602d4d241dac53689b0bd773f5409032d629c48a05aeed57ee60b4f642c17f11975a88bb0cf5410f8c390d80bb69087e85 diff --git a/dev-python/sphinxcontrib-asyncio/metadata.xml b/dev-python/sphinxcontrib-asyncio/metadata.xml new file mode 100644 index 000000000000..6f73ef4c918d --- /dev/null +++ b/dev-python/sphinxcontrib-asyncio/metadata.xml @@ -0,0 +1,15 @@ +<?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> + </maintainer> + <maintainer type="person"> + <email>alunduil@gentoo.org</email> + <name>Alex Brandt</name> + </maintainer> + <upstream> + <remote-id type="github">aio-libs/sphinxcontrib-asyncio</remote-id> + <remote-id type="pypi">sphinxcontrib-asyncio</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0-r1.ebuild b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0-r1.ebuild new file mode 100644 index 000000000000..fe969fc8bbac --- /dev/null +++ b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0-r1.ebuild @@ -0,0 +1,39 @@ +# 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="sphinx extension to support coroutines in markup" +HOMEPAGE="https://github.com/aio-libs/sphinxcontrib-asyncio" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]" + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all + # clean up pth files bug #623852 + find "${ED}" -name '*.pth' -delete || die + # collision bug #625872 + _namespace_cleanup() { + rm "${D%/}"$(python_get_sitedir)/sphinxcontrib/__init__.py || die + } + python_foreach_impl _namespace_cleanup +} diff --git a/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0.ebuild b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0.ebuild new file mode 100644 index 000000000000..98201f217f7c --- /dev/null +++ b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0.ebuild @@ -0,0 +1,37 @@ +# 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="sphinx extension to support coroutines in markup" +HOMEPAGE="https://github.com/aio-libs/sphinxcontrib-asyncio" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + ${PYTHON} -m pytest tests || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} |