aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pam/APKBUILD
blob: 53aaa52becc7b19a9cdd4b1a50e1a89069246bae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-pam
_pkgname=python-pam
pkgver=1.8.4
pkgrel=3
pkgdesc="A Python interface to the PAM library"
url="https://github.com/FirefighterBlu3/python-pam"
arch="noarch"
license="MIT"
depends="linux-pam python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/FirefighterBlu3/python-pam/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-pam" # Backwards compatibility
provides="py-pam=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="8228df0136df890746579f66ff181fd4fd269536db3ecf3d5e0410501e8d67a906ac5cedb0ed29b6cde5eb824727d644e60be20b22b0a8ba6da0523854f023d7  py3-pam-1.8.4.tar.gz"