diff options
author | Patrick Lauer <patrick@gentoo.org> | 2017-11-08 16:26:25 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2017-11-08 16:26:25 +0000 |
commit | a878b5ae99c570b4bfa70a6dd9a64b36f99ea8cd (patch) | |
tree | 9f911e48a4d1778de5c732587dbeedfb614fc2c8 /dev-python | |
parent | sys-kernel/gentoo-sources: Linux patch 4.4.97 (diff) | |
download | gentoo-a878b5ae99c570b4bfa70a6dd9a64b36f99ea8cd.tar.gz gentoo-a878b5ae99c570b4bfa70a6dd9a64b36f99ea8cd.tar.bz2 gentoo-a878b5ae99c570b4bfa70a6dd9a64b36f99ea8cd.zip |
dev-python/fabric: Bump
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/fabric/Manifest | 2 | ||||
-rw-r--r-- | dev-python/fabric/fabric-1.14.0.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/fabric/Manifest b/dev-python/fabric/Manifest index e366d2702729..c8e62d34c6a7 100644 --- a/dev-python/fabric/Manifest +++ b/dev-python/fabric/Manifest @@ -1,3 +1,5 @@ DIST Fabric-1.10.0.tar.gz 208969 SHA256 edb2702b4655600f0a49a97e654c79f5b21490ce30f77d1313dd851f0b60335a SHA512 991341dfb3f71e938c2a2e30f5bc158be84cb1600ab64c4f7c5c49decd0a38bc57615f9e07edfbed70d9ca796592d7c1a4f7f3e25a40c4d31049015df928b2e3 WHIRLPOOL c07ba33bd6e7832fd5527ec14e206d74a6a2b983dbb49a43d972f31e15e22f9642df4809adff72f43f92fca5c1d758a4ac540ed87e22f46adc25094b2aa4ccb3 DIST Fabric-1.12.0.tar.gz 232840 SHA256 fafa17d69a15fd6ae5f82d28acbf90e1bf15e3d7438fbf0e8691868164c0e9dc SHA512 cc07e811873c296c7e33ddadb00af3b4cbd1a87b2617b82505758e6b646e20e55edafe76cd969f3b2a7931a2deb4daefe8e44a7d6fe6ec67e5d9923d6c64e95e WHIRLPOOL 454cf9b2f7eb2c74ca2e6eed349600d37d4306c49da098e46442001e2f720f2df46f4c2eed973916ece7cbffe1c54100dd3571a8696463e10aa3b0ddde0455e2 +DIST Fabric-1.14.0.tar.gz 219294 SHA256 81572002a562b26df657ca10d06b5bcfc6fd56b53374037392c83d4a2158208f SHA512 3bb90597356ac033e5a9bba668ec8b080ee10cac31f54b1e89b6e2e21550ba5f2341e774ed9ff52c3a4ecbc3bae3206d155c6bfe6678576caca8e439c7810ed9 WHIRLPOOL 83506d93fbdc31a2fc27defc5856c0273be404fca0441f3f7164c2243d071cf955c4a10e9373ea43f4c5878f99809cbfebb2209633d1cadac36cda8bd412081b DIST fabric-1.12.0-completion.bash 4266 SHA256 9346541b636f001d4efe1ee0bf0a7a083e85789c88ebd54910004b39ee3f68fa SHA512 2303e3b6a71ac8f6a61ce3bd464f3c950db8374b61a6375ccc6fbb2dc815a4a44509a034788862bd361ace7c0f401533cd5cee0fb6fca8d9ff7e0ffd143706a3 WHIRLPOOL 616cefd147905347c38ac7ea91ec465be12435ffe48c487083c9d0f1767bb12e5f82423c132b7cc82a89575869729ac1e530d82cf1831c97f0586be5262d8cab +DIST fabric-1.14.0-completion.bash 4266 SHA256 9346541b636f001d4efe1ee0bf0a7a083e85789c88ebd54910004b39ee3f68fa SHA512 2303e3b6a71ac8f6a61ce3bd464f3c950db8374b61a6375ccc6fbb2dc815a4a44509a034788862bd361ace7c0f401533cd5cee0fb6fca8d9ff7e0ffd143706a3 WHIRLPOOL 616cefd147905347c38ac7ea91ec465be12435ffe48c487083c9d0f1767bb12e5f82423c132b7cc82a89575869729ac1e530d82cf1831c97f0586be5262d8cab diff --git a/dev-python/fabric/fabric-1.14.0.ebuild b/dev-python/fabric/fabric-1.14.0.ebuild new file mode 100644 index 000000000000..36ca64ccbfef --- /dev/null +++ b/dev-python/fabric/fabric-1.14.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit bash-completion-r1 distutils-r1 + +MY_PN="Fabric" +MY_P="${MY_PN}-${PV}" + +COMP_HASH="83d303e9fb352deaf4885b6db0781b3d9115e9c6" + +DESCRIPTION="A simple pythonic tool for remote execution and deployment" +HOMEPAGE="http://fabfile.org https://pypi.python.org/pypi/Fabric" +SRC_URI=" + mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz + https://raw.githubusercontent.com/kbakulin/fabric-completion/${COMP_HASH}/fabric-completion.bash -> ${P}-completion.bash" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" + +RDEPEND=" + >=dev-python/paramiko-1.10[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/python-docs-2.7.6-r1:2.7 + dev-python/alabaster[${PYTHON_USEDEP}] ) + test? ( + dev-python/nose[${PYTHON_USEDEP}] + <dev-python/fudge-1.0[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # Re-set intersphinx_mapping for doc build + if use doc; then + local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7) + local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" + local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" + local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" + sed \ + -e "s|'http://docs.python.org/2.6', None|'${PYTHON_DOC}', '${PYTHON_DOC_INVENTORY}'|" \ + -e "s| 'www'| #'www'|" \ + -i sites/docs/conf.py || die + fi + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + sphinx-build -b html -c sites/docs/ sites/docs/ sites/docs/html || die + fi +} + +python_test() { + # 1 failure, reported https://github.com/fabric/fabric/issues/1360 + sed \ + -e 's:test_abort_message_only_printed_once:_&:g' \ + -i tests/test_utils.py || die + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( sites/docs/html/. ) + distutils-r1_python_install_all + newbashcomp "${DISTDIR}"/${P}-completion.bash ${PN} +} |