mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/google-auth-oauthlib: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
cf6dec8069
commit
8949d25070
@ -1,2 +1 @@
|
|||||||
DIST google-auth-library-python-oauthlib-1.2.2.gh.tar.gz 55488 BLAKE2B ebc67448bc1bfa9ea2879bee5a655dbb0beca01e4e43abe712860c64628d764405339220695a508586175a7590f3fc08d2b87163ec9bb59a4197a968880b8492 SHA512 5e57320b4c6ffdde42975625268647afa02978cb0d6598ca2db9986fa4744f7f8740779c6010f99064a223661c879cc4928642d9a9ebc308aabd950cdfd232f3
|
|
||||||
DIST google-auth-library-python-oauthlib-1.2.3.gh.tar.gz 54146 BLAKE2B c40f0a772887158286856e9f5c3a6e598f3395ef223928249bf7d7c85fc3e0ec20c31374b899b0c39c7e7b3beb83b1c0e75c59038ff997806a1774247a4b1e68 SHA512 7c69bb377be65321cd88c0fd0317f69d10b430d4d505346c2c0d557d0488c05d225e4f24d850f9f09fafd908626551b34594c9a4f8587cb0a5e0674b6f3c2c45
|
DIST google-auth-library-python-oauthlib-1.2.3.gh.tar.gz 54146 BLAKE2B c40f0a772887158286856e9f5c3a6e598f3395ef223928249bf7d7c85fc3e0ec20c31374b899b0c39c7e7b3beb83b1c0e75c59038ff997806a1774247a4b1e68 SHA512 7c69bb377be65321cd88c0fd0317f69d10b430d4d505346c2c0d557d0488c05d225e4f24d850f9f09fafd908626551b34594c9a4f8587cb0a5e0674b6f3c2c45
|
||||||
|
|||||||
@ -1,43 +0,0 @@
|
|||||||
# Copyright 1999-2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{11..14} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
MY_P=google-auth-library-python-oauthlib-${PV}
|
|
||||||
DESCRIPTION="Google Authentication Library"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/googleapis/google-auth-library-python-oauthlib/
|
|
||||||
https://pypi.org/project/google-auth-oauthlib/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/googleapis/google-auth-library-python-oauthlib/archive/v${PV}.tar.gz
|
|
||||||
-> ${MY_P}.gh.tar.gz
|
|
||||||
"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/click-6.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/google-auth-2.15.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/requests-oauthlib-0.7.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
EPYTEST_PLUGINS=()
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
|
|
||||||
# remove mock dependency
|
|
||||||
# https://github.com/googleapis/google-auth-library-python-oauthlib/pull/351
|
|
||||||
find -name 'test_*.py' -exec \
|
|
||||||
sed -i -e 's:import mock:from unittest import mock:' {} + || die
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user