[arch-commits] Commit in python-django-allauth/repos/community-staging-any (3 files)

David Runge dvzrv at gemini.archlinux.org
Thu Dec 9 20:22:37 UTC 2021


    Date: Thursday, December 9, 2021 @ 20:22:37
  Author: dvzrv
Revision: 1065891

archrelease: copy trunk to community-staging-any

Added:
  python-django-allauth/repos/community-staging-any/PKGBUILD
    (from rev 1065890, python-django-allauth/trunk/PKGBUILD)
Deleted:
  python-django-allauth/repos/community-staging-any/PKGBUILD
  python-django-allauth/repos/community-staging-any/python-django-allauth-0.46.0-python-pyjwt-2.2.0.patch

-------------------------------------------------------+
 PKGBUILD                                              |   92 ++++++----------
 python-django-allauth-0.46.0-python-pyjwt-2.2.0.patch |   11 -
 2 files changed, 40 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-09 20:22:26 UTC (rev 1065890)
+++ PKGBUILD	2021-12-09 20:22:37 UTC (rev 1065891)
@@ -1,52 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=django-allauth
-pkgname=python-django-allauth
-pkgver=0.46.0
-pkgrel=3
-pkgdesc="Authentication, registration, account management and 3rd party account authentication"
-arch=('any')
-url="https://github.com/pennersr/django-allauth"
-license=('MIT')
-depends=('python-django' 'python-openid' 'python-requests'
-'python-requests-oauthlib' 'python-pyjwt')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-pytest')
-# tests are not available in pypi sdist:
-# https://github.com/pennersr/django-allauth/issues/2439
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-source=(
-  "${_name}-${pkgver}.tar.gz::https://github.com/pennersr/${_name}/archive/${pkgver}.tar.gz"
-  "${pkgname}-0.46.0-python-pyjwt-2.2.0.patch"
-)
-sha512sums=('cb7f2195861fcd54cb8f9aa1b0af3915dc038a3cf4fff3d0e0c74ee5602f4dbdc386a9583a1d3814d398fa5c67c888aa3a2d1ae9525581ff91814cad023d4e17'
-            '57671f180534c7372534077f0ae74de23afd99ecb8e39767fb65134133c88863e6f6da64ca3e62ed91880a811b235ec79f7e7bab30da4a4e70c61d949d2a34b3')
-b2sums=('67fc03fa8e2377bc87a9a52cd4f51cb33be3d91ba9079a82150ff15059efd1e74a49b3b4c17d879a0528a287e29d8747fbc9e243c865c0e3ee9c81afe0ecaa3f'
-        '18c4749d2ba8334b4ba060499a42c15fe0ad925ec4480fece7a934302a05abf0a44c3674f472ea953dc31323e30216b036603b72dff2c0ceb4f4ab7be6e10448')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-
-  cd "$pkgname-$pkgver"
-  # remove unused jwt.decode() parameter
-  # https://github.com/pennersr/django-allauth/issues/2977
-  patch -Np1 -i ../"${pkgname}-0.46.0-python-pyjwt-2.2.0.patch"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  python manage.py test allauth
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-django-allauth/repos/community-staging-any/PKGBUILD (from rev 1065890, python-django-allauth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-09 20:22:37 UTC (rev 1065891)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=django-allauth
+pkgname=python-django-allauth
+pkgver=0.47.0
+pkgrel=2
+pkgdesc="Authentication, registration, account management and 3rd party account authentication"
+arch=(any)
+url="https://github.com/pennersr/django-allauth"
+license=(MIT)
+depends=(python-django python-openid python-requests python-requests-oauthlib
+python-pyjwt)
+makedepends=(python-setuptools)
+checkdepends=(python-mock python-pytest)
+# tests are not available in pypi sdist:
+# https://github.com/pennersr/django-allauth/issues/2439
+# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+source=(
+  "${_name}-${pkgver}.tar.gz::https://github.com/pennersr/${_name}/archive/${pkgver}.tar.gz"
+)
+sha512sums=('535f333523f2f72a0c33aecaa974817fb2bd0bc1ac6cd0d8c77ead4b71d2521f3822886ae394202a67c023e645e3ac1923345232691205afa725f04077ea0377')
+b2sums=('9cfdb92c1f35acf1da8721346f3386e1ca770e0c86998373e51e3d6da2b158711f1230cab3959361ce1cbac6bccf17f723a776b01f178e860d604ed53aae2940')
+
+build() {
+  cd "${_name}-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "${_name}-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  python manage.py test allauth
+}
+
+package() {
+  cd "${_name}-$pkgver"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Deleted: python-django-allauth-0.46.0-python-pyjwt-2.2.0.patch
===================================================================
--- python-django-allauth-0.46.0-python-pyjwt-2.2.0.patch	2021-12-09 20:22:26 UTC (rev 1065890)
+++ python-django-allauth-0.46.0-python-pyjwt-2.2.0.patch	2021-12-09 20:22:37 UTC (rev 1065891)
@@ -1,11 +0,0 @@
-diff -ruN a/allauth/socialaccount/providers/apple/views.py b/allauth/socialaccount/providers/apple/views.py
---- a/allauth/socialaccount/providers/apple/views.py	2021-11-15 17:23:50.000000000 +0100
-+++ b/allauth/socialaccount/providers/apple/views.py	2021-11-15 19:38:17.285418437 +0100
-@@ -68,7 +68,6 @@
-                 id_token,
-                 public_key,
-                 algorithms=["RS256"],
--                verify=True,
-                 audience=allowed_auds,
-                 issuer="https://appleid.apple.com",
-             )



More information about the arch-commits mailing list