2013-12-16 15:51:41 +00:00
|
|
|
# Template file for 'python-pam'
|
|
|
|
pkgname=python-pam
|
|
|
|
version=0.1.4
|
2014-06-18 13:28:01 +00:00
|
|
|
revision=5
|
|
|
|
noarch=yes
|
2013-12-16 15:51:41 +00:00
|
|
|
wrksrc="${pkgname/python-}-${version}"
|
|
|
|
build_style=python-module
|
2014-06-18 13:28:01 +00:00
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
makedepends="python-devel python3.4-devel pam-devel"
|
|
|
|
python_versions="2.7 3.4"
|
2014-01-01 15:10:11 +00:00
|
|
|
pycompile_module="pam.py"
|
|
|
|
depends="python pam"
|
2014-05-02 07:20:23 +00:00
|
|
|
short_desc="Python module for PAM authentication (Python2)"
|
2013-12-16 15:51:41 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://atlee.ca/software/pam/"
|
|
|
|
license="MIT"
|
|
|
|
distfiles="http://pypi.python.org/packages/source/p/pam/${pkgname/python-/}-${version}.tar.gz"
|
|
|
|
checksum=35e88575afc37a2a5f96e20b22fa55d3e3213370d4ce640af1597c2a1dde226b
|
2014-06-18 13:28:01 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|