]> git.sthu.org Git - shuber-gentoo-overlay.git/commitdiff
media-gfx/ipe-tools: fix live ebuild QA issues
authorStefan Huber <shuber@sthu.org>
Mon, 17 Aug 2026 21:00:57 +0000 (23:00 +0200)
committerStefan Huber <shuber@sthu.org>
Mon, 17 Aug 2026 21:02:43 +0000 (23:02 +0200)
Dedupe the identical KEYWORDS assignment in both branches of the
version conditional, add REQUIRED_USE for the python-single-r1
target when annotate/svgtoipe are enabled, and quote ${ED} in the
python_fix_shebang call.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
media-gfx/ipe-tools/Manifest
media-gfx/ipe-tools/ipe-tools-9999.ebuild

index 0ce7140a2bcaaa240e5d7da5a815b42de4e80b23..b94d5463918cd695790455995e89ca1146a2e75d 100644 (file)
@@ -1,4 +1,4 @@
 DIST v7.2.29.2.tar.gz 248986 BLAKE2B 799f26fd6934a30feeaf494842b602cc0bbc3003d17cceedd7a8e0abe2eb650cc3fe8a19144108177c42caad51d7694c34e4a4d2ff51cda05b988fd53cf675bf SHA512 621192edbdf18c0be1f5b0cb18a6e5a7b53187a3a80f69d42911adf1790c0344ee5bdea7c18ccfc68a2477a8aa30152ae185dfc1f976820ad40243be3cec103d
 EBUILD ipe-tools-7.2.29.2.ebuild 1522 BLAKE2B c03d6a8414440240480c430665864fe5d8bfa461051155985a168a6369fd1eb73fe4ea5b14ef85d604f975d6b4a31e6f9c3391e3a038fece1028458f5f30e278 SHA512 fc723f9a4905105ea076bb869902eaa09dd5e8481f3825403112d114b8c263a7acff6327c43ab6ea913c9a76e49f5a5095130e848e7729e18cdbf9ba9b439f04
-EBUILD ipe-tools-9999.ebuild 1595 BLAKE2B f5fec6f646bfa39e76e5a09457ab02aaad04b7e581bbb3edf8c98b25acef1efd2507be4ceeee5d21f53b7598fbcae65bf4b6fad23ad048a348845e8af8083902 SHA512 b00d5bc87da531c2f63aa7cf26ba7afdf5329648db5a5695dfbf723f16182aa3fb049eb525cb72f68f2c27f31094ee7786ac092e42be7f355b84f6dee7c5328a
+EBUILD ipe-tools-9999.ebuild 1662 BLAKE2B ab52595aaff6b2d38bdd4c47c26775ec29927e27b15b98a259f727facc45d9c37a779ab90053b2d3ddd20ae6ced20ddfb7dd7dfcf48196bda9f68969a5da1f39 SHA512 59eabe49a11a3a25414ae0f6e606bd640b96613241cc9b69fb8674b1ac99d5d79837c9e193b9256d69063ce016814db74e1e48c072a8067599e44d0c29dc4ff1
 MISC metadata.xml 243 BLAKE2B 889d08efb220a9fb8457500f5f3c33c8c737616995e19fa8b621ced4bc9d380d016413d098d4d09925c679cd23f7fbd75e495424fe6ed809a9e873014caae682 SHA512 f9051a65d7e11d7abd1b9568dbbf8be84a6ae68eb994b0c22d57dff5620047d5ad5a324057a5cf4cec10837d16024e5f21a8cf5f1a6247807f62931839eb73bc
index 239e23e5452c5fea5770b7e7e75317cc197021bf..f3bf33f539258356a99ea9ead7be9ba70a3b5d25 100644 (file)
@@ -11,18 +11,18 @@ HOMEPAGE="https://github.com/otfried/ipe-tools"
 GITHUBUSER="otfried"
 
 if [[ ${PV} == *9999 ]]; then
-       KEYWORDS="~amd64 ~x86"
        EGIT_REPO_URI="https://github.com/${GITHUBUSER}/${PN}.git"
        inherit git-r3
 else
-       KEYWORDS="~amd64 ~x86"
        SRC_URI="https://github.com/${GITHUBUSER}/${PN}/archive/v${PV}.tar.gz"
 fi
 
-
 LICENSE="GPL-3"
 SLOT="0"
+KEYWORDS="~amd64 ~x86"
 IUSE="+annotate +svgtoipe +figtoipe +ipe5toxml +pdftoipe"
+REQUIRED_USE="annotate? ( ${PYTHON_REQUIRED_USE} )
+               svgtoipe? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="annotate? ( ${PYTHON_DEPS} dev-python/pypdf )
                svgtoipe? ( !media-gfx/svgtoipe ${PYTHON_DEPS} )
@@ -60,6 +60,6 @@ src_install() {
 
        # Fixing python tools
        if use annotate || use svgtoipe; then
-               python_fix_shebang ${ED}/usr/bin
+               python_fix_shebang "${ED}"/usr/bin
        fi
 }