update (from main repo) dev-vcs/pre-commit-2.14.0
This commit is contained in:
parent
7af905f54d
commit
e00e89adb9
|
@ -1,11 +1,3 @@
|
|||
DIST pre-commit-2.10.0.tar.gz 163136 BLAKE2B d6743de8e1a3cc8bbd735d91754ea376e5e1d0c02fc5047364ecfa69dbdda8db902ce8226922e60857f4459d4a4498d8e5be75b4f09e6a7619c21dd765370293 SHA512 f5c3027f19108a871812cb0551a78bf2c1e50ea6b0e1e7cb1107783159d1dc24004e411514867cefa1da367b9a929500f86b1fd4d2b53bc1b93fda28719e4fc0
|
||||
DIST pre-commit-2.10.1.tar.gz 163146 BLAKE2B e77e6a85bfa2e9b45b43ea8266a5e299628d541eb7b6389ced9552c04c247fedf082935a40eeb6b40f894ae4f6bd2f2f5ba00ded5051cf5b56acaedc3f7f8259 SHA512 5c2a38f6edac589582b86b0542eebcd83f6e35bd3e7d23cbafdddb9f1cba6c021716336e657f87f047677fd611f0747798d5f81083f7d3e668f5f588d9b5c331
|
||||
DIST pre-commit-2.11.1.tar.gz 164318 BLAKE2B c71c1a6e357232c3b842c8244061ed793d88770fe69974b9f8ea25d96a97cc32f55322c2c50b615c478143be4036de4d0a17bc2ae99fa5dbc4026344be37fdd2 SHA512 8a6b446289d2498558f4175ddf6e8f3fc7b047e5d1064be91e1f78e133a461e73aac47effb6c2624b2e111901ffff35754b096ffe6b2475971b7e9bd628e884f
|
||||
DIST pre-commit-2.9.2.tar.gz 162580 BLAKE2B daf9887f6ad246d898b9612550aceeadfd462d8d4a15e61ac36a097c0991e9c68000af9bd2d16bc600b853cc787102fe73c365ea2bbfb6b7850d6ce708fc9518 SHA512 402837ebfab088108c43e5ae2d06a4ba442717df85b85fbb2cb68bfdaa0da0b6f1acb4459272148b72c655562e9a45e9a7890cae61d730b8263317df59bfcc9c
|
||||
DIST pre-commit-2.9.3.tar.gz 162777 BLAKE2B b31f1114aa93d62a9962cbfb5b3341ffdf7ada19e3fb2902f57ed892a1a1f32feee04af3ee3ea45b2650df0a6386afee6ea5fd6bcf7d9b51d6cad1a35050110e SHA512 7708948cd097c803bcb3e0f580b13165aaa5112b7765ae966972b53ddc22cf54d2aa5937b44fc6fabad9c3b799d9d3071ab91c2dfb407702b395c88873039309
|
||||
EBUILD pre-commit-2.10.0.ebuild 888 BLAKE2B a396a65355e3ce5fb4068910f07e9522eaa92b7f01868f7fb108740f9ead59dbf16ea12289cd0c660fde7de250de4c5f5d3c1017720c4955fcd01d9857f5fee8 SHA512 ffbe810cce9465e18ee92745d7c9379844a8516b078cf9c0803682e47ae750ccd2d257954f89b234cee2879cc19f0b2a6452ec34ffaac5edc0ed611e01f7321a
|
||||
EBUILD pre-commit-2.10.1.ebuild 888 BLAKE2B a396a65355e3ce5fb4068910f07e9522eaa92b7f01868f7fb108740f9ead59dbf16ea12289cd0c660fde7de250de4c5f5d3c1017720c4955fcd01d9857f5fee8 SHA512 ffbe810cce9465e18ee92745d7c9379844a8516b078cf9c0803682e47ae750ccd2d257954f89b234cee2879cc19f0b2a6452ec34ffaac5edc0ed611e01f7321a
|
||||
EBUILD pre-commit-2.11.1.ebuild 906 BLAKE2B cf63092da9a374bacf832d77ad553592929f6db205b9c514c585462c907bd35750f750311dfdbc6a90a8ed369d911af95c58f53f3ab6ee940d1c5e98b942b235 SHA512 52675581a91ec10a5eeb2daa2c11546bce2249bd09441ecbccb42a83ae3b0be9339a23aa51f45eb276ddf0068f5acbbfe5c1c928aae133d368524c99f1a5ff64
|
||||
EBUILD pre-commit-2.9.2.ebuild 899 BLAKE2B de8daacbffbd955ecf3d5981a0d811043f6eb05ee60fc902e3672b52fd9b2cb5db19760233e4a1c1515bd4492069d8eedb61d2e3dc382f6a758b3de199d15b01 SHA512 3ff6fc1cd997c9cd170e530c658ea32d1cb30f2730d063850c9faa79e2b86be4b39ac34d5e5ec70f051a6a06bd2ae938fd6015ff2b397639dc36a003289f8acd
|
||||
EBUILD pre-commit-2.9.3.ebuild 888 BLAKE2B a396a65355e3ce5fb4068910f07e9522eaa92b7f01868f7fb108740f9ead59dbf16ea12289cd0c660fde7de250de4c5f5d3c1017720c4955fcd01d9857f5fee8 SHA512 ffbe810cce9465e18ee92745d7c9379844a8516b078cf9c0803682e47ae750ccd2d257954f89b234cee2879cc19f0b2a6452ec34ffaac5edc0ed611e01f7321a
|
||||
DIST pre-commit-2.14.0.tar.gz 253468 BLAKE2B fbd7045151f53d365c6241628e91161dcced52d2cdeb54fb4e7a5eaed56d3bd6dc691a4dbc891f09772ca8fab3e23b21611129ba2a9efe8d7b1584240bb4c4ad SHA512 79581767e28cef82dea604656b03ed99d7014299aa4f49e25b4ed53244d7b62c46193e25ba6add9189613a5d1517859ccc7208d7d7238674a0a1ce2ed29f131a
|
||||
EBUILD pre-commit-2.14.0.ebuild 2089 BLAKE2B be856789c2a63790f0ea56a91dabf75f9e808b15f7c1d8e347e72cd097209c46d19496c176c707eec4299a2732415176286349cec08e764e05a2c73265fe51f1 SHA512 9f697bb93155a308769f4f2b52f6f9c7681b76755300c96c4d92d575e14d34151f9c33cd8fe5a79888edab526bcd886e867d9f8d8f1f4d3f18fc457944943fb9
|
||||
MISC metadata.xml 456 BLAKE2B 6b37832c4420e61dfc59240d3ed06a9eec654c3cf67d19999331f9a5dd3a518a0c7a5d6004ac0feec71ca7fb1478ab9523eb92bb679c5bc090ee9fb703403dde SHA512 0080d0fb37f16d7869a778025a26265b2b270387b1a19a57791c6f1f5f18f27dc01a3bf919d753450d2ea3e860457cd85ac6b7399049381b2f0b350ee5f7409a
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN//-/_}
|
||||
DESCRIPTION="A framework for managing and maintaining multi-language pre-commit hooks."
|
||||
HOMEPAGE="https://github.com/pre-commit/pre-commit https://pypi.org/project/pre-commit/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/nodeenv-0.11.1
|
||||
>=dev-python/pyyaml-5.1
|
||||
dev-python/toml
|
||||
>=dev-python/virtualenv-20.0.8"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN//-/_}
|
||||
DESCRIPTION="A framework for managing and maintaining multi-language pre-commit hooks."
|
||||
HOMEPAGE="https://github.com/pre-commit/pre-commit https://pypi.org/project/pre-commit/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/nodeenv-0.11.1
|
||||
>=dev-python/pyyaml-5.1
|
||||
dev-python/toml
|
||||
>=dev-python/virtualenv-20.0.8"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN//-/_}
|
||||
DESCRIPTION="A framework for managing and maintaining multi-language pre-commit hooks."
|
||||
HOMEPAGE="https://github.com/pre-commit/pre-commit https://pypi.org/project/pre-commit/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/nodeenv-0.11.1
|
||||
>=dev-python/pyyaml-5.1
|
||||
dev-python/toml
|
||||
>=dev-python/virtualenv-20.0.8"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
|
@ -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..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
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN//-/_}
|
||||
DESCRIPTION="A framework for managing and maintaining multi-language pre-commit hooks."
|
||||
HOMEPAGE="https://github.com/pre-commit/pre-commit https://pypi.org/project/pre-commit/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/nodeenv-0.11.1
|
||||
>=dev-python/pyyaml-5.1
|
||||
dev-python/toml
|
||||
>=dev-python/virtualenv-20.0.8"
|
||||
BDEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN//-/_}
|
||||
DESCRIPTION="A framework for managing and maintaining multi-language pre-commit hooks."
|
||||
HOMEPAGE="https://github.com/pre-commit/pre-commit https://pypi.org/project/pre-commit/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/nodeenv-0.11.1
|
||||
>=dev-python/pyyaml-5.1
|
||||
dev-python/toml
|
||||
>=dev-python/virtualenv-20.0.8"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
Loading…
Reference in New Issue