Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/pg2plplot/
Date: Thu, 31 Dec 2020 17:15:26
Message-Id: 1609434821.f34a463a52fe83ffed114664b6626ab78896daef.epsilon-0@gentoo
1 commit: f34a463a52fe83ffed114664b6626ab78896daef
2 Author: MarcvdSluys <git <AT> vandersluys <DOT> nl>
3 AuthorDate: Sat Nov 21 12:19:10 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Thu Dec 31 17:13:41 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f34a463a
7
8 sci-libs/pg2plplot: sci-libs/pg2plplot: version bump.
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: MarcvdSluys <git <AT> vandersluys.nl>
12 Closes: https://bugs.gentoo.org/755812
13 Closes: https://github.com/gentoo/sci/pull/988
14 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
15
16 sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild | 39 ----------------------
17 ...plplot-0.2.0.ebuild => pg2plplot-5.13.0.ebuild} | 21 +++++++-----
18 2 files changed, 12 insertions(+), 48 deletions(-)
19
20 diff --git a/sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild b/sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild
21 deleted file mode 100644
22 index 139ac426e..000000000
23 --- a/sci-libs/pg2plplot/pg2plplot-0.3.1.ebuild
24 +++ /dev/null
25 @@ -1,39 +0,0 @@
26 -# Copyright 1999-2015 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=5
30 -
31 -FORTRAN_STANDARD=90
32 -
33 -inherit cmake-utils fortran-2
34 -
35 -DESCRIPTION="Assist the transition from PGPlot to PLplot in Fortran programs"
36 -HOMEPAGE="http://pg2plplot.sourceforge.net"
37 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
38 -
39 -LICENSE="GPL-3"
40 -SLOT="0"
41 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
42 -IUSE="X png postscript static-libs"
43 -
44 -DEPEND="sci-libs/plplot[fortran]"
45 -
46 -# If USE="png" or "postscript", ensure PLplot has USE="cairo":
47 -RDEPEND="${DEPEND}
48 - sci-libs/plplot[fortran,X?]
49 - png? ( sci-libs/plplot[cairo] )
50 - postscript? ( sci-libs/plplot[cairo] )"
51 -
52 -DOCS=( CHANGELOG README VERSION )
53 -
54 -src_prepare() {
55 - sed -i -e "s:/usr:${EPREFIX}/usr:g" CMake/CMakeLocations.cmake || die
56 - cmake-utils_src_prepare
57 -}
58 -
59 -src_configure() {
60 - local mycmakeargs=(
61 - $(cmake-utils_use static-libs CREATE_STATICLIB)
62 - )
63 - cmake-utils_src_configure
64 -}
65
66 diff --git a/sci-libs/pg2plplot/pg2plplot-0.2.0.ebuild b/sci-libs/pg2plplot/pg2plplot-5.13.0.ebuild
67 similarity index 58%
68 rename from sci-libs/pg2plplot/pg2plplot-0.2.0.ebuild
69 rename to sci-libs/pg2plplot/pg2plplot-5.13.0.ebuild
70 index 7810ecee6..5b5373e58 100644
71 --- a/sci-libs/pg2plplot/pg2plplot-0.2.0.ebuild
72 +++ b/sci-libs/pg2plplot/pg2plplot-5.13.0.ebuild
73 @@ -1,9 +1,11 @@
74 -# Copyright 1999-2015 Gentoo Foundation
75 +# Copyright 1999-2020 Gentoo Authors
76 # Distributed under the terms of the GNU General Public License v2
77
78 -EAPI=5
79 +EAPI=7
80
81 -inherit cmake-utils fortran-2
82 +CMAKE_BUILD_TYPE=Release
83 +inherit cmake fortran-2
84 +CMAKE_MAKEFILE_GENERATOR="emake"
85
86 DESCRIPTION="Assist the transition from PGPlot to PLplot in Fortran programs"
87 HOMEPAGE="http://pg2plplot.sourceforge.net"
88 @@ -14,19 +16,20 @@ SLOT="0"
89 KEYWORDS="~amd64 ~x86"
90 IUSE="X png postscript static-libs"
91
92 -DEPEND="sci-libs/plplot[fortran]"
93 +DEPEND="virtual/fortran
94 + sci-libs/plplot[fortran]"
95
96 # If USE="png" or "postscript", ensure PLplot has USE="cairo":
97 RDEPEND="${DEPEND}
98 - sci-libs/plplot[fortran,X?]
99 - png? ( sci-libs/plplot[cairo] )
100 - postscript? ( sci-libs/plplot[cairo] )"
101 + sci-libs/plplot[fortran,X?]
102 + png? ( sci-libs/plplot[cairo] )
103 + postscript? ( sci-libs/plplot[cairo] )"
104
105 src_configure() {
106 local mycmakeargs=(
107 - $(cmake-utils_use static-libs CREATE_STATICLIB)
108 + -DCREATE_STATICLIB="$(usex static-libs)"
109 )
110 - cmake-utils_src_configure
111 + cmake_src_configure
112 }
113
114 DOCS="CHANGELOG README VERSION"