summaryrefslogtreecommitdiff
path: root/dev-python/django-allauth
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/django-allauth')
-rw-r--r--dev-python/django-allauth/Manifest6
-rw-r--r--dev-python/django-allauth/django-allauth-65.13.1.ebuild74
-rw-r--r--dev-python/django-allauth/django-allauth-65.7.0.ebuild73
-rw-r--r--dev-python/django-allauth/files/fido2.patch53
-rw-r--r--dev-python/django-allauth/metadata.xml12
5 files changed, 0 insertions, 218 deletions
diff --git a/dev-python/django-allauth/Manifest b/dev-python/django-allauth/Manifest
deleted file mode 100644
index 77ef13d88511..000000000000
--- a/dev-python/django-allauth/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX fido2.patch 1581 BLAKE2B 201d7e29f5bc8177284d17ac833c090c3d881eb7e0b3a64e0ee3900b4b568435b52a767078973646bdd66434e184911881ce8c7de07d5840cb681ad40aa9aac8 SHA512 cd19c46068129d138a09ff14e8457ec39110ee30bdb0f2875d6b67a4443796f0269199f1f8ffe848ac119117860c47dce41dc9dfe3af41f08b6b19b0a461ed19
-DIST django-allauth-65.13.1.gh.tar.gz 1545572 BLAKE2B 8545f90b7490cb607b78f887f3eeeb4bb7d6471ff86798ad10a56095911fef8dcff983f70d530d43e94ac4d9e208a82d9212f69aea1d5b428e46f54336b6f3ac SHA512 7287a81e3a218b0add9aec36b67f7d5fa097caf2f1dc9c5091320962f13deaae012db59af4fcdcb0c67a7b0877737510016ceefdf51ec26b5536f34a49242d97
-DIST django-allauth-65.7.0.gh.tar.gz 1394096 BLAKE2B 0b6a0dbb8ea534f9ff27188a39a4d2a5bffd8897df1a3a69bd8c2ef9328f2fb04a8b8c288d99b0573be36e7e445609fdc6fb69e508be79ff97996b92ede5ac17 SHA512 7c1b4dadd72017b173b898e50c4c1d3365ef433facdd8b92281d158b594c51b63a406a41b0669c93daf22b65a9a7903946f179c1f56010051186aa54d338163e
-EBUILD django-allauth-65.13.1.ebuild 2302 BLAKE2B ed3f352f057041d48fc9a4f96c093725779166e7c92a90992a60cd226e8d9e2719e042dbb7b2f595434171766473f92bb8b76697d85b44c9098ac5a5e76c5d72 SHA512 c0ba01f783c49a34a51301688fb985a779c6f3c2045b0bc85f8ad1e6f34a43ca14a9c8e1bcf97618a7f6c0de890b3531fd5459917570ddbf67660161e046de4c
-EBUILD django-allauth-65.7.0.ebuild 2122 BLAKE2B b234c86a99572c2dc981e47220092b5791c417034782a9d72f7f9af886b99a59062e25192c97fc053c0eec867abdc33feef06b28c38dd73afe7d587c4d35efdc SHA512 dea413b59df692c9497b4c279bbdbb5a8dbac04b296e5489791c5e00efdd2361fe2a383f6e98f3b49decf5e26db67757528178cb92a96179659a85149a146173
-MISC metadata.xml 467 BLAKE2B e7467950c489e3497a838a7cc47cbc3172c64a5a26048131e912ab5149ca865a31798458163e915d9afc749969523c5d10156425a5ea1e323f25363d8a3764fc SHA512 b0c60fd75f3f07991750c87f3caa1e1d5cd53f15262377c0f4a33e89c9ff6ada1e18e8a115bf52b566f09b77e2bb2387509f61f06ba0aa81edd91bece9448cda
diff --git a/dev-python/django-allauth/django-allauth-65.13.1.ebuild b/dev-python/django-allauth/django-allauth-65.13.1.ebuild
deleted file mode 100644
index 80f2943c2bec..000000000000
--- a/dev-python/django-allauth/django-allauth-65.13.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Django 3rd party (social) account authentication"
-HOMEPAGE="
- https://allauth.org/
- https://github.com/pennersr/django-allauth/
- https://pypi.org/project/django-allauth/
-"
-SRC_URI="https://github.com/pennersr/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-python/asgiref-3.8.1[${PYTHON_USEDEP}]
- >=dev-python/django-4.2.16[${PYTHON_USEDEP}]
- >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}]
- <dev-python/pyjwt-3[${PYTHON_USEDEP}]
- >=dev-python/oauthlib-3.3.0[${PYTHON_USEDEP}]
- <dev-python/oauthlib-4[${PYTHON_USEDEP}]
- >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
- <dev-python/requests-3[${PYTHON_USEDEP}]
-"
-# cryptography via pyjwt[crypto]
-RDEPEND+="
- dev-python/cryptography[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-python/setuptools-scm[${PYTHON_USEDEP}]
- test? (
- >=dev-python/django-ninja-1.3.0[${PYTHON_USEDEP}]
- <dev-python/django-ninja-2[${PYTHON_USEDEP}]
- >=dev-python/djangorestframework-3.15.2[${PYTHON_USEDEP}]
- <dev-python/djangorestframework-4[${PYTHON_USEDEP}]
- >=dev-python/fido2-1.1.2[${PYTHON_USEDEP}]
- <dev-python/fido2-3[${PYTHON_USEDEP}]
- dev-python/psycopg[${PYTHON_USEDEP}]
- >=dev-python/pytest-asyncio-0.23.8[${PYTHON_USEDEP}]
- >=dev-python/pytest-django-4.5.2[${PYTHON_USEDEP}]
- >=dev-python/python3-openid-3.0.8[${PYTHON_USEDEP}]
- <dev-python/python3-openid-4[${PYTHON_USEDEP}]
- >=dev-python/python3-saml-1.15.0[${PYTHON_USEDEP}]
- <dev-python/python3-saml-2.0.0[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-6[${PYTHON_USEDEP}]
- <dev-python/pyyaml-7[${PYTHON_USEDEP}]
- >=dev-python/qrcode-7.0.0[${PYTHON_USEDEP}]
- <dev-python/qrcode-9[${PYTHON_USEDEP}]
- )
-"
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-
-DOCS=( README.rst AUTHORS ChangeLog.rst )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
- dev-python/sphinx-rtd-theme
-
-pkg_postinst() {
- optfeature "MFA (Multi-factor authentication)" dev-python/qrcode dev-python/fido2
- optfeature "OpenID or Steam" dev-python/python3-openid
- optfeature "SAML authentication" dev-python/python3-saml
-}
diff --git a/dev-python/django-allauth/django-allauth-65.7.0.ebuild b/dev-python/django-allauth/django-allauth-65.7.0.ebuild
deleted file mode 100644
index 6da2b8665844..000000000000
--- a/dev-python/django-allauth/django-allauth-65.7.0.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Django 3rd party (social) account authentication"
-HOMEPAGE="
- https://allauth.org/
- https://github.com/pennersr/django-allauth/
- https://pypi.org/project/django-allauth/
-"
-SRC_URI="https://github.com/pennersr/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-python/django-3.2[${PYTHON_USEDEP}]
- >=dev-python/pyjwt-1.7[${PYTHON_USEDEP}]
- >=dev-python/requests-oauthlib-0.3.0[${PYTHON_USEDEP}]
- >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-"
-# cryptography via pyjwt[crypto]
-RDEPEND+="
- dev-python/cryptography[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- >=dev-python/djangorestframework-3.15.2[${PYTHON_USEDEP}]
- >=dev-python/fido2-1.1.2[${PYTHON_USEDEP}]
- >=dev-python/pillow-9.0[${PYTHON_USEDEP}]
- dev-python/psycopg[${PYTHON_USEDEP}]
- >=dev-python/pytest-asyncio-0.23.8[${PYTHON_USEDEP}]
- >=dev-python/pytest-django-4.5.2[${PYTHON_USEDEP}]
- >=dev-python/python3-openid-3.0.8[${PYTHON_USEDEP}]
- >=dev-python/python3-saml-1.15.0[${PYTHON_USEDEP}]
- <dev-python/python3-saml-2.0.0[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-6.0.2[${PYTHON_USEDEP}]
- >=dev-python/qrcode-7.0.0[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=( "${FILESDIR}/fido2.patch" )
-
-DOCS=( README.rst AUTHORS ChangeLog.rst )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
- dev-python/sphinx-rtd-theme
-
-EPYTEST_IGNORE=(
- # Requires django-ninja
- allauth/headless/contrib/ninja/tests/test_security.py
-)
-EPYTEST_DESELECT=(
- # Require network
- allauth/socialaccount/providers/openid/tests.py::OpenIDTests::test_login
- allauth/socialaccount/providers/openid/tests.py::OpenIDTests::test_login_with_extra_attributes
-)
-
-pkg_postinst() {
- optfeature "MFA (Multi-factor authentication)" dev-python/qrcode dev-python/fido2
- optfeature "OpenID or Steam" dev-python/python3-openid
- optfeature "SAML authentication" dev-python/python3-saml
-}
diff --git a/dev-python/django-allauth/files/fido2.patch b/dev-python/django-allauth/files/fido2.patch
deleted file mode 100644
index 8d70c5234487..000000000000
--- a/dev-python/django-allauth/files/fido2.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From cae122759be28047727787e1eb4955c56553ede1 Mon Sep 17 00:00:00 2001
-From: Raymond Penners <raymond.penners@intenct.nl>
-Date: Tue, 20 May 2025 18:41:14 +0200
-Subject: [PATCH] fix(webauthn): fido2 v2 compatibility
-
----
- allauth/mfa/webauthn/internal/auth.py | 7 +++++--
- setup.cfg | 10 +++++-----
- 2 files changed, 10 insertions(+), 7 deletions(-)
-
-diff --git a/allauth/mfa/webauthn/internal/auth.py b/allauth/mfa/webauthn/internal/auth.py
-index d0751d7aa4..22bae81223 100644
---- a/allauth/mfa/webauthn/internal/auth.py
-+++ b/allauth/mfa/webauthn/internal/auth.py
-@@ -23,8 +23,11 @@
- from allauth.mfa.models import Authenticator
-
-
--fido2.features.webauthn_json_mapping.enabled = True
--
-+try:
-+ fido2.features.webauthn_json_mapping.enabled = True # type:ignore[attr-defined]
-+except AttributeError:
-+ # https://github.com/Yubico/python-fido2/blob/main/doc/Migration_1-2.adoc
-+ pass
-
- STATE_SESSION_KEY = "mfa.webauthn.state"
- EXTENSIONS = {"credProps": True}
---- a/setup.cfg 2025-04-03 07:48:54.000000000 -0000
-+++ b/setup.cfg 2025-06-16 17:24:37.557366540 -0000
-@@ -52,17 +52,17 @@
-
- [options.extras_require]
- mfa =
-- qrcode >= 7.0.0
-- fido2 >= 1.1.2
-+ qrcode >= 7.0.0,<9
-+ fido2 >= 1.1.2,<3
- openid =
-- python3-openid >= 3.0.8
-+ python3-openid >= 3.0.8,<4
- saml =
- python3-saml>=1.15.0,<2.0.0
- steam =
-- python3-openid >= 3.0.8
-+ python3-openid >= 3.0.8,<4
- socialaccount =
- requests-oauthlib >= 0.3.0
-- requests >= 2.0.0
-+ requests >= 2.0.0,<3
- pyjwt[crypto] >= 1.7
-
- [options.packages.find]
diff --git a/dev-python/django-allauth/metadata.xml b/dev-python/django-allauth/metadata.xml
deleted file mode 100644
index a9182cef5ca3..000000000000
--- a/dev-python/django-allauth/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>marcin.deranek@slonko.net</email>
- <name>Marcin Deranek</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/pennersr/django-allauth/issues</bugs-to>
- </upstream>
- <origin>slonko-overlay</origin>
-</pkgmetadata> \ No newline at end of file