diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-09 18:54:20 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-09 18:54:20 +0000 |
| commit | 4caebfb4373815f2ece062eaeeeead8be340e545 (patch) | |
| tree | f9448d6d8b20b48601ab8a5b41e097fe2906e50c /dev-python/devtools | |
| parent | 6f4e6285f5373fe15b17b9cef200c1e131138ede (diff) | |
| download | baldeagleos-repo-4caebfb4373815f2ece062eaeeeead8be340e545.tar.gz baldeagleos-repo-4caebfb4373815f2ece062eaeeeead8be340e545.tar.xz baldeagleos-repo-4caebfb4373815f2ece062eaeeeead8be340e545.zip | |
Adding metadata
Diffstat (limited to 'dev-python/devtools')
| -rw-r--r-- | dev-python/devtools/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/devtools/devtools-0.12.2.ebuild (renamed from dev-python/devtools/devtools-0.10.0-r1.ebuild) | 25 | ||||
| -rw-r--r-- | dev-python/devtools/files/devtools-0.12.2-mkdocs-hooks.patch | 17 |
3 files changed, 39 insertions, 5 deletions
diff --git a/dev-python/devtools/Manifest b/dev-python/devtools/Manifest index cd7e574bdaf0..7753719f9523 100644 --- a/dev-python/devtools/Manifest +++ b/dev-python/devtools/Manifest @@ -1 +1 @@ -DIST devtools-0.10.0.tar.gz 68374 BLAKE2B 81ffea515c8c11b591e2235a0ad6d61ea4c21bcd8ab33aa80cae2848da7de4bddb34e54be2e41c4122ef2c1b1a5d20c33f9c4181bef4101063af5619dbd66da8 SHA512 b7fe4cb57863b60bfd01280e24edeae77cc349c8719c8c5610e9e82c36d5de7b32ff978ca0c6254787c98a6d25642d576835e6798c5ea24fcd72a10b5d8aed70 +DIST devtools-0.12.2.tar.gz 75005 BLAKE2B 5f91ce636bd6cd9dee970f0d7ef8321d25aac3fc15c6d6222680da2b42582bc605ee5e041b73e4cfea8d0ef06b67d1774f87fca90d1a9764d2ee9f17c27327a3 SHA512 e185581bca94dd20d7043512701970d2b310dee6836707a1cf540f39799570e15d5f1d026952d2def6be201eed1d6b328fef975c3c3631dd7ab3a8bf37c48fd9 diff --git a/dev-python/devtools/devtools-0.10.0-r1.ebuild b/dev-python/devtools/devtools-0.12.2.ebuild index 49d9b4f10fa9..cfb043861fdf 100644 --- a/dev-python/devtools/devtools-0.10.0-r1.ebuild +++ b/dev-python/devtools/devtools-0.12.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,12 +7,12 @@ DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{9,10,11,12,13} ) DOCS_BUILDER=mkdocs -DOCS_DEPEND=( +DOCS_DEPEND=" dev-python/ansi2html dev-python/markdown-include dev-python/mkdocs-exclude dev-python/mkdocs-material -) +" inherit distutils-r1 docs pypi @@ -34,9 +34,11 @@ RDEPEND=" dev-python/pygments[${PYTHON_USEDEP}] " BDEPEND=" + doc? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) test? ( dev-python/asyncpg[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] dev-python/multidict[${PYTHON_USEDEP}] dev-python/pydantic[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] @@ -44,4 +46,19 @@ BDEPEND=" ) " +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/files/devtools-0.12.2-mkdocs-hooks.patch b/dev-python/devtools/files/devtools-0.12.2-mkdocs-hooks.patch new file mode 100644 index 000000000000..cb305922d3e0 --- /dev/null +++ b/dev-python/devtools/files/devtools-0.12.2-mkdocs-hooks.patch @@ -0,0 +1,17 @@ +Replace mkdocs-simple-hooks with built-in hooks so we don't need to +pacakge the plugin. +https://www.mkdocs.org/user-guide/configuration/#hooks +--- a/mkdocs.yml ++++ b/mkdocs.yml +@@ -56,8 +56,5 @@ plugins: + - build/* + - examples/* + - requirements.txt +-- mkdocs-simple-hooks: +- hooks: +- on_pre_build: 'docs.plugins:on_pre_build' +- on_files: 'docs.plugins:on_files' +- on_page_markdown: 'docs.plugins:on_page_markdown' ++hooks: ++ - docs/plugins.py + |
