[arch-commits] Commit in python-pam/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:38:31 UTC 2020
Date: Thursday, November 12, 2020 @ 17:38:31
Author: foutrelis
Revision: 752740
archrelease: copy trunk to community-staging-any
Added:
python-pam/repos/community-staging-any/
python-pam/repos/community-staging-any/PKGBUILD
(from rev 752739, python-pam/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-pam/repos/community-staging-any/PKGBUILD (from rev 752739, python-pam/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:38:31 UTC (rev 752740)
@@ -0,0 +1,26 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-pam
+pkgver=1.8.4
+pkgrel=5
+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"
+}
More information about the arch-commits
mailing list