arch-ppa/src/python-authres/PKGBUILD

35 lines
989 B
Bash
Raw Normal View History

2016-12-02 01:05:29 -05:00
# Maintainer: Rich Li <rich at dranek com>
# Contributor: Thomas Haider <t.haider@deprecate.de>
# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
# Contributor: Samed Beyribey <ras0ir@eventualis.org>
pkgname=python-authres
_pkgname=authentication-results-python
2018-09-08 16:03:31 -04:00
pkgver=1.1.0
2016-12-02 01:05:29 -05:00
pkgrel=1
pkgdesc="Python Authentication-Results headers generation and parsing"
arch=('any')
url="http://launchpad.net/authentication-results-python"
license=('Apache')
depends=('python')
2018-09-08 16:43:51 -04:00
makedepends=('python-setuptools')
2016-12-02 01:05:29 -05:00
conflicts=('python2-authres')
2018-09-08 16:03:31 -04:00
source=("https://launchpad.net/$_pkgname/${pkgver%.*}/$pkgver/+download/authres-$pkgver.tar.gz")
sha256sums=('dbec6f213146550421fbd2295e7d0122e899c42ca10e2b85e27088cc33a494d5')
2016-12-02 01:05:29 -05:00
build() {
cd "$srcdir/authres-$pkgver"
python setup.py build
}
check() {
cd "$srcdir/authres-$pkgver"
# python -m authres -v
python -m authres
}
package() {
cd "$srcdir/authres-$pkgver"
2017-03-13 12:19:25 -04:00
python setup.py install --root="$pkgdir" --skip-build --optimize=1
2016-12-02 01:05:29 -05:00
}