Python Azure

This commit is contained in:
Gerben Jan Dijkman 2021-07-08 23:54:17 +02:00
parent 48cd4898d6
commit eccf7e3e78
3 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST fabric-2.6.0.tar.gz 163880 BLAKE2B 24bf1416c1b634bf56a8e9809ddd53f981ad5095249c7e1d39057c29fb6474ba9111dc6ea99a5125df8d3f824de79125f3891975486abdedd37dac33b8183cf8 SHA512 22c430bff6c4d93fec5231999949cb1959c11ec06754e62a88776a9d62db1b30788214dd0b873252559fdf41441389585170c0b53a4d7af7fe4f5a36dc85fb4d
EBUILD fabric-2.6.0.ebuild 1229 BLAKE2B 9d748ca5d03cb6cf7701733f7a60b01cfb3550b10ccf0b7a83a639501ee49467ad908807b092e979d4152a144592dc5ba7969d4562375fc45a3509229838a93e SHA512 630b8982f71fdf90697c145b1e9590a0fe9d572d5e1f08c3d21b7026771b033fb03e3e4b45eb31a57b1873978ba20c1f20c2a5ba13a75e23e16695bbd0be53ea
MISC metadata.xml 416 BLAKE2B dad0309bc188c5d36edbb6694bb06e9080249a419b0b6140a2e1a8dc35c63a5720a91ce1b70f40e8f8a923671bde7c01f5da20d9ddd003ee9d319246422a001b SHA512 6b5fd491f212f7e18955920dd1e70703cbef4e8821f04ab4d44b0a794c3c9820250f9f36749e52479c5655579d83af2507b614131bbc3929eb67466e538de97d

View File

@ -0,0 +1,53 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="A simple pythonic tool for remote execution and deployment"
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 ~arm ~arm64 ~x86"
IUSE="doc fab2"
RDEPEND="
!fab2? ( !dev-python/fabric:0 )
dev-python/cryptography[${PYTHON_USEDEP}]
<dev-python/invoke-2[${PYTHON_USEDEP}]
>=dev-python/paramiko-2.4[${PYTHON_USEDEP}]"
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}]
)"
# 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
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
fi
}
python_install_all() {
use doc && local HTML_DOCS=( sites/docs/html/. )
distutils-r1_python_install_all
}

View File

@ -0,0 +1,14 @@
<?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>
<name>Python</name>
</maintainer>
<use>
<flag name="fab2">Install as "fab2", allowing side-by-side install with fabric 1.x</flag>
</use>
<upstream>
<remote-id type="pypi">Fabric</remote-id>
</upstream>
</pkgmetadata>