mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/gcs-oauth2-boto-plugin: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST gcs-oauth2-boto-plugin-2.5.tar.gz 16739 BLAKE2B a8ef124670063eb19119f7ab6cfd3101f68815a61ec183b3c9ac79ac158e3e47f48349b4f3faa0cf83ce9a203ab2f350e61fdd8a87872962bc1b24a8182f741f SHA512 db6810351c8364c9b217e092aa83803cdc7831136b3fa1be4c54f978f919e2e33bdaf32b8d36db359c5a328eb57f7ad2cee219b94d7f60403f27aaa6a6fd53cc
|
||||
DIST gcs-oauth2-boto-plugin-2.7.tar.gz 20929 BLAKE2B 79db6c7bdf76320c2f74ab5edca0dd1cf7967bd38fb9a7a0a34c05fca3cab51317fb3ebd3e9ba195b42af2944cc951d150e3ee90cc93cdeab176f79d027a9800 SHA512 0ea8d4b01a2da79397e06de9dc0279594017e58e3874a2633b32007590efa2e8a29b5d2127d0218663cf7e63042adcc9801dbbb11bdfcb40d0c5d67c47267a09
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -36,9 +36,7 @@
|
||||
'httplib2>=0.8',
|
||||
'oauth2client>=1.5.2, !=2.0.*',
|
||||
'pyOpenSSL>=0.13',
|
||||
- # Not using 1.02 because of:
|
||||
- # https://code.google.com/p/socksipy-branch/issues/detail?id=3
|
||||
- 'SocksiPy-branch==1.01',
|
||||
+ 'SocksiPy-branch>=1.01',
|
||||
'retry_decorator>=1.0.0',
|
||||
'six>=1.6.1'
|
||||
]
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="OAuth 2.0 plugin for Google Cloud Storage credentials in the Boto library"
|
||||
HOMEPAGE="https://pypi.org/project/gcs-oauth2-boto-plugin/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.13-use-friendy-version-checks.patch"
|
||||
)
|
||||
|
||||
# Keep versions in sync with setup.py.
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/boto-2.29.1[${PYTHON_USEDEP}]
|
||||
dev-python/google-reauth-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
|
||||
!=dev-python/oauth2client-2.0*
|
||||
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/PySocks-1.01[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
sed -e '/SocksiPy-branch/d' \
|
||||
-i setup.py || die
|
||||
# Make sure the unittests aren't installed.
|
||||
mv gcs_oauth2_boto_plugin/test_oauth2_client.py ./ || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" "${S}"/test_oauth2_client.py -v \
|
||||
|| die "tests failed with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user