Diff hdf-4.2.13-r1 with a hdf-4.2.15

/usr/portage/sci-libs/hdf/hdf-4.2.15.ebuild 2021-06-10 18:09:00.000000000 +0300
1 1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6 6
FORTRAN_NEEDED=fortran
7 7

  
8 8
inherit fortran-2 toolchain-funcs autotools flag-o-matic
9 9

  
10
MYP=${P/_p/-patch}
11

  
12 10
DESCRIPTION="General purpose library and format for storing scientific data"
13 11
HOMEPAGE="https://www.hdfgroup.org/hdf4.html"
14
SRC_URI="https://www.hdfgroup.org/ftp/HDF/HDF_Current/src/${MYP}.tar.bz2"
12
SRC_URI="https://support.hdfgroup.org/ftp/HDF/releases/${PN^^}${PV}/src/${P}.tar.bz2"
15 13

  
16 14
SLOT="0"
17 15
LICENSE="NCSA-HDF"
18
KEYWORDS="amd64 ~ia64 ppc -sparc x86 ~amd64-linux ~x86-linux"
16
KEYWORDS="~amd64 ~ia64 ~ppc -sparc ~x86 ~amd64-linux ~x86-linux"
19 17
IUSE="examples fortran szip static-libs test"
20 18
RESTRICT="!test? ( test )"
21 19
REQUIRED_USE="test? ( szip )"
......
28 26
DEPEND="${RDEPEND}
29 27
	test? ( virtual/szip )"
30 28

  
31
S="${WORKDIR}/${MYP}"
32

  
33 29
PATCHES=(
34
	"${FILESDIR}"/${PN}-4.2.11-fix-szip-detection.patch
35
	"${FILESDIR}"/${PN}-4.2.11-enable-fortran-shared.patch
36
	"${FILESDIR}"/${PN}-4.2.13-fix-xdr-configure.patch
37
	"${FILESDIR}"/${PN}-4.2.13-linux-tirpc.patch
30
	"${FILESDIR}"/${PN}-4.2.15-enable-fortran-shared.patch
31
	"${FILESDIR}"/${PN}-4.2.15-fix-rpch-location.patch
38 32
)
39 33

  
40 34
src_prepare() {
......
68 62

  
69 63
	dodoc release_notes/{RELEASE,HISTORY,bugs_fixed,misc_docs}.txt
70 64

  
71
	cd "${ED}"usr
65
	cd "${ED}/usr" || die
72 66
	if use examples; then
73 67
		mv  share/hdf4_examples share/doc/${PF}/examples || die
74 68
		docompress -x /usr/share/doc/${PF}/examples
Thank you!