diff --git a/dev-gap/gaplint/Manifest b/dev-gap/gaplint/Manifest index 3c0ec3c0eb14..67bfba566de6 100644 --- a/dev-gap/gaplint/Manifest +++ b/dev-gap/gaplint/Manifest @@ -1 +1 @@ -DIST gaplint-1.2.1.gh.tar.gz 38532 BLAKE2B 25780a327df887ef7f9d811b7f1f4931567845ceaf28c6cc7b5f24253fd8f399a9945eae9e0a6cc5f7468e6cd6d2e2a68a99c2f2639b454f0829d36322a2e2d7 SHA512 4a56e90f0d15da7b19015ee507e75bda7a4ff9c7ab6adf00b4d000d50b4c710eeabc258976f43b648592988af7ef099909570e48bdb633658eaa99333c5ef743 +DIST gaplint-1.5.1.gh.tar.gz 699987 BLAKE2B 3185a8abe701aaa8d30a302a08b93c1052957cdecd829e74be5045de462a54c2d7ad87ac677180552d69c130984f809c97651fa337410748d04cdbfe3caef271 SHA512 187e6bf4be11868d1e633f57ba1377347ad0be5139238bdffe9a917fd94b99357c6842bf0c81c8b291774cf69f856322427c24368264d7f6a53e4751f5b81bf4 diff --git a/dev-gap/gaplint/gaplint-1.2.1.ebuild b/dev-gap/gaplint/gaplint-1.5.1.ebuild similarity index 58% rename from dev-gap/gaplint/gaplint-1.2.1.ebuild rename to dev-gap/gaplint/gaplint-1.5.1.ebuild index 2a533f8ec883..65a9560754ef 100644 --- a/dev-gap/gaplint/gaplint-1.2.1.ebuild +++ b/dev-gap/gaplint/gaplint-1.5.1.ebuild @@ -22,6 +22,18 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~riscv" -RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}]" distutils_enable_tests pytest + +src_prepare() { + default + # The gaplint argument parser has workarounds for "pytest" and + # "py.test", but we run pytest with "python -m pytest": + # + # https://github.com/james-d-mitchell/gaplint/issues/57 + # + sed -e 's/py.test/__main__.py/' -i gaplint.py \ + || die "failed to further hack the existing pytest hack" +}