[arch-commits] Commit in python-pre-commit/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jan 31 11:26:00 UTC 2021


    Date: Sunday, January 31, 2021 @ 11:26:00
  Author: felixonmars
Revision: 837989

upgpkg: python-pre-commit 2.8.0-1

Modified:
  python-pre-commit/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-31 11:25:27 UTC (rev 837988)
+++ PKGBUILD	2021-01-31 11:26:00 UTC (rev 837989)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-pre-commit
-pkgver=2.7.1
+pkgver=2.8.0
 pkgrel=1
 pkgdesc="A framework for managing and maintaining multi-language pre-commit hooks"
 url="https://github.com/pre-commit/pre-commit"
@@ -10,10 +10,10 @@
 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"
+checkdepends=('python-pytest-runner' 'python-re-assert' 'dotnet-sdk' 'git' 'go' 'nodejs' 'npm' 'python2' 'rubygems' 'rust')
+source=("https://github.com/pre-commit/pre-commit/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
         pre-commit-pythonpath-fix.patch::https://github.com/pre-commit/pre-commit/pull/1369.patch)
-sha512sums=('e96b4ccd1517e2944fede72b4fcaac6753c6d06be3f61f388dd36c50320361716a27f58025b1565c09110296cac87b9fbd0f2448103fbf62c441fd6f567a9847'
+sha512sums=('0f8a5bb0254b8caa9921d1bd93eca5cbc5d2b750712c8f4d4f4b56744515c4e0c47d6fbe20aa84fbcb60cab3c5ff568cbdcc3fb1829074438088e009474a1429'
             '9bafce326138c5e7a5b73a2fd10ac8b3dec2fae4eed93224210cb6f466effa2074dc3dbadeb16d997319b4e2f58f6fef47e05877fbfd06296f6868a4265b0fa7')
 
 prepare() {
@@ -40,11 +40,13 @@
 
   # Deselect conda because we don't have it!
   # test_run_a_ruby_hook: https://github.com/pre-commit/pre-commit/issues/1368
+  # test_local_golang_additional_dependencies: https://github.com/pre-commit/pre-commit/pull/1769
   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"
+                                    --deselect tests/repository_test.py::test_switch_language_versions_doesnt_clobber \
+                                    --deselect tests/repository_test.py::test_local_golang_additional_dependencies"
 }
 
 package() {



More information about the arch-commits mailing list