diff options
author | Michał Polański <michal@polanski.me> | 2020-03-03 00:21:21 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-03 02:16:22 -0300 |
commit | fc6831565f657e57412844829089ed2c15e422c0 (patch) | |
tree | abe950c7e8fcb6acadb7676abdf5f5fd7acfcea0 /testing/py3-pathspec | |
parent | 64c470cdccc4b70c79607d3428b193a24b8a72c8 (diff) | |
download | aports-fc6831565f657e57412844829089ed2c15e422c0.tar.bz2 aports-fc6831565f657e57412844829089ed2c15e422c0.tar.xz |
testing/py3-pathspec: new aport
Diffstat (limited to 'testing/py3-pathspec')
-rw-r--r-- | testing/py3-pathspec/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-pathspec/APKBUILD b/testing/py3-pathspec/APKBUILD new file mode 100644 index 0000000000..65c7ba165b --- /dev/null +++ b/testing/py3-pathspec/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Michał Polański <michal@polanski.me> +# Maintainer: Michał Polański <michal@polanski.me> +pkgname=py3-pathspec +_pkgname=pathspec +pkgver=0.7.0 +pkgrel=0 +pkgdesc="Utility library for gitignore style pattern matching of file paths" +url="https://github.com/cpburnz/python-path-specification" +arch="noarch" +license="MPL-2.0" +depends="python3" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 -m unittest discover pathspec/tests +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build +} + +sha512sums="3171d39405eb586945261b11781b966e0771649dd7caa8f8a5bbd26223a37931c17bd50a4706d603a637a10460e9b3730c21f0eff7dc92d7e73ae570641a900c pathspec-0.7.0.tar.gz" |