Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
Date: Wed, 27 Oct 2021 12:54:55
Message-Id: 1635339282.c4df52b8ee9c90ce7d434dc0178de49443836341.sam@gentoo
1 commit: c4df52b8ee9c90ce7d434dc0178de49443836341
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 27 12:53:30 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 27 12:54:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4df52b8
7
8 app-editors/qhexedit2: Revert "add 0.8.9"
9
10 This reverts commit b1954f0b14ff0203658ca936938f967f37f68095.
11
12 Still fails with USE=python.
13
14 Bug: https://bugs.gentoo.org/815133
15 Bug: https://bugs.gentoo.org/820473
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 app-editors/qhexedit2/Manifest | 1 -
19 app-editors/qhexedit2/qhexedit2-0.8.9.ebuild | 81 ----------------------------
20 2 files changed, 82 deletions(-)
21
22 diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest
23 index ac77a6c9696..31427cf34c3 100644
24 --- a/app-editors/qhexedit2/Manifest
25 +++ b/app-editors/qhexedit2/Manifest
26 @@ -1,2 +1 @@
27 DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d
28 -DIST qhexedit2-0.8.9.tar.gz 341341 BLAKE2B 901cda2d28074bb535426102e40e0d5b6e68d3659b16ab4755b124de1f8a0ca878494e537f2c44b19dfc7bd9b9db499e74f66bd42301a73d12830486b7883d02 SHA512 db914adf7ab1226c652101b48a66b463c768447b96fe0b70ece060820c94dff9fbd91c6c3dbb16bb1df330f480662c15cc703e799ead9ec1580b825d2209f880
29
30 diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9.ebuild
31 deleted file mode 100644
32 index 371993ff1e3..00000000000
33 --- a/app-editors/qhexedit2/qhexedit2-0.8.9.ebuild
34 +++ /dev/null
35 @@ -1,81 +0,0 @@
36 -# Copyright 1999-2021 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -PYTHON_COMPAT=( python3_{7,8,9} )
42 -DISTUTILS_OPTIONAL=1
43 -inherit distutils-r1 qmake-utils
44 -
45 -DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings"
46 -HOMEPAGE="https://github.com/lancos/qhexedit2/"
47 -SRC_URI="https://github.com/Simsys/qhexedit2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="GPL-2"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~x86"
52 -IUSE="doc +gui python"
53 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
54 -
55 -PATCHES=(
56 - "${FILESDIR}/${PN}-0.8.4-setup.py.patch"
57 - "${FILESDIR}/${PN}-0.8.6_p20190316-sip5.patch"
58 -)
59 -
60 -RDEPEND="
61 - dev-qt/qtcore:5
62 - dev-qt/qtgui:5
63 - dev-qt/qtwidgets:5
64 - python? (
65 - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
66 - >=dev-python/sip-5[${PYTHON_USEDEP}]
67 - ${PYTHON_DEPS}
68 - )
69 -"
70 -DEPEND="${RDEPEND}"
71 -
72 -src_prepare() {
73 - default
74 - sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \
75 - -e "\$aINSTALLS += target" src/qhexedit.pro \
76 - || die "src/qhexedit.pro: sed failed"
77 - use python && distutils-r1_src_prepare
78 -}
79 -
80 -src_configure() {
81 - eqmake5 src/qhexedit.pro
82 - if use gui; then
83 - cd example || die "can't cd example"
84 - eqmake5 qhexedit.pro
85 - fi
86 -}
87 -
88 -src_compile() {
89 - default
90 - use python && distutils-r1_src_compile
91 - use gui && emake -C example
92 -}
93 -
94 -python_compile() {
95 - use python && distutils-r1_python_compile build_ext --library-dirs="${S}"
96 -}
97 -
98 -src_test() {
99 - cd test || die "can't cd test"
100 - mkdir logs || die "can't create logs dir"
101 - eqmake5 chunks.pro
102 - emake
103 - ./chunks || die "test run failed"
104 - grep -q "^NOK" logs/Summary.log && die "test failed"
105 -}
106 -
107 -src_install() {
108 - emake INSTALL_ROOT="${D}" install
109 - doheader src/*.h
110 - use python && distutils-r1_src_install
111 - use gui && dobin example/qhexedit
112 - if use doc; then
113 - dodoc -r doc/html
114 - dodoc doc/release.txt
115 - fi
116 -}