[arch-commits] Commit in python-django-allauth/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun May 24 22:19:07 UTC 2020
Date: Sunday, May 24, 2020 @ 22:19:07
Author: dvzrv
Revision: 633637
archrelease: copy trunk to community-any
Added:
python-django-allauth/repos/community-any/PKGBUILD
(from rev 633636, python-django-allauth/trunk/PKGBUILD)
Deleted:
python-django-allauth/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-24 22:19:02 UTC (rev 633636)
+++ PKGBUILD 2020-05-24 22:19:07 UTC (rev 633637)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-
-_name=django-allauth
-pkgname=python-django-allauth
-pkgver=0.41.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')
-makedepends=('python-setuptools')
-checkdepends=('python-coverage' '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=('8de27ea209334327918c58174cbe510625428ca74dc8032e50d98caa5aa6e24ed885285e65ba039c12c06d739c0366b46e5fcd7940ec6f02ff2f53f3084d8d08')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- coverage run manage.py test allauth
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --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 633636, python-django-allauth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-24 22:19:07 UTC (rev 633637)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+_name=django-allauth
+pkgname=python-django-allauth
+pkgver=0.42.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')
+makedepends=('python-setuptools')
+checkdepends=('python-coverage' '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=('db12bdd770bf2aac089a9437c9ae4f89d73c9469dd164ea44b0b50a71010274b15d447836b8aec99bdad7eb12767728c68679feb82738410eabc50ce5a71a7ef')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ coverage run manage.py test allauth
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ 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