Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oauth2/, profiles/, dev-python/oauth2/files/
Date: Sat, 09 Oct 2021 08:21:45
Message-Id: 1633767268.a12bec86be14decfbd4646e1e77f3035e04b0145.jsmolic@gentoo
1 commit: a12bec86be14decfbd4646e1e77f3035e04b0145
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 9 08:14:28 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 9 08:14:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a12bec86
7
8 dev-python/oauth2: treeclean
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 dev-python/oauth2/Manifest | 1 -
13 .../oauth2/files/1.9.0_p1-exclude-tests.patch | 11 ------
14 dev-python/oauth2/metadata.xml | 13 -------
15 dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 40 ----------------------
16 profiles/package.mask | 6 ----
17 5 files changed, 71 deletions(-)
18
19 diff --git a/dev-python/oauth2/Manifest b/dev-python/oauth2/Manifest
20 deleted file mode 100644
21 index a7c88e0fa86..00000000000
22 --- a/dev-python/oauth2/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST oauth2-1.9.0.post1.tar.gz 21306 BLAKE2B 3e61ba6d46b98c594fa31e828885930490f99390f14e0173bdf719cfc1d5e8ad385e56c9654e139279cd95611a7e35b1fe0276679a2a4849b67125f5e6919788 SHA512 a3b64eef331d4c4f59c275f14efb2dfb48ad60de47a59a88106f60d64428a09b76d8bedf08c98c113493968d83708b1478b4b61b2b5528b5b01fa22777daff4c
26
27 diff --git a/dev-python/oauth2/files/1.9.0_p1-exclude-tests.patch b/dev-python/oauth2/files/1.9.0_p1-exclude-tests.patch
28 deleted file mode 100644
29 index 0d3a0fa962a..00000000000
30 --- a/dev-python/oauth2/files/1.9.0_p1-exclude-tests.patch
31 +++ /dev/null
32 @@ -1,11 +0,0 @@
33 ---- a/setup.py
34 -+++ b/setup.py
35 -@@ -45,7 +45,7 @@
36 - "Natural Language :: English",
37 - "License :: OSI Approved :: MIT License"
38 - ],
39 -- packages = find_packages(),
40 -+ packages = find_packages(exclude=['tests']),
41 - install_requires = ['httplib2'],
42 - license = "MIT License",
43 - keywords="oauth",
44
45 diff --git a/dev-python/oauth2/metadata.xml b/dev-python/oauth2/metadata.xml
46 deleted file mode 100644
47 index d08b5485d08..00000000000
48 --- a/dev-python/oauth2/metadata.xml
49 +++ /dev/null
50 @@ -1,13 +0,0 @@
51 -<?xml version="1.0" encoding="UTF-8"?>
52 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
53 -<pkgmetadata>
54 - <maintainer type="project">
55 - <email>python@g.o</email>
56 - <name>Python</name>
57 - </maintainer>
58 - <stabilize-allarches/>
59 - <upstream>
60 - <remote-id type="pypi">oauth2</remote-id>
61 - <remote-id type="github">joestump/python-oauth2</remote-id>
62 - </upstream>
63 -</pkgmetadata>
64
65 diff --git a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
66 deleted file mode 100644
67 index dcf5e4e10dd..00000000000
68 --- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild
69 +++ /dev/null
70 @@ -1,40 +0,0 @@
71 -# Copyright 1999-2021 Gentoo Authors
72 -# Distributed under the terms of the GNU General Public License v2
73 -
74 -EAPI=7
75 -
76 -PYTHON_COMPAT=( python3_{8..10} )
77 -
78 -inherit distutils-r1
79 -
80 -MY_P="${P/_p/.post}"
81 -
82 -DESCRIPTION="Library for OAuth version 1.0"
83 -HOMEPAGE="https://pypi.org/project/oauth2/"
84 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
85 -S="${WORKDIR}/${MY_P}"
86 -
87 -LICENSE="MIT"
88 -SLOT="0"
89 -KEYWORDS="amd64 x86 ~x64-macos"
90 -
91 -RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"
92 -DEPEND="
93 - test? ( ${RDEPEND}
94 - dev-python/mock[${PYTHON_USEDEP}]
95 - )"
96 -
97 -# https://github.com/joestump/python-oauth2/pull/212
98 -PATCHES=(
99 - "${FILESDIR}/${PV}-exclude-tests.patch"
100 -)
101 -
102 -distutils_enable_tests pytest
103 -
104 -EPYTEST_DESELECT=(
105 - # These tests require network access
106 - tests/test_oauth.py::TestClient::test_access_token_get
107 - tests/test_oauth.py::TestClient::test_access_token_post
108 - tests/test_oauth.py::TestClient::test_two_legged_get
109 - tests/test_oauth.py::TestClient::test_two_legged_post
110 -)
111
112 diff --git a/profiles/package.mask b/profiles/package.mask
113 index c73ae18e286..75614dac83c 100644
114 --- a/profiles/package.mask
115 +++ b/profiles/package.mask
116 @@ -280,12 +280,6 @@ dev-python/fudge
117 # https://github.com/martinrotter/rssguard/blob/master/resources/docs/Documentation.md#migratt
118 >=net-news/rssguard-4.0.0
119
120 -# Louis Sautier <sbraz@g.o> (2021-09-09)
121 -# No reverse dependencies, no upstream activity for more than 3 years.
122 -# dev-python/oauthlib is maintained and provides the same functionality.
123 -# Removal on 2021-10-09.
124 -dev-python/oauth2
125 -
126 # Thomas Deutschmann <whissi@g.o> (2021-09-07)
127 # Masked while being tested and reverse deps aren't fully compatible
128 # bug #797325.