commit: 970eb4a14d6fe35eb35e0f2bd905c46cad58893e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jan 2 21:14:13 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 2 21:14:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=970eb4a1
sci-libs/cfitsio: fix DeprecatedInsinto Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/cfitsio/cfitsio-3.360.ebuild | 9 +++++---- sci-libs/cfitsio/cfitsio-3.410.ebuild | 8 ++++---- sci-libs/cfitsio/cfitsio-3.490.ebuild | 6 +++--- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/sci-libs/cfitsio/cfitsio-3.360.ebuild b/sci-libs/cfitsio/cfitsio-3.360.ebuild index 36547717154..e15c94647d9 100644 --- a/sci-libs/cfitsio/cfitsio-3.360.ebuild +++ b/sci-libs/cfitsio/cfitsio-3.360.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=5 @@ -48,9 +48,10 @@ src_install() { use fortran && dodoc docs/fitsio.doc use doc && dodoc docs/{quick,cfitsio,fpackguide}.pdf use doc && use fortran && dodoc docs/fitsio.pdf + if use examples; then - insinto /usr/share/doc/${PF}/examples - doins cookbook.c testprog.c speed.c smem.c - use fortran && doins cookbook.f testf77.f + docinto examples + dodoc cookbook.c testprog.c speed.c smem.c + use fortran && dodoc cookbook.f testf77.f fi } diff --git a/sci-libs/cfitsio/cfitsio-3.410.ebuild b/sci-libs/cfitsio/cfitsio-3.410.ebuild index 640d3bb018f..46253f61ff4 100644 --- a/sci-libs/cfitsio/cfitsio-3.410.ebuild +++ b/sci-libs/cfitsio/cfitsio-3.410.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=6 @@ -50,9 +50,9 @@ multilib_src_install_all() { use doc && dodoc docs/{quick,cfitsio,fpackguide}.pdf use doc && use fortran && dodoc docs/fitsio.pdf if use examples; then - insinto /usr/share/doc/${PF}/examples - doins cookbook.c testprog.c speed.c smem.c - use fortran && doins cookbook.f testf77.f + dodoc examples + docinto cookbook.c testprog.c speed.c smem.c + use fortran && docinto cookbook.f testf77.f fi prune_libtool_files --all } diff --git a/sci-libs/cfitsio/cfitsio-3.490.ebuild b/sci-libs/cfitsio/cfitsio-3.490.ebuild index 419ec07c908..c7edd5a328a 100644 --- a/sci-libs/cfitsio/cfitsio-3.490.ebuild +++ b/sci-libs/cfitsio/cfitsio-3.490.ebuild @@ -65,9 +65,9 @@ multilib_src_install_all() { dodoc docs/{quick,cfitsio,fpackguide}.pdf dodoc docs/fitsio.pdf - insinto /usr/share/doc/${PF}/examples - doins cookbook.c testprog.c speed.c smem.c - doins cookbook.f testf77.f + docinto examples + dodoc cookbook.c testprog.c speed.c smem.c + dodoc cookbook.f testf77.f # Remove static libs find "${ED}" -name '*.a' -delete || die