public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/
Date: Sat, 13 Feb 2021 22:52:38 +0000 (UTC)	[thread overview]
Message-ID: <1613256668.a99ea6a04ac3a53f870ccd4986439f701d3bad63.soap@gentoo> (raw)

commit:     a99ea6a04ac3a53f870ccd4986439f701d3bad63
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Feb 13 22:51:08 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 22:51:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a99ea6a0

sci-physics/lhapdf: Bump to 6.3.0

Closes: https://bugs.gentoo.org/690672
Closes: https://bugs.gentoo.org/685100
Closes: https://bugs.gentoo.org/685088

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-physics/lhapdf/Manifest            |  1 +
 sci-physics/lhapdf/lhapdf-6.3.0.ebuild | 80 ++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 56058d468e3..c992963b79a 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1 +1,2 @@
 DIST LHAPDF-6.2.3.tar.gz 750659 BLAKE2B a16f67c69f41e96cdb5434cc53658c6b085b94c9ad06443fdfb49aa1de50eeb2a59aa41442a032c29b361bad4f749cef42499f3d16f2774efb0b399f889576e4 SHA512 167064a141f46e5c834d950690a989330b940acec62377b8b4c40e14665503cf7b4ddb79e05c71ebe1f801231192d951e294bec3944ec37b2bca484b2e5ce894
+DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9 SHA512 4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
new file mode 100644
index 00000000000..f28072c4f40
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=no
+inherit distutils-r1
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="http://lhapdf.hepforge.org/"
+SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+	dev-libs/boost:0=
+	python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	doc? (
+		app-doc/doxygen
+		dev-texlive/texlive-bibtexextra
+		dev-texlive/texlive-fontsextra
+		dev-texlive/texlive-fontutils
+		dev-texlive/texlive-latex
+		dev-texlive/texlive-latexextra
+	)"
+
+S="${WORKDIR}/${MY_PF}"
+
+src_configure() {
+	econf \
+		--disable-static \
+		$(use_enable python)
+
+	if use python; then
+		cd "${S}"/wrappers/python || die
+		distutils-r1_src_prepare
+	fi
+}
+
+src_compile() {
+	emake all $(use doc && echo doxy)
+
+	if use python; then
+		cd "${S}"/wrappers/python || die
+		distutils-r1_src_compile
+	fi
+}
+
+src_test() {
+	emake -C tests
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	use doc && dodoc -r doc/doxygen/.
+	use examples && doins examples/*.cc
+
+	if use python; then
+		cd "${S}"/wrappers/python || die 
+		distutils-r1_src_install
+	fi
+
+	find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+	elog "Download data files from:"
+	elog "http://www.hepforge.org/archive/${PN}/pdfsets/$(ver_cut 1-2)"
+	elog "and untar them into ${EPREFIX}/usr/share/LHAPDF"
+}


             reply	other threads:[~2021-02-13 22:52 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-13 22:52 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-18  9:17 [gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/ Guilherme Amadio
2024-10-24 18:16 Arthur Zamarin
2024-09-25 10:23 Andrew Ammerlaan
2024-09-25 10:23 Andrew Ammerlaan
2024-04-14 15:56 Andrew Ammerlaan
2024-04-14 15:56 Andrew Ammerlaan
2024-04-12 17:05 Andrew Ammerlaan
2024-03-20 19:45 Andrew Ammerlaan
2023-10-23  1:44 Sam James
2023-06-09 15:06 Arthur Zamarin
2023-03-22  1:20 Sam James
2023-03-22  1:20 Sam James
2023-03-22  1:20 Sam James
2023-01-19  7:31 Andrew Ammerlaan
2023-01-18 21:54 Sam James
2023-01-18 21:54 Sam James
2023-01-18 14:50 Andrew Ammerlaan
2023-01-18 14:50 Andrew Ammerlaan
2023-01-13 12:47 Sam James
2022-10-30  9:35 Sam James
2022-10-30  9:35 Sam James
2022-10-05 15:59 Sam James
2022-09-04 12:23 David Seifert
2022-08-31 13:17 Andrew Ammerlaan
2022-07-06 12:56 Andrew Ammerlaan
2021-05-31 21:00 Michał Górny
2021-05-23 13:29 Andrew Savchenko
2021-04-18 21:26 Sam James
2021-04-18 21:20 Sam James
2021-03-04  6:24 Sam James
2020-11-14 20:22 David Seifert
2020-07-20 21:34 Andreas Sturmlechner
2020-07-20  6:42 Agostino Sarubbo
2020-07-19  7:43 Agostino Sarubbo
2020-03-01 18:36 Matthias Maier
2020-02-11 12:25 Michał Górny
2019-09-27 13:41 Guilherme Amadio
2019-09-27 13:41 Guilherme Amadio
2017-05-29 16:33 Pacho Ramos
2016-03-28 15:09 David Seifert
2016-01-12  0:55 Guilherme Amadio
2016-01-12  0:55 Guilherme Amadio
2016-01-12  0:55 Guilherme Amadio
2016-01-11 21:37 Guilherme Amadio

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=1613256668.a99ea6a04ac3a53f870ccd4986439f701d3bad63.soap@gentoo \
    --to=soap@gentoo.org \
    --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