[arch-commits] Commit in python-authlib/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 18:47:52 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:47:52
  Author: felixonmars
Revision: 753190

archrelease: copy trunk to community-staging-any

Added:
  python-authlib/repos/community-staging-any/PKGBUILD
    (from rev 753189, python-authlib/trunk/PKGBUILD)
Deleted:
  python-authlib/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 18:47:41 UTC (rev 753189)
+++ PKGBUILD	2020-11-12 18:47:52 UTC (rev 753190)
@@ -1,54 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=authlib
-pkgname=python-authlib
-pkgver=0.15.2
-_commit=1969b567733f6426e5a8e20c5edf3371e9d23e5c
-pkgrel=2
-pkgdesc="The ultimate Python library in building OAuth and OpenID Connect servers"
-arch=('any')
-url="https://github.com/lepture/${_pkgname}"
-license=('BSD')
-depends=('python-cryptography')
-makedepends=('git' 'python-setuptools')
-checkdepends=('python-pytest-asyncio' 'python-pytest-django' 'python-requests'
-              'python-django' 'python-flask-sqlalchemy' 'python-httpx' 'python-starlette')
-source=("git+${url}.git#commit=${_commit}?signed")
-b2sums=('SKIP')
-validpgpkeys=('72F8E895A70CEBDF4F2ADFE07E55E3E0118B2B4C') # Hsiaoming (UJET) <lepture at ujet.co>
-
-pkgver() {
-    cd "${srcdir}"/${_pkgname}
-
-    git describe --exact-match --tags | sed 's/^v//'
-}
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}
-
-    # no need to install an additional copy of the stdlib
-    find tests -name \*.py -exec sed -i 's/^import mock$/from unittest import mock/' {} +
-}
-
-build() {
-    cd "${srcdir}"/${_pkgname}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}
-
-    # Some tests fail is run with Django with Flask tests
-    # https://github.com/lepture/authlib/issues/284
-    python -m pytest --ignore tests/django --ignore tests/flask
-    python -m pytest tests/django
-    python -m pytest tests/flask
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-authlib/repos/community-staging-any/PKGBUILD (from rev 753189, python-authlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 18:47:52 UTC (rev 753190)
@@ -0,0 +1,54 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=authlib
+pkgname=python-authlib
+pkgver=0.15.2
+_commit=1969b567733f6426e5a8e20c5edf3371e9d23e5c
+pkgrel=3
+pkgdesc="The ultimate Python library in building OAuth and OpenID Connect servers"
+arch=('any')
+url="https://github.com/lepture/${_pkgname}"
+license=('BSD')
+depends=('python-cryptography')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-pytest-asyncio' 'python-pytest-django' 'python-requests'
+              'python-django' 'python-flask-sqlalchemy' 'python-httpx' 'python-starlette')
+source=("git+${url}.git#commit=${_commit}?signed")
+b2sums=('SKIP')
+validpgpkeys=('72F8E895A70CEBDF4F2ADFE07E55E3E0118B2B4C') # Hsiaoming (UJET) <lepture at ujet.co>
+
+pkgver() {
+    cd "${srcdir}"/${_pkgname}
+
+    git describe --exact-match --tags | sed 's/^v//'
+}
+
+prepare() {
+    cd "${srcdir}"/${_pkgname}
+
+    # no need to install an additional copy of the stdlib
+    find tests -name \*.py -exec sed -i 's/^import mock$/from unittest import mock/' {} +
+}
+
+build() {
+    cd "${srcdir}"/${_pkgname}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}
+
+    # Some tests fail is run with Django with Flask tests
+    # https://github.com/lepture/authlib/issues/284
+    python -m pytest --ignore tests/django --ignore tests/flask
+    python -m pytest tests/django
+    python -m pytest tests/flask
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list