public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/oauth2/
@ 2023-08-27 19:25 Vitaly Zdanevich
  0 siblings, 0 replies; 2+ messages in thread
From: Vitaly Zdanevich @ 2023-08-27 19:25 UTC (permalink / raw
  To: gentoo-commits

commit:     d7e7e3674a58734894e27bf0819933f080216ee9
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sun Aug 27 19:25:04 2023 +0000
Commit:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
CommitDate: Sun Aug 27 19:25:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d7e7e367

dev-python/oauth2: new package, add 1.9

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 dev-python/oauth2/Manifest          |  1 +
 dev-python/oauth2/metadata.xml      | 25 +++++++++++++++++++++++++
 dev-python/oauth2/oauth2-1.9.ebuild | 31 +++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/dev-python/oauth2/Manifest b/dev-python/oauth2/Manifest
new file mode 100644
index 0000000000..e36d62201c
--- /dev/null
+++ b/dev-python/oauth2/Manifest
@@ -0,0 +1 @@
+DIST oauth2-1.9.gh.tar.gz 27353 BLAKE2B 07fd62f16e4053d2bac7c1ab672fd178967ff20c9e3ecd6a1c31d5898fa0aeb6170944b07b2345f73aa9b2928622e7e0e88f2a96cf0d0bb4ea89417de80917cd SHA512 ba3183aa4e5512920fa540955321646c167d23dfd4bc2fad4d5426e1b71e35e91fe11f6cd919a7913015f9bf33c43849659cb97c862a57b5c2e288ace29ad452

diff --git a/dev-python/oauth2/metadata.xml b/dev-python/oauth2/metadata.xml
new file mode 100644
index 0000000000..1a6a39cdcc
--- /dev/null
+++ b/dev-python/oauth2/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<longdescription lang="en">
+		This library implements OAuth 1.0 and not OAuth 2.0.
+
+		This code was originally forked from Leah Culver and Andy Smith's oauth.py code. Some of the tests come from a fork by Vic Fryzel, while a revamped Request class and more tests were merged in from Mark Paschal's fork. A number of notable differences exist between this code and its forefathers:
+
+		100% unit test coverage.
+		The DataStore object has been completely ripped out. While creating unit tests for the library I found several substantial bugs with the implementation and confirmed with Andy Smith that it was never fully baked.
+		Classes are no longer prefixed with OAuth.
+		The Request class now extends from dict.
+		The library is likely no longer compatible with Python 2.3.
+		The Client class works and extends from httplib2. It's a thin wrapper that handles automatically signing any normal HTTP request you might wish to make.
+	</longdescription>
+	<maintainer type="person">
+		<name>Vitaly Zdanevich</name>
+		<email>zdanevich.vitaly@ya.ru</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">joestump/python-oauth2</remote-id>
+		<remote-id type="pypi">oauth2</remote-id>
+		<bugs-to>https://github.com/joestump/python-oauth2/issues</bugs-to>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/oauth2/oauth2-1.9.ebuild b/dev-python/oauth2/oauth2-1.9.ebuild
new file mode 100644
index 0000000000..99a27e2329
--- /dev/null
+++ b/dev-python/oauth2/oauth2-1.9.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYPI_NO_NORMALIZE=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{3..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A fully tested, abstract interface to creating OAuth clients and servers."
+HOMEPAGE="https://github.com/joestump/python-oauth2"
+SRC_URI="https://github.com/joestump/python-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S=${WORKDIR}/python-${P}
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]
+dev-python/mock[${PYTHON_USEDEP}]
+dev-python/pycodestyle[${PYTHON_USEDEP}]
+dev-python/pytest[${PYTHON_USEDEP}]"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+	rm -rf "${S}/tests"
+	distutils-r1_src_prepare
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/oauth2/
  2024-05-26 12:59 [gentoo-commits] repo/proj/guru:master " Julien Roy
@ 2024-05-26 12:53 ` Julien Roy
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Roy @ 2024-05-26 12:53 UTC (permalink / raw
  To: gentoo-commits

commit:     fac24386c0dbee345d3688bd0460516b1133b70a
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sun May 26 12:48:15 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun May 26 12:53:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fac24386

dev-python/oauth2: treeclean

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-python/oauth2/Manifest          |  1 -
 dev-python/oauth2/metadata.xml      | 25 -------------------------
 dev-python/oauth2/oauth2-1.9.ebuild | 31 -------------------------------
 3 files changed, 57 deletions(-)

diff --git a/dev-python/oauth2/Manifest b/dev-python/oauth2/Manifest
deleted file mode 100644
index e36d62201..000000000
--- a/dev-python/oauth2/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST oauth2-1.9.gh.tar.gz 27353 BLAKE2B 07fd62f16e4053d2bac7c1ab672fd178967ff20c9e3ecd6a1c31d5898fa0aeb6170944b07b2345f73aa9b2928622e7e0e88f2a96cf0d0bb4ea89417de80917cd SHA512 ba3183aa4e5512920fa540955321646c167d23dfd4bc2fad4d5426e1b71e35e91fe11f6cd919a7913015f9bf33c43849659cb97c862a57b5c2e288ace29ad452

diff --git a/dev-python/oauth2/metadata.xml b/dev-python/oauth2/metadata.xml
deleted file mode 100644
index 1a6a39cdc..000000000
--- a/dev-python/oauth2/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<longdescription lang="en">
-		This library implements OAuth 1.0 and not OAuth 2.0.
-
-		This code was originally forked from Leah Culver and Andy Smith's oauth.py code. Some of the tests come from a fork by Vic Fryzel, while a revamped Request class and more tests were merged in from Mark Paschal's fork. A number of notable differences exist between this code and its forefathers:
-
-		100% unit test coverage.
-		The DataStore object has been completely ripped out. While creating unit tests for the library I found several substantial bugs with the implementation and confirmed with Andy Smith that it was never fully baked.
-		Classes are no longer prefixed with OAuth.
-		The Request class now extends from dict.
-		The library is likely no longer compatible with Python 2.3.
-		The Client class works and extends from httplib2. It's a thin wrapper that handles automatically signing any normal HTTP request you might wish to make.
-	</longdescription>
-	<maintainer type="person">
-		<name>Vitaly Zdanevich</name>
-		<email>zdanevich.vitaly@ya.ru</email>
-	</maintainer>
-	<upstream>
-		<remote-id type="github">joestump/python-oauth2</remote-id>
-		<remote-id type="pypi">oauth2</remote-id>
-		<bugs-to>https://github.com/joestump/python-oauth2/issues</bugs-to>
-	</upstream>
-</pkgmetadata>

diff --git a/dev-python/oauth2/oauth2-1.9.ebuild b/dev-python/oauth2/oauth2-1.9.ebuild
deleted file mode 100644
index 602912ffe..000000000
--- a/dev-python/oauth2/oauth2-1.9.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYPI_NO_NORMALIZE=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{3..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="A fully tested, abstract interface to creating OAuth clients and servers."
-HOMEPAGE="https://github.com/joestump/python-oauth2"
-SRC_URI="https://github.com/joestump/python-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-S="${WORKDIR}"/python-${P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]
-dev-python/mock[${PYTHON_USEDEP}]
-dev-python/pycodestyle[${PYTHON_USEDEP}]
-dev-python/pytest[${PYTHON_USEDEP}]"
-
-src_prepare() {
-	rm -rf "${S}/tests"
-	distutils-r1_src_prepare
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-26 12:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-27 19:25 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/oauth2/ Vitaly Zdanevich
  -- strict thread matches above, loose matches on Subject: below --
2024-05-26 12:59 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-26 12:53 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox