summaryrefslogtreecommitdiff
path: root/dev-python/fabric
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/fabric')
-rw-r--r--dev-python/fabric/Manifest6
-rw-r--r--dev-python/fabric/fabric-1.14.0-r1.ebuild75
-rw-r--r--dev-python/fabric/fabric-1.14.0.ebuild75
-rw-r--r--dev-python/fabric/fabric-2.3.1.ebuild17
4 files changed, 9 insertions, 164 deletions
diff --git a/dev-python/fabric/Manifest b/dev-python/fabric/Manifest
index 92c8c7388cad..b4160fb723df 100644
--- a/dev-python/fabric/Manifest
+++ b/dev-python/fabric/Manifest
@@ -1,7 +1,3 @@
-DIST Fabric-1.14.0.tar.gz 219294 BLAKE2B e4f8512fd5f84dacccdafbde51ed109fd7128954635ea67ed7461f686769c107cfa6bf0181921aea5db214ffb9fb52c7f0de88c5edbbdd63258e8c280e37c70d SHA512 3bb90597356ac033e5a9bba668ec8b080ee10cac31f54b1e89b6e2e21550ba5f2341e774ed9ff52c3a4ecbc3bae3206d155c6bfe6678576caca8e439c7810ed9
-DIST fabric-1.14.0-completion.bash 4266 BLAKE2B b691b34d3a62ab8a70d184fe89150d50a0817df0619cfcb4a82dcda485b0a77bb33b5f7e548b1c50ddf8c9c9ae48721c9621e0ca6ed4396dea2f9a0e1ae61931 SHA512 2303e3b6a71ac8f6a61ce3bd464f3c950db8374b61a6375ccc6fbb2dc815a4a44509a034788862bd361ace7c0f401533cd5cee0fb6fca8d9ff7e0ffd143706a3
DIST fabric-2.3.1.tar.gz 148829 BLAKE2B 65df8856d7d7ae61ad045ee7710c1aa0517b3be63751380d349c27c4ca4667a9179ae4e7f14612d7fec71cf90de5c98d7c7867508e56717235703c688c54a4e2 SHA512 8341869004b9ec2ac4459245af30b06f8f693f696339ec08aa83a9d56069379390a89f6e04f66ea3f064436d9184de0435a8fb283db8ec5a815471684889dad9
-EBUILD fabric-1.14.0-r1.ebuild 2164 BLAKE2B ec127746fc664b2b2c2912d24d6d00c05726b767c75842c4232fefc8bc305c4e03add32b4fe02aa9b5991d416df3ba0e4596a30540e952377fa4d51389e88618 SHA512 61b3db0b304068865b19ec7d947c31f026fdb8acf12beb53e9ada569e66170a3331867cf2826dc23523a8f86c140618fafde26c3d0bab11dda783d0648fa29b1
-EBUILD fabric-1.14.0.ebuild 2165 BLAKE2B d46bb79f45d25acab384cda763452c6f966bd8bef3a1a6bb4d8fdef45e6eda79a7d34dcf2b6333ed57125f5c23b600a67ed53fdd5c603acecfeef2c93a711fdd SHA512 caf771a5a4ae4f3af317dc62dc7062db24958e92b801d0fe7ae4426098c261cc3c5d2aede6ae5e6f12e5775d17a437fa019b429cf96f132ecf2409da98bebc65
-EBUILD fabric-2.3.1.ebuild 1229 BLAKE2B 471b6e7540809947b27c083b6f00c56678e79304bf36cafc0522b835f3022d33b0a47324e7ca9c3c2d77e9fe62a4593ff7306845b6483974c4022b142e11bbbe SHA512 05f2a18349b14e57ffa436fd3029fa7b09b1dd048c47f5799c18ca4416fb219b6fbfcbe06ab9853af9b7f6980e51e47f5cd7fe79430f4f824a538dd90dfcf2ca
+EBUILD fabric-2.3.1.ebuild 1229 BLAKE2B 089ca161af6d0a2bf68c90b646eda375798eeef1ac079cc8a67a51b9db0c073e4c7db7447ccd69c9cd2c382a71792b876205a108cfd79ea20d13c6da15c02377 SHA512 4ea1af8703a217b2eaaa3b2112e98b81e8b5b1d9cd3d596c334fd5f98a575d656c1a5927fda8d82161d95f2e8ca1bdccd904fb6eb02451c84811a0adc507eb29
MISC metadata.xml 416 BLAKE2B dad0309bc188c5d36edbb6694bb06e9080249a419b0b6140a2e1a8dc35c63a5720a91ce1b70f40e8f8a923671bde7c01f5da20d9ddd003ee9d319246422a001b SHA512 6b5fd491f212f7e18955920dd1e70703cbef4e8821f04ab4d44b0a794c3c9820250f9f36749e52479c5655579d83af2507b614131bbc3929eb67466e538de97d
diff --git a/dev-python/fabric/fabric-1.14.0-r1.ebuild b/dev-python/fabric/fabric-1.14.0-r1.ebuild
deleted file mode 100644
index 7d9586840713..000000000000
--- a/dev-python/fabric/fabric-1.14.0-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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="https://www.fabfile.org https://pypi.org/project/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}]
- <dev-python/paramiko-3.0[${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 fab
-}
diff --git a/dev-python/fabric/fabric-1.14.0.ebuild b/dev-python/fabric/fabric-1.14.0.ebuild
deleted file mode 100644
index bbebaa950394..000000000000
--- a/dev-python/fabric/fabric-1.14.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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="https://www.fabfile.org https://pypi.org/project/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}]
- <dev-python/paramiko-3.0[${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}
-}
diff --git a/dev-python/fabric/fabric-2.3.1.ebuild b/dev-python/fabric/fabric-2.3.1.ebuild
index 8265a2381332..430bb1ca83dd 100644
--- a/dev-python/fabric/fabric-2.3.1.ebuild
+++ b/dev-python/fabric/fabric-2.3.1.ebuild
@@ -3,18 +3,20 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="A simple pythonic tool for remote execution and deployment"
-HOMEPAGE="https://www.fabfile.org https://pypi.org/project/Fabric/"
+HOMEPAGE="https://www.fabfile.org https://pypi.org/project/fabric/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc fab2"
+# Depends on pytest-relaxed which is not in tree
+RESTRICT="test"
RDEPEND="
!fab2? ( !dev-python/fabric:0 )
@@ -26,24 +28,21 @@ BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
dev-python/alabaster[${PYTHON_USEDEP}]
- >=dev-python/sphinx-1.4[${PYTHON_USEDEP}]
- <dev-python/sphinx-1.7[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
)"
-# Depends on pytest-relaxed which is broken
-RESTRICT="test"
-
python_compile() {
if use fab2; then
export PACKAGE_AS_FABRIC2=1
- ln -s fabric fabric2 || die
+ ln -s fabric fabric2 || die "symlink create failed"
fi
distutils-r1_python_compile
}
python_compile_all() {
if use doc; then
- sphinx-build -b html -c sites/docs/ sites/docs/ sites/docs/html || die
+ sphinx-build -b html -c sites/docs/ sites/docs/ sites/docs/html \
+ || die "building docs failed"
fi
}