From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/ Date: Mon, 6 Apr 2020 18:01:39 +0000 (UTC) [thread overview] Message-ID: <1586194940.ae2581bc50c1b570091c341f570d0df859d2dddb.andrewammerlaan@gentoo> (raw) commit: ae2581bc50c1b570091c341f570d0df859d2dddb Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Mon Apr 6 17:42:20 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Apr 6 17:42:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae2581bc sci-geosciences: do not die is use doc doing this: use x && do_thing || die makes the build die is use -x so don't do that Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> sci-geosciences/geographiclib/geographiclib-1.50.ebuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild index 7f8a351..64a438f 100644 --- a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild +++ b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild @@ -110,6 +110,8 @@ DEPEND=" S="${WORKDIR}/${MY_P}" distutils_enable_tests setup.py +# there are additional docs in the python dir +distutils_enable_sphinx python/doc src_prepare() { #TODO: strip cflags @@ -152,6 +154,7 @@ src_compile() { cd "python" || die python_foreach_impl distutils-r1_python_compile cd ".." || die + use doc && build_sphinx python/doc fi } @@ -176,6 +179,10 @@ src_install() { cmake_src_install + # remove python things added by the cmake_src_install function + # these are installed in the wrong python dir + rm -rf "${D}/usr/$(get_libdir)/python" || die + # if use python we re-add these python files correctly if use python; then cd "python" || die python_foreach_impl distutils-r1_python_install @@ -184,8 +191,7 @@ src_install() { #TODO: find out if java stuff need something - rm -rf "${D}/usr/$(get_libdir)/python" || die - - use doc && mkdir -p "${D}/usr/share/${P}" || die - use doc && mv "${D}/usr/share/doc/${MY_PN}" "${D}/usr/share/${P}/doc" || die + # Installs to wrong doc dir for some reason + # Also happens with USE="-doc" + mv "${D}/usr/share/doc/${MY_PN}" "${D}/usr/share/doc/${P}" || die }
WARNING: multiple messages have this Message-ID (diff)
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-geosciences/geographiclib/ Date: Mon, 6 Apr 2020 17:42:31 +0000 (UTC) [thread overview] Message-ID: <1586194940.ae2581bc50c1b570091c341f570d0df859d2dddb.andrewammerlaan@gentoo> (raw) Message-ID: <20200406174231.gnEZYDpd5tGdigdp6rc3IM6nz57Awb9hSSj5Y7l_sQg@z> (raw) commit: ae2581bc50c1b570091c341f570d0df859d2dddb Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Mon Apr 6 17:42:20 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Apr 6 17:42:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae2581bc sci-geosciences: do not die is use doc doing this: use x && do_thing || die makes the build die is use -x so don't do that Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> sci-geosciences/geographiclib/geographiclib-1.50.ebuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild index 7f8a351..64a438f 100644 --- a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild +++ b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild @@ -110,6 +110,8 @@ DEPEND=" S="${WORKDIR}/${MY_P}" distutils_enable_tests setup.py +# there are additional docs in the python dir +distutils_enable_sphinx python/doc src_prepare() { #TODO: strip cflags @@ -152,6 +154,7 @@ src_compile() { cd "python" || die python_foreach_impl distutils-r1_python_compile cd ".." || die + use doc && build_sphinx python/doc fi } @@ -176,6 +179,10 @@ src_install() { cmake_src_install + # remove python things added by the cmake_src_install function + # these are installed in the wrong python dir + rm -rf "${D}/usr/$(get_libdir)/python" || die + # if use python we re-add these python files correctly if use python; then cd "python" || die python_foreach_impl distutils-r1_python_install @@ -184,8 +191,7 @@ src_install() { #TODO: find out if java stuff need something - rm -rf "${D}/usr/$(get_libdir)/python" || die - - use doc && mkdir -p "${D}/usr/share/${P}" || die - use doc && mv "${D}/usr/share/doc/${MY_PN}" "${D}/usr/share/${P}/doc" || die + # Installs to wrong doc dir for some reason + # Also happens with USE="-doc" + mv "${D}/usr/share/doc/${MY_PN}" "${D}/usr/share/doc/${P}" || die }
next reply other threads:[~2020-04-06 18:01 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-06 18:01 Andrew Ammerlaan [this message] 2020-04-06 17:42 ` [gentoo-commits] repo/proj/guru:dev commit in: sci-geosciences/geographiclib/ Andrew Ammerlaan -- strict thread matches above, loose matches on Subject: below -- 2020-12-18 19:05 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan 2020-04-29 11:12 Andrew Ammerlaan 2020-04-12 8:11 Andrew Ammerlaan 2020-04-11 8:05 Andrew Ammerlaan 2020-04-11 8:05 Andrew Ammerlaan 2020-04-09 11:58 Andrew Ammerlaan 2020-04-09 0:32 Haelwenn Monnier 2020-04-06 18:00 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan 2020-04-06 18:01 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan 2020-04-05 11:01 Andrew Ammerlaan 2020-04-03 21:37 Haelwenn Monnier 2020-04-03 21:37 Haelwenn Monnier 2020-04-03 21:37 Haelwenn Monnier
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1586194940.ae2581bc50c1b570091c341f570d0df859d2dddb.andrewammerlaan@gentoo \ --to=andrewammerlaan@riseup.net \ --cc=gentoo-commits@lists.gentoo.org \ --cc=gentoo-dev@lists.gentoo.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox