[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: fe029d81be70f53dbec34063a1bde04ebde37670 Author: Rick Farina gentoo org> AuthorDate: Tue May 21 16:19:33 2024 + Commit: Rick Farina gentoo org> CommitDate: Tue May 21 16:19:33 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe029d81 app-editors/qhexedit2: add missing dep x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,libqhexedit.so.4 -o libqhexedit.so.4.2.0 qhexedit.o chunks.o commands.o moc_qhexedit.o moc_chunks.o moc_commands.o /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Core.so -lGL -pthread /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL: No such file or directory Signed-off-by: Rick Farina gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild index 50466687246c..5a8f47ea5c48 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild @@ -28,6 +28,7 @@ RDEPEND=" dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 + media-libs/libglvnd python? ( ${PYTHON_DEPS} $(python_gen_cond_dep '
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: dc53ff4ef0aeb155aefccc9e230575d0deb871c6 Author: Rick Farina gentoo org> AuthorDate: Tue May 21 16:20:31 2024 + Commit: Rick Farina gentoo org> CommitDate: Tue May 21 16:20:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc53ff4e app-editors/qhexedit2: reorder variables for pkgcheck Signed-off-by: Rick Farina gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild index 5a8f47ea5c48..8d04bc22466a 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild @@ -11,6 +11,7 @@ DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindi HOMEPAGE="https://github.com/Simsys/qhexedit2/"; SRC_URI="https://github.com/Simsys/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~riscv x86" @@ -46,8 +47,6 @@ BDEPEND=" ) " -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - src_prepare() { default sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 58be6cb833ca6d35c779211be637931df6a0557d Author: Huang Rui gmail com> AuthorDate: Tue Apr 16 02:20:53 2024 + Commit: Rick Farina gentoo org> CommitDate: Tue May 21 16:15:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58be6cb8 app-editors/qhexedit2: upgrade to Python 3.12 Bug: https://bugs.gentoo.org/921826 Closes: https://bugs.gentoo.org/929299 Closes: https://github.com/gentoo/gentoo/pull/36275 Signed-off-by: Huang Rui gmail.com> Signed-off-by: Rick Farina gentoo.org> ...-0.8.9_p20210525-r2.ebuild => qhexedit2-0.8.9_p20210525-r3.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild similarity index 96% rename from app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild rename to app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild index 34d3906f4682..50466687246c 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit python-r1 qmake-utils EGIT_COMMIT="541139125be034b90b6811a84faa1413e357fd94"
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: d9b76308bd2e7a702aaeecd17535ae0f8de70e46 Author: Huang Rui gmail com> AuthorDate: Tue Feb 28 03:01:21 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Mar 9 08:38:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b76308 app-editors/qhexedit2: add python3.11 support Closes: https://bugs.gentoo.org/896526 Signed-off-by: Huang Rui gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29846 Signed-off-by: Joonas Niilola gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild index 14e143cfbefd..34d3906f4682 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit python-r1 qmake-utils EGIT_COMMIT="541139125be034b90b6811a84faa1413e357fd94"
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/files/, app-editors/qhexedit2/
commit: 63597fca97038e30c7e910c5debb8135b1feed15 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Oct 25 15:31:24 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Oct 25 16:00:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63597fca app-editors/qhexedit2: drop versions Signed-off-by: Andreas Sturmlechner gentoo.org> app-editors/qhexedit2/Manifest | 1 - app-editors/qhexedit2/files/qhexedit2-0.8.9.patch | 36 --- .../qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild | 106 - .../qhexedit2/qhexedit2-0.8.6_p20190316.ebuild | 85 - .../qhexedit2/qhexedit2-0.8.9_p20210525.ebuild | 79 --- 5 files changed, 307 deletions(-) diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest index cd73ea49b28c..98fe22b61571 100644 --- a/app-editors/qhexedit2/Manifest +++ b/app-editors/qhexedit2/Manifest @@ -1,2 +1 @@ -DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d DIST qhexedit2-0.8.9_p20210525.tar.gz 342178 BLAKE2B baffe5b5e1130476162f23a91420cc86675a162c39539c9f07685cecc82571817625202814006221f96b56e94c0325fd7a6d8f2294041b426054f809c9967bad SHA512 d8a5159433a1212085371473cc7a89c4888c6af6b1416a34e3ea9d1ef9ae19411af32bea2e2fb256a024d6f2d05c733d285314cfc17f37dae065d7407a9c0d2c diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.9.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.9.patch deleted file mode 100644 index cabbd77ac843.. --- a/app-editors/qhexedit2/files/qhexedit2-0.8.9.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/setup.py b/setup.py -index 1a0d912..646c359 100644 a/setup.py -+++ b/setup.py -@@ -98,7 +98,7 @@ if cfg.qt_framework: - lib + ".framework", "Headers")] - else: - if PyQt_Version == 'PyQt5': --for qt_inc_dir in ('/usr/include/qt', '/usr/include/x86_64-linux-gnu/qt5'): -+for qt_inc_dir in ('/usr/include/qt', '/usr/include/qt5'): - include_dirs.append(qt_inc_dir) - include_dirs += [os.path.join(qt_inc_dir, lib) for lib in qt_libs] - libraries = ["Qt5" + lib[2:] for lib in qt_libs] -diff --git a/src/qhexedit.pro b/src/qhexedit.pro -index 2a94016..55d7bc2 100644 a/src/qhexedit.pro -+++ b/src/qhexedit.pro -@@ -23,5 +23,7 @@ Release:TARGET = qhexedit - Debug:TARGET = qhexeditd - - --unix:DESTDIR = /usr/lib - win32:DESTDIR = ../lib -+ -+target.path = /usr/lib64 -+INSTALLS += target -diff --git a/src/qhexedit.sip b/src/qhexedit.sip -index 082621e..a7ef4e7 100644 a/src/qhexedit.sip -+++ b/src/qhexedit.sip -@@ -1,4 +1,4 @@ --%Module(name=qhexedit, version=1) -+%Module(name=qhexedit) - - %Import QtCore/QtCoremod.sip - %Import QtGui/QtGuimod.sip diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild deleted file mode 100644 index 094aed04481c.. --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit python-r1 qmake-utils - -EGIT_COMMIT="ba5af8616b3a6c916e718914225a483267c01356" -DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" -HOMEPAGE="https://github.com/lancos/qhexedit2/"; -SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" -IUSE="doc +gui python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -PATCHES=( - "${FILESDIR}/${PN}-0.8.4-setup.py.patch" - "${FILESDIR}/${PN}-0.8.6-sip5.patch" #820473 -) - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - >=dev-python/PyQt5-5.15.6[gui,widgets,${PYTHON_USEDEP}] - ') - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - python? ( - $(python_gen_cond_dep ' - >=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}] - >=dev-python/sip-5:=[${PYTHON_USEDEP}] - ') - ) -" - -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -src_prepare() { - default - sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ - -e "\$aINSTALLS += target" src/qhexedit.pro \ - || die "src/qhexedit.pro: sed failed" -} - -src_configure() { - eqmake5 src/qhexedit.pro - if use gui; then - cd ex
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: b99aa542a0af99f3e6ae67b542ffaab7a9ba5c8e Author: Huang Rui gmail com> AuthorDate: Thu Jun 9 09:41:54 2022 + Commit: David Seifert gentoo org> CommitDate: Thu Jun 9 09:41:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b99aa542 app-editors/qhexedit2: fix invalid use of distutils-r1 Closes: https://github.com/gentoo/gentoo/pull/25808 Closes: https://bugs.gentoo.org/850448 Signed-off-by: Huang Rui gmail.com> Signed-off-by: David Seifert gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild | 4 +--- app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild index 1b6a21c4bd95..4b1b99b7663b 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild @@ -3,10 +3,8 @@ EAPI=8 -DISTUTILS_USE_PEP517=standalone PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 qmake-utils +inherit python-r1 qmake-utils EGIT_COMMIT="ba5af8616b3a6c916e718914225a483267c01356" DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild index c518ed8fcddf..41bace650608 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild @@ -3,10 +3,8 @@ EAPI=8 -DISTUTILS_USE_PEP517=standalone PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 qmake-utils +inherit python-r1 qmake-utils EGIT_COMMIT="541139125be034b90b6811a84faa1413e357fd94" DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings"
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 1e7eb3edb241d7fc64db4c28067b951b8c8404f1 Author: Sam James gentoo org> AuthorDate: Wed Jun 1 01:55:45 2022 + Commit: Sam James gentoo org> CommitDate: Wed Jun 1 01:55:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e7eb3ed app-editors/qhexedit2: Stabilize 0.8.9_p20210525-r2 amd64, #825670 Signed-off-by: Sam James gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild index b0b85e70f8fe..c518ed8fcddf 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/Simsys/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.t LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~riscv x86" +KEYWORDS="amd64 ~riscv x86" IUSE="doc +gui python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 6aa06a916d6beb3b4adfb68615b351e7250fbaeb Author: Sam James gentoo org> AuthorDate: Wed Jun 1 01:55:28 2022 + Commit: Sam James gentoo org> CommitDate: Wed Jun 1 01:55:28 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa06a91 app-editors/qhexedit2: Stabilize 0.8.9_p20210525-r2 x86, #825670 Signed-off-by: Sam James gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild index e4232394a04c..b0b85e70f8fe 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/Simsys/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.t LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="~amd64 ~riscv x86" IUSE="doc +gui python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 0c15c656d6f5b5b42f12b3509ad101677ac143e1 Author: Huang Rui gmail com> AuthorDate: Tue May 31 02:26:34 2022 + Commit: Sam James gentoo org> CommitDate: Tue May 31 02:55:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c15c656 app-editors/qhexedit2: fix PyQt5>=5.15.6 RDEPEND Closes: https://bugs.gentoo.org/820473 Signed-off-by: Huang Rui gmail.com> Closes: https://github.com/gentoo/gentoo/pull/25698 Signed-off-by: Sam James gentoo.org> ...t2-0.8.6_p20190316-r1.ebuild => qhexedit2-0.8.6_p20190316-r2.ebuild} | 2 +- ...t2-0.8.9_p20210525-r1.ebuild => qhexedit2-0.8.9_p20210525-r2.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild similarity index 97% rename from app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild rename to app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild index 5a67a0db9e25..1b6a21c4bd95 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r2.ebuild @@ -31,7 +31,7 @@ RDEPEND=" python? ( ${PYTHON_DEPS} $(python_gen_cond_dep ' - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.15.6[gui,widgets,${PYTHON_USEDEP}] ') ) " diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r1.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild similarity index 97% rename from app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r1.ebuild rename to app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild index eb3f2601963f..e4232394a04c 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r1.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild @@ -33,7 +33,7 @@ RDEPEND=" python? ( ${PYTHON_DEPS} $(python_gen_cond_dep ' - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.15.6[gui,widgets,${PYTHON_USEDEP}] ') ) "
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/files/, app-editors/qhexedit2/
commit: 8759771fffe11541f3259bab8b305a0afd142f32 Author: Huang Rui gmail com> AuthorDate: Mon May 9 03:04:44 2022 + Commit: Sam James gentoo org> CommitDate: Fri May 13 20:03:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8759771f app-editors/qhexedit2: fix compile problem and add BDEPEND sip-4 no longer supports the latest PyQt5 syntax, so it needs to be changed to sip-5 Fix unable to find file "QtCore/QtCoremod.sip" Switched the build system to use sip-build + PyQt-builder Add dev-python/sip-5 as RDEPEND New maintainer by Proxy Maint Closes: https://bugs.gentoo.org/820473 Closes: https://bugs.gentoo.org/758260 Signed-off-by: Huang Rui gmail.com> Closes: https://github.com/gentoo/gentoo/pull/25395 Signed-off-by: Sam James gentoo.org> .../qhexedit2/files/qhexedit2-0.8.6-sip.patch | 35 +++ .../qhexedit2/files/qhexedit2-0.8.6-sip5.patch | 82 +++ .../files/qhexedit2-0.8.9-fix-crash.patch | 37 +++ app-editors/qhexedit2/metadata.xml | 9 +- .../qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild | 108 .../qhexedit2/qhexedit2-0.8.9_p20210525-r1.ebuild | 110 + 6 files changed, 380 insertions(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.6-sip.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.6-sip.patch new file mode 100644 index ..56ae97159030 --- /dev/null +++ b/app-editors/qhexedit2/files/qhexedit2-0.8.6-sip.patch @@ -0,0 +1,35 @@ +https://bugs.gentoo.org/820473 +From bdb22d3542099d7e1933aaffa80e044375466914 Mon Sep 17 00:00:00 2001 +From: Huang Rui +Date: Sat, 7 May 2022 14:49:35 +0800 +Subject: [PATCH] setup.py: fix pyqt_sip_dir on modern Linux distributions + +QtCore/QtCoremod.sip may be installed to: +/usr/lib/python3.9/site-packages/PyQt5/bindings/QtCore/QtCoremod.sip +See also: https://github.com/qgis/QGIS/blob/master/cmake/FindPyQt5.py + +Closes: https://bugs.gentoo.org/820473 +Signed-off-by: Huang Rui +--- + setup.py | 8 + 1 file changed, 8 insertions(+) + +diff --git a/setup.py b/setup.py +index 1a0d912..1906a07 100644 +--- a/setup.py b/setup.py +@@ -10,6 +10,14 @@ + + cfg = sipconfig.Configuration() + pyqt_sip_dir = cfg.default_sip_dir ++for p in (os.path.join(pyqt_sip_dir, "PyQt5"), ++ os.path.join(pyqt_sip_dir, "PyQt5-3"), ++ os.path.join(pyqt_sip_dir, "PyQt4"), ++ pyqt_sip_dir, ++ os.path.join(cfg.default_mod_dir, "PyQt5", "bindings")): ++if os.path.exists(os.path.join(p, "QtCore", "QtCoremod.sip")): ++pyqt_sip_dir = p ++break + + try: + import PyQt5 diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.6-sip5.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.6-sip5.patch new file mode 100644 index ..0cc134e32358 --- /dev/null +++ b/app-editors/qhexedit2/files/qhexedit2-0.8.6-sip5.patch @@ -0,0 +1,82 @@ +https://bugs.gentoo.org/820473 +https://bugs.gentoo.org/815133 +https://github.com/Simsys/qhexedit2/pull/137 +https://src.fedoraproject.org/rpms/qhexedit2/blob/rawhide/f/sip5.patch +From ce17d35586de1b9fdc21e3f8450dd1d2b76d5bcc Mon Sep 17 00:00:00 2001 +From: Scott Talbert +Date: Mon, 18 Jan 2021 21:06:46 -0500 +Subject: [PATCH] Add support for building with sip 5 + +--- + project.py | 29 + + pyproject.toml | 14 ++ + src/qhexedit.sip | 2 +- + 3 files changed, 44 insertions(+), 1 deletion(-) + create mode 100644 project.py + create mode 100644 pyproject.toml + +diff --git a/project.py b/project.py +new file mode 100644 +index 000..c9ee67f +--- /dev/null b/project.py +@@ -0,0 +1,29 @@ ++"""The build configuration file for QHexEdit, used by sip.""" ++ ++import os ++from os.path import abspath, join ++from sipbuild import Option ++from pyqtbuild import PyQtBindings, PyQtProject ++import PyQt5 ++ ++ ++class QHexEditProject(PyQtProject): ++"""The QHexEdit Project class.""" ++ ++def __init__(self): ++super().__init__() ++self.bindings_factories = [QHexEditBindings] ++ ++def update(self, tool): ++"""Allows SIP to find PyQt5 .sip files.""" ++super().update(tool) ++self.sip_include_dirs.append(join(PyQt5.__path__[0], 'bindings')) ++ ++ ++class QHexEditBindings(PyQtBindings): ++"""The QHexEdit Bindings class.""" ++ ++def __init__(self, project): ++super().__init__(project, name='QHexEdit', ++ sip_file='qhexedit.sip', ++ qmake_QT=['widgets']) +diff --git a/pyproject.toml b/pyproject.toml +new file mode 100644 +index 000..b5edaa4 +--- /dev/null b/pyproject.toml +@@ -0,0 +1,14 @@ ++[build-system] ++requires = ["sip >=5, <7", "PyQt-builder >=1.1.0, <2", "PyQt5"] ++build-backend = "sipbuild.api" ++ ++[tool.sip.metadata] ++name = "QHexEdit" ++version = "0.8.9" ++ ++[tools.sip] ++abi-version = "12.8" ++project-factory = "pyqtbuild:PyQtProject" +
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/, app-editors/qhexedit2/files/
commit: 33e5acc534fecffb02f564b62947063370f7b358 Author: Victor Kustov yandex ru> AuthorDate: Mon Apr 18 18:47:40 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Mon May 2 12:08:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e5acc5 app-editors/qhexedit2: bump to 0.8.9 - bump version - switch to vanile Simsys/qhexedit Signed-off-by: Victor Kustov yandex.ru> Package-Manager: Portage-3.0.30, Repoman-3.0.3 Closes: https://github.com/gentoo/gentoo/pull/25095 Signed-off-by: Joonas Niilola gentoo.org> app-editors/qhexedit2/Manifest | 1 + app-editors/qhexedit2/files/qhexedit2-0.8.9.patch | 36 ++ .../qhexedit2/qhexedit2-0.8.9_p20210525.ebuild | 79 ++ 3 files changed, 116 insertions(+) diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest index 31427cf34c3b..cd73ea49b28c 100644 --- a/app-editors/qhexedit2/Manifest +++ b/app-editors/qhexedit2/Manifest @@ -1 +1,2 @@ DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d +DIST qhexedit2-0.8.9_p20210525.tar.gz 342178 BLAKE2B baffe5b5e1130476162f23a91420cc86675a162c39539c9f07685cecc82571817625202814006221f96b56e94c0325fd7a6d8f2294041b426054f809c9967bad SHA512 d8a5159433a1212085371473cc7a89c4888c6af6b1416a34e3ea9d1ef9ae19411af32bea2e2fb256a024d6f2d05c733d285314cfc17f37dae065d7407a9c0d2c diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.9.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.9.patch new file mode 100644 index ..cabbd77ac843 --- /dev/null +++ b/app-editors/qhexedit2/files/qhexedit2-0.8.9.patch @@ -0,0 +1,36 @@ +diff --git a/setup.py b/setup.py +index 1a0d912..646c359 100644 +--- a/setup.py b/setup.py +@@ -98,7 +98,7 @@ if cfg.qt_framework: + lib + ".framework", "Headers")] + else: + if PyQt_Version == 'PyQt5': +-for qt_inc_dir in ('/usr/include/qt', '/usr/include/x86_64-linux-gnu/qt5'): ++for qt_inc_dir in ('/usr/include/qt', '/usr/include/qt5'): + include_dirs.append(qt_inc_dir) + include_dirs += [os.path.join(qt_inc_dir, lib) for lib in qt_libs] + libraries = ["Qt5" + lib[2:] for lib in qt_libs] +diff --git a/src/qhexedit.pro b/src/qhexedit.pro +index 2a94016..55d7bc2 100644 +--- a/src/qhexedit.pro b/src/qhexedit.pro +@@ -23,5 +23,7 @@ Release:TARGET = qhexedit + Debug:TARGET = qhexeditd + + +-unix:DESTDIR = /usr/lib + win32:DESTDIR = ../lib ++ ++target.path = /usr/lib64 ++INSTALLS += target +diff --git a/src/qhexedit.sip b/src/qhexedit.sip +index 082621e..a7ef4e7 100644 +--- a/src/qhexedit.sip b/src/qhexedit.sip +@@ -1,4 +1,4 @@ +-%Module(name=qhexedit, version=1) ++%Module(name=qhexedit) + + %Import QtCore/QtCoremod.sip + %Import QtGui/QtGuimod.sip diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525.ebuild new file mode 100644 index ..0818ddefb0cb --- /dev/null +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10} ) + +#DISTUTILS_OPTIONAL=1 +#DISTUTILS_USE_PEP517=p + +inherit distutils-r1 qmake-utils + +EGIT_COMMIT="541139125be034b90b6811a84faa1413e357fd94" +DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" +HOMEPAGE="https://github.com/Simsys/qhexedit2/"; +SRC_URI="https://github.com/Simsys/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="doc +gui python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( "${FILESDIR}/${PN}-0.8.9.patch" ) + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + python? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +src_configure() { + eqmake5 src/qhexedit.pro + if use gui; then + cd example || die "can't cd example" + eqmake5 qhexedit.pro + fi +} + +src_compile() { + default + use python && distutils-r1_src_compile + use gui && emake -C example +} + +python_compile() { + use python && distutils-r1_python_compile build_ext +} + +src_test() { + cd test || die "can't cd test" + mkdir logs || die "can't create logs dir" + eqmake5 chunks.pro + emake + ./chunks || die "test run failed" + grep -q "^NOK" logs/Summary.log && die "test failed" +} + +src_in
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 90eda112d65063f87b6d2a9e78b109bf909ba295 Author: Denis Pronin yandex ru> AuthorDate: Sat Apr 16 14:12:42 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Apr 21 06:15:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90eda112 app-editors/qhexedit2: support python-3.10 in 0.8.6_p20190316 qhexedit2-0.8.6_p20190316 now is compatible with python-3.10 Closes: https://github.com/gentoo/gentoo/pull/25042 Signed-off-by: Denis Pronin yandex.ru> Signed-off-by: Joonas Niilola gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild index a1d8c2148607..6df7fffbf3d6 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7..10} ) DISTUTILS_OPTIONAL=1
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: ac6665ea3d093a8130f95c252e67f9c204f6e9e5 Author: Joonas Niilola gentoo org> AuthorDate: Thu Apr 21 06:16:02 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Apr 21 06:16:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac6665ea app-editors/qhexedit2: disable py3.7 Signed-off-by: Joonas Niilola gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild index 6df7fffbf3d6..c5e05a60e67c 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_COMPAT=( python3_{8..10} ) DISTUTILS_OPTIONAL=1
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 53c6e70a1614dfe0d56a4132cd4feac6ec52c525 Author: Jonas Stein gentoo org> AuthorDate: Sun Apr 10 21:06:53 2022 + Commit: Jonas Stein gentoo org> CommitDate: Sun Apr 10 21:10:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c6e70a app-editors/qhexedit2: Maintainer retired Proxied maintainer retired due to inactivity. Bug: https://bugs.gentoo.org/638830 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jonas Stein gentoo.org> app-editors/qhexedit2/metadata.xml | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app-editors/qhexedit2/metadata.xml b/app-editors/qhexedit2/metadata.xml index b21f150a2481..7db8b420f3d9 100644 --- a/app-editors/qhexedit2/metadata.xml +++ b/app-editors/qhexedit2/metadata.xml @@ -1,14 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd";> - -ktr...@yandex.ru -Victor Kustov - - -proxy-ma...@gentoo.org -Proxy Maintainers - + Install Qt5 hex editor
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 6f95799b15728f9564a66e296d48a4e55f3e13b9 Author: Yongxiang Liang gmail com> AuthorDate: Tue Oct 26 20:51:19 2021 + Commit: Yixun Lan gentoo org> CommitDate: Fri Oct 29 13:28:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f95799b app-editors/qhexedit2: keyword ~riscv Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Yongxiang Liang gmail.com> Signed-off-by: Yixun Lan gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild index bc6a9f42909..a1d8c214860 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.t LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~riscv x86" IUSE="doc +gui python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/, app-editors/qhexedit2/files/
commit: 23893fc42a53f12bcb5056fe72f37b5ddcf3a3a9 Author: Sam James gentoo org> AuthorDate: Wed Oct 27 12:52:57 2021 + Commit: Sam James gentoo org> CommitDate: Wed Oct 27 12:54:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23893fc4 app-editors/qhexedit2: Revert "add SIP 5 patch" This reverts commit ee9e38d91f1b2b4a225df9e4e8bc1d83391d4ba7. Fails here with a different error. Bug: https://bugs.gentoo.org/815133 Bug: https://bugs.gentoo.org/820473 Signed-off-by: Sam James gentoo.org> .../files/qhexedit2-0.8.6_p20190316-sip5.patch | 82 - .../qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild | 86 -- 2 files changed, 168 deletions(-) diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.6_p20190316-sip5.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.6_p20190316-sip5.patch deleted file mode 100644 index 837c2af211f..000 --- a/app-editors/qhexedit2/files/qhexedit2-0.8.6_p20190316-sip5.patch +++ /dev/null @@ -1,82 +0,0 @@ -https://github.com/Simsys/qhexedit2/pull/137 -https://src.fedoraproject.org/rpms/qhexedit2/blob/rawhide/f/sip5.patch -https://bugs.gentoo.org/815133 - -From ce17d35586de1b9fdc21e3f8450dd1d2b76d5bcc Mon Sep 17 00:00:00 2001 -From: Scott Talbert -Date: Mon, 18 Jan 2021 21:06:46 -0500 -Subject: [PATCH] Add support for building with sip 5 - - project.py | 29 + - pyproject.toml | 14 ++ - src/qhexedit.sip | 2 +- - 3 files changed, 44 insertions(+), 1 deletion(-) - create mode 100644 project.py - create mode 100644 pyproject.toml - -diff --git a/project.py b/project.py -new file mode 100644 -index 000..c9ee67f /dev/null -+++ b/project.py -@@ -0,0 +1,29 @@ -+"""The build configuration file for QHexEdit, used by sip.""" -+ -+import os -+from os.path import abspath, join -+from sipbuild import Option -+from pyqtbuild import PyQtBindings, PyQtProject -+import PyQt5 -+ -+ -+class QHexEditProject(PyQtProject): -+"""The QHexEdit Project class.""" -+ -+def __init__(self): -+super().__init__() -+self.bindings_factories = [QHexEditBindings] -+ -+def update(self, tool): -+"""Allows SIP to find PyQt5 .sip files.""" -+super().update(tool) -+self.sip_include_dirs.append(join(PyQt5.__path__[0], 'bindings')) -+ -+ -+class QHexEditBindings(PyQtBindings): -+"""The QHexEdit Bindings class.""" -+ -+def __init__(self, project): -+super().__init__(project, name='QHexEdit', -+ sip_file='qhexedit.sip', -+ qmake_QT=['widgets']) -diff --git a/pyproject.toml b/pyproject.toml -new file mode 100644 -index 000..b5edaa4 /dev/null -+++ b/pyproject.toml -@@ -0,0 +1,14 @@ -+[build-system] -+requires = ["sip >=5", "PyQt-builder", "PyQt5"] -+build-backend = "sipbuild.api" -+ -+[tool.sip.metadata] -+name = "QHexEdit" -+version = "0.8.9" -+ -+[tools.sip] -+abi-version = "12.8" -+project-factory = "pyqtbuild:PyQtProject" -+ -+[tool.sip.project] -+sip-files-dir = "src" -diff --git a/src/qhexedit.sip b/src/qhexedit.sip -index f7db293..6d4ebae 100644 a/src/qhexedit.sip -+++ b/src/qhexedit.sip -@@ -1,4 +1,4 @@ --%Module(name=qhexedit, version=1) -+%Module(name=qhexedit) - - %Import QtCore/QtCoremod.sip - %Import QtGui/QtGuimod.sip diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild deleted file mode 100644 index 5fcee894a76..000 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -DISTUTILS_OPTIONAL=1 - -inherit distutils-r1 qmake-utils - -EGIT_COMMIT="ba5af8616b3a6c916e718914225a483267c01356" -DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" -HOMEPAGE="https://github.com/lancos/qhexedit2/"; -SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc +gui python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -PATCHES=( - "${FILESDIR}/${PN}-0.8.4-setup.py.patch" - "${FILESDIR}/${PN}-0.8.6_p20190316-sip5.patch" -) - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - python? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - >=dev-python/sip-5[${PYTHON_USEDEP}] - ${PYTHON_DEPS} - ) -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -src_prepare() { - default - sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ - -e "\$aINSTALLS += target" src/qhexedit.pro \ - || die "src/qhexedit.pro: sed failed" - use python && distutils-r1_src_prepare -} - -s
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: c4df52b8ee9c90ce7d434dc0178de49443836341 Author: Sam James gentoo org> AuthorDate: Wed Oct 27 12:53:30 2021 + Commit: Sam James gentoo org> CommitDate: Wed Oct 27 12:54:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4df52b8 app-editors/qhexedit2: Revert "add 0.8.9" This reverts commit b1954f0b14ff0203658ca936938f967f37f68095. Still fails with USE=python. Bug: https://bugs.gentoo.org/815133 Bug: https://bugs.gentoo.org/820473 Signed-off-by: Sam James gentoo.org> app-editors/qhexedit2/Manifest | 1 - app-editors/qhexedit2/qhexedit2-0.8.9.ebuild | 81 2 files changed, 82 deletions(-) diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest index ac77a6c9696..31427cf34c3 100644 --- a/app-editors/qhexedit2/Manifest +++ b/app-editors/qhexedit2/Manifest @@ -1,2 +1 @@ DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d -DIST qhexedit2-0.8.9.tar.gz 341341 BLAKE2B 901cda2d28074bb535426102e40e0d5b6e68d3659b16ab4755b124de1f8a0ca878494e537f2c44b19dfc7bd9b9db499e74f66bd42301a73d12830486b7883d02 SHA512 db914adf7ab1226c652101b48a66b463c768447b96fe0b70ece060820c94dff9fbd91c6c3dbb16bb1df330f480662c15cc703e799ead9ec1580b825d2209f880 diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9.ebuild deleted file mode 100644 index 371993ff1e3..000 --- a/app-editors/qhexedit2/qhexedit2-0.8.9.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -DISTUTILS_OPTIONAL=1 -inherit distutils-r1 qmake-utils - -DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" -HOMEPAGE="https://github.com/lancos/qhexedit2/"; -SRC_URI="https://github.com/Simsys/qhexedit2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc +gui python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -PATCHES=( - "${FILESDIR}/${PN}-0.8.4-setup.py.patch" - "${FILESDIR}/${PN}-0.8.6_p20190316-sip5.patch" -) - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - python? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - >=dev-python/sip-5[${PYTHON_USEDEP}] - ${PYTHON_DEPS} - ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - default - sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ - -e "\$aINSTALLS += target" src/qhexedit.pro \ - || die "src/qhexedit.pro: sed failed" - use python && distutils-r1_src_prepare -} - -src_configure() { - eqmake5 src/qhexedit.pro - if use gui; then - cd example || die "can't cd example" - eqmake5 qhexedit.pro - fi -} - -src_compile() { - default - use python && distutils-r1_src_compile - use gui && emake -C example -} - -python_compile() { - use python && distutils-r1_python_compile build_ext --library-dirs="${S}" -} - -src_test() { - cd test || die "can't cd test" - mkdir logs || die "can't create logs dir" - eqmake5 chunks.pro - emake - ./chunks || die "test run failed" - grep -q "^NOK" logs/Summary.log && die "test failed" -} - -src_install() { - emake INSTALL_ROOT="${D}" install - doheader src/*.h - use python && distutils-r1_src_install - use gui && dobin example/qhexedit - if use doc; then - dodoc -r doc/html - dodoc doc/release.txt - fi -}
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: b1954f0b14ff0203658ca936938f967f37f68095 Author: Sam James gentoo org> AuthorDate: Wed Oct 27 06:50:35 2021 + Commit: Sam James gentoo org> CommitDate: Wed Oct 27 06:50:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1954f0b app-editors/qhexedit2: add 0.8.9 Closes: https://bugs.gentoo.org/758260 Signed-off-by: Sam James gentoo.org> app-editors/qhexedit2/Manifest | 1 + app-editors/qhexedit2/qhexedit2-0.8.9.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest index 31427cf34c3..ac77a6c9696 100644 --- a/app-editors/qhexedit2/Manifest +++ b/app-editors/qhexedit2/Manifest @@ -1 +1,2 @@ DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d +DIST qhexedit2-0.8.9.tar.gz 341341 BLAKE2B 901cda2d28074bb535426102e40e0d5b6e68d3659b16ab4755b124de1f8a0ca878494e537f2c44b19dfc7bd9b9db499e74f66bd42301a73d12830486b7883d02 SHA512 db914adf7ab1226c652101b48a66b463c768447b96fe0b70ece060820c94dff9fbd91c6c3dbb16bb1df330f480662c15cc703e799ead9ec1580b825d2209f880 diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9.ebuild new file mode 100644 index 000..371993ff1e3 --- /dev/null +++ b/app-editors/qhexedit2/qhexedit2-0.8.9.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_OPTIONAL=1 +inherit distutils-r1 qmake-utils + +DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" +HOMEPAGE="https://github.com/lancos/qhexedit2/"; +SRC_URI="https://github.com/Simsys/qhexedit2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc +gui python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.4-setup.py.patch" + "${FILESDIR}/${PN}-0.8.6_p20190316-sip5.patch" +) + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + python? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + >=dev-python/sip-5[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ + -e "\$aINSTALLS += target" src/qhexedit.pro \ + || die "src/qhexedit.pro: sed failed" + use python && distutils-r1_src_prepare +} + +src_configure() { + eqmake5 src/qhexedit.pro + if use gui; then + cd example || die "can't cd example" + eqmake5 qhexedit.pro + fi +} + +src_compile() { + default + use python && distutils-r1_src_compile + use gui && emake -C example +} + +python_compile() { + use python && distutils-r1_python_compile build_ext --library-dirs="${S}" +} + +src_test() { + cd test || die "can't cd test" + mkdir logs || die "can't create logs dir" + eqmake5 chunks.pro + emake + ./chunks || die "test run failed" + grep -q "^NOK" logs/Summary.log && die "test failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + doheader src/*.h + use python && distutils-r1_src_install + use gui && dobin example/qhexedit + if use doc; then + dodoc -r doc/html + dodoc doc/release.txt + fi +}
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/files/, app-editors/qhexedit2/
commit: ee9e38d91f1b2b4a225df9e4e8bc1d83391d4ba7 Author: Sam James gentoo org> AuthorDate: Wed Oct 27 06:48:06 2021 + Commit: Sam James gentoo org> CommitDate: Wed Oct 27 06:50:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9e38d9 app-editors/qhexedit2: add SIP 5 patch Good enough for Fedora. Closes: https://bugs.gentoo.org/815133 Signed-off-by: Sam James gentoo.org> .../files/qhexedit2-0.8.6_p20190316-sip5.patch | 82 + .../qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild | 86 ++ 2 files changed, 168 insertions(+) diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.6_p20190316-sip5.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.6_p20190316-sip5.patch new file mode 100644 index 000..837c2af211f --- /dev/null +++ b/app-editors/qhexedit2/files/qhexedit2-0.8.6_p20190316-sip5.patch @@ -0,0 +1,82 @@ +https://github.com/Simsys/qhexedit2/pull/137 +https://src.fedoraproject.org/rpms/qhexedit2/blob/rawhide/f/sip5.patch +https://bugs.gentoo.org/815133 + +From ce17d35586de1b9fdc21e3f8450dd1d2b76d5bcc Mon Sep 17 00:00:00 2001 +From: Scott Talbert +Date: Mon, 18 Jan 2021 21:06:46 -0500 +Subject: [PATCH] Add support for building with sip 5 + +--- + project.py | 29 + + pyproject.toml | 14 ++ + src/qhexedit.sip | 2 +- + 3 files changed, 44 insertions(+), 1 deletion(-) + create mode 100644 project.py + create mode 100644 pyproject.toml + +diff --git a/project.py b/project.py +new file mode 100644 +index 000..c9ee67f +--- /dev/null b/project.py +@@ -0,0 +1,29 @@ ++"""The build configuration file for QHexEdit, used by sip.""" ++ ++import os ++from os.path import abspath, join ++from sipbuild import Option ++from pyqtbuild import PyQtBindings, PyQtProject ++import PyQt5 ++ ++ ++class QHexEditProject(PyQtProject): ++"""The QHexEdit Project class.""" ++ ++def __init__(self): ++super().__init__() ++self.bindings_factories = [QHexEditBindings] ++ ++def update(self, tool): ++"""Allows SIP to find PyQt5 .sip files.""" ++super().update(tool) ++self.sip_include_dirs.append(join(PyQt5.__path__[0], 'bindings')) ++ ++ ++class QHexEditBindings(PyQtBindings): ++"""The QHexEdit Bindings class.""" ++ ++def __init__(self, project): ++super().__init__(project, name='QHexEdit', ++ sip_file='qhexedit.sip', ++ qmake_QT=['widgets']) +diff --git a/pyproject.toml b/pyproject.toml +new file mode 100644 +index 000..b5edaa4 +--- /dev/null b/pyproject.toml +@@ -0,0 +1,14 @@ ++[build-system] ++requires = ["sip >=5", "PyQt-builder", "PyQt5"] ++build-backend = "sipbuild.api" ++ ++[tool.sip.metadata] ++name = "QHexEdit" ++version = "0.8.9" ++ ++[tools.sip] ++abi-version = "12.8" ++project-factory = "pyqtbuild:PyQtProject" ++ ++[tool.sip.project] ++sip-files-dir = "src" +diff --git a/src/qhexedit.sip b/src/qhexedit.sip +index f7db293..6d4ebae 100644 +--- a/src/qhexedit.sip b/src/qhexedit.sip +@@ -1,4 +1,4 @@ +-%Module(name=qhexedit, version=1) ++%Module(name=qhexedit) + + %Import QtCore/QtCoremod.sip + %Import QtGui/QtGuimod.sip diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild new file mode 100644 index 000..5fcee894a76 --- /dev/null +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +DISTUTILS_OPTIONAL=1 + +inherit distutils-r1 qmake-utils + +EGIT_COMMIT="ba5af8616b3a6c916e718914225a483267c01356" +DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" +HOMEPAGE="https://github.com/lancos/qhexedit2/"; +SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc +gui python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.4-setup.py.patch" + "${FILESDIR}/${PN}-0.8.6_p20190316-sip5.patch" +) + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + python? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + >=dev-python/sip-5[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +src_prepare() { + default + sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ + -e "\$aINSTALLS += target" src/qhexedit.pro \ + || die "src/qhexedit.pro: sed failed" + use python && distutils-r1_src_prepare +} + +src_configure() { + eqmake5 src/qhexedit.pro + if use gui; then + cd example || die "can't cd exam
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: ee8c1050ec33a34b3134c2dc52addda9cb2c0695 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Jun 1 18:15:13 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Jun 1 18:28:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee8c1050 app-editors/qhexedit2: restrict to https://bugs.gentoo.org/793419 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild index 0fb05349bf5..bc6a9f42909 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild @@ -30,7 +30,7 @@ RDEPEND=" dev-qt/qtwidgets:5 python? ( dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - dev-python/sip[${PYTHON_USEDEP}] +
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 3f9684b8d655e7ae9fd086b42ed714ccc7fb2eb7 Author: Sam James gentoo org> AuthorDate: Mon Mar 8 10:26:29 2021 + Commit: Sam James gentoo org> CommitDate: Mon Mar 8 10:26:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9684b8 app-editors/qhexedit2: Stabilize 0.8.6_p20190316 x86, #770676 Signed-off-by: Sam James gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild index 455b5a700ea..0fb05349bf5 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.t LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="doc +gui python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 4df7bd593000ca33d5e123056f89c52c73ad1292 Author: Sam James gentoo org> AuthorDate: Mon Mar 8 10:24:43 2021 + Commit: Sam James gentoo org> CommitDate: Mon Mar 8 10:24:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df7bd59 app-editors/qhexedit2: Stabilize 0.8.6_p20190316 amd64, #770676 Signed-off-by: Sam James gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild index b32e2379d60..455b5a700ea 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.t LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="doc +gui python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 623eb16ade52332e24d48c4c7253c506dfda8b1d Author: Rick Farina gentoo org> AuthorDate: Fri Dec 4 03:26:51 2020 + Commit: Rick Farina gentoo org> CommitDate: Fri Dec 4 03:28:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623eb16a app-editors/qhexedit2: python bump Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Rick Farina gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild index 2378ef10d4d..843601fcc81 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) DISTUTILS_OPTIONAL=1
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/, app-editors/qhexedit2/files/
commit: f007bab1e6ae4ee921aab48b2bb604a6425a3fda Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu May 21 18:32:59 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu May 21 18:32:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f007bab1 app-editors/qhexedit2: Drop 0.8.4 and 0.8.4_p20170719 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> app-editors/qhexedit2/Manifest | 2 - .../qhexedit2/files/qhexedit2-0.8.4-fixtest.patch | 12 --- app-editors/qhexedit2/qhexedit2-0.8.4.ebuild | 83 - .../qhexedit2/qhexedit2-0.8.4_p20170719.ebuild | 86 -- 4 files changed, 183 deletions(-) diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest index 79e9033f9ab..31427cf34c3 100644 --- a/app-editors/qhexedit2/Manifest +++ b/app-editors/qhexedit2/Manifest @@ -1,3 +1 @@ -DIST qhexedit2-0.8.4.tar.gz 340766 BLAKE2B af24031fdd9f8d677f7e8ab8fd69667852dd971db30f5406b908bf7f2dc692c87e99c141f355adc82c8226b5b29f53ce07ba63656d866f8688cb2cbc67f2 SHA512 8ed831d75c8ec1897dfd7ef497423908b26b0f56e6577928ed035654e52b437f64edd61cfcc1de6eaf5d1f29f9dc97da84d2edd7f427e3c09c9d75d7bc6504ff -DIST qhexedit2-0.8.4_p20170719.tar.gz 342037 BLAKE2B 667a7c3e93ed3422f21da53b6811fca53b210cfaf2603cf2a61e377e68f295b5024a9fa73d444c1e50af274bdbc6faa62bc2ab4aad176a8b3a6d7540117c5a30 SHA512 3c412b9bbe4f84f6f445b6ad530fc51dc5422a0a5bb6184edc7df92595aa5215c345e2b16effae8de758b299c5f7f7d44cf54dd65a180941c30790194679baa8 DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.4-fixtest.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.4-fixtest.patch deleted file mode 100644 index 339ef99477e..000 --- a/app-editors/qhexedit2/files/qhexedit2-0.8.4-fixtest.patch +++ /dev/null @@ -1,12 +0,0 @@ qhexedit2-0.8.4/test/testchunks.cpp- 2017-01-17 02:32:54.0 +0300 -+++ qhexedit2-0.8.4/test/testchunks.cpp2018-01-03 21:34:24.988555308 +0300 -@@ -1,8 +1,7 @@ - #include "testchunks.h" - #include - -- --TestChunks::TestChunks(QTextStream &log, QString tName, int size, bool random, int saveFile) -+TestChunks::TestChunks(QTextStream &log, QString tName, int size, bool random, int saveFile): _chunks(nullptr) - { - char hex[] = "0123456789abcdef"; - srand(0); diff --git a/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild deleted file mode 100644 index 9b10f32a381..000 --- a/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 2017-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -DISTUTILS_OPTIONAL=1 - -inherit distutils-r1 qmake-utils - -DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" -HOMEPAGE="https://github.com/lancos/qhexedit2/"; -SRC_URI="https://github.com/lancos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc +gui python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -PATCHES=( - "${FILESDIR}/${P}-fixtest.patch" - "${FILESDIR}/${P}-setup.py.patch" -) - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - python? ( dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - dev-python/sip[${PYTHON_USEDEP}] - ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - default - sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ - -e "\$aINSTALLS += target" src/qhexedit.pro \ - || die "src/qhexedit.pro: sed failed" - use python && distutils-r1_src_prepare -} - -src_configure() { - eqmake5 src/qhexedit.pro - if use gui; then - cd example || die "can't cd example" - eqmake5 qhexedit.pro - fi -} - -src_compile() { - default - use python && distutils-r1_src_compile - if use gui; then - cd example || die "can't cd example" - emake - fi -} - -python_compile() { - use python && distutils-r1_python_compile build_ext --library-dirs="${S}" -} - -src_test() { - cd test || die "can't cd test" - mkdir logs || die "can't create logs dir" - eqmake5 chunks.pro - emake - ./chunks || die "test run failed" - grep -q "^NOK" logs/Summary.log && die "test failed" -} - -src_install() { - emake INSTALL_ROOT="${D}" install - use python && distu
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 1b3154968fb076d58c4fd7658b86563af3e2f5f6 Author: Rick Farina gentoo org> AuthorDate: Tue Mar 17 01:51:53 2020 + Commit: Rick Farina gentoo org> CommitDate: Tue Mar 17 01:52:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b315496 app-editors/qhexedit2: bump snapshot Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Rick Farina gentoo.org> app-editors/qhexedit2/Manifest | 1 + .../qhexedit2/qhexedit2-0.8.6_p20190316.ebuild | 85 ++ 2 files changed, 86 insertions(+) diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest index 89e26c7dbc8..79e9033f9ab 100644 --- a/app-editors/qhexedit2/Manifest +++ b/app-editors/qhexedit2/Manifest @@ -1,2 +1,3 @@ DIST qhexedit2-0.8.4.tar.gz 340766 BLAKE2B af24031fdd9f8d677f7e8ab8fd69667852dd971db30f5406b908bf7f2dc692c87e99c141f355adc82c8226b5b29f53ce07ba63656d866f8688cb2cbc67f2 SHA512 8ed831d75c8ec1897dfd7ef497423908b26b0f56e6577928ed035654e52b437f64edd61cfcc1de6eaf5d1f29f9dc97da84d2edd7f427e3c09c9d75d7bc6504ff DIST qhexedit2-0.8.4_p20170719.tar.gz 342037 BLAKE2B 667a7c3e93ed3422f21da53b6811fca53b210cfaf2603cf2a61e377e68f295b5024a9fa73d444c1e50af274bdbc6faa62bc2ab4aad176a8b3a6d7540117c5a30 SHA512 3c412b9bbe4f84f6f445b6ad530fc51dc5422a0a5bb6184edc7df92595aa5215c345e2b16effae8de758b299c5f7f7d44cf54dd65a180941c30790194679baa8 +DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d diff --git a/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild new file mode 100644 index 000..2378ef10d4d --- /dev/null +++ b/app-editors/qhexedit2/qhexedit2-0.8.6_p20190316.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +DISTUTILS_OPTIONAL=1 + +inherit distutils-r1 qmake-utils + +EGIT_COMMIT="ba5af8616b3a6c916e718914225a483267c01356" +DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" +HOMEPAGE="https://github.com/lancos/qhexedit2/"; +SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc +gui python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.4-setup.py.patch" +) + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + python? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + dev-python/sip[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +src_prepare() { + default + sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ + -e "\$aINSTALLS += target" src/qhexedit.pro \ + || die "src/qhexedit.pro: sed failed" + use python && distutils-r1_src_prepare +} + +src_configure() { + eqmake5 src/qhexedit.pro + if use gui; then + cd example || die "can't cd example" + eqmake5 qhexedit.pro + fi +} + +src_compile() { + default + use python && distutils-r1_src_compile + use gui && emake -C example +} + +python_compile() { + use python && distutils-r1_python_compile build_ext --library-dirs="${S}" +} + +src_test() { + cd test || die "can't cd test" + mkdir logs || die "can't create logs dir" + eqmake5 chunks.pro + emake + ./chunks || die "test run failed" + grep -q "^NOK" logs/Summary.log && die "test failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + doheader src/*.h + use python && distutils-r1_src_install + use gui && dobin example/qhexedit + if use doc; then + dodoc -r doc/html + dodoc doc/release.txt + fi +}
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 97bbde433ea6b733e3920b5c3e51eefa24ebe62b Author: Michał Górny gentoo org> AuthorDate: Tue Feb 11 11:27:41 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 11 11:37:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97bbde43 app-editors/qhexedit2: Remove py2 Signed-off-by: Michał Górny gentoo.org> app-editors/qhexedit2/qhexedit2-0.8.4.ebuild | 2 +- app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild index 0563e606546..9b10f32a381 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_6} ) +PYTHON_COMPAT=( python3_6 ) DISTUTILS_OPTIONAL=1 diff --git a/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild index f3efaaa2f28..da69c8ab418 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_6} ) +PYTHON_COMPAT=( python3_6 ) DISTUTILS_OPTIONAL=1
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 364802880c1f98ab7bf929ca2eb2ca9ec7e9763b Author: Mikle Kolyada gentoo org> AuthorDate: Sun Nov 25 16:03:42 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Nov 25 16:03:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36480288 app-editors/qhexedit2: Drop myself from maintainers Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-editors/qhexedit2/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/app-editors/qhexedit2/metadata.xml b/app-editors/qhexedit2/metadata.xml index ff7a03cc6af..e3782cf655a 100644 --- a/app-editors/qhexedit2/metadata.xml +++ b/app-editors/qhexedit2/metadata.xml @@ -5,10 +5,6 @@ ktr...@yandex.ru Victor Kustov - -zlog...@gentoo.org -Mikle Kolyada - maksbo...@gentoo.org Maxim Koltsov
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 65f94bf298f1b868f641ee525bbd367c3f9ee791 Author: ktrace bks tv> AuthorDate: Thu Mar 29 14:07:31 2018 + Commit: David Seifert gentoo org> CommitDate: Mon Apr 16 21:12:26 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f94bf2 app-editors/qhexedit2: change git branch to ponyprog change git branch to ponyprog for succesfully build ponyprog 3.0.0, add headers installing. Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-editors/qhexedit2/Manifest | 1 + .../qhexedit2/qhexedit2-0.8.4_p20170719.ebuild | 86 ++ 2 files changed, 87 insertions(+) diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest index 961c901f02e..89e26c7dbc8 100644 --- a/app-editors/qhexedit2/Manifest +++ b/app-editors/qhexedit2/Manifest @@ -1 +1,2 @@ DIST qhexedit2-0.8.4.tar.gz 340766 BLAKE2B af24031fdd9f8d677f7e8ab8fd69667852dd971db30f5406b908bf7f2dc692c87e99c141f355adc82c8226b5b29f53ce07ba63656d866f8688cb2cbc67f2 SHA512 8ed831d75c8ec1897dfd7ef497423908b26b0f56e6577928ed035654e52b437f64edd61cfcc1de6eaf5d1f29f9dc97da84d2edd7f427e3c09c9d75d7bc6504ff +DIST qhexedit2-0.8.4_p20170719.tar.gz 342037 BLAKE2B 667a7c3e93ed3422f21da53b6811fca53b210cfaf2603cf2a61e377e68f295b5024a9fa73d444c1e50af274bdbc6faa62bc2ab4aad176a8b3a6d7540117c5a30 SHA512 3c412b9bbe4f84f6f445b6ad530fc51dc5422a0a5bb6184edc7df92595aa5215c345e2b16effae8de758b299c5f7f7d44cf54dd65a180941c30790194679baa8 diff --git a/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild new file mode 100644 index 000..e4e30e3c8f4 --- /dev/null +++ b/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) + +DISTUTILS_OPTIONAL=1 + +inherit distutils-r1 qmake-utils + +EGIT_COMMIT="5f3ca79dbe8c765b685636a1751d242a6bfabb7d" +DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" +HOMEPAGE="https://github.com/lancos/qhexedit2/"; +SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc +gui python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.4-fixtest.patch" + "${FILESDIR}/${PN}-0.8.4-setup.py.patch" +) + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + python? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + dev-python/sip[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +src_prepare() { + default + sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ + -e "\$aINSTALLS += target" src/qhexedit.pro \ + || die "src/qhexedit.pro: sed failed" + use python && distutils-r1_src_prepare +} + +src_configure() { + eqmake5 src/qhexedit.pro + if use gui; then + cd example || die "can't cd example" + eqmake5 qhexedit.pro + fi +} + +src_compile() { + default + use python && distutils-r1_src_compile + use gui && emake -C example +} + +python_compile() { + use python && distutils-r1_python_compile build_ext --library-dirs="${S}" +} + +src_test() { + cd test || die "can't cd test" + mkdir logs || die "can't create logs dir" + eqmake5 chunks.pro + emake + ./chunks || die "test run failed" + grep -q "^NOK" logs/Summary.log && die "test failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + doheader src/*.h + use python && distutils-r1_src_install + use gui && dobin example/qhexedit + if use doc; then + dodoc -r doc/html + dodoc doc/release.txt + fi +}
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 218474ef0a34cb48350a7b586e6a3badba584802 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 11 09:55:41 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 11 10:01:18 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218474ef app-editors/qhexedit2: Remove useless maintainer Remove useless/redundant maintainer . It does not benefit bug wrangling, and only wastes developer's time on reading it. Few tips: - assignee/CC is implied by ordering, there is no reason to repeat it, - we know that maintainer is maintainer (la la la la la), - most of adjectives for maintainer are of no value and/or are obvious. app-editors/qhexedit2/metadata.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/app-editors/qhexedit2/metadata.xml b/app-editors/qhexedit2/metadata.xml index 3f610e098d9..67f1531f77a 100644 --- a/app-editors/qhexedit2/metadata.xml +++ b/app-editors/qhexedit2/metadata.xml @@ -4,7 +4,6 @@ coy...@bks.tv Victor Kustov -Proxied-maintainer. Assign bugs to him zlog...@gentoo.org
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/
commit: 4fd475cd5b00f2e02eb9c8bd3c1345602d66b521 Author: Mikle Kolyada gentoo org> AuthorDate: Thu Jan 11 16:15:25 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu Jan 11 16:15:25 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd475cd app-editors/qhexedit2: install editor by default Closes: https://bugs.gentoo.org/644014 Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-editors/qhexedit2/qhexedit2-0.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild index 07dccd9847e..1de535b4cde 100644 --- a/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild +++ b/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/lancos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc gui python" +IUSE="doc +gui python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: app-editors/qhexedit2/files/, app-editors/qhexedit2/
commit: af2ab4a3e7880cb7a5605080e5c17a136d889765 Author: Victor bks tv> AuthorDate: Mon Jan 1 19:19:10 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu Jan 4 19:06:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af2ab4a3 app-editors/qhexedit2: new package QHexEdit is a hex editor widget written in C++ for the Qt5 framework. Used by ponyprog2000. Package-Manager: Portage-2.3.13, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/6728 app-editors/qhexedit2/Manifest | 1 + .../qhexedit2/files/qhexedit2-0.8.4-fixtest.patch | 12 .../qhexedit2/files/qhexedit2-0.8.4-setup.py.patch | 11 +++ app-editors/qhexedit2/metadata.xml | 33 + app-editors/qhexedit2/qhexedit2-0.8.4.ebuild | 83 ++ 5 files changed, 140 insertions(+) diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest new file mode 100644 index 000..961c901f02e --- /dev/null +++ b/app-editors/qhexedit2/Manifest @@ -0,0 +1 @@ +DIST qhexedit2-0.8.4.tar.gz 340766 BLAKE2B af24031fdd9f8d677f7e8ab8fd69667852dd971db30f5406b908bf7f2dc692c87e99c141f355adc82c8226b5b29f53ce07ba63656d866f8688cb2cbc67f2 SHA512 8ed831d75c8ec1897dfd7ef497423908b26b0f56e6577928ed035654e52b437f64edd61cfcc1de6eaf5d1f29f9dc97da84d2edd7f427e3c09c9d75d7bc6504ff diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.4-fixtest.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.4-fixtest.patch new file mode 100644 index 000..339ef99477e --- /dev/null +++ b/app-editors/qhexedit2/files/qhexedit2-0.8.4-fixtest.patch @@ -0,0 +1,12 @@ +--- qhexedit2-0.8.4/test/testchunks.cpp- 2017-01-17 02:32:54.0 +0300 qhexedit2-0.8.4/test/testchunks.cpp2018-01-03 21:34:24.988555308 +0300 +@@ -1,8 +1,7 @@ + #include "testchunks.h" + #include + +- +-TestChunks::TestChunks(QTextStream &log, QString tName, int size, bool random, int saveFile) ++TestChunks::TestChunks(QTextStream &log, QString tName, int size, bool random, int saveFile): _chunks(nullptr) + { + char hex[] = "0123456789abcdef"; + srand(0); diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.4-setup.py.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.4-setup.py.patch new file mode 100644 index 000..83d9183fcdb --- /dev/null +++ b/app-editors/qhexedit2/files/qhexedit2-0.8.4-setup.py.patch @@ -0,0 +1,11 @@ +--- qhexedit2-0.8.4/setup.py- 2018-01-02 19:40:57.542961661 +0300 qhexedit2-0.8.4/setup.py 2017-01-17 02:32:54.0 +0300 +@@ -98,7 +98,7 @@ + lib + ".framework", "Headers")] + else: + if PyQt_Version == 'PyQt5': +-for qt_inc_dir in ('/usr/include/qt', '/usr/include/x86_64-linux-gnu/qt5'): ++for qt_inc_dir in ('/usr/include/qt', '/usr/include/qt5'): + include_dirs.append(qt_inc_dir) + include_dirs += [os.path.join(qt_inc_dir, lib) for lib in qt_libs] + libraries = ["Qt5" + lib[2:] for lib in qt_libs] diff --git a/app-editors/qhexedit2/metadata.xml b/app-editors/qhexedit2/metadata.xml new file mode 100644 index 000..3f610e098d9 --- /dev/null +++ b/app-editors/qhexedit2/metadata.xml @@ -0,0 +1,33 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + +coy...@bks.tv +Victor Kustov +Proxied-maintainer. Assign bugs to him + + +zlog...@gentoo.org +Mikle Kolyada + + +maksbo...@gentoo.org +Maxim Koltsov + + +proxy-ma...@gentoo.org +Proxy Maintainers + + +Install Qt5 hex editor + + +QHexEdit is a hex editor widget written in C++ for the Qt5 framework. +It is a simple editor for binary data, and has bindings to PyQt +with python 2 and 3. + + +lancos/qhexedit2 +Simsys/qhexedit2 + + diff --git a/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild new file mode 100644 index 000..07dccd9847e --- /dev/null +++ b/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild @@ -0,0 +1,83 @@ +# Copyright 2017-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) + +DISTUTILS_OPTIONAL=1 + +inherit distutils-r1 qmake-utils + +DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" +HOMEPAGE="https://github.com/lancos/qhexedit2/"; +SRC_URI="https://github.com/lancos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gui python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( + "${FILESDIR}/${P}-fixtest.patch" + "${FILESDIR}/${P}-setup.py.patch" +) + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + python? ( dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] +