blob: ba283fa5f5d0193a73ba1cc9cc508f5199c96322 (
plain)
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
32
33
34
35
|
# Maintainer: knedl1k <knedl1k At tuta Dot io>
# Contributor: Javier TiĆ” <javier dot tia at gmail dot com>
_name='git-praise'
pkgname='praise'
pkgver=1.4.0
pkgrel=1
pkgdesc='A nicer git blame'
url='https://github.com/sigvef/git-praise'
arch=('any')
license=('MIT')
depends=('python' 'python-gitpython' 'python-pygments' 'python-click'
'python-termcolor' 'flake8')
provides=("${pkgname}=${pkgver}")
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('aec630b9ce7013efde65160e44a836789efce2fcf849d7a487cbeebc2b5825ad')
prepare() {
cd "${srcdir}/${_name}-${pkgver}"
# remove all hard version pinning:
sed -e 's/==/>=/g' -i setup.py
}
# Enable for tests
check() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py check
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
# install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|