commit:     dccaf10489e2d8f1afda4d835a79f50ba3205eae
Author:     Philippe-Alexandre Mathieu <pamathieu <AT> poum <DOT> ca>
AuthorDate: Fri May  2 13:20:53 2025 +0000
Commit:     Philippe-Alexandre Mathieu <pamathieu <AT> poum <DOT> ca>
CommitDate: Fri May  2 13:23:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dccaf104

app-text/tldr: add 3.4.1, drop 3.2.0

3.4.0 introduces changes to the build system - the project no longer
uses setuptools but instead uses hatchling. Made the required changes to
the ebuild.

Signed-off-by: Philippe-Alexandre Mathieu <pamathieu <AT> poum.ca>

 app-text/tldr/Manifest                               |  2 +-
 .../tldr/{tldr-3.2.0.ebuild => tldr-3.4.1.ebuild}    | 20 ++++++++------------
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/app-text/tldr/Manifest b/app-text/tldr/Manifest
index bc7cb8baf..80756b632 100644
--- a/app-text/tldr/Manifest
+++ b/app-text/tldr/Manifest
@@ -1,2 +1,2 @@
-DIST tldr-3.2.0.gh.tar.gz 16901 BLAKE2B 
4cca5999e7c85b5f5b6e980150cfdabb034776ba5477309fc24d158effd2ef68d263d6cf75e01f3cf06d07ac2f1ab849300fff4907564e1b48728cb017834568
 SHA512 
1535979548b49cd8b0312f2cd11f69ba3f710e16a27c074dc5a8cb5617d7f343df30ba01a83388b460508ab519045140852767bfc8ff1189d612d71a3d35d76b
 DIST tldr-3.3.0.gh.tar.gz 96931 BLAKE2B 
78d499db16a13743b816501bad342958fafbdde282775a6f34f264e3adc974d2976f7ce1172805115a08e60e350624f642dfa81bf694403ab9e017418d65b96c
 SHA512 
137560c401540ff1e747f443a3c0686ddba8c512772eadbff6b735aa9c20dd02a9c7b101b2238888daa20b2886dc4318bc7c1366d8b73f71dd2f797b1787b632
+DIST tldr-3.4.1.gh.tar.gz 99342 BLAKE2B 
ca9ad5816f78fbb0380fd7e48b08b90b19b3ffde85f0a3479a528ea62c5b47264e83f55bedc6b9f55bcaa17c67da57d64a578c306f652e15439213a949ff5742
 SHA512 
2ff3839a75fa3a40d45a2c820000826061123bb4a83906c8f2cd055929f4c7661414543511dba36f28451dd28fed13bc32b1467f360274ec60344e03c2ba416b

diff --git a/app-text/tldr/tldr-3.2.0.ebuild b/app-text/tldr/tldr-3.4.1.ebuild
similarity index 74%
rename from app-text/tldr/tldr-3.2.0.ebuild
rename to app-text/tldr/tldr-3.4.1.ebuild
index bc86dde4d..941a98b83 100644
--- a/app-text/tldr/tldr-3.2.0.ebuild
+++ b/app-text/tldr/tldr-3.4.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2021-2024 Gentoo Authors
+# Copyright 2021-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{11..13} )
 
 inherit distutils-r1
 
@@ -32,10 +32,14 @@ BDEPEND="
        )
 "
 
+EPYTEST_DESELECT=(
+       # violates network sandbox
+       tests/test_tldr.py::test_error_message
+)
+
 distutils_enable_tests pytest
 
 src_prepare() {
-       use man || sed -i '/data_files/d' setup.py || die
        distutils-r1_src_prepare
 }
 
@@ -43,11 +47,3 @@ src_compile() {
        use man && emake -C docs
        distutils-r1_src_compile
 }
-
-python_test() {
-       local EPYTEST_DESELECT=(
-               # tries to access internet
-               tests/test_tldr.py::test_error_message
-       )
-       epytest
-}

Reply via email to