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

David Runge dvzrv at gemini.archlinux.org
Mon Apr 4 16:23:15 UTC 2022


    Date: Monday, April 4, 2022 @ 16:23:15
  Author: dvzrv
Revision: 1181311

archrelease: copy trunk to community-any

Added:
  python-django-allauth/repos/community-any/PKGBUILD
    (from rev 1181310, python-django-allauth/trunk/PKGBUILD)
Deleted:
  python-django-allauth/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   77 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 37 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-04 16:23:08 UTC (rev 1181310)
+++ PKGBUILD	2022-04-04 16:23:15 UTC (rev 1181311)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=django-allauth
-pkgname=python-django-allauth
-pkgver=0.49.0
-pkgrel=1
-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=('76c1af7758a82fb9176b93f8d4da030c0022b686a993c08a0cbf0ca975a224b076927c69bd7cc61294605d77f6bab8d50d0c8dbbe7f01329e3ee689fa7e68678')
-b2sums=('0bfa20c97fe75263343f29bd13fbca7c075f775f7e5fde64faaffd062e04ee7af8bbf442bbf50763ec0f3df355e6990c77d8ab4c3494cf9ebd442dc43e340225')
-
-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"
-}

Copied: python-django-allauth/repos/community-any/PKGBUILD (from rev 1181310, python-django-allauth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-04 16:23:15 UTC (rev 1181311)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=django-allauth
+pkgname=python-django-allauth
+pkgver=0.50.0
+pkgrel=1
+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-build python-installer python-setuptools python-wheel)
+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=('7c1870d28c7123628239f8cddda7fd6f1c9ebd847ebfbad87b7a432a7515a9a9a0541a89a96c57a4137f0fb038168a601a25ee60e894258d514b2dc7db4f1d79')
+b2sums=('936358529a067b68e55fcb4131b9a862f58a8df006f1cd47a693d264125c8da1b89dc304eb68c5b3f1f0b76aba454eaad0cd53efd5ade5b3a501bac3d43cdb8a')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python manage.py test allauth
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list