blob: 3194c5aec842dceefc8fa2f10084400cbb36b3a3 (
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
|
# Maintainer: Omar Pakker <archlinux@opakker.nl>
pkgname=python-zgitignore
_name=${pkgname#python-}
pkgver=1.0.0
pkgrel=1
pkgdesc="Check if a file is ignored by a .zgitignore file, compatible with .gitignore syntax"
url="https://github.com/zb3/zgitignore"
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('2e4d085114cc2c35191f1a1defee64c2ffa791b6763338c0e10ad57a25d2f0a4')
build() {
cd "zgitignore-${pkgver}"
python setup.py build
}
check() {
cd "zgitignore-${pkgver}"
python setup.py test
}
package() {
cd "zgitignore-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1
}
|