[arch-commits] Commit in (4 files)

Daniel M. Capella polyzen at archlinux.org
Thu Dec 27 07:18:58 UTC 2018


    Date: Thursday, December 27, 2018 @ 07:18:57
  Author: polyzen
Revision: 418446

Initial commit

Added:
  python-pathspec/
  python-pathspec/repos/
  python-pathspec/trunk/
  python-pathspec/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: python-pathspec/trunk/PKGBUILD
===================================================================
--- python-pathspec/trunk/PKGBUILD	                        (rev 0)
+++ python-pathspec/trunk/PKGBUILD	2018-12-27 07:18:57 UTC (rev 418446)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor:  Chris Severance aur.severach aATt spamgourmet dott com
+
+_name=pathspec
+pkgname=python-pathspec
+pkgver=0.5.9
+pkgrel=2
+pkgdesc='Utility library for gitignore style pattern matching of file paths'
+arch=('any')
+url=https://github.com/cpburnz/python-path-specification
+license=('custom:MPLv2')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.com/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('54a5eab895d89f342b52ba2bffe70930ef9f8d96e398cccf530d21fa0516a873')
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m unittest discover pathspec/tests
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --root="$pkgdir"
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list