[arch-commits] Commit in python-pam/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Jul 2 18:38:29 UTC 2022
Date: Saturday, July 2, 2022 @ 18:38:29
Author: arojas
Revision: 1243649
archrelease: copy trunk to community-any
Added:
python-pam/repos/community-any/PKGBUILD
(from rev 1243648, python-pam/trunk/PKGBUILD)
Deleted:
python-pam/repos/community-any/PKGBUILD
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++--------------------------
1 file changed, 26 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-02 18:37:41 UTC (rev 1243648)
+++ PKGBUILD 2022-07-02 18:38:29 UTC (rev 1243649)
@@ -1,26 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-pkgname=python-pam
-pkgver=1.8.4
-pkgrel=7
-pkgdesc=" Pure Python interface to the Pluggable Authentication Modules system on Linux"
-arch=('any')
-url="https://github.com/FirefighterBlu3/${pkgname}"
-license=('MIT')
-depends=('pam' 'python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('c856d9c89fedb33951dd8a95727ae57c6887b02d065bbdffd2fd9dbc0183909b')
-validpgpkeys=('766460A814AE0D0066C3EE922AC27DE01E1DFAD6') # David Ford <david at blue-labs.org>
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-pam/repos/community-any/PKGBUILD (from rev 1243648, python-pam/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-02 18:38:29 UTC (rev 1243649)
@@ -0,0 +1,26 @@
+# Maintainer:
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-pam
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="Pure Python interface to the Pluggable Authentication Modules system on Linux"
+arch=('any')
+url="https://github.com/FirefighterBlu3/${pkgname}"
+license=('MIT')
+depends=('pam' 'python-six')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('97235235ba9b82dbae8068d1099508455949b275f77273ca22fdbd8b1fb5d950')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list