1 |
commit: 9a8c430b2d03c8a005a2fbd007e06ee2fb58ad6e |
2 |
Author: Till Schäfer <till2.schaefer <AT> uni-dortmund <DOT> de> |
3 |
AuthorDate: Thu May 19 14:39:54 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 20 01:16:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a8c430b |
7 |
|
8 |
app-text/nfoview: bump to 1.28.1 |
9 |
|
10 |
add PYTHON_COMPAT python3_10 |
11 |
update to EAPI8 |
12 |
migrating to PEP 517 |
13 |
|
14 |
Bug: https://bugs.gentoo.org/845600 |
15 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
16 |
Signed-off-by: Till Schäfer <till2.schaefer <AT> uni-dortmund.de> |
17 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
18 |
|
19 |
app-text/nfoview/Manifest | 1 + |
20 |
app-text/nfoview/nfoview-1.28.1.ebuild | 40 ++++++++++++++++++++++++++++++++++ |
21 |
2 files changed, 41 insertions(+) |
22 |
|
23 |
diff --git a/app-text/nfoview/Manifest b/app-text/nfoview/Manifest |
24 |
index e7f92bafe55d..e72415e88d61 100644 |
25 |
--- a/app-text/nfoview/Manifest |
26 |
+++ b/app-text/nfoview/Manifest |
27 |
@@ -1,2 +1,3 @@ |
28 |
DIST nfoview-1.27.1.tar.gz 60211 BLAKE2B 777d9f42a08a17d3790996ff76819a0b74c6e1f01625019259524e6e5cee9afc72ae463085071e4a23cefeebaf5b14f1bbeae949446356ed1aaebebaaf53e230 SHA512 7066995954997a20aec27ff820c0f0a067835e219f9029f696b2885a85c4714b32fc8d474291433f64d9b28e81e5f4c24989a6447affc7b206cef453342a05d2 |
29 |
+DIST nfoview-1.28.1.tar.gz 62571 BLAKE2B 5ecfd83e9429f3d616d9b633a5f3042308df06253065946ea13c66f71dd937a2325f252e04812894d000fea3364337378c4d91b2c54ee530c9d225ce7752dc90 SHA512 55179791b1a8058777a8a8527758687ab5924e00086d1c85a95759d85eb65ec46f072ba5bd5521629f39737437002eb6cf4070bc25b0e9246c511c32c6b08e99 |
30 |
DIST nfoview-1.28.tar.gz 61164 BLAKE2B 7fb1f150d343d5133e411486f3bff7315765187920dc5821de7d717f3381b6126263585a23fdb7847403ae992ee98b7503f7313a312adb0e6b2fb992e69da4a8 SHA512 652ed3a5dd3cad547c6c0f93a0c686c42e9fc58e2f90a682432cbcb865a1b6ab6cb55424ed68128718c0c867ad353d170ecf54619f7006445cb9761bced2bbd3 |
31 |
|
32 |
diff --git a/app-text/nfoview/nfoview-1.28.1.ebuild b/app-text/nfoview/nfoview-1.28.1.ebuild |
33 |
new file mode 100644 |
34 |
index 000000000000..931ecf18db47 |
35 |
--- /dev/null |
36 |
+++ b/app-text/nfoview/nfoview-1.28.1.ebuild |
37 |
@@ -0,0 +1,40 @@ |
38 |
+# Copyright 1999-2022 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=8 |
42 |
+ |
43 |
+PYTHON_COMPAT=( python3_{8..10} ) |
44 |
+DISTUTILS_USE_PEP517=setuptools |
45 |
+ |
46 |
+inherit distutils-r1 virtualx xdg |
47 |
+ |
48 |
+if [[ ${PV} == *9999 ]] ; then |
49 |
+ EGIT_REPO_URI="https://github.com/otsaloma/nfoview.git" |
50 |
+ inherit git-r3 |
51 |
+else |
52 |
+ SRC_URI="https://github.com/otsaloma/nfoview/archive/${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+ KEYWORDS="~amd64 ~x86" |
54 |
+fi |
55 |
+ |
56 |
+DESCRIPTION="Simple viewer for NFO files, which are ASCII art in the CP437 codepage" |
57 |
+HOMEPAGE="https://otsaloma.io/nfoview/" |
58 |
+ |
59 |
+LICENSE="GPL-3+" |
60 |
+SLOT="0" |
61 |
+ |
62 |
+BDEPEND="${PYTHON_DEPS} |
63 |
+ sys-devel/gettext" |
64 |
+DEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}]" |
65 |
+RDEPEND="${DEPEND} |
66 |
+ media-fonts/cascadia-code |
67 |
+ x11-libs/gtk+:3[introspection]" |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+ |
71 |
+python_test() { |
72 |
+ local deselect=( |
73 |
+ --deselect 'nfoview/test/test_util.py::TestModule::test_show_uri__unix' |
74 |
+ --deselect 'nfoview/test/test_util.py::TestModule::test_show_uri__windows' |
75 |
+ ) |
76 |
+ virtx epytest "${deselect[@]}" |
77 |
+} |