[arch-commits] Commit in python-pam/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Wed Jan 1 21:48:30 UTC 2020
Date: Wednesday, January 1, 2020 @ 21:48:30
Author: eschwartz
Revision: 545954
archrelease: copy trunk to community-any
Added:
python-pam/repos/community-any/PKGBUILD
(from rev 545953, python-pam/trunk/PKGBUILD)
Deleted:
python-pam/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 +++++++++++++++++++++++++------------------------------------
1 file changed, 26 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-01 21:48:03 UTC (rev 545953)
+++ PKGBUILD 2020-01-01 21:48:30 UTC (rev 545954)
@@ -1,37 +0,0 @@
-# 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"
-}
Copied: python-pam/repos/community-any/PKGBUILD (from rev 545953, python-pam/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-01 21:48:30 UTC (rev 545954)
@@ -0,0 +1,26 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-pam
+pkgver=1.8.4
+pkgrel=4
+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