From 7955f08fd61d2a74d4b1e81345d465a9154c1a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 21:09:21 +0700 Subject: [PATCH] python-pam: drop package --- srcpkgs/python-pam/template | 30 ------------------------------ srcpkgs/python3-pam | 1 - srcpkgs/python3-pam/template | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/python-pam/template delete mode 120000 srcpkgs/python3-pam create mode 100644 srcpkgs/python3-pam/template diff --git a/srcpkgs/python-pam/template b/srcpkgs/python-pam/template deleted file mode 100644 index 780e9008ea7..00000000000 --- a/srcpkgs/python-pam/template +++ /dev/null @@ -1,30 +0,0 @@ -# Template file for 'python-pam' -pkgname=python-pam -version=1.8.4 -revision=3 -archs=noarch -build_style=python-module -pycompile_module="pam.py" -hostmakedepends="python-setuptools python3-setuptools" -depends="python pam" -short_desc="Python2 module for PAM authentication" -maintainer="John " -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 -} - -python3-pam_package() { - archs=noarch - depends="python3 pam" - pycompile_module="pam.py" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-pam b/srcpkgs/python3-pam deleted file mode 120000 index 8fd44a7dbee..00000000000 --- a/srcpkgs/python3-pam +++ /dev/null @@ -1 +0,0 @@ -python-pam \ No newline at end of file diff --git a/srcpkgs/python3-pam/template b/srcpkgs/python3-pam/template new file mode 100644 index 00000000000..a95dbeb95d6 --- /dev/null +++ b/srcpkgs/python3-pam/template @@ -0,0 +1,18 @@ +# Template file for 'python3-pam' +pkgname=python3-pam +version=1.8.4 +revision=4 +wrksrc="python-pam-$version" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 pam" +short_desc="Python3 module for PAM authentication" +maintainer="John " +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 +}