From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/fullprof-bin/
Date: Fri, 15 Jan 2021 19:24:07 +0000 (UTC) [thread overview]
Message-ID: <1610738598.0a9d34caa2cf6e943e52c0bc773f567d9d19e209.andrewammerlaan@gentoo> (raw)
commit: 0a9d34caa2cf6e943e52c0bc773f567d9d19e209
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Jan 15 19:23:18 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Jan 15 19:23:18 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0a9d34ca
sci-physics/fullprof-bin: version bump, fix fetch, EAPI bump
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
.../fullprof-bin/fullprof-bin-2020.09.ebuild | 44 +++++++++++++++
.../fullprof-bin/fullprof-bin-20313.04.ebuild | 65 ----------------------
2 files changed, 44 insertions(+), 65 deletions(-)
diff --git a/sci-physics/fullprof-bin/fullprof-bin-2020.09.ebuild b/sci-physics/fullprof-bin/fullprof-bin-2020.09.ebuild
new file mode 100644
index 000000000..24bf5b364
--- /dev/null
+++ b/sci-physics/fullprof-bin/fullprof-bin-2020.09.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Crystallographic tools mainly for Rietveld analysis"
+HOMEPAGE="http://www.ill.eu/sites/fullprof/index.html"
+# Does not fetch correctly with wget, we get the index.html file instead
+# their website seems to explicitly not want us to do this so we
+# add RESTRICT="fetch"
+#SRC_URI="https://www.ill.eu/sites/fullprof/downloads/FullProf_Suite_September2020_Linux64.tgz"
+SRC_URI="FullProf_Suite_September2020_Linux64.tgz"
+RESTRICT="fetch"
+
+LICENSE="freedist HPND"
+# There is no clear license specified. But according to Docs/Readme_Fp_Suite.txt
+# those two seem to be appropriate.
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+RDEPEND="x11-libs/motif"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="opt/.*"
+
+pkg_nofetch() {
+ einfo "Please access https://www.ill.eu/sites/fullprof/downloads/${SRC_URI} using a browser"
+ einfo "and place the tgz file in your DISTDIR directory."
+}
+
+src_install() {
+ BASEDIR="/opt/fullprof"
+ echo "FULLPROF=\"${BASEDIR}\"" > "${T}"/99fullprof
+ doenvd "${T}"/99fullprof
+
+ dodir "${BASEDIR}"
+ # make symlinks
+ for i in * ; do
+ [[ -x $i && ! -d $i ]] && dosym "../fullprof/${i}" /opt/bin/"${i##*/}"
+ done
+ mv "${S}"/* "${ED}/${BASEDIR}" || die
+}
diff --git a/sci-physics/fullprof-bin/fullprof-bin-20313.04.ebuild b/sci-physics/fullprof-bin/fullprof-bin-20313.04.ebuild
deleted file mode 100644
index 8a4df4509..000000000
--- a/sci-physics/fullprof-bin/fullprof-bin-20313.04.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="Crystallographic tools mainly for Rietveld analysis"
-HOMEPAGE="http://www.ill.eu/sites/fullprof/index.html"
-SRC_URI="http://www.ill.eu/sites/fullprof/downloads/FullProf_Suite_April2013_Lin.tgz"
-
-LICENSE="freedist HPND"
-# There is no clear license specified. But according to Docs/Readme_Fp_Suite.txt
-# those two seem to be appropriate.
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="+doc +examples +X"
-
-RDEPEND="X? ( x11-libs/motif:0 )"
-DEPEND=""
-S="${WORKDIR}"
-
-QA_PREBUILT="opt/.*"
-
-src_install() {
- BASEDIR="/opt/fullprof"
- echo "FULLPROF=\"${BASEDIR}\"" > "${T}"/99fullprof
- doenvd "${T}"/99fullprof
-
- if ! use examples; then
- rm -r Examples || die
- fi
-
- if ! use doc; then
- rm -r Docs Html || die
- else
- # fix (html) documentation to actually work
- # as upstream is using inconsistent upper and lower case
- mv Docs docs || die
- cd docs || die
- for i in *.HTM; do
- mv "$i" "${i,,}" || die
- done
- mv "FullProf_Manual.pdf" "Fullprof_Manual.pdf" || die
- mv "Manual_FullProf_Studio.pdf" "Manual_Fullprof_Studio.pdf" || die
- mv "FullProf_News.htm" "Fullprof_News.htm" || die
- for i in FullProf_News_200?.htm; do
- mv "$i" "${i/FullProf/Fullprof}" || die
- done
- cd .. || die
- fi
-
- if ! use X; then
- rm -rf \
- tfp tfp.set winplotr-2006 check_group cryscal edpcr fp_studio \
- gbasireps gbond_str gdatared gfourier gfourier.hlp gxlens \
- powderpat resvis symmcal wfp2k winplotr.* \
- Fps_Icons || die
- fi
-
- dodir "${BASEDIR}"
- # make symlinks
- for i in * ; do
- [[ -x $i && ! -d $i ]] && dosym "../fullprof/${i}" /opt/bin/"${i##*/}"
- done
- mv "${S}"/* "${ED}/${BASEDIR}" || die
-}
next reply other threads:[~2021-01-15 19:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 19:24 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-19 17:16 [gentoo-commits] proj/sci:master commit in: sci-physics/fullprof-bin/ Andrew Ammerlaan
2015-09-23 10:42 Justin Lecher
2013-12-28 23:40 Justin Lecher
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=1610738598.0a9d34caa2cf6e943e52c0bc773f567d9d19e209.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: link
Be 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