[gentoo-commits] repo/proj/guru:dev commit in: dev-python/oauth2/
commit: fac24386c0dbee345d3688bd0460516b1133b70a Author: Julien Roy jroy ca> AuthorDate: Sun May 26 12:48:15 2024 + Commit: Julien Roy jroy ca> CommitDate: Sun May 26 12:53:17 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fac24386 dev-python/oauth2: treeclean Signed-off-by: Julien Roy 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..0 --- 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..0 --- a/dev-python/oauth2/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ - -https://www.gentoo.org/dtd/metadata.dtd;> - - - 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. - - - Vitaly Zdanevich - zdanevich.vit...@ya.ru - - - joestump/python-oauth2 - oauth2 - https://github.com/joestump/python-oauth2/issues - - diff --git a/dev-python/oauth2/oauth2-1.9.ebuild b/dev-python/oauth2/oauth2-1.9.ebuild deleted file mode 100644 index 602912ffe..0 --- 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/oauth2/
commit: d7e7e3674a58734894e27bf0819933f080216ee9 Author: Vitaly Zdanevich ya ru> AuthorDate: Sun Aug 27 19:25:04 2023 + Commit: Vitaly Zdanevich ya ru> CommitDate: Sun Aug 27 19:25:04 2023 + 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 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 00..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 00..1a6a39cdcc --- /dev/null +++ b/dev-python/oauth2/metadata.xml @@ -0,0 +1,25 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + 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. + + + Vitaly Zdanevich + zdanevich.vit...@ya.ru + + + joestump/python-oauth2 + oauth2 + https://github.com/joestump/python-oauth2/issues + + diff --git a/dev-python/oauth2/oauth2-1.9.ebuild b/dev-python/oauth2/oauth2-1.9.ebuild new file mode 100644 index 00..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 +}