From e4343d65882d2b964180a21f400b8232cc9f227c Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 2 May 2014 09:25:24 +0200 Subject: [PATCH] python-pam: fix python3 build --- srcpkgs/python-pam/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python-pam/template b/srcpkgs/python-pam/template index b7113a8f5d5..c8e1114eb46 100644 --- a/srcpkgs/python-pam/template +++ b/srcpkgs/python-pam/template @@ -4,9 +4,10 @@ version=0.1.4 revision=2 wrksrc="${pkgname/python-}-${version}" build_style=python-module -hostmakedepends="python python-distribute" -makedepends="python-devel pam-devel" +hostmakedepends="python python-distribute python3 python3-distribute" +makedepends="python-devel python3-devel pam-devel" noarch=yes +python_versions="2 3" pycompile_module="pam.py" depends="python pam" short_desc="Python module for PAM authentication (Python2)" @@ -18,7 +19,7 @@ checksum=35e88575afc37a2a5f96e20b22fa55d3e3213370d4ce640af1597c2a1dde226b python3-pam_package() { noarch=yes - depends="python3" + depends="python3 pam" short_desc="${short_desc//Python2/Python3}" pkg_install() { vmove /usr/lib/python3.3