python-pam: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:09:21 +07:00
parent 6f1f63660c
commit 7955f08fd6
3 changed files with 18 additions and 31 deletions

View file

@ -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 <me@johnnynator.dev>"
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
}
}

View file

@ -1 +0,0 @@
python-pam

View file

@ -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 <me@johnnynator.dev>"
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
}