1 |
commit: 5fef6fd1a5554e613fe333aba90399908e257456 |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Mon Sep 28 10:20:20 2020 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Sep 28 10:20:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5fef6fd1 |
7 |
|
8 |
sci-libs/shtools: removed discontinued package |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
sci-libs/shtools/metadata.xml | 21 ---------- |
14 |
sci-libs/shtools/shtools-4.0.ebuild | 77 ------------------------------------- |
15 |
2 files changed, 98 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/shtools/metadata.xml b/sci-libs/shtools/metadata.xml |
18 |
deleted file mode 100644 |
19 |
index 2fc842248..000000000 |
20 |
--- a/sci-libs/shtools/metadata.xml |
21 |
+++ /dev/null |
22 |
@@ -1,21 +0,0 @@ |
23 |
-<?xml version="1.0" encoding="UTF-8"?> |
24 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
25 |
-<pkgmetadata> |
26 |
- <maintainer type="person"> |
27 |
- <email>heroxbd@g.o</email> |
28 |
- <name>Benda Xu</name> |
29 |
- </maintainer> |
30 |
- <maintainer type="project"> |
31 |
- <email>sci@g.o</email> |
32 |
- <name>Gentoo Science Project</name> |
33 |
- </maintainer> |
34 |
- <longdescription> |
35 |
-SHTOOLS is an archive of Fortran 95 and Python software that can |
36 |
-be used to perform spherical harmonic transforms and |
37 |
-reconstructions, rotations of data expressed in spherical |
38 |
-harmonics, and multitaper spectral analyses on the sphere. |
39 |
-</longdescription> |
40 |
- <upstream> |
41 |
- <remote-id type="github">SHTOOLS/SHTOOLS</remote-id> |
42 |
- </upstream> |
43 |
-</pkgmetadata> |
44 |
|
45 |
diff --git a/sci-libs/shtools/shtools-4.0.ebuild b/sci-libs/shtools/shtools-4.0.ebuild |
46 |
deleted file mode 100644 |
47 |
index 82c690943..000000000 |
48 |
--- a/sci-libs/shtools/shtools-4.0.ebuild |
49 |
+++ /dev/null |
50 |
@@ -1,77 +0,0 @@ |
51 |
-# Copyright 1999-2017 Gentoo Foundation |
52 |
-# Distributed under the terms of the GNU General Public License v2 |
53 |
- |
54 |
-EAPI=6 |
55 |
- |
56 |
-if [[ ${PV} == 9999 ]]; then |
57 |
- _ECLASS="git-r3" |
58 |
- EGIT_REPO_URI="https://github.com/heroxbd/${PN^^}.git" |
59 |
- S="${WORKDIR}"/${P} |
60 |
-else |
61 |
- SRC_URI="https://github.com/${PN^^}/${PN^^}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" |
62 |
- KEYWORDS="~amd64" |
63 |
- S="${WORKDIR}"/${PN^^}-${PV/_/-} |
64 |
-fi |
65 |
- |
66 |
-PYTHON_COMPAT=( python{2_7,3_{4,5}} ) |
67 |
- |
68 |
-inherit fortran-2 flag-o-matic python-single-r1 toolchain-funcs ${_ECLASS} |
69 |
- |
70 |
-DESCRIPTION="Spherical harmonic transforms and reconstructions, rotations" |
71 |
-HOMEPAGE="http://shtools.ipgp.fr" |
72 |
- |
73 |
-LICENSE="BSD-4" |
74 |
-SLOT="0" |
75 |
-KEYWORDS="~amd64" |
76 |
-IUSE="static-libs" |
77 |
- |
78 |
-RDEPEND=" |
79 |
- dev-python/numpy[${PYTHON_USEDEP}] |
80 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
81 |
- sci-libs/fftw:3.0= |
82 |
- virtual/lapack |
83 |
- virtual/blas |
84 |
- ${PYTHON_DEPS}" |
85 |
- |
86 |
-DEPEND="${RDEPEND} |
87 |
- virtual/pkgconfig |
88 |
-" |
89 |
- |
90 |
-src_prepare() { |
91 |
- append-ldflags -shared # needed by f2py |
92 |
- # needed by f2py in fortran 77 mode |
93 |
- append-fflags -fPIC |
94 |
- [[ $(tc-getFC) =~ gfortran ]] && append-fflags -fno-second-underscore |
95 |
- export _pyver=$(python_is_python3 && echo 3 || echo 2) |
96 |
- export OPTS=( |
97 |
- LAPACK=$($(tc-getPKG_CONFIG) lapack --libs-only-l) |
98 |
- BLAS=$($(tc-getPKG_CONFIG) blas --libs-only-l) |
99 |
- FFTW=$($(tc-getPKG_CONFIG) fftw3 --libs-only-l) |
100 |
- F95=$(tc-getFC) |
101 |
- F95FLAGS="${FCFLAGS}" |
102 |
- AR=$(tc-getAR) |
103 |
- RLIB=$(tc-getRANLIB) |
104 |
- PYTHON_VERSION=${_pyver} |
105 |
- ) |
106 |
- |
107 |
- sed \ |
108 |
- -e '/mv/s:.so:*.so:g' \ |
109 |
- -e "/SYSDOCPATH/s:${PN}:${PF}:g" \ |
110 |
- -e "/www/s:/$:/html/:g" \ |
111 |
- -i Makefile || die |
112 |
- |
113 |
- default |
114 |
-} |
115 |
- |
116 |
-src_compile() { |
117 |
- emake fortran "${OPTS[@]}" |
118 |
- emake python${_pyver} "${OPTS[@]}" |
119 |
-} |
120 |
- |
121 |
-src_install() { |
122 |
- emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" "${OPTS[@]}" install-fortran |
123 |
- emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" "${OPTS[@]}" install-python${_pyver} |
124 |
- if ! use static-libs; then |
125 |
- rm -rf "${ED}"/usr/$(get_libdir)/*.a || die |
126 |
- fi |
127 |
-} |