1 |
commit: e259d87f83659d2e2f3b03011d71b315342b7138 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 23 07:36:53 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 23 08:12:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e259d87f |
7 |
|
8 |
dev-python/django-allauth: Bump to 0.49.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/django-allauth/Manifest | 1 + |
13 |
.../django-allauth/django-allauth-0.49.0.ebuild | 47 ++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/django-allauth/Manifest b/dev-python/django-allauth/Manifest |
17 |
index a2d43a1a2ba5..86c2ffecb86d 100644 |
18 |
--- a/dev-python/django-allauth/Manifest |
19 |
+++ b/dev-python/django-allauth/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST django-allauth-0.47.0.tar.gz 649860 BLAKE2B 9d230c546f5615a38be5fc915f080c44765c52f315910436af6e698af860efdf0debbe72a7d754cc7bd90a9791cd8647e3a186c748385c2d6e1f91a8ea8fc619 SHA512 b96acb3f44d5c04bef992cd5905e5cb3643d0329b10d9ae7df08f55a80c59bca8b59537a192f8de61b3776842fe166463e001a08585d5f701eeb839882cb6dac |
22 |
DIST django-allauth-0.48.0.tar.gz 658354 BLAKE2B 118b5ec1e02d39c437257ad7abc4b8970ccade3d6d129ba0bfb6149a8b79ce7ccc4206018ae08d89cfd07f63aabb65b1bdb09a683eeb47148ab891210ddceab2 SHA512 74390c0137cbd5b9351229fa659c2ae607e02b430e10751fc1588660772e74520fb495e0b8d7ef65d38e73168acefc30c608a69ee676b1ccf6644c83e18a6582 |
23 |
+DIST django-allauth-0.49.0.tar.gz 702336 BLAKE2B 0f39ff98e8e6d18b80e2ce858dcc104a0bf41eded6d1211f157c158030a65494bfbdc522d37242247d260413d75bd73f4d50bc53e9993d3bd6517b062faccee8 SHA512 134c578c65c61da393cbdb2a2f3ea3fdc32479371af0106af8f97eb794315c3025a705fb659a81b11618924dc2968c57dbcf1fdc03cec023de14deb94307d8de |
24 |
|
25 |
diff --git a/dev-python/django-allauth/django-allauth-0.49.0.ebuild b/dev-python/django-allauth/django-allauth-0.49.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..e44b2c123562 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/django-allauth/django-allauth-0.49.0.ebuild |
30 |
@@ -0,0 +1,47 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Django 3rd party (social) account authentication" |
42 |
+HOMEPAGE=" |
43 |
+ https://www.intenct.nl/projects/django-allauth/ |
44 |
+ https://github.com/pennersr/django-allauth/" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+IUSE="test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/django[${PYTHON_USEDEP}] |
55 |
+ dev-python/pyjwt[${PYTHON_USEDEP}] |
56 |
+ dev-python/python3-openid[${PYTHON_USEDEP}] |
57 |
+ dev-python/requests-oauthlib[${PYTHON_USEDEP}] |
58 |
+ dev-python/requests[${PYTHON_USEDEP}]" |
59 |
+# cryptography via pyjwt[crypto] |
60 |
+RDEPEND+=" |
61 |
+ dev-python/cryptography[${PYTHON_USEDEP}]" |
62 |
+BDEPEND=" |
63 |
+ test? ( ${RDEPEND} )" |
64 |
+ |
65 |
+DOCS=( README.rst AUTHORS ChangeLog.rst ) |
66 |
+ |
67 |
+src_test() { |
68 |
+ # cern provider tests require Internet |
69 |
+ rm allauth/socialaccount/providers/cern/tests.py || die |
70 |
+ distutils-r1_src_test |
71 |
+} |
72 |
+ |
73 |
+python_test() { |
74 |
+ local -x DJANGO_SETTINGS_MODULE=test_settings |
75 |
+ local -x PYTHONPATH=. |
76 |
+ django-admin test -v 2 || die "Tests failed with ${EPYTHON}" |
77 |
+} |