python-pam: switch to maintained fork
Also, python3-pam was missing noarch=yes and pycompile_module.
This commit is contained in:
parent
ccccbb2ed4
commit
751f1cc54c
3 changed files with 25 additions and 30 deletions
|
@ -1,17 +1,30 @@
|
||||||
# Template file for 'python-pam'
|
# Template file for 'python-pam'
|
||||||
pkgname=python-pam
|
pkgname=python-pam
|
||||||
version=0.1.4
|
version=1.8.4
|
||||||
revision=6
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname/python-}-${version}"
|
build_style=python-module
|
||||||
build_style=python2-module
|
|
||||||
hostmakedepends="python-setuptools"
|
|
||||||
makedepends="python-devel pam-devel"
|
|
||||||
depends="python pam"
|
|
||||||
pycompile_module="pam.py"
|
pycompile_module="pam.py"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python pam"
|
||||||
short_desc="Python2 module for PAM authentication"
|
short_desc="Python2 module for PAM authentication"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="John <johnz@posteo.net>"
|
||||||
homepage="http://atlee.ca/software/pam/"
|
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/p/pam/${pkgname/python-/}-${version}.tar.gz"
|
homepage="https://github.com/FirefighterBlu3/python-pam"
|
||||||
checksum=35e88575afc37a2a5f96e20b22fa55d3e3213370d4ce640af1597c2a1dde226b
|
distfiles="https://github.com/FirefighterBlu3/python-pam/archive/v${version}.tar.gz"
|
||||||
|
checksum=fa048ca74f08de1390b2576754c05327700a7ebc3d05511f0329a04ebe1aeaa3
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-pam_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3 pam"
|
||||||
|
pycompile_module="pam.py"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-pam
Symbolic link
1
srcpkgs/python3-pam
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-pam
|
|
@ -1,19 +0,0 @@
|
||||||
# Template file for 'python3-pam'
|
|
||||||
pkgname=python3-pam
|
|
||||||
version=1.8.4
|
|
||||||
revision=1
|
|
||||||
wrksrc="${pkgname/3}-${version}"
|
|
||||||
build_style=python3-module
|
|
||||||
hostmakedepends="python3-setuptools"
|
|
||||||
makedepends="python3-devel pam-devel"
|
|
||||||
depends="python3 pam"
|
|
||||||
short_desc="Python pam module supporting py3"
|
|
||||||
maintainer="John <johnz@posteo.net>"
|
|
||||||
license="MIT"
|
|
||||||
homepage="https://github.com/FirefighterBlu3/python-pam"
|
|
||||||
distfiles="https://github.com/FirefighterBlu3/python-pam/archive/v${version}.tar.gz"
|
|
||||||
checksum=fa048ca74f08de1390b2576754c05327700a7ebc3d05511f0329a04ebe1aeaa3
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue