[arch-commits] Commit in python-pathspec/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 25 15:51:00 UTC 2019


    Date: Friday, October 25, 2019 @ 15:50:59
  Author: felixonmars
Revision: 519224

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pathspec/repos/community-staging-any/PKGBUILD (from rev 519223, python-pathspec/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:50:59 UTC (rev 519224)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor:  Chris Severance aur.severach aATt spamgourmet dott com
+
+_name=pathspec
+pkgname=python-pathspec
+pkgver=0.6.0
+pkgrel=2
+pkgdesc='Utility library for gitignore style pattern matching of file paths'
+arch=('any')
+url=https://github.com/cpburnz/python-path-specification
+license=('MPL2')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('e285ccc8b0785beadd4c18e5708b12bb8fcf529a1e61215b3feff1d1e559ea5c')
+
+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" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list