mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-03 15:01:44 +01:00
30 lines
845 B
Plaintext
30 lines
845 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=py3-glob2
|
|
_pkgname=glob2
|
|
pkgver=0.7
|
|
pkgrel=2
|
|
pkgdesc="Version of the glob module that supports recursion via **, and can capture patterns"
|
|
url="https://github.com/miracle2k/python-glob2"
|
|
arch="noarch"
|
|
license="BSD-2-Clause"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest-3 test.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="6707c33782373cd71b1794ef3a143f6c0ceb5733bec944d16596eb4662df4c788328078b621bdda6096da95ec2f267256fca620dd7691eb02bf0ce940dd4150e glob2-0.7.tar.gz"
|