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

Daniel M. Capella polyzen at gemini.archlinux.org
Sun Sep 4 18:26:09 UTC 2022


    Date: Sunday, September 4, 2022 @ 18:26:09
  Author: polyzen
Revision: 1292868

archrelease: copy trunk to community-any

Added:
  python-authres/repos/community-any/PKGBUILD
    (from rev 1292867, python-authres/trunk/PKGBUILD)
Deleted:
  python-authres/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-04 18:25:45 UTC (rev 1292867)
+++ PKGBUILD	2022-09-04 18:26:09 UTC (rev 1292868)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Rich Li <rich at dranek com>
-# Contributor: Thomas Haider <t.haider at deprecate.de>
-# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
-# Contributor: Samed Beyribey <ras0ir at eventualis.org>
-
-pkgname=python-authres
-pkgver=1.2.0
-pkgrel=7
-pkgdesc='Python Authentication-Results headers generation and parsing'
-arch=('any')
-url=https://launchpad.net/authentication-results-python
-license=('Apache')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/a/authres/authres-$pkgver.tar.gz")
-sha256sums=('93d1b995ad7ce21e62db649f361048125dd6022563a0ae8a23909465f1fd25b7')
- 
-build() {
-  cd authres-$pkgver
-  python setup.py build 
-}
-
-check() {
-  cd authres-$pkgver
-  python -m authres -v
-}
-
-package() {
-  cd authres-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-authres/repos/community-any/PKGBUILD (from rev 1292867, python-authres/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-04 18:26:09 UTC (rev 1292868)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Rich Li <rich at dranek com>
+# Contributor: Thomas Haider <t.haider at deprecate.de>
+# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
+# Contributor: Samed Beyribey <ras0ir at eventualis.org>
+
+pkgname=python-authres
+pkgver=1.2.0
+pkgrel=8
+pkgdesc='Python Authentication-Results headers generation and parsing'
+arch=('any')
+url=https://launchpad.net/authentication-results-python
+license=('Apache')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+             'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/a/authres/authres-$pkgver.tar.gz")
+sha256sums=('93d1b995ad7ce21e62db649f361048125dd6022563a0ae8a23909465f1fd25b7')
+
+build() {
+  cd authres-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd authres-$pkgver
+  python -m authres -v
+}
+
+package() {
+  cd authres-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list