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

Felix Yan felixonmars at archlinux.org
Sun Jul 5 10:09:37 UTC 2020


    Date: Sunday, July 5, 2020 @ 10:09:36
  Author: felixonmars
Revision: 657803

archrelease: copy trunk to community-any

Added:
  python-pre-commit/repos/community-any/PKGBUILD
    (from rev 657802, python-pre-commit/trunk/PKGBUILD)
Deleted:
  python-pre-commit/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 10:09:27 UTC (rev 657802)
+++ PKGBUILD	2020-07-05 10:09:36 UTC (rev 657803)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pre-commit
-pkgver=2.5.1
-pkgrel=2
-pkgdesc="A framework for managing and maintaining multi-language pre-commit hooks"
-url="https://github.com/pre-commit/pre-commit"
-license=('MIT')
-arch=('any')
-depends=('python-cfgv' 'python-identify' 'python-nodeenv' 'python-yaml' 'python-toml'
-         'python-virtualenv')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'git' 'go' 'python2' 'rubygems' 'rust')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pre-commit/pre-commit/archive/v$pkgver.tar.gz"
-        pre-commit-pythonpath-fix.patch::https://github.com/pre-commit/pre-commit/pull/1369.patch)
-sha512sums=('860fe77434209148110d24ea67756b941f58d7bd9bf315615eec455f988de6d49764f1228c95e24a8cd5fabd6a6014ed56e5401c306a6e53f6ea5fc29e6782f4'
-            '9bafce326138c5e7a5b73a2fd10ac8b3dec2fae4eed93224210cb6f466effa2074dc3dbadeb16d997319b4e2f58f6fef47e05877fbfd06296f6868a4265b0fa7')
-
-prepare() {
-  cd pre-commit-$pkgver
-  patch -p1 -i ../pre-commit-pythonpath-fix.patch
-}
-
-build() {
-  cd pre-commit-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pre-commit-$pkgver
-  git config --global user.email "pony at arch"
-  git config --global user.name "Lucky Pony"
-  git init
-  export GIT_AUTHOR_NAME="Lucky Pony"
-  export GIT_COMMITTER_NAME="Lucky Pony"
-  export GIT_AUTHOR_EMAIL="pony at arch"
-  export GIT_COMMITTER_EMAIL="pony at arch"
-  export VIRTUALENV_NO_DOWNLOAD=1
-  export PRE_COMMIT_NO_CONCURRENCY=1
-
-  # Deselect conda because we don't have it!
-  # test_run_a_ruby_hook: https://github.com/pre-commit/pre-commit/issues/1368
-  python setup.py pytest --addopts "--deselect tests/repository_test.py::test_conda_hook \
-                                    --deselect tests/repository_test.py::test_conda_with_additional_dependencies_hook \
-                                    --deselect tests/repository_test.py::test_local_conda_additional_dependencies \
-                                    --deselect tests/repository_test.py::test_run_a_ruby_hook \
-                                    --deselect tests/repository_test.py::test_switch_language_versions_doesnt_clobber"
-}
-
-package() {
-  cd pre-commit-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-pre-commit/repos/community-any/PKGBUILD (from rev 657802, python-pre-commit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-05 10:09:36 UTC (rev 657803)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pre-commit
+pkgver=2.6.0
+pkgrel=1
+pkgdesc="A framework for managing and maintaining multi-language pre-commit hooks"
+url="https://github.com/pre-commit/pre-commit"
+license=('MIT')
+arch=('any')
+depends=('python-cfgv' 'python-identify' 'python-nodeenv' 'python-yaml' 'python-toml'
+         'python-virtualenv')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'git' 'go' 'python2' 'rubygems' 'rust')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pre-commit/pre-commit/archive/v$pkgver.tar.gz"
+        pre-commit-pythonpath-fix.patch::https://github.com/pre-commit/pre-commit/pull/1369.patch)
+sha512sums=('67b985f695b3829ba03c01efd79e710884e1d2662a6560e8136fb2901717100f5d3595a5d85919a7be8976643ca94c36d4ce574e90fd49f080299632c1349991'
+            '9bafce326138c5e7a5b73a2fd10ac8b3dec2fae4eed93224210cb6f466effa2074dc3dbadeb16d997319b4e2f58f6fef47e05877fbfd06296f6868a4265b0fa7')
+
+prepare() {
+  cd pre-commit-$pkgver
+  patch -p1 -i ../pre-commit-pythonpath-fix.patch
+}
+
+build() {
+  cd pre-commit-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pre-commit-$pkgver
+  git config --global user.email "pony at arch"
+  git config --global user.name "Lucky Pony"
+  git init
+  export GIT_AUTHOR_NAME="Lucky Pony"
+  export GIT_COMMITTER_NAME="Lucky Pony"
+  export GIT_AUTHOR_EMAIL="pony at arch"
+  export GIT_COMMITTER_EMAIL="pony at arch"
+  export VIRTUALENV_NO_DOWNLOAD=1
+  export PRE_COMMIT_NO_CONCURRENCY=1
+
+  # Deselect conda because we don't have it!
+  # test_run_a_ruby_hook: https://github.com/pre-commit/pre-commit/issues/1368
+  python setup.py pytest --addopts "--deselect tests/repository_test.py::test_conda_hook \
+                                    --deselect tests/repository_test.py::test_conda_with_additional_dependencies_hook \
+                                    --deselect tests/repository_test.py::test_local_conda_additional_dependencies \
+                                    --deselect tests/repository_test.py::test_run_a_ruby_hook \
+                                    --deselect tests/repository_test.py::test_switch_language_versions_doesnt_clobber"
+}
+
+package() {
+  cd pre-commit-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list