From a6c077a14ab69684019380246b01943bdbe4d7a1 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 25 Mar 2026 19:17:47 +0000 Subject: Adding metadata --- dev-python/devtools/devtools-0.12.2-r1.ebuild | 53 ++++++++++++++++++++++ dev-python/devtools/devtools-0.12.2.ebuild | 64 --------------------------- 2 files changed, 53 insertions(+), 64 deletions(-) create mode 100644 dev-python/devtools/devtools-0.12.2-r1.ebuild delete mode 100644 dev-python/devtools/devtools-0.12.2.ebuild (limited to 'dev-python/devtools') diff --git a/dev-python/devtools/devtools-0.12.2-r1.ebuild b/dev-python/devtools/devtools-0.12.2-r1.ebuild new file mode 100644 index 000000000000..1262c489705b --- /dev/null +++ b/dev-python/devtools/devtools-0.12.2-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Dev tools for python" +HOMEPAGE=" + https://pypi.org/project/devtools/ + https://github.com/samuelcolvin/python-devtools +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asyncpg[${PYTHON_USEDEP}] + dev-python/multidict[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # replace mkdocs-simple-hooks with built-in hooks + "${FILESDIR}/${P}-mkdocs-hooks.patch" +) + +EPYTEST_DESELECT=( + # requires pytest-pretty + tests/test_insert_assert.py::test_insert_assert + tests/test_insert_assert.py::test_insert_assert_print + tests/test_insert_assert.py::test_deep + tests/test_insert_assert.py::test_enum + # incompatible with dev-python/executing-2 + tests/test_expr_render.py::test_executing_failure +) + +distutils_enable_tests pytest diff --git a/dev-python/devtools/devtools-0.12.2.ebuild b/dev-python/devtools/devtools-0.12.2.ebuild deleted file mode 100644 index 5db8fd22438a..000000000000 --- a/dev-python/devtools/devtools-0.12.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..14} ) - -DOCS_BUILDER=mkdocs -DOCS_DEPEND=" - dev-python/ansi2html - dev-python/markdown-include - dev-python/mkdocs-exclude - dev-python/mkdocs-material -" - -inherit distutils-r1 docs pypi - -DESCRIPTION="Dev tools for python" -HOMEPAGE=" - https://pypi.org/project/devtools/ - https://github.com/samuelcolvin/python-devtools -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/asttokens[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] -" -BDEPEND=" - doc? ( - dev-python/numpy[${PYTHON_USEDEP}] - ) - test? ( - dev-python/asyncpg[${PYTHON_USEDEP}] - dev-python/multidict[${PYTHON_USEDEP}] - dev-python/pydantic[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # replace mkdocs-simple-hooks with built-in hooks - "${FILESDIR}/${P}-mkdocs-hooks.patch" -) - -EPYTEST_DESELECT=( - # requires pytest-pretty - tests/test_insert_assert.py::test_insert_assert - tests/test_insert_assert.py::test_insert_assert_print - tests/test_insert_assert.py::test_deep - tests/test_insert_assert.py::test_enum - # incompatible with dev-python/executing-2 - tests/test_expr_render.py::test_executing_failure -) - -distutils_enable_tests pytest -- cgit v1.3