dev-python/oauth2client: remove outdated oauth2client

This commit is contained in:
Andreas Billmeier 2022-10-16 14:34:55 +02:00 committed by Andreas Billmeier
parent eadf5611eb
commit 034f8d482f
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 2 additions and 78 deletions

View File

@ -547,12 +547,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1587 Ebuilds in total, 1580 of them have in total 1592 (34 different) licenses assigned.
There are 1586 Ebuilds in total, 1579 of them have in total 1591 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|941|
|Apache-2.0|313|
|Apache-2.0|312|
|GPL-3|95|
|BSD|90|
|LGPL-3|26|

View File

@ -1,3 +0,0 @@
DIST oauth2client-4.0.0.tar.gz 183288 BLAKE2B 3330cbe01228b1b57a668744ce4310ee23a55c858fd05d0424fe43c16bb7e211e0d9e2c3d8c148db276bd61fcf25db12437dce6093dfa89375caaf2c848ca528 SHA512 b59805702c7acb306801a04a92b7f700c0f58d5937b4b27a497018d313922512b5ec3f1711bacf13bc7e01c4f006eda5344a9055f981ba34e116c34c56c5dfec
EBUILD oauth2client-4.0.0.ebuild 1861 BLAKE2B 5ac3f33b9becc38c40c37b5c53fd545bd982820c12defb40d05acddec8b4715d48ec933a8e6d24962069712129f98cfa637726e19bdf1b13a5a9605b80f3db76 SHA512 a7d9b9a454ef89e134165e73726b21ccc0cc20378a52dbb3bfc2cc3c7b739f541b13ec136641a0e86f93f43488075d15cefff43c067a40a4df30c31054bfef9c
MISC metadata.xml 468 BLAKE2B 8b338ac81252d785a0ca6c507e0464f4f884895fcfcf07b0cee89a1d9d50b306ae0b48aa049773b69e0e1a6899397a7b9d88701622890689096fdde7852dc0e3 SHA512 6b5706abd525f020a9b6e1b4bb9e3dee82e09a20105f25fa026a011f798e1a39234c89995f2ed1f7d5774d1a0b1d5df5bea48220ad71c85a442142d25ca9e243

View File

@ -1,15 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">oauth2client</remote-id>
<maintainer status="unknown">
<email>jonwayne+oauth2client@google.com</email>
<name>Google Inc.</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -1,58 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Library for accessing resources protected by OAuth 2.0"
HOMEPAGE="https://github.com/google/oauth2client"
SRC_URI="https://github.com/google/oauth2client/archive/v${PV/_p/-post}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
REQUIRED_USE="|| ( $(python_gen_useflags 'python*') )"
RDEPEND="
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
>=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
>=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}]
>=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
>=dev-python/six-1.6.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/keyring[${PYTHON_USEDEP}]' 'python*')
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
S="${WORKDIR}"/${P/_p/-post}
src_prepare() {
# and it tries to install a 'tests' package at top level.... tsss...
sed -i "s/packages=find_packages()/packages=find_packages(exclude=['tests','tests.*'])/g" -i setup.py || die
eapply_user
}
python_prepare() {
# keyring is not fuly supported by pypy yet, because dbus-python can't support pypy
# oauth2client -> keyring -> secretstorage -> dbus-python
# https://github.com/mitya57/secretstorage/issues/10
case $PYTHON in
pypy|*pypy|*pypy3) \
find "${BUILD_DIR}/.." -name '*keyring*py' -delete ;;
esac
}
python_test() {
nosetests -e appengine -e django_util -e test_multiprocess_file_storage -e test_bad_positional || die
# appengine - requires appengine
# django_util - requires django
# test_multiprocess_file_storage - requires fasteners
# test_bad_positional - expects TypeError, gets ValueError
}