[arch-commits] Commit in python-pam/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 4 09:14:03 UTC 2019


    Date: Monday, November 4, 2019 @ 09:14:02
  Author: foutrelis
Revision: 523848

archrelease: copy trunk to community-staging-any

Added:
  python-pam/repos/community-staging-any/
  python-pam/repos/community-staging-any/PKGBUILD
    (from rev 523847, python-pam/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: python-pam/repos/community-staging-any/PKGBUILD (from rev 523847, python-pam/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 09:14:02 UTC (rev 523848)
@@ -0,0 +1,37 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgbase=python-pam
+pkgname=(python-pam python2-pam)
+pkgver=1.8.4
+pkgrel=3
+pkgdesc=" Pure Python interface to the Pluggable Authentication Modules system on Linux"
+arch=('any')
+url="https://github.com/FirefighterBlu3/${pkgbase}"
+license=('MIT')
+depends=('pam')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${pkgbase:0:1}/${pkgbase}/${pkgbase}-${pkgver}.tar.gz")
+sha256sums=('c856d9c89fedb33951dd8a95727ae57c6887b02d065bbdffd2fd9dbc0183909b')
+validpgpkeys=('766460A814AE0D0066C3EE922AC27DE01E1DFAD6') # David Ford <david at blue-labs.org>
+
+build() {
+	cd "${srcdir}/${pkgbase}-${pkgver}"
+	python setup.py build
+	python2 setup.py build
+}
+
+package_python-pam() {
+    depends+=('python')
+	cd "${srcdir}/${pkgbase}-${pkgver}"
+
+	python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-pam() {
+    depends+=('python2')
+	cd "${srcdir}/${pkgbase}-${pkgver}"
+
+	python2 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