mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
aws-cli: unfork, found awscli
This commit is contained in:
parent
452e5fc9e4
commit
96a1c8c97d
3 changed files with 0 additions and 109 deletions
|
|
@ -1,2 +0,0 @@
|
|||
DIST aws-cli-1.18.155.tar.gz 1879070 BLAKE2B d8bf5b6fda6ff15ac98003e4b28841e523f9f7eccab53ef4cd123a0640faaf7d6161fa42841fa723d033cc46cc3a146a960063c7b08e94aa5f09b476f5ab0ae8 SHA512 1459c3fbcf487300b39f2660e726c3fbe6ada65cd0a554399e27dec64bf5a8752e871cca6935edfba3d06d53b0993795d32f693719aaf8dd995457a26de588ef
|
||||
DIST aws-cli-2.0.55.tar.gz 2111323 BLAKE2B 19eb941f3710760c4e16f8130d184ec083a9b979eac22b0467550861864891e323869a11b06331113595b3437c1f9e21647c4aa77353f1e65f0219717e6bb251 SHA512 2afd12e09b6c9723a9a086262ab68ccf13370c80894a8ca19baa0c7f98f69e7d42c55ed37dd07efdde67ad2c24892002e00bd1f4cbf632a10b42ce93fd9200c2
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Interface for Amazon Web Services"
|
||||
HOMEPAGE="https://github.com/aws/aws-cli"
|
||||
SRC_URI="https://github.com/aws/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/tox[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/s3transfer[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
# <=dev-python/colorama-0.3.7[${PYTHON_USEDEP}]
|
||||
## dev-python/six[${PYTHON_USEDEP}]
|
||||
## dev-python/requests[${PYTHON_USEDEP}]
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Unbundled in dev-python/botocore
|
||||
grep -rl 'botocore.vendored' | xargs \
|
||||
sed -i -e "/import requests/s/from botocore.vendored //" \
|
||||
-e "/^from/s/botocore\.vendored\.//" \
|
||||
-e "s/^from botocore\.vendored //" \
|
||||
-e "s/'botocore\.vendored\./'/" \
|
||||
|| die "sed failed"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Only run unit tests
|
||||
nosetests tests/unit || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Interface for Amazon Web Services"
|
||||
HOMEPAGE="https://github.com/aws/aws-cli"
|
||||
SRC_URI="https://github.com/aws/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/tox[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/s3transfer[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/wcwidth
|
||||
<dev-python/prompt_toolkit-3.0.0
|
||||
dev-python/distro
|
||||
"
|
||||
# <=dev-python/colorama-0.3.7[${PYTHON_USEDEP}]
|
||||
## dev-python/six[${PYTHON_USEDEP}]
|
||||
## dev-python/requests[${PYTHON_USEDEP}]
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Unbundled in dev-python/botocore
|
||||
grep -rl 'botocore.vendored' | xargs \
|
||||
sed -i -e "/import requests/s/from botocore.vendored //" \
|
||||
-e "/^from/s/botocore\.vendored\.//" \
|
||||
-e "s/^from botocore\.vendored //" \
|
||||
-e "s/'botocore\.vendored\./'/" \
|
||||
|| die "sed failed"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Only run unit tests
|
||||
nosetests tests/unit || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
Loading…
Reference in a new issue