commit:     e12d02a090f9ebd342335d01e285634805cbb95e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  4 08:55:01 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb  4 10:26:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12d02a0

dev-python/django-allauth: Bump to 0.48.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/django-allauth/Manifest                 |  1 +
 .../django-allauth/django-allauth-0.48.0.ebuild    | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/django-allauth/Manifest 
b/dev-python/django-allauth/Manifest
index cd6ca80e174f..1ab52857b125 100644
--- a/dev-python/django-allauth/Manifest
+++ b/dev-python/django-allauth/Manifest
@@ -1,3 +1,4 @@
 DIST django-allauth-0.45.0.tar.gz 581007 BLAKE2B 
a0f586818e4d17ece5ed009481b71c0213bf265f45d391664d411268d53124c1d5df226ca40d98722691ace5f5ed50026b0a9db3bd34070ff855059bf3e237d6
 SHA512 
16b166a5f97e62fef3c801af17b6b7569bd27e597cec394032a2644397afc30512f52f0ff77af8036e414086cd207dc9f5d310dbc744627b55938243ba18e50f
 DIST django-allauth-0.46.0.tar.gz 643238 BLAKE2B 
91534f596e3fa2e6fa5e395bded16a793ccbec994a3099eef22980920013280f58b2204d226975c2fe7a7e2066b665789881a9bcc6d2342f70a9eb0b83c32f6c
 SHA512 
8e89d6d6a10566e40f71845885c30c36994aef3ff9054731a7582484d12ff4c7df7903617777698e42838337ae436c41a59a318acc1d2fc0561883683f79df46
 DIST django-allauth-0.47.0.tar.gz 649860 BLAKE2B 
9d230c546f5615a38be5fc915f080c44765c52f315910436af6e698af860efdf0debbe72a7d754cc7bd90a9791cd8647e3a186c748385c2d6e1f91a8ea8fc619
 SHA512 
b96acb3f44d5c04bef992cd5905e5cb3643d0329b10d9ae7df08f55a80c59bca8b59537a192f8de61b3776842fe166463e001a08585d5f701eeb839882cb6dac
+DIST django-allauth-0.48.0.tar.gz 658354 BLAKE2B 
118b5ec1e02d39c437257ad7abc4b8970ccade3d6d129ba0bfb6149a8b79ce7ccc4206018ae08d89cfd07f63aabb65b1bdb09a683eeb47148ab891210ddceab2
 SHA512 
74390c0137cbd5b9351229fa659c2ae607e02b430e10751fc1588660772e74520fb495e0b8d7ef65d38e73168acefc30c608a69ee676b1ccf6644c83e18a6582

diff --git a/dev-python/django-allauth/django-allauth-0.48.0.ebuild 
b/dev-python/django-allauth/django-allauth-0.48.0.ebuild
new file mode 100644
index 000000000000..8a0f79e402a0
--- /dev/null
+++ b/dev-python/django-allauth/django-allauth-0.48.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Django 3rd party (social) account authentication"
+HOMEPAGE="
+       https://www.intenct.nl/projects/django-allauth/
+       https://github.com/pennersr/django-allauth/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# cryptography via pyjwt[crypto]
+RDEPEND="
+       dev-python/cryptography[${PYTHON_USEDEP}]
+       dev-python/django[${PYTHON_USEDEP}]
+       dev-python/pyjwt[${PYTHON_USEDEP}]
+       dev-python/python3-openid[${PYTHON_USEDEP}]
+       dev-python/requests-oauthlib[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]"
+BDEPEND="
+       test? ( ${RDEPEND} )"
+
+DOCS=( README.rst AUTHORS ChangeLog.rst )
+
+src_test() {
+       # cern provider tests require Internet
+       rm allauth/socialaccount/providers/cern/tests.py || die
+       distutils-r1_src_test
+}
+
+python_test() {
+       local -x DJANGO_SETTINGS_MODULE=test_settings
+       local -x PYTHONPATH=.
+       django-admin test -v 2 || die "Tests failed with ${EPYTHON}"
+}

Reply via email to