python-pam: remove python3 flavor
This unmaintained project only supports Python 2. However, a Python 3 fork is available. To be tested at later time.
This commit is contained in:
parent
ee4905cd63
commit
db97c6b85a
2 changed files with 5 additions and 17 deletions
|
@ -1,28 +1,17 @@
|
||||||
# Template file for 'python-pam'
|
# Template file for 'python-pam'
|
||||||
pkgname=python-pam
|
pkgname=python-pam
|
||||||
version=0.1.4
|
version=0.1.4
|
||||||
revision=5
|
revision=6
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname/python-}-${version}"
|
wrksrc="${pkgname/python-}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
makedepends="python-devel python3.4-devel pam-devel"
|
makedepends="python-devel pam-devel"
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="pam.py"
|
|
||||||
depends="python pam"
|
depends="python pam"
|
||||||
short_desc="Python module for PAM authentication (Python2)"
|
pycompile_module="pam.py"
|
||||||
|
short_desc="Python2 module for PAM authentication"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://atlee.ca/software/pam/"
|
homepage="http://atlee.ca/software/pam/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/p/pam/${pkgname/python-/}-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pam/${pkgname/python-/}-${version}.tar.gz"
|
||||||
checksum=35e88575afc37a2a5f96e20b22fa55d3e3213370d4ce640af1597c2a1dde226b
|
checksum=35e88575afc37a2a5f96e20b22fa55d3e3213370d4ce640af1597c2a1dde226b
|
||||||
|
|
||||||
python3.4-pam_package() {
|
|
||||||
depends="python3.4"
|
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="pam.py"
|
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove /usr/lib/python3.4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-pam
|
|
Loading…
Reference in a new issue