From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/genfit/
Date: Thu, 31 Dec 2020 15:58:15 +0000 (UTC) [thread overview]
Message-ID: <1609430093.d4f991ffc9ca363f8439f2b10df08caf6faf250e.epsilon-0@gentoo> (raw)
commit: d4f991ffc9ca363f8439f2b10df08caf6faf250e
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Dec 31 15:47:40 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Dec 31 15:54:53 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d4f991ff
sci-physics/genfit: EAPI bump, drop 9999
9999 is 404
cmake-utils --> cmake
use docs eclass to compile docs
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
Closes: https://github.com/gentoo/sci/pull/1021
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-physics/genfit/genfit-02.00.00.ebuild | 48 ++++++++++++--------------
sci-physics/genfit/genfit-9999.ebuild | 57 -------------------------------
2 files changed, 21 insertions(+), 84 deletions(-)
diff --git a/sci-physics/genfit/genfit-02.00.00.ebuild b/sci-physics/genfit/genfit-02.00.00.ebuild
index 2230d6415..9aa92b2ba 100644
--- a/sci-physics/genfit/genfit-02.00.00.ebuild
+++ b/sci-physics/genfit/genfit-02.00.00.ebuild
@@ -1,53 +1,47 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit cmake-utils versionator
-
-if [[ ${PV} == *9999* ]]; then
- inherit subversion
- ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/trunk"
- ESVN_PROJECT="${PN}.${PV}"
- KEYWORDS=""
-else
- # .zip-snapshot can be recreated by visiting
- # http://sourceforge.net/p/${PN}/code/${COMMIT}/tarball?path=/tags/v$(replace_all_version_separators '-')
- TAG_VER=${PN}-code-1688-tags-v$(replace_all_version_separators '-')
- #SRC_URI="http://sourceforge.net/code-snapshots/svn/g/ge/genfit/code/${TAG_VER}.zip"
- SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${TAG_VER}.zip"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S=${WORKDIR}/${TAG_VER}
-fi
+EAPI=7
+
+DOCS_BUILDER="doxygen"
+DOCS_DIR="doc"
+
+inherit cmake docs
+
+TAG_VER=${PN}-code-1688-tags-v${PV//./-}
DESCRIPTION="Generic toolkit for track reconstruction in physics experiments"
HOMEPAGE="http://genfit.sourceforge.net/Main.html" # no https
+SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${TAG_VER}.zip"
LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~x86"
SLOT="0"
-IUSE="doc examples"
+
+IUSE="examples"
RDEPEND="
sci-physics/root:=
- dev-libs/boost:="
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen[dot] )"
+ dev-libs/boost:=
+"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${TAG_VER}
src_compile() {
- cmake-utils_src_compile
- use doc && cmake-utils_src_compile doc
- use examples && cmake-utils_src_compile tests
+ cmake_src_compile
+ docs_compile
+ use examples && cmake_src_compile tests
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
if use examples; then
insinto /usr/share/doc/${PF}
doins -r "${BUILD_DIR}/bin"
doins test/makeGeom.C
doins test/README
fi
- use doc && dohtml -r doc/html/*
echo
elog "Note that there is no support in this ebuild for RAVE yet,"
elog "which is also not in portage."
diff --git a/sci-physics/genfit/genfit-9999.ebuild b/sci-physics/genfit/genfit-9999.ebuild
deleted file mode 100644
index 2061c4dc1..000000000
--- a/sci-physics/genfit/genfit-9999.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils versionator
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/GenFit/GenFit.git"
- KEYWORDS=""
-else
- # .zip-snapshot can be recreated by visiting
- # http://sourceforge.net/p/${PN}/code/${COMMIT}/tarball?path=/tags/v$(replace_all_version_separators '-')
- TAG_VER=${PN}-code-1688-tags-v$(replace_all_version_separators '-')
- #SRC_URI="http://sourceforge.net/code-snapshots/svn/g/ge/genfit/code/${TAG_VER}.zip"
- SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${TAG_VER}.zip"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S=${WORKDIR}/${TAG_VER}
-fi
-
-DESCRIPTION="Generic toolkit for track reconstruction in physics experiments"
-HOMEPAGE="http://genfit.sourceforge.net/Main.html" # no https
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE="doc examples"
-
-RDEPEND="
- sci-physics/root:=
- dev-libs/boost:="
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen[dot] )"
-
-src_compile() {
- cmake-utils_src_compile
- use doc && cmake-utils_src_compile doc
- use examples && cmake-utils_src_compile tests
-}
-
-src_install() {
- cmake-utils_src_install
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r "${BUILD_DIR}/bin"
- doins test/makeGeom.C
- doins test/README
- fi
- use doc && dohtml -r doc/html/*
- echo
- elog "Note that there is no support in this ebuild for RAVE yet,"
- elog "which is also not in portage."
- elog "It should be possible to use a local installation of RAVE"
- elog "and set:"
- elog " export RAVEPATH=<yourRaveDirectory>"
- echo
-}
next reply other threads:[~2020-12-31 15:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-31 15:58 Aisha Tammy [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-20 11:03 [gentoo-commits] proj/sci:master commit in: sci-physics/genfit/ Andrew Ammerlaan
2021-03-04 20:56 Andrew Ammerlaan
2021-01-03 6:18 Horea Christian
2021-01-03 6:18 Horea Christian
2021-01-03 6:18 Horea Christian
2016-03-29 17:15 Justin Lecher
2014-04-03 17:48 Sebastien Fabbro
2014-04-03 17:48 Sebastien Fabbro
2014-03-31 15:28 Nicolas Bock
2014-03-31 15:28 Nicolas Bock
2014-03-23 13:58 Christoph Junghans
2014-03-23 13:58 Christoph Junghans
2014-03-23 13:58 Christoph Junghans
2014-03-23 13:58 Christoph Junghans
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=1609430093.d4f991ffc9ca363f8439f2b10df08caf6faf250e.epsilon-0@gentoo \
--to=gentoo@aisha.cc \
--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