From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
Date: Sat, 8 Apr 2023 21:26:15 +0000 (UTC) [thread overview]
Message-ID: <1680989160.9c46e01102f7e408df45d88aeeae3936d2eded7b.marecki@gentoo> (raw)
commit: 9c46e01102f7e408df45d88aeeae3936d2eded7b
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 8 21:10:00 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Apr 8 21:26:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c46e011
dev-vcs/pre-commit: add 3.2.2
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-vcs/pre-commit/Manifest | 1 +
dev-vcs/pre-commit/pre-commit-3.2.2.ebuild | 57 ++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index d6e1dd955c7a..569145bf615f 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1,3 @@
DIST pre-commit-3.0.4.gh.tar.gz 264952 BLAKE2B 3c45da675d5a1a1fc115db0ef7186c1ec1e5a6d6d9353c5a53dba85a14de2c94bafe0ef9e8d0b04bae55ded81890d726997e695c95889719096205e1b212a237 SHA512 d51aca29b50f67ae42aa70d849939e6af96ff64c6fb214cddbc5a35cacebb8a54a4911110d0615a1a499516fcc2a06bb47d7e11da84ef636c3fcfdc8d2cbe343
DIST pre-commit-3.2.1.gh.tar.gz 267233 BLAKE2B 39843fa9f7529ee38670b3c7ebea1e29b080db47ae3db73d5a218455fd51b7bf86bb1ab1a979946a57bf6417f8a4e7050e8ba34f873bf4d76fa49fa76358964e SHA512 5e2c114049d84eae2ec6cbf123c8e3976d8e9e392a6e04f78d446ad85758a78fb912c0f6070b9c506f8c1bb87e1fd1ecbe763deb8d1430e1d3d8f296dd0cc389
+DIST pre-commit-3.2.2.gh.tar.gz 267269 BLAKE2B b3b245b2ac0f0f4012e2612515e376aaaf5b4de0b5494c02a2b38b1b9b8584ae3fa7d9ee482ee19bbf6eb5ac1d5f9ec187e44c4bb7bb6046488b178628af850e SHA512 bf2602508425482e57c2e1b1ca2b36085560fa0e51e5d559b6c715a0534f182897eb54831a17a60a713cea0301a7521bb75c03881e8cb8527fbc565259a23ddf
diff --git a/dev-vcs/pre-commit/pre-commit-3.2.2.ebuild b/dev-vcs/pre-commit/pre-commit-3.2.2.ebuild
new file mode 100644
index 000000000000..5f06fdcab423
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-3.2.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="A framework for managing and maintaining multi-language Git pre-commit hooks"
+HOMEPAGE="https://pre-commit.com/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+
+RDEPEND="dev-vcs/git
+ $(python_gen_cond_dep '
+ >=dev-python/cfgv-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/identify-1.0.0[${PYTHON_USEDEP}]
+ >=dev-python/nodeenv-0.11.1[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+ >=dev-python/virtualenv-20.10.0[${PYTHON_USEDEP}]
+ ')"
+# coreutils requirement: see Bug #885559
+BDEPEND="test? (
+ $(python_gen_cond_dep '
+ dev-python/pytest-env[${PYTHON_USEDEP}]
+ dev-python/re-assert[${PYTHON_USEDEP}]
+ ')
+ sys-apps/coreutils[-multicall]
+)"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1.1-tests_git_file_transport.patch
+)
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
+
+# The former two require a boatload of dependencies (e.g. Conda, Go, R and more) in order to run
+# and while some of them do include "skip if not found" logic, most of them do not.
+# The latter consistently fail with
+# Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
+# including with the sandbox disabled.
+EPYTEST_DESELECT=(
+ tests/languages/
+ tests/repository_test.py
+ tests/main_test.py::test_all_cmds
+ tests/main_test.py::test_hook_stage_migration
+ tests/main_test.py::test_try_repo
+)
+
+distutils_enable_tests pytest
next reply other threads:[~2023-04-08 21:26 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-08 21:26 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-06 1:37 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/ Sam James
2025-01-05 23:22 Sam James
2024-12-01 17:29 Maciej Barć
2024-09-04 8:37 Maciej Barć
2024-09-04 8:09 Maciej Barć
2024-09-04 8:09 Maciej Barć
2024-09-04 1:57 Sam James
2024-09-04 1:57 Sam James
2024-08-01 21:55 Sam James
2024-08-01 21:55 Sam James
2024-08-01 13:07 Maciej Barć
2024-08-01 13:07 Maciej Barć
2024-07-09 2:56 Sam James
2024-07-09 2:56 Sam James
2024-06-28 14:00 Maciej Barć
2024-06-28 14:00 Maciej Barć
2024-04-10 10:37 Marek Szuba
2024-04-10 10:37 Marek Szuba
2024-02-25 20:19 Sam James
2024-02-25 20:19 Sam James
2023-12-25 13:57 Marek Szuba
2023-11-06 15:00 Marek Szuba
2023-10-26 0:31 Marek Szuba
2023-08-22 11:16 Sam James
2023-08-22 10:33 Sam James
2023-08-21 14:56 Marek Szuba
2023-07-10 23:04 Marek Szuba
2023-05-24 20:41 Marek Szuba
2023-05-24 20:41 Marek Szuba
2023-05-21 11:25 Marek Szuba
2023-04-25 23:17 Sam James
2023-03-26 0:51 Sam James
2023-03-26 0:51 Sam James
2023-03-25 21:48 Marek Szuba
2023-02-05 23:03 Marek Szuba
2023-02-01 23:08 Marek Szuba
2022-12-13 11:02 Marek Szuba
2022-11-15 8:58 Marek Szuba
2022-11-15 2:53 Sam James
2022-11-15 2:53 Sam James
2022-09-01 23:22 Marek Szuba
2022-09-01 19:14 Sam James
2022-09-01 19:14 Sam James
2022-07-13 15:55 Marek Szuba
2022-06-30 9:02 Marek Szuba
2022-06-30 7:01 Agostino Sarubbo
2022-06-29 11:58 Sam James
2022-05-30 10:42 Marek Szuba
2022-04-09 23:35 Marek Szuba
2022-02-24 14:22 Marek Szuba
2022-02-24 14:04 Sam James
2022-02-24 9:37 Jakov Smolić
2022-01-20 22:14 Marek Szuba
2022-01-01 0:23 Marek Szuba
2021-10-21 23:28 Sam James
2021-10-21 23:28 Sam James
2021-09-09 14:17 Marek Szuba
2021-09-09 11:20 Marek Szuba
2021-07-24 4:09 Sam James
2021-07-24 4:09 Sam James
2021-07-12 21:59 Sam James
2021-06-25 22:49 Marek Szuba
2021-06-25 19:33 Sam James
2021-06-09 15:19 Marek Szuba
2021-06-08 16:54 Sergei Trofimovich
2021-05-26 6:49 Agostino Sarubbo
2021-05-25 12:31 Marek Szuba
2021-04-27 11:05 Marek Szuba
2021-04-22 16:51 Marek Szuba
2021-04-16 18:25 Marek Szuba
2021-04-16 18:25 Marek Szuba
2021-04-16 15:35 Marek Szuba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1680989160.9c46e01102f7e408df45d88aeeae3936d2eded7b.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox