From 9b00278c1bd454b06812ce318e46b17816ffda2e Mon Sep 17 00:00:00 2001 From: Henri Gasc Date: Wed, 22 Jan 2025 00:32:28 +0100 Subject: [PATCH] dev-python/pypandoc: add 1.15, drop 1.14 Signed-off-by: Henri Gasc --- dev-python/pypandoc/Manifest | 2 +- .../{pypandoc-1.14.ebuild => pypandoc-1.15.ebuild} | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) rename dev-python/pypandoc/{pypandoc-1.14.ebuild => pypandoc-1.15.ebuild} (88%) diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest index 1bc4ae741c..92e632ed27 100644 --- a/dev-python/pypandoc/Manifest +++ b/dev-python/pypandoc/Manifest @@ -1 +1 @@ -DIST pypandoc-1.14.gh.tar.gz 70683 BLAKE2B 415b52829913fddcc57f555f19f74707258b16f6b2dfdbc1928316aa924da2107b68ada101de09a57edc243e1bb364da61a4839a5d9c6dec6aad27117643f371 SHA512 f3ad3b14e45726de47cdd251a988cb377dad41f33a4569e9c051ff6d4d13a7688b23221972140b97fba5160575a02e115d4bf22861d0472931142bb24534646b +DIST pypandoc-1.15.gh.tar.gz 70808 BLAKE2B cee70ded756b66d835c2693a4b67bc175314c9998acb71f35befd33e31f7b7e1042a5cf871535ba426272004f0426c50557bdd48a05fff5ff2aac0ca7ba70c42 SHA512 c6127aa085c27f2e82148689647f7861c8bdb37feacc6b5fdf017947c7e1c18eaf7c17ec26b7c2881d4ae40bb20dcaaf86aa52f989315d19df92e491bf07efb8 diff --git a/dev-python/pypandoc/pypandoc-1.14.ebuild b/dev-python/pypandoc/pypandoc-1.15.ebuild similarity index 88% rename from dev-python/pypandoc/pypandoc-1.14.ebuild rename to dev-python/pypandoc/pypandoc-1.15.ebuild index 8c35ca3743..52273408c5 100644 --- a/dev-python/pypandoc/pypandoc-1.14.ebuild +++ b/dev-python/pypandoc/pypandoc-1.15.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517="poetry" +DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 @@ -15,14 +15,14 @@ SRC_URI="https://github.com/JessicaTegner/pypandoc/archive/refs/tags/v${PV}.tar. LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" +RESTRICT="test" + +DOCS+=( examples README.md LICENSE ) RDEPEND="virtual/pandoc" BDEPEND=" test? ( >=dev-python/pandocfilters-1.5.0[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] app-text/texlive-core dev-texlive/texlive-latex dev-texlive/texlive-fontsrecommended @@ -38,6 +38,7 @@ EPYTEST_DESELECT=( # Fail for a reason I do not understand tests.py::TestPypandoc::test_basic_conversion_from_file_pattern_pathlib_glob ) +distutils_enable_tests pytest python_test() { epytest tests.py || die "Test failed with ${EPYTHON}" }