public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-04-09 23:35 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-04-09 23:35 UTC (permalink / raw
  To: gentoo-commits

commit:     78452c0d87a91ff4781024985dc481facf1f03de
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  9 23:29:25 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Apr  9 23:35:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78452c0d

dev-vcs/pre-commit: add 2.18.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 +
 dev-vcs/pre-commit/pre-commit-2.18.1.ebuild | 51 +++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 8f1598c77ea6..6fb759317b08 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1 +1,2 @@
 DIST pre-commit-2.17.0.tar.gz 261131 BLAKE2B 114fac379690ee4c1c60970a1b0fbcd20faea785837c174514c3fc3d247ec79f52fb5f14c96a762921395d682017a9cc406dc59b3042fc955cd65019fb781a3f SHA512 54b5af9088083ad0c57fab09c06c35bd5921b29348454fc8fc16081d3c6a2e0add13f8a18f06b7408a0e06babc5e15659b37ab53797edd3514d516059e2343a8
+DIST pre-commit-2.18.1.tar.gz 263642 BLAKE2B 0ddd0e8bc7450c6bce2080155851c4b8d7e81fe1683dbea389d24e79906b52850ca8cc16b57a4b6192a389a10f8e9d0dfeaa23deaf59027093dc4db61b4533c1 SHA512 38ad176675b40eb4fd2475e51f3079cff5d84733401592a8a00021cba6656f01a38c5835298db50607fd8d188728c127600c731795fbc149436a5e4aada94fc1

diff --git a/dev-vcs/pre-commit/pre-commit-2.18.1.ebuild b/dev-vcs/pre-commit/pre-commit-2.18.1.ebuild
new file mode 100644
index 000000000000..2794cad11571
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-2.18.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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}.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/toml[${PYTHON_USEDEP}]
+		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
+	')"
+BDEPEND="test? (
+	$(python_gen_cond_dep '
+		dev-python/pytest-env[${PYTHON_USEDEP}]
+		dev-python/re-assert[${PYTHON_USEDEP}]
+	')
+)"
+
+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 and when run manually with tox.
+EPYTEST_DESELECT=(
+	tests/languages/
+	tests/repository_test.py
+	tests/main_test.py::test_all_cmds
+	tests/main_test.py::test_try_repo
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-09-04  8:37 Maciej Barć
  0 siblings, 0 replies; 70+ messages in thread
From: Maciej Barć @ 2024-09-04  8:37 UTC (permalink / raw
  To: gentoo-commits

commit:     ac53d9d2bce93f687767e75dd0b28fc2c38b0f76
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 08:36:14 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 08:37:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac53d9d2

dev-vcs/pre-commit: add python 3.10 compat for autojump

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../pre-commit/{pre-commit-3.8.0.ebuild => pre-commit-3.8.0-r1.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.8.0-r1.ebuild
similarity index 98%
rename from dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
rename to dev-vcs/pre-commit/pre-commit-3.8.0-r1.ebuild
index 078bf861234b..5de721b64f53 100644
--- a/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.8.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_COMPAT=( python3_{10..13} )
 PYTHON_REQ_USE="sqlite"
 DISTUTILS_SINGLE_IMPL="ON"
 DISTUTILS_USE_PEP517="setuptools"


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-09-04  8:09 Maciej Barć
  0 siblings, 0 replies; 70+ messages in thread
From: Maciej Barć @ 2024-09-04  8:09 UTC (permalink / raw
  To: gentoo-commits

commit:     702e0ffd68c0fc98ab5eec53d990d1eba041693f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 07:49:59 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 08:09:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=702e0ffd

dev-vcs/pre-commit: drop old 3.7.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 -
 dev-vcs/pre-commit/pre-commit-3.7.0.ebuild | 60 ------------------------------
 2 files changed, 61 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 547da45e272f..fc0190bbdaf9 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,3 +1,2 @@
-DIST pre-commit-3.7.0.gh.tar.gz 269999 BLAKE2B 9ca1b2279e1ed753a09c3da83f6de19fc9b36821ba6f642962b9be1da29894e3260c48a2cdb582eb5331543fa6c7e9065d799fde7ab4e84dd54032c2ff84e4a7 SHA512 2a238e74ce2f080914e4403b7ce7b8dbd2a257a736d8292e2ec299c8015d3c4611e51f4be1a95ff2bd29db4888f6997e335346931567e943a8b5d78be7c14725
 DIST pre-commit-3.7.1.gh.tar.gz 270138 BLAKE2B da21e8c05b722985273554bd455d2ea0c113206eb4924c826532b5135805eca143441a237e516fad1275b4c9886d53cb3757d5fefd53613e1f1a1b4da8d7847d SHA512 ffb7606b1706d5e9f46bdffbe20420e6fd4241f6a402740e02f6d8a0e87f29201a20ab92d89fd7ed77f3df31ada6f157837beac9defab7f35ebabf85d47399e8
 DIST pre-commit-3.8.0.gh.tar.gz 270925 BLAKE2B febb7b6bb2e43aec096e454b064b01b0973cd9d04b2d792a4ce7cef9df4f9c9c2e3bf1200f584e163c829c12ca17f57761375b297ab5c3d97dce569d5c219bdd SHA512 b6970ac00c5033938462675c20ea5e13c0439dc4f70cd627f11b22b0f87fb0a3590e9b3e9c677bfb66e4b3420f40de66ca7ccbc969847ee5fa8994532a558cd1

diff --git a/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
deleted file mode 100644
index 90ea7eb7e160..000000000000
--- a/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-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 ~arm64 ~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 )
-
-EPYTEST_DESELECT=(
-	# All of these 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.
-	tests/languages/
-	tests/repository_test.py
-	# These three 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.
-	tests/main_test.py::test_all_cmds
-	tests/main_test.py::test_hook_stage_migration
-	tests/main_test.py::test_try_repo
-	# These two fail if pre-commit is already installed (Bug #894502)
-	tests/commands/install_uninstall_test.py::test_environment_not_sourced
-	tests/commands/install_uninstall_test.py::test_installed_from_venv
-)
-
-distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-09-04  8:09 Maciej Barć
  0 siblings, 0 replies; 70+ messages in thread
From: Maciej Barć @ 2024-09-04  8:09 UTC (permalink / raw
  To: gentoo-commits

commit:     e4f1722a96b3332975ecd0b60506dfb88fdf85bc
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 07:50:15 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 08:09:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4f1722a

dev-vcs/pre-commit: drop old 3.7.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 -
 dev-vcs/pre-commit/pre-commit-3.7.1.ebuild | 76 ------------------------------
 2 files changed, 77 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index fc0190bbdaf9..dbcfc3b1067f 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1 @@
-DIST pre-commit-3.7.1.gh.tar.gz 270138 BLAKE2B da21e8c05b722985273554bd455d2ea0c113206eb4924c826532b5135805eca143441a237e516fad1275b4c9886d53cb3757d5fefd53613e1f1a1b4da8d7847d SHA512 ffb7606b1706d5e9f46bdffbe20420e6fd4241f6a402740e02f6d8a0e87f29201a20ab92d89fd7ed77f3df31ada6f157837beac9defab7f35ebabf85d47399e8
 DIST pre-commit-3.8.0.gh.tar.gz 270925 BLAKE2B febb7b6bb2e43aec096e454b064b01b0973cd9d04b2d792a4ce7cef9df4f9c9c2e3bf1200f584e163c829c12ca17f57761375b297ab5c3d97dce569d5c219bdd SHA512 b6970ac00c5033938462675c20ea5e13c0439dc4f70cd627f11b22b0f87fb0a3590e9b3e9c677bfb66e4b3420f40de66ca7ccbc969847ee5fa8994532a558cd1

diff --git a/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild b/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
deleted file mode 100644
index 078bf861234b..000000000000
--- a/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..13} )
-PYTHON_REQ_USE="sqlite"
-DISTUTILS_SINGLE_IMPL="ON"
-DISTUTILS_USE_PEP517="setuptools"
-
-inherit distutils-r1
-
-DESCRIPTION="A framework for managing and maintaining multi-language Git pre-commit hooks"
-HOMEPAGE="https://pre-commit.com/
-	https://github.com/pre-commit/pre-commit/"
-
-if [[ "${PV}" == *9999* ]] ; then
-	inherit git-r3
-
-	EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
-else
-	SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz
-		-> ${P}.gh.tar.gz"
-
-	KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-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="
-	sys-apps/coreutils[-multicall]
-	test? (
-		$(python_gen_cond_dep '
-			dev-python/pytest-env[${PYTHON_USEDEP}]
-			dev-python/re-assert[${PYTHON_USEDEP}]
-		')
-	)
-"
-
-PATCHES=( "${FILESDIR}/${PN}-3.1.1-tests_git_file_transport.patch" )
-
-DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
-
-EPYTEST_DESELECT=(
-	# All of these 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.
-	tests/languages/
-	tests/repository_test.py
-
-	# These three 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.
-	tests/main_test.py::test_all_cmds
-	tests/main_test.py::test_hook_stage_migration
-	tests/main_test.py::test_try_repo
-
-	# These two fail if pre-commit is already installed (Bug #894502)
-	tests/commands/install_uninstall_test.py::test_environment_not_sourced
-	tests/commands/install_uninstall_test.py::test_installed_from_venv
-)
-
-distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-09-04  1:57 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2024-09-04  1:57 UTC (permalink / raw
  To: gentoo-commits

commit:     52de0db8c6e4bb55a75e442e563d5b67cc93dbbb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 01:56:43 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 01:56:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52de0db8

dev-vcs/pre-commit: Stabilize 3.8.0 amd64, #938985

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
index 88174070951e..0eeb44f4bcc4 100644
--- a/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
@@ -22,7 +22,7 @@ else
 	SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz
 		-> ${P}.gh.tar.gz"
 
-	KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+	KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="MIT"


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-09-04  1:57 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2024-09-04  1:57 UTC (permalink / raw
  To: gentoo-commits

commit:     dbc129836b27ee4411c93f3dca04dc16cf8901eb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 01:56:44 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 01:56:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc12983

dev-vcs/pre-commit: Stabilize 3.8.0 x86, #938985

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
index 0eeb44f4bcc4..078bf861234b 100644
--- a/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
@@ -22,7 +22,7 @@ else
 	SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz
 		-> ${P}.gh.tar.gz"
 
-	KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+	KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
 fi
 
 LICENSE="MIT"


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-08-01 21:55 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2024-08-01 21:55 UTC (permalink / raw
  To: gentoo-commits

commit:     0198309525db61fae940de0592c2e07e44293558
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 21:55:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 21:55:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01983095

dev-vcs/pre-commit: Stabilize 3.7.1 x86, #937063

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild b/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
index 0eeb44f4bcc4..078bf861234b 100644
--- a/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
@@ -22,7 +22,7 @@ else
 	SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz
 		-> ${P}.gh.tar.gz"
 
-	KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+	KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
 fi
 
 LICENSE="MIT"


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-08-01 21:55 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2024-08-01 21:55 UTC (permalink / raw
  To: gentoo-commits

commit:     a0b1c64f00fdfac17265ec4e365d1937e22f9220
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 21:55:08 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 21:55:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b1c64f

dev-vcs/pre-commit: Stabilize 3.7.1 amd64, #937063

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild b/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
index 88174070951e..0eeb44f4bcc4 100644
--- a/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
@@ -22,7 +22,7 @@ else
 	SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz
 		-> ${P}.gh.tar.gz"
 
-	KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+	KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="MIT"


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-08-01 13:07 Maciej Barć
  0 siblings, 0 replies; 70+ messages in thread
From: Maciej Barć @ 2024-08-01 13:07 UTC (permalink / raw
  To: gentoo-commits

commit:     c72a2d476917a73ade199caf5038c296b81ce42a
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 11:22:12 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 13:07:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c72a2d47

dev-vcs/pre-commit: drop old 3.6.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 -
 dev-vcs/pre-commit/pre-commit-3.6.0.ebuild | 60 ------------------------------
 2 files changed, 61 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 04935f4b042e..433d4d20db55 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,3 +1,2 @@
-DIST pre-commit-3.6.0.gh.tar.gz 268891 BLAKE2B 42c52bcd320defe877fdce51af972e177e26956c2baba5e04e9441d7a99fcdc6467dc7913b21f9300efe9ca821c7d06c8d972f3fb79f10f2212dbecb3299040a SHA512 4997dfe15d262b8d0c6de711b2543162fffe14f24ce41d3a3ba2014354861ef72eb3a9cc115125ed57ef3c25a12886f858189d684d343252ad8f46cc0c364935
 DIST pre-commit-3.7.0.gh.tar.gz 269999 BLAKE2B 9ca1b2279e1ed753a09c3da83f6de19fc9b36821ba6f642962b9be1da29894e3260c48a2cdb582eb5331543fa6c7e9065d799fde7ab4e84dd54032c2ff84e4a7 SHA512 2a238e74ce2f080914e4403b7ce7b8dbd2a257a736d8292e2ec299c8015d3c4611e51f4be1a95ff2bd29db4888f6997e335346931567e943a8b5d78be7c14725
 DIST pre-commit-3.7.1.gh.tar.gz 270138 BLAKE2B da21e8c05b722985273554bd455d2ea0c113206eb4924c826532b5135805eca143441a237e516fad1275b4c9886d53cb3757d5fefd53613e1f1a1b4da8d7847d SHA512 ffb7606b1706d5e9f46bdffbe20420e6fd4241f6a402740e02f6d8a0e87f29201a20ab92d89fd7ed77f3df31ada6f157837beac9defab7f35ebabf85d47399e8

diff --git a/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
deleted file mode 100644
index 90ea7eb7e160..000000000000
--- a/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-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 ~arm64 ~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 )
-
-EPYTEST_DESELECT=(
-	# All of these 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.
-	tests/languages/
-	tests/repository_test.py
-	# These three 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.
-	tests/main_test.py::test_all_cmds
-	tests/main_test.py::test_hook_stage_migration
-	tests/main_test.py::test_try_repo
-	# These two fail if pre-commit is already installed (Bug #894502)
-	tests/commands/install_uninstall_test.py::test_environment_not_sourced
-	tests/commands/install_uninstall_test.py::test_installed_from_venv
-)
-
-distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-08-01 13:07 Maciej Barć
  0 siblings, 0 replies; 70+ messages in thread
From: Maciej Barć @ 2024-08-01 13:07 UTC (permalink / raw
  To: gentoo-commits

commit:     87f93542752c4af2b8642b3ab64bc91781a22db7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 11:25:01 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 13:07:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87f93542

dev-vcs/pre-commit: bump to 3.8.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 +
 dev-vcs/pre-commit/pre-commit-3.8.0.ebuild | 76 ++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 433d4d20db55..547da45e272f 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1,3 @@
 DIST pre-commit-3.7.0.gh.tar.gz 269999 BLAKE2B 9ca1b2279e1ed753a09c3da83f6de19fc9b36821ba6f642962b9be1da29894e3260c48a2cdb582eb5331543fa6c7e9065d799fde7ab4e84dd54032c2ff84e4a7 SHA512 2a238e74ce2f080914e4403b7ce7b8dbd2a257a736d8292e2ec299c8015d3c4611e51f4be1a95ff2bd29db4888f6997e335346931567e943a8b5d78be7c14725
 DIST pre-commit-3.7.1.gh.tar.gz 270138 BLAKE2B da21e8c05b722985273554bd455d2ea0c113206eb4924c826532b5135805eca143441a237e516fad1275b4c9886d53cb3757d5fefd53613e1f1a1b4da8d7847d SHA512 ffb7606b1706d5e9f46bdffbe20420e6fd4241f6a402740e02f6d8a0e87f29201a20ab92d89fd7ed77f3df31ada6f157837beac9defab7f35ebabf85d47399e8
+DIST pre-commit-3.8.0.gh.tar.gz 270925 BLAKE2B febb7b6bb2e43aec096e454b064b01b0973cd9d04b2d792a4ce7cef9df4f9c9c2e3bf1200f584e163c829c12ca17f57761375b297ab5c3d97dce569d5c219bdd SHA512 b6970ac00c5033938462675c20ea5e13c0439dc4f70cd627f11b22b0f87fb0a3590e9b3e9c677bfb66e4b3420f40de66ca7ccbc969847ee5fa8994532a558cd1

diff --git a/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
new file mode 100644
index 000000000000..88174070951e
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-3.8.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_REQ_USE="sqlite"
+DISTUTILS_SINGLE_IMPL="ON"
+DISTUTILS_USE_PEP517="setuptools"
+
+inherit distutils-r1
+
+DESCRIPTION="A framework for managing and maintaining multi-language Git pre-commit hooks"
+HOMEPAGE="https://pre-commit.com/
+	https://github.com/pre-commit/pre-commit/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+	SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz"
+
+	KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+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="
+	sys-apps/coreutils[-multicall]
+	test? (
+		$(python_gen_cond_dep '
+			dev-python/pytest-env[${PYTHON_USEDEP}]
+			dev-python/re-assert[${PYTHON_USEDEP}]
+		')
+	)
+"
+
+PATCHES=( "${FILESDIR}/${PN}-3.1.1-tests_git_file_transport.patch" )
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
+
+EPYTEST_DESELECT=(
+	# All of these 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.
+	tests/languages/
+	tests/repository_test.py
+
+	# These three 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.
+	tests/main_test.py::test_all_cmds
+	tests/main_test.py::test_hook_stage_migration
+	tests/main_test.py::test_try_repo
+
+	# These two fail if pre-commit is already installed (Bug #894502)
+	tests/commands/install_uninstall_test.py::test_environment_not_sourced
+	tests/commands/install_uninstall_test.py::test_installed_from_venv
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-07-09  2:56 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2024-07-09  2:56 UTC (permalink / raw
  To: gentoo-commits

commit:     6f0831437563e74386e0effa46ea5f4249e984c1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  9 02:55:53 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul  9 02:55:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f083143

dev-vcs/pre-commit: Stabilize 3.7.0 amd64, #935761

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
index 94237b6412e1..90ea7eb7e160 100644
--- a/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-07-09  2:56 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2024-07-09  2:56 UTC (permalink / raw
  To: gentoo-commits

commit:     9b779d1e02f8a653e5019602e8be5f7bdfd0ea54
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  9 02:55:52 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul  9 02:55:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b779d1e

dev-vcs/pre-commit: Stabilize 3.7.0 x86, #935761

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
index 616a26bf373d..94237b6412e1 100644
--- a/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-06-28 14:00 Maciej Barć
  0 siblings, 0 replies; 70+ messages in thread
From: Maciej Barć @ 2024-06-28 14:00 UTC (permalink / raw
  To: gentoo-commits

commit:     7bfccb19576aa85e2e4b81988d76ca5219b846d1
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 13:46:54 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 14:00:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bfccb19

dev-vcs/pre-commit: take up maintainership

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-vcs/pre-commit/metadata.xml | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/dev-vcs/pre-commit/metadata.xml b/dev-vcs/pre-commit/metadata.xml
index ac1fd4b84946..333884838656 100644
--- a/dev-vcs/pre-commit/metadata.xml
+++ b/dev-vcs/pre-commit/metadata.xml
@@ -1,9 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
 <pkgmetadata>
-	<!-- maintainer-needed -->
-	<upstream>
-		<remote-id type="github">pre-commit/pre-commit</remote-id>
-		<remote-id type="pypi">pre-commit</remote-id>
-	</upstream>
+  <maintainer type="person">
+    <email>xgqt@gentoo.org</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">pre-commit/pre-commit</remote-id>
+    <remote-id type="pypi">pre-commit</remote-id>
+  </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-06-28 14:00 Maciej Barć
  0 siblings, 0 replies; 70+ messages in thread
From: Maciej Barć @ 2024-06-28 14:00 UTC (permalink / raw
  To: gentoo-commits

commit:     b1b706420ef2ebe61400980fa5435ccb196cf1e5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 13:06:42 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 14:00:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1b70642

dev-vcs/pre-commit: bump to 3.7.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 +
 dev-vcs/pre-commit/pre-commit-3.7.1.ebuild | 76 ++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 9475fcf6da6f..04935f4b042e 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1,3 @@
 DIST pre-commit-3.6.0.gh.tar.gz 268891 BLAKE2B 42c52bcd320defe877fdce51af972e177e26956c2baba5e04e9441d7a99fcdc6467dc7913b21f9300efe9ca821c7d06c8d972f3fb79f10f2212dbecb3299040a SHA512 4997dfe15d262b8d0c6de711b2543162fffe14f24ce41d3a3ba2014354861ef72eb3a9cc115125ed57ef3c25a12886f858189d684d343252ad8f46cc0c364935
 DIST pre-commit-3.7.0.gh.tar.gz 269999 BLAKE2B 9ca1b2279e1ed753a09c3da83f6de19fc9b36821ba6f642962b9be1da29894e3260c48a2cdb582eb5331543fa6c7e9065d799fde7ab4e84dd54032c2ff84e4a7 SHA512 2a238e74ce2f080914e4403b7ce7b8dbd2a257a736d8292e2ec299c8015d3c4611e51f4be1a95ff2bd29db4888f6997e335346931567e943a8b5d78be7c14725
+DIST pre-commit-3.7.1.gh.tar.gz 270138 BLAKE2B da21e8c05b722985273554bd455d2ea0c113206eb4924c826532b5135805eca143441a237e516fad1275b4c9886d53cb3757d5fefd53613e1f1a1b4da8d7847d SHA512 ffb7606b1706d5e9f46bdffbe20420e6fd4241f6a402740e02f6d8a0e87f29201a20ab92d89fd7ed77f3df31ada6f157837beac9defab7f35ebabf85d47399e8

diff --git a/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild b/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
new file mode 100644
index 000000000000..88174070951e
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-3.7.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_REQ_USE="sqlite"
+DISTUTILS_SINGLE_IMPL="ON"
+DISTUTILS_USE_PEP517="setuptools"
+
+inherit distutils-r1
+
+DESCRIPTION="A framework for managing and maintaining multi-language Git pre-commit hooks"
+HOMEPAGE="https://pre-commit.com/
+	https://github.com/pre-commit/pre-commit/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+	SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz"
+
+	KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+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="
+	sys-apps/coreutils[-multicall]
+	test? (
+		$(python_gen_cond_dep '
+			dev-python/pytest-env[${PYTHON_USEDEP}]
+			dev-python/re-assert[${PYTHON_USEDEP}]
+		')
+	)
+"
+
+PATCHES=( "${FILESDIR}/${PN}-3.1.1-tests_git_file_transport.patch" )
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
+
+EPYTEST_DESELECT=(
+	# All of these 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.
+	tests/languages/
+	tests/repository_test.py
+
+	# These three 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.
+	tests/main_test.py::test_all_cmds
+	tests/main_test.py::test_hook_stage_migration
+	tests/main_test.py::test_try_repo
+
+	# These two fail if pre-commit is already installed (Bug #894502)
+	tests/commands/install_uninstall_test.py::test_environment_not_sourced
+	tests/commands/install_uninstall_test.py::test_installed_from_venv
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-04-10 10:37 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2024-04-10 10:37 UTC (permalink / raw
  To: gentoo-commits

commit:     42f25a2328026a029d36b4eb865a7db59f021da1
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 10 10:36:34 2024 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Apr 10 10:36:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f25a23

dev-vcs/pre-commit: drop 3.3.3, 3.5.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  2 -
 dev-vcs/pre-commit/pre-commit-3.3.3.ebuild | 60 -----------------------------
 dev-vcs/pre-commit/pre-commit-3.5.0.ebuild | 61 ------------------------------
 3 files changed, 123 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index f83c1b4df88d..9475fcf6da6f 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,4 +1,2 @@
-DIST pre-commit-3.3.3.gh.tar.gz 267281 BLAKE2B dbe3b90dd3808d24084ede3e9bd76ddc5b070d43bd70b3fa813f8e8e95875a178b86632208463c50a3d68868f2dd9d888e00e7bf3aeba3f3b78c7cd39b514270 SHA512 d126bead7ffa2c72213a894c82bc45d0bce8b508cf7190e7b7d56c667b5d3ebff80eedf7ecb4bb1e01923ef9a43878b73356fda866614d8cbcc8f241ee9e01f7
-DIST pre-commit-3.5.0.gh.tar.gz 268906 BLAKE2B 7585aae950f63845cf132b3472662f19f87942b886687551fbf69e4adb20513304d2c4d399c12619e6c7f9aeab0a6a57c3fe3cd271a29470bedc9480b3b34256 SHA512 c7504fa2d3ba70def3361af0fcc2f7a5454325125e27f44fbaa60906f1ac35b0fa1b646eaf326cb04d4d042ecb6786fbb8e9166099df1e687fa2a64a8113c244
 DIST pre-commit-3.6.0.gh.tar.gz 268891 BLAKE2B 42c52bcd320defe877fdce51af972e177e26956c2baba5e04e9441d7a99fcdc6467dc7913b21f9300efe9ca821c7d06c8d972f3fb79f10f2212dbecb3299040a SHA512 4997dfe15d262b8d0c6de711b2543162fffe14f24ce41d3a3ba2014354861ef72eb3a9cc115125ed57ef3c25a12886f858189d684d343252ad8f46cc0c364935
 DIST pre-commit-3.7.0.gh.tar.gz 269999 BLAKE2B 9ca1b2279e1ed753a09c3da83f6de19fc9b36821ba6f642962b9be1da29894e3260c48a2cdb582eb5331543fa6c7e9065d799fde7ab4e84dd54032c2ff84e4a7 SHA512 2a238e74ce2f080914e4403b7ce7b8dbd2a257a736d8292e2ec299c8015d3c4611e51f4be1a95ff2bd29db4888f6997e335346931567e943a8b5d78be7c14725

diff --git a/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild b/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
deleted file mode 100644
index 754a0991d794..000000000000
--- a/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..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 ~arm64 ~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 )
-
-EPYTEST_DESELECT=(
-	# All of these 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.
-	tests/languages/
-	tests/repository_test.py
-	# These three 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.
-	tests/main_test.py::test_all_cmds
-	tests/main_test.py::test_hook_stage_migration
-	tests/main_test.py::test_try_repo
-	# These two fail if pre-commit is already installed (Bug #894502)
-	tests/commands/install_uninstall_test.py::test_environment_not_sourced
-	tests/commands/install_uninstall_test.py::test_installed_from_venv
-)
-
-distutils_enable_tests pytest

diff --git a/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild
deleted file mode 100644
index 96ec1f982805..000000000000
--- a/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# py3.12 blocked by nodeenv
-PYTHON_COMPAT=( python3_{10..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 ~arm64 ~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 )
-
-EPYTEST_DESELECT=(
-	# All of these 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.
-	tests/languages/
-	tests/repository_test.py
-	# These three 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.
-	tests/main_test.py::test_all_cmds
-	tests/main_test.py::test_hook_stage_migration
-	tests/main_test.py::test_try_repo
-	# These two fail if pre-commit is already installed (Bug #894502)
-	tests/commands/install_uninstall_test.py::test_environment_not_sourced
-	tests/commands/install_uninstall_test.py::test_installed_from_venv
-)
-
-distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-04-10 10:37 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2024-04-10 10:37 UTC (permalink / raw
  To: gentoo-commits

commit:     0dcdde896d390ef139db7b01474c11bd1a8e37ad
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 10 10:35:16 2024 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Apr 10 10:36:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dcdde89

dev-vcs/pre-commit: add 3.7.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 +
 dev-vcs/pre-commit/pre-commit-3.7.0.ebuild | 60 ++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 73e0eb934e62..f83c1b4df88d 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,3 +1,4 @@
 DIST pre-commit-3.3.3.gh.tar.gz 267281 BLAKE2B dbe3b90dd3808d24084ede3e9bd76ddc5b070d43bd70b3fa813f8e8e95875a178b86632208463c50a3d68868f2dd9d888e00e7bf3aeba3f3b78c7cd39b514270 SHA512 d126bead7ffa2c72213a894c82bc45d0bce8b508cf7190e7b7d56c667b5d3ebff80eedf7ecb4bb1e01923ef9a43878b73356fda866614d8cbcc8f241ee9e01f7
 DIST pre-commit-3.5.0.gh.tar.gz 268906 BLAKE2B 7585aae950f63845cf132b3472662f19f87942b886687551fbf69e4adb20513304d2c4d399c12619e6c7f9aeab0a6a57c3fe3cd271a29470bedc9480b3b34256 SHA512 c7504fa2d3ba70def3361af0fcc2f7a5454325125e27f44fbaa60906f1ac35b0fa1b646eaf326cb04d4d042ecb6786fbb8e9166099df1e687fa2a64a8113c244
 DIST pre-commit-3.6.0.gh.tar.gz 268891 BLAKE2B 42c52bcd320defe877fdce51af972e177e26956c2baba5e04e9441d7a99fcdc6467dc7913b21f9300efe9ca821c7d06c8d972f3fb79f10f2212dbecb3299040a SHA512 4997dfe15d262b8d0c6de711b2543162fffe14f24ce41d3a3ba2014354861ef72eb3a9cc115125ed57ef3c25a12886f858189d684d343252ad8f46cc0c364935
+DIST pre-commit-3.7.0.gh.tar.gz 269999 BLAKE2B 9ca1b2279e1ed753a09c3da83f6de19fc9b36821ba6f642962b9be1da29894e3260c48a2cdb582eb5331543fa6c7e9065d799fde7ab4e84dd54032c2ff84e4a7 SHA512 2a238e74ce2f080914e4403b7ce7b8dbd2a257a736d8292e2ec299c8015d3c4611e51f4be1a95ff2bd29db4888f6997e335346931567e943a8b5d78be7c14725

diff --git a/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
new file mode 100644
index 000000000000..616a26bf373d
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-3.7.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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 ~arm64 ~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 )
+
+EPYTEST_DESELECT=(
+	# All of these 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.
+	tests/languages/
+	tests/repository_test.py
+	# These three 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.
+	tests/main_test.py::test_all_cmds
+	tests/main_test.py::test_hook_stage_migration
+	tests/main_test.py::test_try_repo
+	# These two fail if pre-commit is already installed (Bug #894502)
+	tests/commands/install_uninstall_test.py::test_environment_not_sourced
+	tests/commands/install_uninstall_test.py::test_installed_from_venv
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-02-25 20:19 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2024-02-25 20:19 UTC (permalink / raw
  To: gentoo-commits

commit:     dd40b5b38d71b0ec9bc8cd8f428176924345d7ed
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 20:19:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 20:19:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd40b5b3

dev-vcs/pre-commit: Stabilize 3.6.0 x86, #925453

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.6.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
index 1437959c5824..94237b6412e1 100644
--- a/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2024-02-25 20:19 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2024-02-25 20:19 UTC (permalink / raw
  To: gentoo-commits

commit:     c3165f5e2bbd7400c4ca9f7573f6c85b641871a9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 20:19:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 20:19:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3165f5e

dev-vcs/pre-commit: Stabilize 3.6.0 amd64, #925453

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
index 94237b6412e1..90ea7eb7e160 100644
--- a/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-12-25 13:57 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-12-25 13:57 UTC (permalink / raw
  To: gentoo-commits

commit:     457105f3955e3f61a8bad9f1bd08e8351a6b2304
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 13:56:51 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 13:57:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=457105f3

dev-vcs/pre-commit: add 3.6.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 +
 dev-vcs/pre-commit/pre-commit-3.6.0.ebuild | 60 ++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index ce5941212686..73e0eb934e62 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1,3 @@
 DIST pre-commit-3.3.3.gh.tar.gz 267281 BLAKE2B dbe3b90dd3808d24084ede3e9bd76ddc5b070d43bd70b3fa813f8e8e95875a178b86632208463c50a3d68868f2dd9d888e00e7bf3aeba3f3b78c7cd39b514270 SHA512 d126bead7ffa2c72213a894c82bc45d0bce8b508cf7190e7b7d56c667b5d3ebff80eedf7ecb4bb1e01923ef9a43878b73356fda866614d8cbcc8f241ee9e01f7
 DIST pre-commit-3.5.0.gh.tar.gz 268906 BLAKE2B 7585aae950f63845cf132b3472662f19f87942b886687551fbf69e4adb20513304d2c4d399c12619e6c7f9aeab0a6a57c3fe3cd271a29470bedc9480b3b34256 SHA512 c7504fa2d3ba70def3361af0fcc2f7a5454325125e27f44fbaa60906f1ac35b0fa1b646eaf326cb04d4d042ecb6786fbb8e9166099df1e687fa2a64a8113c244
+DIST pre-commit-3.6.0.gh.tar.gz 268891 BLAKE2B 42c52bcd320defe877fdce51af972e177e26956c2baba5e04e9441d7a99fcdc6467dc7913b21f9300efe9ca821c7d06c8d972f3fb79f10f2212dbecb3299040a SHA512 4997dfe15d262b8d0c6de711b2543162fffe14f24ce41d3a3ba2014354861ef72eb3a9cc115125ed57ef3c25a12886f858189d684d343252ad8f46cc0c364935

diff --git a/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
new file mode 100644
index 000000000000..1437959c5824
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-3.6.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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 ~arm64 ~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 )
+
+EPYTEST_DESELECT=(
+	# All of these 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.
+	tests/languages/
+	tests/repository_test.py
+	# These three 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.
+	tests/main_test.py::test_all_cmds
+	tests/main_test.py::test_hook_stage_migration
+	tests/main_test.py::test_try_repo
+	# These two fail if pre-commit is already installed (Bug #894502)
+	tests/commands/install_uninstall_test.py::test_environment_not_sourced
+	tests/commands/install_uninstall_test.py::test_installed_from_venv
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-11-06 15:00 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-11-06 15:00 UTC (permalink / raw
  To: gentoo-commits

commit:     2d2264f3830c1c14acd266a00577be7a86020723
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  6 11:36:41 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Nov  6 15:00:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d2264f3

dev-vcs/pre-commit: deselect tests that fail if pre-commit is installed

On the one hand quite a few bits of pre-commit rely on the executable
"git" being present in PATH, on the other the tests delete the directory
containing "pre-commit" from PATH prior to executing. If both reside in
/usr/bin, hilarity ensues.

Just deselect these tests, they aren't directly relevant to packaged
pre-commit anyway.

Thanks-to: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://bugs.gentoo.org/894502
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.3.3.ebuild | 13 ++++++++-----
 dev-vcs/pre-commit/pre-commit-3.5.0.ebuild | 13 ++++++++-----
 2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild b/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
index 57b3ece298ad..754a0991d794 100644
--- a/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
@@ -41,17 +41,20 @@ PATCHES=(
 
 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=(
+	# All of these 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.
 	tests/languages/
 	tests/repository_test.py
+	# These three 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.
 	tests/main_test.py::test_all_cmds
 	tests/main_test.py::test_hook_stage_migration
 	tests/main_test.py::test_try_repo
+	# These two fail if pre-commit is already installed (Bug #894502)
+	tests/commands/install_uninstall_test.py::test_environment_not_sourced
+	tests/commands/install_uninstall_test.py::test_installed_from_venv
 )
 
 distutils_enable_tests pytest

diff --git a/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild
index e6d46da41754..96ec1f982805 100644
--- a/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild
@@ -42,17 +42,20 @@ PATCHES=(
 
 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=(
+	# All of these 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.
 	tests/languages/
 	tests/repository_test.py
+	# These three 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.
 	tests/main_test.py::test_all_cmds
 	tests/main_test.py::test_hook_stage_migration
 	tests/main_test.py::test_try_repo
+	# These two fail if pre-commit is already installed (Bug #894502)
+	tests/commands/install_uninstall_test.py::test_environment_not_sourced
+	tests/commands/install_uninstall_test.py::test_installed_from_venv
 )
 
 distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-10-26  0:31 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-10-26  0:31 UTC (permalink / raw
  To: gentoo-commits

commit:     cd2362866dcc3dfa6a3e91a2fb3748489229b9f8
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 26 00:13:27 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 00:14:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd236286

dev-vcs/pre-commit: add 3.5.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 +
 dev-vcs/pre-commit/pre-commit-3.5.0.ebuild | 58 ++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 1ce7141a1a0d..ce5941212686 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1 +1,2 @@
 DIST pre-commit-3.3.3.gh.tar.gz 267281 BLAKE2B dbe3b90dd3808d24084ede3e9bd76ddc5b070d43bd70b3fa813f8e8e95875a178b86632208463c50a3d68868f2dd9d888e00e7bf3aeba3f3b78c7cd39b514270 SHA512 d126bead7ffa2c72213a894c82bc45d0bce8b508cf7190e7b7d56c667b5d3ebff80eedf7ecb4bb1e01923ef9a43878b73356fda866614d8cbcc8f241ee9e01f7
+DIST pre-commit-3.5.0.gh.tar.gz 268906 BLAKE2B 7585aae950f63845cf132b3472662f19f87942b886687551fbf69e4adb20513304d2c4d399c12619e6c7f9aeab0a6a57c3fe3cd271a29470bedc9480b3b34256 SHA512 c7504fa2d3ba70def3361af0fcc2f7a5454325125e27f44fbaa60906f1ac35b0fa1b646eaf326cb04d4d042ecb6786fbb8e9166099df1e687fa2a64a8113c244

diff --git a/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild b/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild
new file mode 100644
index 000000000000..e6d46da41754
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-3.5.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# py3.12 blocked by nodeenv
+PYTHON_COMPAT=( python3_{10..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 ~arm64 ~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


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-08-22 11:16 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2023-08-22 11:16 UTC (permalink / raw
  To: gentoo-commits

commit:     68c252e61bc0849a647a57a5c6c2d2080d20d70f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 11:16:14 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 11:16:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c252e6

dev-vcs/pre-commit: Stabilize 3.3.3 amd64, #912749

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild b/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
index 9617f61d74a8..57b3ece298ad 100644
--- a/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-08-22 10:33 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2023-08-22 10:33 UTC (permalink / raw
  To: gentoo-commits

commit:     280bbdbff60cd7f8ff0b0f384d4b9b6fa2a46e81
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 10:33:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 10:33:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=280bbdbf

dev-vcs/pre-commit: Stabilize 3.3.3 x86, #912749

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild b/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
index 85138095ce63..9617f61d74a8 100644
--- a/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-08-21 14:56 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-08-21 14:56 UTC (permalink / raw
  To: gentoo-commits

commit:     05c9a466f89d642be6dea54fce59b5b60167e9e5
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 14:49:05 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 14:56:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05c9a466

dev-vcs/pre-commit: drop 3.3.2

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 -
 dev-vcs/pre-commit/pre-commit-3.3.2.ebuild | 57 ------------------------------
 2 files changed, 58 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index c1591275d338..41bca9891ba4 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,3 +1,2 @@
 DIST pre-commit-3.0.4.gh.tar.gz 264952 BLAKE2B 3c45da675d5a1a1fc115db0ef7186c1ec1e5a6d6d9353c5a53dba85a14de2c94bafe0ef9e8d0b04bae55ded81890d726997e695c95889719096205e1b212a237 SHA512 d51aca29b50f67ae42aa70d849939e6af96ff64c6fb214cddbc5a35cacebb8a54a4911110d0615a1a499516fcc2a06bb47d7e11da84ef636c3fcfdc8d2cbe343
-DIST pre-commit-3.3.2.gh.tar.gz 267100 BLAKE2B 5692baacb40482bdafb6ee9c912d98a248396f85b4f31303cb3f5f5aee0cfe68b1cdc2a6ab5ca82166632eb0f984acbad0a9ad2077a33f057e414433496da7f0 SHA512 9b0928cadb4530789f6dd87ea07c320eb76bec9501b46887929918f9dc5dc39773ead90536cb85cb317140682c2a4cee0dc7bcbc040759e76d504023cb5e40fd
 DIST pre-commit-3.3.3.gh.tar.gz 267281 BLAKE2B dbe3b90dd3808d24084ede3e9bd76ddc5b070d43bd70b3fa813f8e8e95875a178b86632208463c50a3d68868f2dd9d888e00e7bf3aeba3f3b78c7cd39b514270 SHA512 d126bead7ffa2c72213a894c82bc45d0bce8b508cf7190e7b7d56c667b5d3ebff80eedf7ecb4bb1e01923ef9a43878b73356fda866614d8cbcc8f241ee9e01f7

diff --git a/dev-vcs/pre-commit/pre-commit-3.3.2.ebuild b/dev-vcs/pre-commit/pre-commit-3.3.2.ebuild
deleted file mode 100644
index 85138095ce63..000000000000
--- a/dev-vcs/pre-commit/pre-commit-3.3.2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..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 ~arm64 ~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


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-07-10 23:04 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-07-10 23:04 UTC (permalink / raw
  To: gentoo-commits

commit:     b3c5f6b7c0ef48258a87c93f0a34450d4cd010ae
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 10 22:41:57 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jul 10 23:04:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c5f6b7

dev-vcs/pre-commit: add 3.3.3, drop 3.2.2

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                                             | 2 +-
 dev-vcs/pre-commit/{pre-commit-3.2.2.ebuild => pre-commit-3.3.3.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index e1c4c261a007..c1591275d338 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,3 +1,3 @@
 DIST pre-commit-3.0.4.gh.tar.gz 264952 BLAKE2B 3c45da675d5a1a1fc115db0ef7186c1ec1e5a6d6d9353c5a53dba85a14de2c94bafe0ef9e8d0b04bae55ded81890d726997e695c95889719096205e1b212a237 SHA512 d51aca29b50f67ae42aa70d849939e6af96ff64c6fb214cddbc5a35cacebb8a54a4911110d0615a1a499516fcc2a06bb47d7e11da84ef636c3fcfdc8d2cbe343
-DIST pre-commit-3.2.2.gh.tar.gz 267269 BLAKE2B b3b245b2ac0f0f4012e2612515e376aaaf5b4de0b5494c02a2b38b1b9b8584ae3fa7d9ee482ee19bbf6eb5ac1d5f9ec187e44c4bb7bb6046488b178628af850e SHA512 bf2602508425482e57c2e1b1ca2b36085560fa0e51e5d559b6c715a0534f182897eb54831a17a60a713cea0301a7521bb75c03881e8cb8527fbc565259a23ddf
 DIST pre-commit-3.3.2.gh.tar.gz 267100 BLAKE2B 5692baacb40482bdafb6ee9c912d98a248396f85b4f31303cb3f5f5aee0cfe68b1cdc2a6ab5ca82166632eb0f984acbad0a9ad2077a33f057e414433496da7f0 SHA512 9b0928cadb4530789f6dd87ea07c320eb76bec9501b46887929918f9dc5dc39773ead90536cb85cb317140682c2a4cee0dc7bcbc040759e76d504023cb5e40fd
+DIST pre-commit-3.3.3.gh.tar.gz 267281 BLAKE2B dbe3b90dd3808d24084ede3e9bd76ddc5b070d43bd70b3fa813f8e8e95875a178b86632208463c50a3d68868f2dd9d888e00e7bf3aeba3f3b78c7cd39b514270 SHA512 d126bead7ffa2c72213a894c82bc45d0bce8b508cf7190e7b7d56c667b5d3ebff80eedf7ecb4bb1e01923ef9a43878b73356fda866614d8cbcc8f241ee9e01f7

diff --git a/dev-vcs/pre-commit/pre-commit-3.2.2.ebuild b/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
similarity index 97%
rename from dev-vcs/pre-commit/pre-commit-3.2.2.ebuild
rename to dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
index 017446fb29d3..85138095ce63 100644
--- a/dev-vcs/pre-commit/pre-commit-3.2.2.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.3.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_REQ_USE="sqlite"


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-05-24 20:41 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-05-24 20:41 UTC (permalink / raw
  To: gentoo-commits

commit:     d318c581b3136e75c347d818f7aa7e50754fcefa
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed May 24 20:39:57 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed May 24 20:41:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d318c581

dev-vcs/pre-commit: add 3.3.2

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 +
 dev-vcs/pre-commit/pre-commit-3.3.2.ebuild | 57 ++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 8d2c74558971..e1c4c261a007 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.2.gh.tar.gz 267269 BLAKE2B b3b245b2ac0f0f4012e2612515e376aaaf5b4de0b5494c02a2b38b1b9b8584ae3fa7d9ee482ee19bbf6eb5ac1d5f9ec187e44c4bb7bb6046488b178628af850e SHA512 bf2602508425482e57c2e1b1ca2b36085560fa0e51e5d559b6c715a0534f182897eb54831a17a60a713cea0301a7521bb75c03881e8cb8527fbc565259a23ddf
+DIST pre-commit-3.3.2.gh.tar.gz 267100 BLAKE2B 5692baacb40482bdafb6ee9c912d98a248396f85b4f31303cb3f5f5aee0cfe68b1cdc2a6ab5ca82166632eb0f984acbad0a9ad2077a33f057e414433496da7f0 SHA512 9b0928cadb4530789f6dd87ea07c320eb76bec9501b46887929918f9dc5dc39773ead90536cb85cb317140682c2a4cee0dc7bcbc040759e76d504023cb5e40fd

diff --git a/dev-vcs/pre-commit/pre-commit-3.3.2.ebuild b/dev-vcs/pre-commit/pre-commit-3.3.2.ebuild
new file mode 100644
index 000000000000..85138095ce63
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-3.3.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_{10..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 ~arm64 ~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


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-05-24 20:41 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-05-24 20:41 UTC (permalink / raw
  To: gentoo-commits

commit:     612270999fb36bd3d87432127714d9bbd5842605
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed May 24 20:39:47 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed May 24 20:41:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61227099

dev-vcs/pre-commit: drop 3.2.1, 3.3.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  2 --
 dev-vcs/pre-commit/pre-commit-3.2.1.ebuild | 57 ------------------------------
 dev-vcs/pre-commit/pre-commit-3.3.1.ebuild | 57 ------------------------------
 3 files changed, 116 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 166b1086344b..8d2c74558971 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,4 +1,2 @@
 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
-DIST pre-commit-3.3.1.gh.tar.gz 267261 BLAKE2B d502f39b1766c865260c1c17ec3651ef6295efda28444b93e6f43e9ae1106488722eab09efd5936d12ec46a97d4e5faf420bfe599d17af0a129a032f76bc12c2 SHA512 c73a6718902f669ca3edb7bb93d40079275069958921e9dc7fa58b0861ed22d9e4b96ba9c39120e5e20c6c5689ca744fc4603c0f5a5dc26256b20682cc07e2a6

diff --git a/dev-vcs/pre-commit/pre-commit-3.2.1.ebuild b/dev-vcs/pre-commit/pre-commit-3.2.1.ebuild
deleted file mode 100644
index 5f06fdcab423..000000000000
--- a/dev-vcs/pre-commit/pre-commit-3.2.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# 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

diff --git a/dev-vcs/pre-commit/pre-commit-3.3.1.ebuild b/dev-vcs/pre-commit/pre-commit-3.3.1.ebuild
deleted file mode 100644
index 85138095ce63..000000000000
--- a/dev-vcs/pre-commit/pre-commit-3.3.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..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 ~arm64 ~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


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-05-21 11:25 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-05-21 11:25 UTC (permalink / raw
  To: gentoo-commits

commit:     3002d018f911426b7894f906b65ad4a515626f27
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun May 21 11:19:12 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun May 21 11:19:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3002d018

dev-vcs/pre-commit: add 3.3.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 +
 dev-vcs/pre-commit/pre-commit-3.3.1.ebuild | 57 ++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 569145bf615f..166b1086344b 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,3 +1,4 @@
 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
+DIST pre-commit-3.3.1.gh.tar.gz 267261 BLAKE2B d502f39b1766c865260c1c17ec3651ef6295efda28444b93e6f43e9ae1106488722eab09efd5936d12ec46a97d4e5faf420bfe599d17af0a129a032f76bc12c2 SHA512 c73a6718902f669ca3edb7bb93d40079275069958921e9dc7fa58b0861ed22d9e4b96ba9c39120e5e20c6c5689ca744fc4603c0f5a5dc26256b20682cc07e2a6

diff --git a/dev-vcs/pre-commit/pre-commit-3.3.1.ebuild b/dev-vcs/pre-commit/pre-commit-3.3.1.ebuild
new file mode 100644
index 000000000000..85138095ce63
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-3.3.1.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_{10..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 ~arm64 ~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


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-04-25 23:17 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2023-04-25 23:17 UTC (permalink / raw
  To: gentoo-commits

commit:     15e426c725a2c54df3bebc9f579ea06ba91ca52e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 23:17:31 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 23:17:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e426c7

dev-vcs/pre-commit: Keyword 3.2.2 arm64, #905058

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.2.2.ebuild b/dev-vcs/pre-commit/pre-commit-3.2.2.ebuild
index 5f06fdcab423..017446fb29d3 100644
--- a/dev-vcs/pre-commit/pre-commit-3.2.2.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.2.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-04-08 21:26 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-04-08 21:26 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-03-26  0:51 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2023-03-26  0:51 UTC (permalink / raw
  To: gentoo-commits

commit:     ce1c2feb72cb6063d34ba85026e93f09975a7e41
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 26 00:51:33 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 00:51:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce1c2feb

dev-vcs/pre-commit: Stabilize 3.0.4 x86, #903053

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.0.4.ebuild b/dev-vcs/pre-commit/pre-commit-3.0.4.ebuild
index abd369a5e990..11b7b05c956f 100644
--- a/dev-vcs/pre-commit/pre-commit-3.0.4.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.0.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-03-26  0:51 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2023-03-26  0:51 UTC (permalink / raw
  To: gentoo-commits

commit:     d28d2616426b9fd70ead64fcd367ed83fc0be20b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 26 00:51:32 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 00:51:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d28d2616

dev-vcs/pre-commit: Stabilize 3.0.4 amd64, #903053

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-3.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-3.0.4.ebuild b/dev-vcs/pre-commit/pre-commit-3.0.4.ebuild
index 5a0641fc9c02..abd369a5e990 100644
--- a/dev-vcs/pre-commit/pre-commit-3.0.4.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.0.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-03-25 21:48 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-03-25 21:48 UTC (permalink / raw
  To: gentoo-commits

commit:     099bd297f531f478fcc4a9b2cf0da90d739fafe1
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 21:48:29 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 21:48:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099bd297

dev-vcs/pre-commit: add 3.2.1, drop 3.1.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                                            | 2 +-
 .../pre-commit/{pre-commit-3.1.1.ebuild => pre-commit-3.2.1.ebuild}    | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 41fb1507e477..36eb088f6b44 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,3 +1,3 @@
 DIST pre-commit-2.20.0.gh.tar.gz 266604 BLAKE2B 470f032e6d5bfcdd9ac8ba8f37d4323b601da0c82bcd524ffc575dc688fe81ad326a1f6a8ddd03da6e37130319ee40070c03d9789cd6e0e4b427a1d6e646416e SHA512 b1da558a0e5d8f2f655427089f1d0b11b01ad7513ece7a0b3b67c33529cf3584edba558c78704e6da6ca18876b1d6c0fa8698e01fd7c2439b8d4dc0a93961e52
 DIST pre-commit-3.0.4.gh.tar.gz 264952 BLAKE2B 3c45da675d5a1a1fc115db0ef7186c1ec1e5a6d6d9353c5a53dba85a14de2c94bafe0ef9e8d0b04bae55ded81890d726997e695c95889719096205e1b212a237 SHA512 d51aca29b50f67ae42aa70d849939e6af96ff64c6fb214cddbc5a35cacebb8a54a4911110d0615a1a499516fcc2a06bb47d7e11da84ef636c3fcfdc8d2cbe343
-DIST pre-commit-3.1.1.gh.tar.gz 265999 BLAKE2B eff0708397ae88d0223b65168d1dca4e2a6ced808a504d28c10ab6c626682475ef0c5c165dbd13975fb29cdc869abc018d2c1b3a596f904e14357bb3598f1a96 SHA512 e707b9c28f75ae61a9c08dc7031e22c048c8757b4ae6c8fa18c712ab8c5a6d891f62d7b0c8962456931b7281d3a55bfce55569bf44bf65e03661596ed367120c
+DIST pre-commit-3.2.1.gh.tar.gz 267233 BLAKE2B 39843fa9f7529ee38670b3c7ebea1e29b080db47ae3db73d5a218455fd51b7bf86bb1ab1a979946a57bf6417f8a4e7050e8ba34f873bf4d76fa49fa76358964e SHA512 5e2c114049d84eae2ec6cbf123c8e3976d8e9e392a6e04f78d446ad85758a78fb912c0f6070b9c506f8c1bb87e1fd1ecbe763deb8d1430e1d3d8f296dd0cc389

diff --git a/dev-vcs/pre-commit/pre-commit-3.1.1.ebuild b/dev-vcs/pre-commit/pre-commit-3.2.1.ebuild
similarity index 95%
rename from dev-vcs/pre-commit/pre-commit-3.1.1.ebuild
rename to dev-vcs/pre-commit/pre-commit-3.2.1.ebuild
index 7207920c1aee..5f06fdcab423 100644
--- a/dev-vcs/pre-commit/pre-commit-3.1.1.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-3.2.1.ebuild
@@ -45,11 +45,12 @@ DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
 # 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 and when run manually with tox.
+# 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
 )
 


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-02-05 23:03 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-02-05 23:03 UTC (permalink / raw
  To: gentoo-commits

commit:     5dc30e923d4d62b470adb629ccad6fce50de4574
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  5 22:18:36 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Feb  5 23:03:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc30e92

dev-vcs/pre-commit: add 3.0.4, drop 3.0.2

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                                             | 2 +-
 dev-vcs/pre-commit/{pre-commit-3.0.2.ebuild => pre-commit-3.0.4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 55214d41a09f..09d45edc6292 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1,2 @@
 DIST pre-commit-2.20.0.gh.tar.gz 266604 BLAKE2B 470f032e6d5bfcdd9ac8ba8f37d4323b601da0c82bcd524ffc575dc688fe81ad326a1f6a8ddd03da6e37130319ee40070c03d9789cd6e0e4b427a1d6e646416e SHA512 b1da558a0e5d8f2f655427089f1d0b11b01ad7513ece7a0b3b67c33529cf3584edba558c78704e6da6ca18876b1d6c0fa8698e01fd7c2439b8d4dc0a93961e52
-DIST pre-commit-3.0.2.gh.tar.gz 265956 BLAKE2B fd579de75531f8ee369ce304213baa609280546fcbb2a3fb144e298ce5a1205905c3dfcba7d0f01c47f73bbcaf67678f8cde414a45f6c0dbcdbcc5fd3a7589d2 SHA512 58350fb33663c8c671b187e81840b19e5e33bd50ed65d0e67b814ce619c7df63f4fad7f66ebd86829bd854522460d451de6071a9d548b0a4bbd538609e41cc72
+DIST pre-commit-3.0.4.gh.tar.gz 264952 BLAKE2B 3c45da675d5a1a1fc115db0ef7186c1ec1e5a6d6d9353c5a53dba85a14de2c94bafe0ef9e8d0b04bae55ded81890d726997e695c95889719096205e1b212a237 SHA512 d51aca29b50f67ae42aa70d849939e6af96ff64c6fb214cddbc5a35cacebb8a54a4911110d0615a1a499516fcc2a06bb47d7e11da84ef636c3fcfdc8d2cbe343

diff --git a/dev-vcs/pre-commit/pre-commit-3.0.2.ebuild b/dev-vcs/pre-commit/pre-commit-3.0.4.ebuild
similarity index 100%
rename from dev-vcs/pre-commit/pre-commit-3.0.2.ebuild
rename to dev-vcs/pre-commit/pre-commit-3.0.4.ebuild


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2023-02-01 23:08 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2023-02-01 23:08 UTC (permalink / raw
  To: gentoo-commits

commit:     bbd1504384cf04bab52031bf6fb7642f5d90fee3
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  1 23:00:25 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 23:08:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd15043

dev-vcs/pre-commit: add 3.0.2

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                |  1 +
 dev-vcs/pre-commit/pre-commit-3.0.2.ebuild | 56 ++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 684a7217189a..55214d41a09f 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1 +1,2 @@
 DIST pre-commit-2.20.0.gh.tar.gz 266604 BLAKE2B 470f032e6d5bfcdd9ac8ba8f37d4323b601da0c82bcd524ffc575dc688fe81ad326a1f6a8ddd03da6e37130319ee40070c03d9789cd6e0e4b427a1d6e646416e SHA512 b1da558a0e5d8f2f655427089f1d0b11b01ad7513ece7a0b3b67c33529cf3584edba558c78704e6da6ca18876b1d6c0fa8698e01fd7c2439b8d4dc0a93961e52
+DIST pre-commit-3.0.2.gh.tar.gz 265956 BLAKE2B fd579de75531f8ee369ce304213baa609280546fcbb2a3fb144e298ce5a1205905c3dfcba7d0f01c47f73bbcaf67678f8cde414a45f6c0dbcdbcc5fd3a7589d2 SHA512 58350fb33663c8c671b187e81840b19e5e33bd50ed65d0e67b814ce619c7df63f4fad7f66ebd86829bd854522460d451de6071a9d548b0a4bbd538609e41cc72

diff --git a/dev-vcs/pre-commit/pre-commit-3.0.2.ebuild b/dev-vcs/pre-commit/pre-commit-3.0.2.ebuild
new file mode 100644
index 000000000000..5a0641fc9c02
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-3.0.2.ebuild
@@ -0,0 +1,56 @@
+# 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}-2.20.0-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 and when run manually with tox.
+EPYTEST_DESELECT=(
+	tests/languages/
+	tests/repository_test.py
+	tests/main_test.py::test_all_cmds
+	tests/main_test.py::test_try_repo
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-12-13 11:02 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-12-13 11:02 UTC (permalink / raw
  To: gentoo-commits

commit:     2402bd56e409fbb6b0c40ed7e2fe7354a8a602a6
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 13 10:54:55 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Dec 13 10:54:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2402bd56

dev-vcs/pre-commit: require non-multicall coreutils for tests

Two of the parse_shebang_test.py tests do not like it it where echo
is a wrapper around the multicall binary. Given the behaviour
demonstrated by pre-commit upstream, I don't really them to address
this any time soon.

Closes: https://bugs.gentoo.org/885559
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
index 193a7222eaaa..ca37f6d9c248 100644
--- a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
@@ -26,11 +26,13 @@ RDEPEND="dev-vcs/git
 		>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
 		>=dev-python/virtualenv-20.0.8[${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=(


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-11-15  8:58 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-11-15  8:58 UTC (permalink / raw
  To: gentoo-commits

commit:     dea058cc176b290223a151c4e5f32ea0f064c94a
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 08:57:56 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 08:58:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea058cc

dev-vcs/pre-commit: drop ebuilds depending on dev-python/toml

Closes: https://bugs.gentoo.org/878677
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 -
 dev-vcs/pre-commit/pre-commit-2.20.0.ebuild | 51 -----------------------------
 2 files changed, 52 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index c43c785bb1aa..684a7217189a 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1 @@
 DIST pre-commit-2.20.0.gh.tar.gz 266604 BLAKE2B 470f032e6d5bfcdd9ac8ba8f37d4323b601da0c82bcd524ffc575dc688fe81ad326a1f6a8ddd03da6e37130319ee40070c03d9789cd6e0e4b427a1d6e646416e SHA512 b1da558a0e5d8f2f655427089f1d0b11b01ad7513ece7a0b3b67c33529cf3584edba558c78704e6da6ca18876b1d6c0fa8698e01fd7c2439b8d4dc0a93961e52
-DIST pre-commit-2.20.0.tar.gz 266604 BLAKE2B 470f032e6d5bfcdd9ac8ba8f37d4323b601da0c82bcd524ffc575dc688fe81ad326a1f6a8ddd03da6e37130319ee40070c03d9789cd6e0e4b427a1d6e646416e SHA512 b1da558a0e5d8f2f655427089f1d0b11b01ad7513ece7a0b3b67c33529cf3584edba558c78704e6da6ca18876b1d6c0fa8698e01fd7c2439b8d4dc0a93961e52

diff --git a/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
deleted file mode 100644
index 3cba2d94f066..000000000000
--- a/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..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}.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/toml[${PYTHON_USEDEP}]
-		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
-	')"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/pytest-env[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
-	')
-)"
-
-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 and when run manually with tox.
-EPYTEST_DESELECT=(
-	tests/languages/
-	tests/repository_test.py
-	tests/main_test.py::test_all_cmds
-	tests/main_test.py::test_try_repo
-)
-
-distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-11-15  2:53 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2022-11-15  2:53 UTC (permalink / raw
  To: gentoo-commits

commit:     9f319c70d80205d4568f52c88fd22271bfde6489
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 02:53:31 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 02:53:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f319c70

dev-vcs/pre-commit: Stabilize 2.20.0-r1 amd64, #881279

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
index 0661c9a15854..fac14d2000b8 100644
--- a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-11-15  2:53 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2022-11-15  2:53 UTC (permalink / raw
  To: gentoo-commits

commit:     d27bedcb7c679db57528a8b9329416f70f4601d0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 02:53:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 02:53:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d27bedcb

dev-vcs/pre-commit: Stabilize 2.20.0-r1 x86, #881279

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
index fac14d2000b8..193a7222eaaa 100644
--- a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-09-01 23:22 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-09-01 23:22 UTC (permalink / raw
  To: gentoo-commits

commit:     ccd8da73716c237b357a7cd72d880c01b067771b
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  1 23:18:53 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 23:18:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd8da73

dev-vcs/pre-commit: drop 2.19.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 -
 dev-vcs/pre-commit/pre-commit-2.19.0.ebuild | 52 -----------------------------
 2 files changed, 53 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 99ed099e2246..06a74933c9d1 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1 @@
-DIST pre-commit-2.19.0.tar.gz 266117 BLAKE2B d2105fb9aa64e63c7d93142228545e3597eb4a1637f850ce5d3f14b0826bdfb8a8d971779690c4fda6823fa1915fc57f9c86b9ffae48dbe39e7a225123304f5c SHA512 9cc28c5e9ce4be87e09e7be01138c35bbe954efb6c1400e92b1a6b5f50e426b59d74651802359015840d5ec4a5583bf8f579bf7f08eb778d5950c8c8dfe4c80c
 DIST pre-commit-2.20.0.tar.gz 266604 BLAKE2B 470f032e6d5bfcdd9ac8ba8f37d4323b601da0c82bcd524ffc575dc688fe81ad326a1f6a8ddd03da6e37130319ee40070c03d9789cd6e0e4b427a1d6e646416e SHA512 b1da558a0e5d8f2f655427089f1d0b11b01ad7513ece7a0b3b67c33529cf3584edba558c78704e6da6ca18876b1d6c0fa8698e01fd7c2439b8d4dc0a93961e52

diff --git a/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
deleted file mode 100644
index 6697add00888..000000000000
--- a/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Many test failures with py3.11 as of 2.19.0
-PYTHON_COMPAT=( python3_{8..10} )
-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}.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/toml[${PYTHON_USEDEP}]
-		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
-	')"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/pytest-env[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
-	')
-)"
-
-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 and when run manually with tox.
-EPYTEST_DESELECT=(
-	tests/languages/
-	tests/repository_test.py
-	tests/main_test.py::test_all_cmds
-	tests/main_test.py::test_try_repo
-)
-
-distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-09-01 19:14 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2022-09-01 19:14 UTC (permalink / raw
  To: gentoo-commits

commit:     57e3495df0fd81cbc8bcd0882ba831b2a9939634
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  1 19:11:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 19:11:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e3495d

dev-vcs/pre-commit: Stabilize 2.20.0 amd64, #867877

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
index 1d5c06e1e2a7..c2e052654249 100644
--- a/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-09-01 19:14 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2022-09-01 19:14 UTC (permalink / raw
  To: gentoo-commits

commit:     86cfc97dd47d3376062d87d9fd820f55a89ddcab
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  1 19:12:34 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 19:12:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86cfc97d

dev-vcs/pre-commit: Stabilize 2.20.0 x86, #867877

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
index c2e052654249..3cba2d94f066 100644
--- a/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-07-13 15:55 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-07-13 15:55 UTC (permalink / raw
  To: gentoo-commits

commit:     931d53f4bef4cf32cdef2f009f8ffd28e4288402
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 14:33:19 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 15:55:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931d53f4

dev-vcs/pre-commit: add 2.20.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 +
 dev-vcs/pre-commit/pre-commit-2.20.0.ebuild | 51 +++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index d4fb60efa5d0..99ed099e2246 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1 +1,2 @@
 DIST pre-commit-2.19.0.tar.gz 266117 BLAKE2B d2105fb9aa64e63c7d93142228545e3597eb4a1637f850ce5d3f14b0826bdfb8a8d971779690c4fda6823fa1915fc57f9c86b9ffae48dbe39e7a225123304f5c SHA512 9cc28c5e9ce4be87e09e7be01138c35bbe954efb6c1400e92b1a6b5f50e426b59d74651802359015840d5ec4a5583bf8f579bf7f08eb778d5950c8c8dfe4c80c
+DIST pre-commit-2.20.0.tar.gz 266604 BLAKE2B 470f032e6d5bfcdd9ac8ba8f37d4323b601da0c82bcd524ffc575dc688fe81ad326a1f6a8ddd03da6e37130319ee40070c03d9789cd6e0e4b427a1d6e646416e SHA512 b1da558a0e5d8f2f655427089f1d0b11b01ad7513ece7a0b3b67c33529cf3584edba558c78704e6da6ca18876b1d6c0fa8698e01fd7c2439b8d4dc0a93961e52

diff --git a/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
new file mode 100644
index 000000000000..1d5c06e1e2a7
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-2.20.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..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}.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/toml[${PYTHON_USEDEP}]
+		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
+	')"
+BDEPEND="test? (
+	$(python_gen_cond_dep '
+		dev-python/pytest-env[${PYTHON_USEDEP}]
+		dev-python/re-assert[${PYTHON_USEDEP}]
+	')
+)"
+
+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 and when run manually with tox.
+EPYTEST_DESELECT=(
+	tests/languages/
+	tests/repository_test.py
+	tests/main_test.py::test_all_cmds
+	tests/main_test.py::test_try_repo
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-06-30  9:02 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-06-30  9:02 UTC (permalink / raw
  To: gentoo-commits

commit:     0cfa5ced691e7a76bc98b0b413ca0f0cb3a03835
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 08:17:02 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 09:01:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cfa5ced

dev-vcs/pre-commit: drop 2.17.0, 2.18.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  2 --
 dev-vcs/pre-commit/pre-commit-2.17.0.ebuild | 51 -----------------------------
 dev-vcs/pre-commit/pre-commit-2.18.1.ebuild | 51 -----------------------------
 3 files changed, 104 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 915c064870cd..d4fb60efa5d0 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,3 +1 @@
-DIST pre-commit-2.17.0.tar.gz 261131 BLAKE2B 114fac379690ee4c1c60970a1b0fbcd20faea785837c174514c3fc3d247ec79f52fb5f14c96a762921395d682017a9cc406dc59b3042fc955cd65019fb781a3f SHA512 54b5af9088083ad0c57fab09c06c35bd5921b29348454fc8fc16081d3c6a2e0add13f8a18f06b7408a0e06babc5e15659b37ab53797edd3514d516059e2343a8
-DIST pre-commit-2.18.1.tar.gz 263642 BLAKE2B 0ddd0e8bc7450c6bce2080155851c4b8d7e81fe1683dbea389d24e79906b52850ca8cc16b57a4b6192a389a10f8e9d0dfeaa23deaf59027093dc4db61b4533c1 SHA512 38ad176675b40eb4fd2475e51f3079cff5d84733401592a8a00021cba6656f01a38c5835298db50607fd8d188728c127600c731795fbc149436a5e4aada94fc1
 DIST pre-commit-2.19.0.tar.gz 266117 BLAKE2B d2105fb9aa64e63c7d93142228545e3597eb4a1637f850ce5d3f14b0826bdfb8a8d971779690c4fda6823fa1915fc57f9c86b9ffae48dbe39e7a225123304f5c SHA512 9cc28c5e9ce4be87e09e7be01138c35bbe954efb6c1400e92b1a6b5f50e426b59d74651802359015840d5ec4a5583bf8f579bf7f08eb778d5950c8c8dfe4c80c

diff --git a/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
deleted file mode 100644
index 3d2b9177deee..000000000000
--- a/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-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}.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/toml[${PYTHON_USEDEP}]
-		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
-	')"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/pytest-env[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
-	')
-)"
-
-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 and when run manually with tox.
-EPYTEST_DESELECT=(
-	tests/languages/
-	tests/repository_test.py
-	tests/main_test.py::test_all_cmds
-	tests/main_test.py::test_try_repo
-)
-
-distutils_enable_tests pytest

diff --git a/dev-vcs/pre-commit/pre-commit-2.18.1.ebuild b/dev-vcs/pre-commit/pre-commit-2.18.1.ebuild
deleted file mode 100644
index 2794cad11571..000000000000
--- a/dev-vcs/pre-commit/pre-commit-2.18.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-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}.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/toml[${PYTHON_USEDEP}]
-		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
-	')"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/pytest-env[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
-	')
-)"
-
-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 and when run manually with tox.
-EPYTEST_DESELECT=(
-	tests/languages/
-	tests/repository_test.py
-	tests/main_test.py::test_all_cmds
-	tests/main_test.py::test_try_repo
-)
-
-distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-06-30  7:01 Agostino Sarubbo
  0 siblings, 0 replies; 70+ messages in thread
From: Agostino Sarubbo @ 2022-06-30  7:01 UTC (permalink / raw
  To: gentoo-commits

commit:     e5d71216fa0cfa11a82702218d8fdab050da72b5
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 07:01:12 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 07:01:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5d71216

dev-vcs/pre-commit: amd64 stable wrt bug #855026

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
index 2791f0f720ef..6697add00888 100644
--- a/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-06-29 11:58 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2022-06-29 11:58 UTC (permalink / raw
  To: gentoo-commits

commit:     f60801716b7af0e2deadc66348900805d5d15d9c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 29 11:57:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 11:57:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6080171

dev-vcs/pre-commit: Stabilize 2.19.0 x86, #855026

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
index b30bc1b3b4b9..2791f0f720ef 100644
--- a/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-05-30 10:42 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-05-30 10:42 UTC (permalink / raw
  To: gentoo-commits

commit:     c2d3046418becc078cdaeaec8d3ccdd03a34846b
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 10:36:42 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon May 30 10:42:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d30464

dev-vcs/pre-commit: add 2.19.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 +
 dev-vcs/pre-commit/pre-commit-2.19.0.ebuild | 52 +++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 6fb759317b08..915c064870cd 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1,3 @@
 DIST pre-commit-2.17.0.tar.gz 261131 BLAKE2B 114fac379690ee4c1c60970a1b0fbcd20faea785837c174514c3fc3d247ec79f52fb5f14c96a762921395d682017a9cc406dc59b3042fc955cd65019fb781a3f SHA512 54b5af9088083ad0c57fab09c06c35bd5921b29348454fc8fc16081d3c6a2e0add13f8a18f06b7408a0e06babc5e15659b37ab53797edd3514d516059e2343a8
 DIST pre-commit-2.18.1.tar.gz 263642 BLAKE2B 0ddd0e8bc7450c6bce2080155851c4b8d7e81fe1683dbea389d24e79906b52850ca8cc16b57a4b6192a389a10f8e9d0dfeaa23deaf59027093dc4db61b4533c1 SHA512 38ad176675b40eb4fd2475e51f3079cff5d84733401592a8a00021cba6656f01a38c5835298db50607fd8d188728c127600c731795fbc149436a5e4aada94fc1
+DIST pre-commit-2.19.0.tar.gz 266117 BLAKE2B d2105fb9aa64e63c7d93142228545e3597eb4a1637f850ce5d3f14b0826bdfb8a8d971779690c4fda6823fa1915fc57f9c86b9ffae48dbe39e7a225123304f5c SHA512 9cc28c5e9ce4be87e09e7be01138c35bbe954efb6c1400e92b1a6b5f50e426b59d74651802359015840d5ec4a5583bf8f579bf7f08eb778d5950c8c8dfe4c80c

diff --git a/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
new file mode 100644
index 000000000000..b30bc1b3b4b9
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Many test failures with py3.11 as of 2.19.0
+PYTHON_COMPAT=( python3_{8..10} )
+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}.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/toml[${PYTHON_USEDEP}]
+		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
+	')"
+BDEPEND="test? (
+	$(python_gen_cond_dep '
+		dev-python/pytest-env[${PYTHON_USEDEP}]
+		dev-python/re-assert[${PYTHON_USEDEP}]
+	')
+)"
+
+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 and when run manually with tox.
+EPYTEST_DESELECT=(
+	tests/languages/
+	tests/repository_test.py
+	tests/main_test.py::test_all_cmds
+	tests/main_test.py::test_try_repo
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-02-24 14:22 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-02-24 14:22 UTC (permalink / raw
  To: gentoo-commits

commit:     f84f9ce37d1c459b455527d175074b9e4d399b2d
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 24 14:14:20 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 14:22:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f84f9ce3

dev-vcs/pre-commit: drop 2.15.0, 2.16.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  2 -
 dev-vcs/pre-commit/pre-commit-2.15.0.ebuild | 58 -----------------------------
 dev-vcs/pre-commit/pre-commit-2.16.0.ebuild | 58 -----------------------------
 3 files changed, 118 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 3cc696338bf0..8f1598c77ea6 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,3 +1 @@
-DIST pre-commit-2.15.0.tar.gz 255545 BLAKE2B 8fbb1fd6b1298ff1c5a6884dae53c79d108e8c4b74d05d6be36d562327fd024432d60e6df4570217e1b3f4ad8e33ee4d0d54a5d940f4833a46d4e9cb59698b3c SHA512 b87985aa625509d7a21e31e5774f259c264ec74fef88fc5e290cbac0326cdbadc37ab54b5bf3048d815cf9bc6d4adb71619fcb84c955c1bc9741da8dfd34251c
-DIST pre-commit-2.16.0.tar.gz 256930 BLAKE2B e515dcc9109c91cc7ab5ce60f662ebd62cce4f23e32676b7c295332c959fa10a34c320a197d15d7307b94aee53e7ade5da62aed8bbe122262db15d88d82e9757 SHA512 c9eb14a40e25e8408c2b2b5687eba4908d609bbb7bcf58a0153326696d272bca555156fd75f3ec5f0dec219aeeb4084df77f329f47cf190e40052c11e92fe185
 DIST pre-commit-2.17.0.tar.gz 261131 BLAKE2B 114fac379690ee4c1c60970a1b0fbcd20faea785837c174514c3fc3d247ec79f52fb5f14c96a762921395d682017a9cc406dc59b3042fc955cd65019fb781a3f SHA512 54b5af9088083ad0c57fab09c06c35bd5921b29348454fc8fc16081d3c6a2e0add13f8a18f06b7408a0e06babc5e15659b37ab53797edd3514d516059e2343a8

diff --git a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
deleted file mode 100644
index 46bca801fe4a..000000000000
--- a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_SINGLE_IMPL=1
-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}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
-
-# TODO: figure out why these tests - all of which invoke git - fail:
-#  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],
-#    tests/main_test.py::test_try_repo:
-#     Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
-#     NOT a sandbox issue it seems, as disabling it does not help.
-#  - tests/commands/install_uninstall_test.py::test_environment_not_sourced:
-#      Unexpected error "/usr/bin/env: 'python3.8': No such file or directory" - but only if pre-commit
-#      has previously been installed.
-#  - tests/commands/install_uninstall_test.py::test_installed_from_venv:
-#     the function invoking "git commit" returns 1 instead of 0, no details.
-RESTRICT="test"
-
-RDEPEND="dev-vcs/git
-	$(python_gen_cond_dep '
-		dev-python/cfgv[${PYTHON_USEDEP}]
-		dev-python/identify[${PYTHON_USEDEP}]
-		dev-python/nodeenv[${PYTHON_USEDEP}]
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-		dev-python/toml[${PYTHON_USEDEP}]
-		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
-	')"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/pytest-env[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
-	')
-)"
-
-DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
-
-distutils_enable_tests --install pytest
-
-src_prepare() {
-	default
-
-	# These tests 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.
-	rm -rf tests/languages tests/repository_test.py
-}

diff --git a/dev-vcs/pre-commit/pre-commit-2.16.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.16.0.ebuild
deleted file mode 100644
index a75c6d3fd4cb..000000000000
--- a/dev-vcs/pre-commit/pre-commit-2.16.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_SINGLE_IMPL=1
-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}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-
-# TODO: figure out why these tests - all of which invoke git - fail:
-#  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],
-#    tests/main_test.py::test_try_repo:
-#     Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
-#     NOT a sandbox issue it seems, as disabling it does not help.
-#  - tests/commands/install_uninstall_test.py::test_environment_not_sourced:
-#      Unexpected error "/usr/bin/env: 'python3.8': No such file or directory" - but only if pre-commit
-#      has previously been installed.
-#  - tests/commands/install_uninstall_test.py::test_installed_from_venv:
-#     the function invoking "git commit" returns 1 instead of 0, no details.
-RESTRICT="test"
-
-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/toml[${PYTHON_USEDEP}]
-		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
-	')"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/pytest-env[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
-	')
-)"
-
-DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
-
-distutils_enable_tests --install pytest
-
-src_prepare() {
-	default
-
-	# These tests 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.
-	rm -rf tests/languages tests/repository_test.py
-}


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-02-24 14:04 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2022-02-24 14:04 UTC (permalink / raw
  To: gentoo-commits

commit:     d2e1001edf006407d32836e9c9cffeb63b0ba97d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 24 14:03:01 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 14:03:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e1001e

dev-vcs/pre-commit: Stabilize 2.17.0 x86, #833974

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
index 85ed7200f7f0..3d2b9177deee 100644
--- a/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-02-24  9:37 Jakov Smolić
  0 siblings, 0 replies; 70+ messages in thread
From: Jakov Smolić @ 2022-02-24  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     e477d2202f85dd4ebaf943177ef271b36cd2fe58
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 24 09:36:37 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 09:36:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e477d220

dev-vcs/pre-commit: Stabilize 2.17.0 amd64, #833974

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
index 2794cad11571..85ed7200f7f0 100644
--- a/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-01-20 22:14 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-01-20 22:14 UTC (permalink / raw
  To: gentoo-commits

commit:     8386649080b2000f1266636d6deedeac093ce45c
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 22:13:28 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 22:14:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83866490

dev-vcs/pre-commit: add 2.17.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 +
 dev-vcs/pre-commit/pre-commit-2.17.0.ebuild | 51 +++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 53c31ee53a78..3cc696338bf0 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1,3 @@
 DIST pre-commit-2.15.0.tar.gz 255545 BLAKE2B 8fbb1fd6b1298ff1c5a6884dae53c79d108e8c4b74d05d6be36d562327fd024432d60e6df4570217e1b3f4ad8e33ee4d0d54a5d940f4833a46d4e9cb59698b3c SHA512 b87985aa625509d7a21e31e5774f259c264ec74fef88fc5e290cbac0326cdbadc37ab54b5bf3048d815cf9bc6d4adb71619fcb84c955c1bc9741da8dfd34251c
 DIST pre-commit-2.16.0.tar.gz 256930 BLAKE2B e515dcc9109c91cc7ab5ce60f662ebd62cce4f23e32676b7c295332c959fa10a34c320a197d15d7307b94aee53e7ade5da62aed8bbe122262db15d88d82e9757 SHA512 c9eb14a40e25e8408c2b2b5687eba4908d609bbb7bcf58a0153326696d272bca555156fd75f3ec5f0dec219aeeb4084df77f329f47cf190e40052c11e92fe185
+DIST pre-commit-2.17.0.tar.gz 261131 BLAKE2B 114fac379690ee4c1c60970a1b0fbcd20faea785837c174514c3fc3d247ec79f52fb5f14c96a762921395d682017a9cc406dc59b3042fc955cd65019fb781a3f SHA512 54b5af9088083ad0c57fab09c06c35bd5921b29348454fc8fc16081d3c6a2e0add13f8a18f06b7408a0e06babc5e15659b37ab53797edd3514d516059e2343a8

diff --git a/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
new file mode 100644
index 000000000000..2794cad11571
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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}.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/toml[${PYTHON_USEDEP}]
+		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
+	')"
+BDEPEND="test? (
+	$(python_gen_cond_dep '
+		dev-python/pytest-env[${PYTHON_USEDEP}]
+		dev-python/re-assert[${PYTHON_USEDEP}]
+	')
+)"
+
+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 and when run manually with tox.
+EPYTEST_DESELECT=(
+	tests/languages/
+	tests/repository_test.py
+	tests/main_test.py::test_all_cmds
+	tests/main_test.py::test_try_repo
+)
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2022-01-01  0:23 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2022-01-01  0:23 UTC (permalink / raw
  To: gentoo-commits

commit:     86b5f7e50ff37dd6d437aae4c9cf58e938974c51
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 00:19:17 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 00:23:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b5f7e5

dev-vcs/pre-commit: add 2.16.0, drop 2.13.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                               |  2 +-
 ...{pre-commit-2.13.0.ebuild => pre-commit-2.16.0.ebuild} | 15 +++++++--------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index c714de0e5c04..53c31ee53a78 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1,2 @@
-DIST pre-commit-2.13.0.tar.gz 252631 BLAKE2B 7e6b3af46dfaf9928d2cb2aa6cad05423bf6e417e2324af71b241e1aaa2eec6fcb271869f98c040cd4fb8c608a1fabd244c8286864f469a06c44684cd2bf33eb SHA512 5dfc297b3f900afef8f1c355b38ce086af7c836d1e577af8ec95ffb30e82df8b866131da4ff12933339bda63e4a90833c3852265d4f2d4a59bf92bce2b972a5e
 DIST pre-commit-2.15.0.tar.gz 255545 BLAKE2B 8fbb1fd6b1298ff1c5a6884dae53c79d108e8c4b74d05d6be36d562327fd024432d60e6df4570217e1b3f4ad8e33ee4d0d54a5d940f4833a46d4e9cb59698b3c SHA512 b87985aa625509d7a21e31e5774f259c264ec74fef88fc5e290cbac0326cdbadc37ab54b5bf3048d815cf9bc6d4adb71619fcb84c955c1bc9741da8dfd34251c
+DIST pre-commit-2.16.0.tar.gz 256930 BLAKE2B e515dcc9109c91cc7ab5ce60f662ebd62cce4f23e32676b7c295332c959fa10a34c320a197d15d7307b94aee53e7ade5da62aed8bbe122262db15d88d82e9757 SHA512 c9eb14a40e25e8408c2b2b5687eba4908d609bbb7bcf58a0153326696d272bca555156fd75f3ec5f0dec219aeeb4084df77f329f47cf190e40052c11e92fe185

diff --git a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.16.0.ebuild
similarity index 87%
rename from dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
rename to dev-vcs/pre-commit/pre-commit-2.16.0.ebuild
index b950b9251989..a75c6d3fd4cb 100644
--- a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.16.0.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1
@@ -16,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
 
 # TODO: figure out why these tests - all of which invoke git - fail:
 #  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],
@@ -32,10 +31,10 @@ RESTRICT="test"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '
-		dev-python/cfgv[${PYTHON_USEDEP}]
-		dev-python/identify[${PYTHON_USEDEP}]
-		dev-python/nodeenv[${PYTHON_USEDEP}]
-		dev-python/pyyaml[${PYTHON_USEDEP}]
+		>=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/toml[${PYTHON_USEDEP}]
 		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
 	')"


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-10-21 23:28 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2021-10-21 23:28 UTC (permalink / raw
  To: gentoo-commits

commit:     c3d08e12e01d50cba10829779bf36d00f7201618
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 21 23:27:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 23:27:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d08e12

dev-vcs/pre-commit: Stabilize 2.15.0 amd64, #819075

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
index 91f11000890..46bca801fe4 100644
--- a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
 
 # TODO: figure out why these tests - all of which invoke git - fail:
 #  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-10-21 23:28 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2021-10-21 23:28 UTC (permalink / raw
  To: gentoo-commits

commit:     3f05bc1c14924634af99c1c155a77c35ab4e4580
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 21 23:26:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 23:26:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f05bc1c

dev-vcs/pre-commit: Stabilize 2.15.0 x86, #819075

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
index 79480395678..91f11000890 100644
--- a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 x86"
 
 # TODO: figure out why these tests - all of which invoke git - fail:
 #  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-09-09 14:17 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-09-09 14:17 UTC (permalink / raw
  To: gentoo-commits

commit:     f2a33e291a1e669c45661ec29b4a0cd013df7b7f
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  9 14:14:18 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Sep  9 14:17:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a33e29

dev-vcs/pre-commit-2.15.0: remove DISTUTILS_USE_SETUPTOOLS=rdepend

Turns out entry_points no longer require setuptools so having been
yelled at for a long time by QA about not having setuptools in RDEPEND,
we now have to revert this everywhere. Gotta love moving targets.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.15.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
index f557aafa2eb..79480395678 100644
--- a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
@@ -5,7 +5,6 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-09-09 11:20 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-09-09 11:20 UTC (permalink / raw
  To: gentoo-commits

commit:     26a0bece0dcad9bf9a80919c143ea4e18a537185
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  9 10:46:20 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Sep  9 11:20:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a0bece

dev-vcs/pre-commit: add 2.15.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 +
 dev-vcs/pre-commit/pre-commit-2.15.0.ebuild | 59 +++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 3afd8a4ec95..c714de0e5c0 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1 +1,2 @@
 DIST pre-commit-2.13.0.tar.gz 252631 BLAKE2B 7e6b3af46dfaf9928d2cb2aa6cad05423bf6e417e2324af71b241e1aaa2eec6fcb271869f98c040cd4fb8c608a1fabd244c8286864f469a06c44684cd2bf33eb SHA512 5dfc297b3f900afef8f1c355b38ce086af7c836d1e577af8ec95ffb30e82df8b866131da4ff12933339bda63e4a90833c3852265d4f2d4a59bf92bce2b972a5e
+DIST pre-commit-2.15.0.tar.gz 255545 BLAKE2B 8fbb1fd6b1298ff1c5a6884dae53c79d108e8c4b74d05d6be36d562327fd024432d60e6df4570217e1b3f4ad8e33ee4d0d54a5d940f4833a46d4e9cb59698b3c SHA512 b87985aa625509d7a21e31e5774f259c264ec74fef88fc5e290cbac0326cdbadc37ab54b5bf3048d815cf9bc6d4adb71619fcb84c955c1bc9741da8dfd34251c

diff --git a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
new file mode 100644
index 00000000000..f557aafa2eb
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_SETUPTOOLS=rdepend
+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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+
+# TODO: figure out why these tests - all of which invoke git - fail:
+#  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],
+#    tests/main_test.py::test_try_repo:
+#     Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
+#     NOT a sandbox issue it seems, as disabling it does not help.
+#  - tests/commands/install_uninstall_test.py::test_environment_not_sourced:
+#      Unexpected error "/usr/bin/env: 'python3.8': No such file or directory" - but only if pre-commit
+#      has previously been installed.
+#  - tests/commands/install_uninstall_test.py::test_installed_from_venv:
+#     the function invoking "git commit" returns 1 instead of 0, no details.
+RESTRICT="test"
+
+RDEPEND="dev-vcs/git
+	$(python_gen_cond_dep '
+		dev-python/cfgv[${PYTHON_USEDEP}]
+		dev-python/identify[${PYTHON_USEDEP}]
+		dev-python/nodeenv[${PYTHON_USEDEP}]
+		dev-python/pyyaml[${PYTHON_USEDEP}]
+		dev-python/toml[${PYTHON_USEDEP}]
+		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
+	')"
+BDEPEND="test? (
+	$(python_gen_cond_dep '
+		dev-python/pytest-env[${PYTHON_USEDEP}]
+		dev-python/re-assert[${PYTHON_USEDEP}]
+	')
+)"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
+
+distutils_enable_tests --install pytest
+
+src_prepare() {
+	default
+
+	# These tests 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.
+	rm -rf tests/languages tests/repository_test.py
+}


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-07-24  4:09 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2021-07-24  4:09 UTC (permalink / raw
  To: gentoo-commits

commit:     8a3d80c472888a40ec91171fa372a1451356b212
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 04:09:31 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 04:09:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3d80c4

dev-vcs/pre-commit: Keyword 2.13.0 ppc64, #793794

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
index a43dd94681d..b950b925198 100644
--- a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
 
 # TODO: figure out why these tests - all of which invoke git - fail:
 #  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-07-24  4:09 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2021-07-24  4:09 UTC (permalink / raw
  To: gentoo-commits

commit:     cededfd77b16fd457180ec3dbdd8a354a0704f77
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 04:09:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 04:09:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cededfd7

dev-vcs/pre-commit: Keyword 2.13.0 x86, #793794

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
index aa881ca83b3..a43dd94681d 100644
--- a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc"
+KEYWORDS="amd64 ~hppa ~ppc ~x86"
 
 # TODO: figure out why these tests - all of which invoke git - fail:
 #  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-07-12 21:59 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2021-07-12 21:59 UTC (permalink / raw
  To: gentoo-commits

commit:     74987db7652c73fef276ae99eb7ba299e3e5e284
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 12 21:54:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 12 21:54:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74987db7

dev-vcs/pre-commit: Keyword 2.13.0 ppc, #793794

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
index 802f0287c55..aa881ca83b3 100644
--- a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~hppa"
+KEYWORDS="amd64 ~hppa ~ppc"
 
 # TODO: figure out why these tests - all of which invoke git - fail:
 #  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-06-25 22:49 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-06-25 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     accb969680c6b8fc673da52c842cb8916a8e4de1
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 22:48:46 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 22:48:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=accb9696

dev-vcs/pre-commit: drop 2.12.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 -
 dev-vcs/pre-commit/pre-commit-2.12.1.ebuild | 56 -----------------------------
 2 files changed, 57 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 6a58d3a08e1..3afd8a4ec95 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1 @@
-DIST pre-commit-2.12.1.tar.gz 246313 BLAKE2B 45ee7c8217f88eeaa2e9eb11efd79291d6577134799b328f252bd4d4283c11754b36ffeedf045a5101c6edc8cdf330d566e404ae34f1a831a830e8e0346337e9 SHA512 6dbd804e1001276e6e8cea7c31b321a05798b38c59f37d5900317c3a9ceccf5103afcbdfd29f9438be3595a18ae15eb09dd222c91c439da47d7728a0e0a55c70
 DIST pre-commit-2.13.0.tar.gz 252631 BLAKE2B 7e6b3af46dfaf9928d2cb2aa6cad05423bf6e417e2324af71b241e1aaa2eec6fcb271869f98c040cd4fb8c608a1fabd244c8286864f469a06c44684cd2bf33eb SHA512 5dfc297b3f900afef8f1c355b38ce086af7c836d1e577af8ec95ffb30e82df8b866131da4ff12933339bda63e4a90833c3852265d4f2d4a59bf92bce2b972a5e

diff --git a/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild b/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild
deleted file mode 100644
index 1dd37b2abb3..00000000000
--- a/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64"
-
-# TODO: figure out why these tests - all of which invoke git - fail:
-#  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall]
-#     "Git failed", not much information beyond that
-#  - tests/main_test.py::test_try_repo
-#     Ditto
-#  - tests/commands/install_uninstall_test.py::test_installed_from_venv
-#     "git commit" returns 1 instead of 0, again no details
-RESTRICT="test"
-
-RDEPEND="dev-vcs/git
-	$(python_gen_cond_dep '
-		dev-python/cfgv[${PYTHON_USEDEP}]
-		dev-python/identify[${PYTHON_USEDEP}]
-		dev-python/nodeenv[${PYTHON_USEDEP}]
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-		dev-python/toml[${PYTHON_USEDEP}]
-		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
-	')"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/pytest-env[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
-	')
-)"
-
-DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
-
-distutils_enable_tests --install pytest
-
-src_prepare() {
-	default
-
-	# These tests 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.
-	rm -rf tests/languages tests/repository_test.py
-}


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-06-25 19:33 Sam James
  0 siblings, 0 replies; 70+ messages in thread
From: Sam James @ 2021-06-25 19:33 UTC (permalink / raw
  To: gentoo-commits

commit:     36840f23dcbc20a101c23b307672d75ec36c8345
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 19:33:22 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 19:33:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36840f23

dev-vcs/pre-commit: Stabilize 2.13.0 amd64, #798678

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
index 3d3e6ce0d2e..802f0287c55 100644
--- a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa"
+KEYWORDS="amd64 ~hppa"
 
 # TODO: figure out why these tests - all of which invoke git - fail:
 #  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-06-09 15:19 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-06-09 15:19 UTC (permalink / raw
  To: gentoo-commits

commit:     27987951ce47e85141d5f96974a2d7132c6a61a5
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  9 14:53:48 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jun  9 15:19:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27987951

dev-vcs/pre-commit: support python3_10

Builds and installs fine, tests (when unrestricted) fail the same way as
for older Python versions.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
index db770b021cd..3d3e6ce0d2e 100644
--- a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_REQ_USE="sqlite"


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-06-08 16:54 Sergei Trofimovich
  0 siblings, 0 replies; 70+ messages in thread
From: Sergei Trofimovich @ 2021-06-08 16:54 UTC (permalink / raw
  To: gentoo-commits

commit:     d58b4cd3aadc75c7a6f5362bdf7df5066deefe74
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Tue Jun  8 15:36:23 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Jun  8 16:53:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58b4cd3

dev-vcs/pre-commit: keyworded 2.13.0 for hppa, bug #793794

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
index d2e6b60c37b..db770b021cd 100644
--- a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~hppa"
 
 # TODO: figure out why these tests - all of which invoke git - fail:
 #  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-05-26  6:49 Agostino Sarubbo
  0 siblings, 0 replies; 70+ messages in thread
From: Agostino Sarubbo @ 2021-05-26  6:49 UTC (permalink / raw
  To: gentoo-commits

commit:     f23978f29ab1e137672f021475de3534059dcc71
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed May 26 06:48:50 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed May 26 06:48:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f23978f2

dev-vcs/pre-commit: amd64 stable wrt bug #791949

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild b/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild
index 5a4c4ea945f..1dd37b2abb3 100644
--- a/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 # TODO: figure out why these tests - all of which invoke git - fail:
 #  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall]


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-05-25 12:31 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-05-25 12:31 UTC (permalink / raw
  To: gentoo-commits

commit:     601bee8634604f80b438ed706f46a45c97554ac1
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue May 25 12:03:27 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue May 25 12:30:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=601bee86

dev-vcs/pre-commit: add 2.13.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 +
 dev-vcs/pre-commit/pre-commit-2.13.0.ebuild | 59 +++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index b94fd505fbe..6a58d3a08e1 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1 +1,2 @@
 DIST pre-commit-2.12.1.tar.gz 246313 BLAKE2B 45ee7c8217f88eeaa2e9eb11efd79291d6577134799b328f252bd4d4283c11754b36ffeedf045a5101c6edc8cdf330d566e404ae34f1a831a830e8e0346337e9 SHA512 6dbd804e1001276e6e8cea7c31b321a05798b38c59f37d5900317c3a9ceccf5103afcbdfd29f9438be3595a18ae15eb09dd222c91c439da47d7728a0e0a55c70
+DIST pre-commit-2.13.0.tar.gz 252631 BLAKE2B 7e6b3af46dfaf9928d2cb2aa6cad05423bf6e417e2324af71b241e1aaa2eec6fcb271869f98c040cd4fb8c608a1fabd244c8286864f469a06c44684cd2bf33eb SHA512 5dfc297b3f900afef8f1c355b38ce086af7c836d1e577af8ec95ffb30e82df8b866131da4ff12933339bda63e4a90833c3852265d4f2d4a59bf92bce2b972a5e

diff --git a/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
new file mode 100644
index 00000000000..d2e6b60c37b
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-2.13.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_SETUPTOOLS=rdepend
+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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# TODO: figure out why these tests - all of which invoke git - fail:
+#  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],
+#    tests/main_test.py::test_try_repo:
+#     Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
+#     NOT a sandbox issue it seems, as disabling it does not help.
+#  - tests/commands/install_uninstall_test.py::test_environment_not_sourced:
+#      Unexpected error "/usr/bin/env: 'python3.8': No such file or directory" - but only if pre-commit
+#      has previously been installed.
+#  - tests/commands/install_uninstall_test.py::test_installed_from_venv:
+#     the function invoking "git commit" returns 1 instead of 0, no details.
+RESTRICT="test"
+
+RDEPEND="dev-vcs/git
+	$(python_gen_cond_dep '
+		dev-python/cfgv[${PYTHON_USEDEP}]
+		dev-python/identify[${PYTHON_USEDEP}]
+		dev-python/nodeenv[${PYTHON_USEDEP}]
+		dev-python/pyyaml[${PYTHON_USEDEP}]
+		dev-python/toml[${PYTHON_USEDEP}]
+		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
+	')"
+BDEPEND="test? (
+	$(python_gen_cond_dep '
+		dev-python/pytest-env[${PYTHON_USEDEP}]
+		dev-python/re-assert[${PYTHON_USEDEP}]
+	')
+)"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
+
+distutils_enable_tests --install pytest
+
+src_prepare() {
+	default
+
+	# These tests 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.
+	rm -rf tests/languages tests/repository_test.py
+}


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-04-27 11:05 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-04-27 11:05 UTC (permalink / raw
  To: gentoo-commits

commit:     edb5b0d9077a5977148994285fb926ae3d4ff341
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 10:35:04 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Apr 27 11:04:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edb5b0d9

dev-vcs/pre-commit: drop 2.12.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 -
 dev-vcs/pre-commit/pre-commit-2.12.0.ebuild | 56 -----------------------------
 2 files changed, 57 deletions(-)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 96abbe1d8c1..b94fd505fbe 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1,2 +1 @@
-DIST pre-commit-2.12.0.tar.gz 246269 BLAKE2B a697cc0287e0cd5698d78056cd51484115788fc22ab36d951e3f390efad881353ed10a39f04fbfda78c163f2eb67357d6b0050d2a34d79fcb4c3495b9eab6046 SHA512 b65dab5dade2186785b2065d9d73427836a61acc3b2efcf54e74313361dcdb89c7ec829a1f653a4491afbe78d11cd4ed640ca579e7d2ca383daeb9680867812d
 DIST pre-commit-2.12.1.tar.gz 246313 BLAKE2B 45ee7c8217f88eeaa2e9eb11efd79291d6577134799b328f252bd4d4283c11754b36ffeedf045a5101c6edc8cdf330d566e404ae34f1a831a830e8e0346337e9 SHA512 6dbd804e1001276e6e8cea7c31b321a05798b38c59f37d5900317c3a9ceccf5103afcbdfd29f9438be3595a18ae15eb09dd222c91c439da47d7728a0e0a55c70

diff --git a/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
deleted file mode 100644
index 5a4c4ea945f..00000000000
--- a/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# TODO: figure out why these tests - all of which invoke git - fail:
-#  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall]
-#     "Git failed", not much information beyond that
-#  - tests/main_test.py::test_try_repo
-#     Ditto
-#  - tests/commands/install_uninstall_test.py::test_installed_from_venv
-#     "git commit" returns 1 instead of 0, again no details
-RESTRICT="test"
-
-RDEPEND="dev-vcs/git
-	$(python_gen_cond_dep '
-		dev-python/cfgv[${PYTHON_USEDEP}]
-		dev-python/identify[${PYTHON_USEDEP}]
-		dev-python/nodeenv[${PYTHON_USEDEP}]
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-		dev-python/toml[${PYTHON_USEDEP}]
-		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
-	')"
-BDEPEND="test? (
-	$(python_gen_cond_dep '
-		dev-python/pytest-env[${PYTHON_USEDEP}]
-		dev-python/re-assert[${PYTHON_USEDEP}]
-	')
-)"
-
-DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
-
-distutils_enable_tests --install pytest
-
-src_prepare() {
-	default
-
-	# These tests 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.
-	rm -rf tests/languages tests/repository_test.py
-}


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-04-22 16:51 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-04-22 16:51 UTC (permalink / raw
  To: gentoo-commits

commit:     c9c3201d0fb8558827fd78f5bb20c573b863fa51
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 22 16:27:10 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 16:51:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c3201d

dev-vcs/pre-commit: add 2.12.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 +
 dev-vcs/pre-commit/pre-commit-2.12.1.ebuild | 56 +++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
index 38fb887c07e..96abbe1d8c1 100644
--- a/dev-vcs/pre-commit/Manifest
+++ b/dev-vcs/pre-commit/Manifest
@@ -1 +1,2 @@
 DIST pre-commit-2.12.0.tar.gz 246269 BLAKE2B a697cc0287e0cd5698d78056cd51484115788fc22ab36d951e3f390efad881353ed10a39f04fbfda78c163f2eb67357d6b0050d2a34d79fcb4c3495b9eab6046 SHA512 b65dab5dade2186785b2065d9d73427836a61acc3b2efcf54e74313361dcdb89c7ec829a1f653a4491afbe78d11cd4ed640ca579e7d2ca383daeb9680867812d
+DIST pre-commit-2.12.1.tar.gz 246313 BLAKE2B 45ee7c8217f88eeaa2e9eb11efd79291d6577134799b328f252bd4d4283c11754b36ffeedf045a5101c6edc8cdf330d566e404ae34f1a831a830e8e0346337e9 SHA512 6dbd804e1001276e6e8cea7c31b321a05798b38c59f37d5900317c3a9ceccf5103afcbdfd29f9438be3595a18ae15eb09dd222c91c439da47d7728a0e0a55c70

diff --git a/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild b/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild
new file mode 100644
index 00000000000..5a4c4ea945f
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-2.12.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_SETUPTOOLS=rdepend
+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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# TODO: figure out why these tests - all of which invoke git - fail:
+#  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall]
+#     "Git failed", not much information beyond that
+#  - tests/main_test.py::test_try_repo
+#     Ditto
+#  - tests/commands/install_uninstall_test.py::test_installed_from_venv
+#     "git commit" returns 1 instead of 0, again no details
+RESTRICT="test"
+
+RDEPEND="dev-vcs/git
+	$(python_gen_cond_dep '
+		dev-python/cfgv[${PYTHON_USEDEP}]
+		dev-python/identify[${PYTHON_USEDEP}]
+		dev-python/nodeenv[${PYTHON_USEDEP}]
+		dev-python/pyyaml[${PYTHON_USEDEP}]
+		dev-python/toml[${PYTHON_USEDEP}]
+		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
+	')"
+BDEPEND="test? (
+	$(python_gen_cond_dep '
+		dev-python/pytest-env[${PYTHON_USEDEP}]
+		dev-python/re-assert[${PYTHON_USEDEP}]
+	')
+)"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
+
+distutils_enable_tests --install pytest
+
+src_prepare() {
+	default
+
+	# These tests 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.
+	rm -rf tests/languages tests/repository_test.py
+}


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-04-16 18:25 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-04-16 18:25 UTC (permalink / raw
  To: gentoo-commits

commit:     86471f8986508708b55d430e91d92364ebf4b45b
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 16 16:12:52 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 18:24:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86471f89

dev-vcs/pre-commit: actually restrict tests

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
index c494bc22f84..5a4c4ea945f 100644
--- a/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
@@ -25,7 +25,7 @@ KEYWORDS="~amd64"
 #     Ditto
 #  - tests/commands/install_uninstall_test.py::test_installed_from_venv
 #     "git commit" returns 1 instead of 0, again no details
-#RESTRICT="test"
+RESTRICT="test"
 
 RDEPEND="dev-vcs/git
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-04-16 18:25 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-04-16 18:25 UTC (permalink / raw
  To: gentoo-commits

commit:     70fd6ae560a759cf83d80360f709a4be4829524d
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 16 16:12:31 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 18:24:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70fd6ae5

dev-vcs/pre-commit: use pytest-env now that it is in the tree

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.12.0.ebuild | 19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
index 8dc97acfe00..c494bc22f84 100644
--- a/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
@@ -25,8 +25,6 @@ KEYWORDS="~amd64"
 #     Ditto
 #  - tests/commands/install_uninstall_test.py::test_installed_from_venv
 #     "git commit" returns 1 instead of 0, again no details
-# even with the environment variables normally handled by pytest-env (which we haven't got in the tree yet)
-# explicitly declared in python_test().
 #RESTRICT="test"
 
 RDEPEND="dev-vcs/git
@@ -39,7 +37,10 @@ RDEPEND="dev-vcs/git
 		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
 	')"
 BDEPEND="test? (
-	$(python_gen_cond_dep 'dev-python/re-assert[${PYTHON_USEDEP}]')
+	$(python_gen_cond_dep '
+		dev-python/pytest-env[${PYTHON_USEDEP}]
+		dev-python/re-assert[${PYTHON_USEDEP}]
+	')
 )"
 
 DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
@@ -53,15 +54,3 @@ src_prepare() {
 	# and while some of them do include "skip if not found" logic, most of them do not.
 	rm -rf tests/languages tests/repository_test.py
 }
-
-python_test() {
-	# TODO: add pytest-env to the tree so that these can be read from tox.ini
-	declare -x GIT_AUTHOR_NAME=test
-	declare -x GIT_COMMITTER_NAME=test
-	declare -x GIT_AUTHOR_EMAIL=test@example.com
-	declare -x GIT_COMMITTER_EMAIL=test@example.com
-	declare -x VIRTUALENV_NO_DOWNLOAD=1
-	declare -x PRE_COMMIT_NO_CONCURRENCY=1
-
-	distutils-r1_python_test
-}


^ permalink raw reply related	[flat|nested] 70+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
@ 2021-04-16 15:35 Marek Szuba
  0 siblings, 0 replies; 70+ messages in thread
From: Marek Szuba @ 2021-04-16 15:35 UTC (permalink / raw
  To: gentoo-commits

commit:     cfc5aaf1ec3029a7aeb0401b5180619a6201e782
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 16 15:25:14 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 15:35:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc5aaf1

dev-vcs/pre-commit: new package

With tests regrettably restricted for now - although their vast majority
(excluding the language/repository ones, which have a lot of
dependencies and do not always handle their absence correctly) passes,
there are 9 which fail due to unspecified problems invoking git.

Closes: https://bugs.gentoo.org/679014
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/Manifest                 |  1 +
 dev-vcs/pre-commit/metadata.xml             | 12 ++++++
 dev-vcs/pre-commit/pre-commit-2.12.0.ebuild | 67 +++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
new file mode 100644
index 00000000000..38fb887c07e
--- /dev/null
+++ b/dev-vcs/pre-commit/Manifest
@@ -0,0 +1 @@
+DIST pre-commit-2.12.0.tar.gz 246269 BLAKE2B a697cc0287e0cd5698d78056cd51484115788fc22ab36d951e3f390efad881353ed10a39f04fbfda78c163f2eb67357d6b0050d2a34d79fcb4c3495b9eab6046 SHA512 b65dab5dade2186785b2065d9d73427836a61acc3b2efcf54e74313361dcdb89c7ec829a1f653a4491afbe78d11cd4ed640ca579e7d2ca383daeb9680867812d

diff --git a/dev-vcs/pre-commit/metadata.xml b/dev-vcs/pre-commit/metadata.xml
new file mode 100644
index 00000000000..cf8278c8169
--- /dev/null
+++ b/dev-vcs/pre-commit/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marecki@gentoo.org</email>
+		<name>Marek Szuba</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">pre-commit/pre-commit</remote-id>
+		<remote-id type="pypi">pre-commit</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
new file mode 100644
index 00000000000..8dc97acfe00
--- /dev/null
+++ b/dev-vcs/pre-commit/pre-commit-2.12.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_SETUPTOOLS=rdepend
+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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# TODO: figure out why these tests - all of which invoke git - fail:
+#  - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall]
+#     "Git failed", not much information beyond that
+#  - tests/main_test.py::test_try_repo
+#     Ditto
+#  - tests/commands/install_uninstall_test.py::test_installed_from_venv
+#     "git commit" returns 1 instead of 0, again no details
+# even with the environment variables normally handled by pytest-env (which we haven't got in the tree yet)
+# explicitly declared in python_test().
+#RESTRICT="test"
+
+RDEPEND="dev-vcs/git
+	$(python_gen_cond_dep '
+		dev-python/cfgv[${PYTHON_USEDEP}]
+		dev-python/identify[${PYTHON_USEDEP}]
+		dev-python/nodeenv[${PYTHON_USEDEP}]
+		dev-python/pyyaml[${PYTHON_USEDEP}]
+		dev-python/toml[${PYTHON_USEDEP}]
+		>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
+	')"
+BDEPEND="test? (
+	$(python_gen_cond_dep 'dev-python/re-assert[${PYTHON_USEDEP}]')
+)"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
+
+distutils_enable_tests --install pytest
+
+src_prepare() {
+	default
+
+	# These tests 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.
+	rm -rf tests/languages tests/repository_test.py
+}
+
+python_test() {
+	# TODO: add pytest-env to the tree so that these can be read from tox.ini
+	declare -x GIT_AUTHOR_NAME=test
+	declare -x GIT_COMMITTER_NAME=test
+	declare -x GIT_AUTHOR_EMAIL=test@example.com
+	declare -x GIT_COMMITTER_EMAIL=test@example.com
+	declare -x VIRTUALENV_NO_DOWNLOAD=1
+	declare -x PRE_COMMIT_NO_CONCURRENCY=1
+
+	distutils-r1_python_test
+}


^ permalink raw reply related	[flat|nested] 70+ messages in thread

end of thread, other threads:[~2024-09-04  8:37 UTC | newest]

Thread overview: 70+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-09 23:35 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/ Marek Szuba
  -- strict thread matches above, loose matches on Subject: below --
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-04-08 21:26 Marek Szuba
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-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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox