1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Version of the glob module that can capture patterns and supports recursive wildcards"
7 url="https://github.com/miracle2k/glob2"
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest')
13 source=("https://github.com/miracle2k/python-glob2/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
14 $pkgname-warning.patch::https://github.com/miracle2k/python-glob2/pull/27.patch)
15 sha512sums=('dc547b16ab522306bb741c81020389d2c19beeeaa4d9ece74c878a4a6234689cf2372af9476369c8f406ff3d58a1fb3dcb7cc48d96a335eceef5c4a2863b67fe'
16 '9d9fae98fbac70f4b639be9732512e6d4465553947371457feaacb73a7152f25171e98ce427494a4ac571d01da1fa1b3ddae4e15841c178d16b96918108cdde7')
19 cd python-glob2-$pkgver
20 patch -p1 -i ../$pkgname-warning.patch
24 cd python-glob2-$pkgver
29 cd python-glob2-$pkgver
34 cd python-glob2-$pkgver
35 python setup.py install --root="$pkgdir" --optimize=1
37 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/