[arch-commits] Commit in python-pathspec/repos (community-any community-any/PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Thu Dec 27 07:19:28 UTC 2018


    Date: Thursday, December 27, 2018 @ 07:19:27
  Author: polyzen
Revision: 418448

archrelease: copy trunk to community-any

Added:
  python-pathspec/repos/community-any/
  python-pathspec/repos/community-any/PKGBUILD
    (from rev 418446, python-pathspec/trunk/PKGBUILD)

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

Copied: python-pathspec/repos/community-any/PKGBUILD (from rev 418446, python-pathspec/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-12-27 07:19:27 UTC (rev 418448)
@@ -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