[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/, sci-physics/lhapdf/files/

2024-08-15 Thread Sam James
commit: 3fb82ca8c2c89b551977fe98aee0f578bdf6ace4
Author: Christopher Fore  posteo  net>
AuthorDate: Thu Aug 15 13:47:32 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 15 14:06:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb82ca8

sci-physics/lhapdf: Fix compilation on GCC 15

- Include patch from upstream MR (refer to patch file)

Closes: https://bugs.gentoo.org/937778
Signed-off-by: Christopher Fore  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/38162
Signed-off-by: Sam James  gentoo.org>

 .../files/lhapdf-6.5.4-include-cstdint.patch   | 31 ++
 sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild  |  4 +++
 2 files changed, 35 insertions(+)

diff --git a/sci-physics/lhapdf/files/lhapdf-6.5.4-include-cstdint.patch 
b/sci-physics/lhapdf/files/lhapdf-6.5.4-include-cstdint.patch
new file mode 100644
index ..2afed53f210b
--- /dev/null
+++ b/sci-physics/lhapdf/files/lhapdf-6.5.4-include-cstdint.patch
@@ -0,0 +1,31 @@
+https://gitlab.com/hepcedar/lhapdf/merge_requests/96
+
+From: Christopher Fore 
+Date: Wed, 14 Aug 2024 20:38:03 -0400
+Subject: [PATCH] yamlcpp: Explicitly include 
+
+GCC 15 will no longer include  by default, resulting in build
+failures in projects that do not explicitly include it.
+
+Error:
+emitterutils.cpp:221:11: error: 'uint16_t' was not declared in this scope
+  221 | std::pair EncodeUTF16SurrogatePair(int codePoint) {
+  |   ^~~~
+emitterutils.cpp:13:1:
+note: 'uint16_t' is defined in header '';
+this is probably fixable by adding '#include '
+   12 | #include "yaml-cpp/null.h"
+  +++ |+#include 
+   13 | #include "yaml-cpp/ostream_wrapper.h"
+
+See-also: https://gcc.gnu.org/pipermail/gcc-cvs/2024-August/407124.html
+See-also: https://bugs.gentoo.org/937778
+Signed-off-by: Christopher Fore 
+--- a/src/yamlcpp/emitterutils.cpp
 b/src/yamlcpp/emitterutils.cpp
+@@ -1,4 +1,5 @@
+ #include 
++#include 
+ #include 
+ #include 
+ 

diff --git a/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild
index 7e3801a3d0e3..f5d5eb09c594 100644
--- a/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild
@@ -42,6 +42,10 @@ BDEPEND="
')
 "
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-6.5.4-include-cstdint.patch
+)
+
 pkg_setup() {
use python && python-single-r1_pkg_setup
 }



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2024-04-14 Thread Andrew Ammerlaan
commit: f328869ac4fbc3d0f70cadf20b2d8fc393b9be34
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Apr 14 15:35:48 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Apr 14 15:56:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f328869a

sci-physics/lhapdf: use local -x to set CONFIG_SHELL

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/36247
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild | 2 +-
 sci-physics/lhapdf/lhapdf-6.5.3-r1.ebuild | 2 +-
 sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild
index 01884ec1f0fe..acccf2facc60 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild
@@ -52,7 +52,7 @@ src_prepare() {
 }
 
 src_configure() {
-   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   local -x CONFIG_SHELL="${EPREFIX}/bin/bash"
econf \
--disable-static \
--enable-python

diff --git a/sci-physics/lhapdf/lhapdf-6.5.3-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.3-r1.ebuild
index fff2f8d0b310..fc3184079097 100644
--- a/sci-physics/lhapdf/lhapdf-6.5.3-r1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.3-r1.ebuild
@@ -36,7 +36,7 @@ PATCHES=(
 )
 
 src_configure() {
-   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   local -x CONFIG_SHELL="${EPREFIX}/bin/bash"
econf \
--disable-static \
--enable-python

diff --git a/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild
index 7a306b01aeeb..7e3801a3d0e3 100644
--- a/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild
@@ -54,7 +54,7 @@ src_prepare() {
 }
 
 src_configure() {
-   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   local -x CONFIG_SHELL="${EPREFIX}/bin/bash"
econf \
--disable-static \
$(use_enable python)



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2024-04-14 Thread Andrew Ammerlaan
commit: 6f4413755de098c09d5b5426765ce9b02d5c7405
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Apr 14 11:07:49 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Apr 14 15:56:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f441375

sci-physics/lhapdf: fix egg install and force bash

Closes: https://bugs.gentoo.org/928105
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild
index 03dda6b30a7f..01884ec1f0fe 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DOCS_BUILDER="doxygen"
 DOCS_DEPEND="
dev-texlive/texlive-bibtexextra
@@ -52,6 +52,7 @@ src_prepare() {
 }
 
 src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
econf \
--disable-static \
--enable-python
@@ -78,6 +79,7 @@ src_install() {
 
cd "${S}"/wrappers/python || die
distutils-r1_src_install
+   rm -r "${D}/$(python_get_sitedir)"/*.egg-info || die
 
find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2024-04-12 Thread Andrew Ammerlaan
commit: 51b64edf75d19764050c472b27c08c9a9b2539a1
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Apr 12 13:25:29 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Apr 12 17:04:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b64edf

sci-physics/lhapdf: drop 6.5.4

Closes: https://bugs.gentoo.org/919778
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/36223
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/Manifest|  1 -
 sci-physics/lhapdf/lhapdf-6.5.4.ebuild | 63 --
 2 files changed, 64 deletions(-)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 0beabc6f004b..33b9d96c1eaa 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,4 +1,3 @@
 DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 
02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9
 SHA512 
4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b
 DIST LHAPDF-6.5.3.tar.gz 864918 BLAKE2B 
2dd1b5b94523c0cadac2b63d3dcbc73c5d621463ec9a0e6736b40cb24f6f4da744cf74484b6a5cfb1cfc10054171858dfb3968b22da565747d9b0d00cb3f545c
 SHA512 
444e1dd75c087b0618a65b0ebda0d06dac640d75e43de3a2e4cd5733dd2eaa6eeb6cb0aac437ee559b00b60a6b839a4125b3b26d398da81d52a3a97a7b875662
-DIST LHAPDF-6.5.4.tar.gz 869707 BLAKE2B 
9bd214f29ef0fb662095a045acf449bac60c2f12fb0e182c9c590ec51651f1c08d213a3f9280eda0711ec9a0d5cae620918f048c362838a9de8e69cc84f34798
 SHA512 
0e39f7f298e8c72eece9c3d19f471f48b3ee045cd54ecd318e0b2d60ada4f01a2151e6b2b5f27fccdf10c1043352a673492f8792be1964df7eafbe931282a83b
 DIST lhapdf-6.5.4.tar.gz 869707 BLAKE2B 
9bd214f29ef0fb662095a045acf449bac60c2f12fb0e182c9c590ec51651f1c08d213a3f9280eda0711ec9a0d5cae620918f048c362838a9de8e69cc84f34798
 SHA512 
0e39f7f298e8c72eece9c3d19f471f48b3ee045cd54ecd318e0b2d60ada4f01a2151e6b2b5f27fccdf10c1043352a673492f8792be1964df7eafbe931282a83b

diff --git a/sci-physics/lhapdf/lhapdf-6.5.4.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.4.ebuild
deleted file mode 100644
index f4c7c7e60150..
--- a/sci-physics/lhapdf/lhapdf-6.5.4.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DOCS_BUILDER="doxygen"
-DOCS_DEPEND="
-   dev-texlive/texlive-bibtexextra
-   dev-texlive/texlive-fontsextra
-   dev-texlive/texlive-fontutils
-   dev-texlive/texlive-latex
-   dev-texlive/texlive-latexextra
-"
-inherit python-single-r1 docs
-
-MY_PV=$(ver_cut 1-3)
-MY_PF=LHAPDF-${MY_PV}
-
-DESCRIPTION="Les Houches Parton Density Function unified library"
-HOMEPAGE="https://lhapdf.hepforge.org/";
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://gitlab.com/hepcedar/lhapdf";
-else
-   SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
-   S="${WORKDIR}/${MY_PF}"
-   KEYWORDS="amd64"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="examples"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   CONFIG_SHELL="${EPREFIX}/bin/bash" \
-   econf \
-   --disable-static \
-   --enable-python
-}
-
-src_compile() {
-   emake all $(use doc && echo doxy)
-}
-
-src_test() {
-   emake -C tests
-}
-
-src_install() {
-   default
-   use doc && dodoc -r doc/doxygen/.
-   use examples && dodoc examples/*.cc
-
-   python_optimize
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2024-03-20 Thread Andrew Ammerlaan
commit: 360d3b5a4b045e26c1ce38043e839ee82686a4e2
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Mar 17 17:28:07 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Mar 20 19:41:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360d3b5a

sci-physics/lhapdf: enable py3.12

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/35802
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/Manifest|  1 +
 .../{lhapdf-.ebuild => lhapdf-6.5.4-r1.ebuild} | 30 ++
 sci-physics/lhapdf/lhapdf-.ebuild  | 27 ---
 3 files changed, 39 insertions(+), 19 deletions(-)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index d8909e57dcbc..0beabc6f004b 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,3 +1,4 @@
 DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 
02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9
 SHA512 
4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b
 DIST LHAPDF-6.5.3.tar.gz 864918 BLAKE2B 
2dd1b5b94523c0cadac2b63d3dcbc73c5d621463ec9a0e6736b40cb24f6f4da744cf74484b6a5cfb1cfc10054171858dfb3968b22da565747d9b0d00cb3f545c
 SHA512 
444e1dd75c087b0618a65b0ebda0d06dac640d75e43de3a2e4cd5733dd2eaa6eeb6cb0aac437ee559b00b60a6b839a4125b3b26d398da81d52a3a97a7b875662
 DIST LHAPDF-6.5.4.tar.gz 869707 BLAKE2B 
9bd214f29ef0fb662095a045acf449bac60c2f12fb0e182c9c590ec51651f1c08d213a3f9280eda0711ec9a0d5cae620918f048c362838a9de8e69cc84f34798
 SHA512 
0e39f7f298e8c72eece9c3d19f471f48b3ee045cd54ecd318e0b2d60ada4f01a2151e6b2b5f27fccdf10c1043352a673492f8792be1964df7eafbe931282a83b
+DIST lhapdf-6.5.4.tar.gz 869707 BLAKE2B 
9bd214f29ef0fb662095a045acf449bac60c2f12fb0e182c9c590ec51651f1c08d213a3f9280eda0711ec9a0d5cae620918f048c362838a9de8e69cc84f34798
 SHA512 
0e39f7f298e8c72eece9c3d19f471f48b3ee045cd54ecd318e0b2d60ada4f01a2151e6b2b5f27fccdf10c1043352a673492f8792be1964df7eafbe931282a83b

diff --git a/sci-physics/lhapdf/lhapdf-.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild
similarity index 67%
copy from sci-physics/lhapdf/lhapdf-.ebuild
copy to sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild
index d6db5a753ed2..7a306b01aeeb 100644
--- a/sci-physics/lhapdf/lhapdf-.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DOCS_BUILDER="doxygen"
 DOCS_DEPEND="
dev-texlive/texlive-bibtexextra
@@ -24,22 +24,32 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/hepcedar/lhapdf";
 else
-   SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+   SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}/${MY_PF}"
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="examples"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+IUSE="examples +python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-RDEPEND="${PYTHON_DEPS}"
+RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
+BDEPEND="
+   $(python_gen_cond_dep '
+   >=dev-python/cython-0.19[${PYTHON_USEDEP}]
+   ')
+"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
 
 src_prepare() {
default
-   # live git does not have a configure script
+   # Let cython reproduce this for more recent python versions
+   rm wrappers/python/lhapdf.cpp || die
eautoreconf
 }
 
@@ -47,7 +57,7 @@ src_configure() {
CONFIG_SHELL="${EPREFIX}/bin/bash" \
econf \
--disable-static \
-   --enable-python
+   $(use_enable python)
 }
 
 src_compile() {
@@ -63,7 +73,7 @@ src_install() {
use doc && dodoc -r doc/doxygen/.
use examples && dodoc examples/*.cc
 
-   python_optimize
+   use python && python_optimize
 
find "${ED}" -name '*.la' -delete || die
 }

diff --git a/sci-physics/lhapdf/lhapdf-.ebuild 
b/sci-physics/lhapdf/lhapdf-.ebuild
index d6db5a753ed2..492a8fed8602 100644
--- a/sci-physics/lhapdf/lhapdf-.ebuild
+++ b/sci-physics/lhapdf/lhapdf-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DOCS_BUILDER="doxygen"
 DOCS_DEPEND="
dev-texlive/texlive-bibtexextra
@@ -24,18 +24,27 @@ if [[ ${PV} ==  ]]; then
   

[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-10-22 Thread Sam James
commit: 5594e37a89f47034c544a84cd6e6a9500406fde5
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 23 01:43:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 23 01:43:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5594e37a

sci-physics/lhapdf: Stabilize 6.5.4 amd64, #913404

Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.5.4.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.4.ebuild
index 836d2c5d1791..f4c7c7e60150 100644
--- a/sci-physics/lhapdf/lhapdf-6.5.4.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.4.ebuild
@@ -26,7 +26,7 @@ if [[ ${PV} ==  ]]; then
 else
SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
S="${WORKDIR}/${MY_PF}"
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/files/, sci-physics/lhapdf/

2023-09-05 Thread Andrew Ammerlaan
commit: 934ca520c4d746a03e007b0b9c0fa34d5efbc447
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Sep  1 10:14:18 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Sep  5 10:35:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934ca520

sci-physics/lhapdf: Fix setup.py

plus fix for USE="doc"

Closes: https://bugs.gentoo.org/912579
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/32548
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/files/lhapdf-6.3.0-egg.patch  | 16 
 .../{lhapdf-6.3.0-r1.ebuild => lhapdf-6.3.0-r2.ebuild}   | 11 +--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/sci-physics/lhapdf/files/lhapdf-6.3.0-egg.patch 
b/sci-physics/lhapdf/files/lhapdf-6.3.0-egg.patch
new file mode 100644
index ..9122b8eaf7ff
--- /dev/null
+++ b/sci-physics/lhapdf/files/lhapdf-6.3.0-egg.patch
@@ -0,0 +1,16 @@
+--- a/wrappers/python/Makefile.am  2023-09-01 11:38:37.567370819 +0200
 b/wrappers/python/Makefile.am  2023-09-01 11:37:50.641123445 +0200
+@@ -29,10 +29,10 @@
+ 
+ ## Always force setup.py, it's not good at guessing what needs to rebuild
+ all-local: fix-out-of-source
+-  $(PYEXT_ENV) $(PYTHON) setup.py install --install-lib=build/ --force
++  $(PYEXT_ENV) $(PYTHON) setup.py install 
--single-version-externally-managed --root=/ --install-lib=$(S)/build/ --force
+ 
+ install-exec-local:
+-  $(PYEXT_ENV) $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) 
--force
++  $(PYEXT_ENV) $(PYTHON) setup.py install 
--single-version-externally-managed --root=/ --prefix=$(DESTDIR)$(prefix) 
--force
+ 
+ uninstall-local:
+   rm -f $(DESTDIR)$(PYTHON_PATH)/lhapdf.so
+

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild
similarity index 89%
rename from sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
rename to sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild
index b2a2781f660e..03dda6b30a7f 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 DOCS_BUILDER="doxygen"
 DOCS_DEPEND="
dev-texlive/texlive-bibtexextra
@@ -14,7 +14,8 @@ DOCS_DEPEND="
 "
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1 docs
+DISTUTILS_EXT=1
+inherit distutils-r1 docs autotools
 
 MY_PV=$(ver_cut 1-3)
 MY_PF=LHAPDF-${MY_PV}
@@ -23,6 +24,7 @@ DESCRIPTION="Les Houches Parton Density Function unified 
library"
 HOMEPAGE="https://lhapdf.hepforge.org/";
 SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
 S="${WORKDIR}/${MY_PF}"
+DOCS_DIR="${S}/doc"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -38,10 +40,15 @@ BDEPEND="
 RDEPEND="${PYTHON_DEPS}"
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-egg.patch
+)
+
 src_prepare() {
default
# Let cython reproduce this for more recent python versions
rm wrappers/python/lhapdf.cpp || die
+   eautoreconf
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-06-09 Thread Arthur Zamarin
commit: f68807315314a93e54a67eeaa761d5faa1d52caa
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jun  3 14:56:24 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 14:50:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6880731

sci-physics/lhapdf: destabilize for ~x86

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
index 3fd2c60d75ed..b2a2781f660e 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
@@ -26,7 +26,7 @@ S="${WORKDIR}/${MY_PF}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~x86"
 IUSE="examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-03-21 Thread Sam James
commit: 44e79d7f7890a630b260f47270db9d4e510dc608
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Mar 20 13:16:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 01:16:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e79d7f

sci-physics/lhapdf: add 6.5.4

Closes: https://bugs.gentoo.org/875386
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/Manifest|  1 +
 sci-physics/lhapdf/lhapdf-6.5.4.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 497c65e90138..d8909e57dcbc 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,2 +1,3 @@
 DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 
02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9
 SHA512 
4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b
 DIST LHAPDF-6.5.3.tar.gz 864918 BLAKE2B 
2dd1b5b94523c0cadac2b63d3dcbc73c5d621463ec9a0e6736b40cb24f6f4da744cf74484b6a5cfb1cfc10054171858dfb3968b22da565747d9b0d00cb3f545c
 SHA512 
444e1dd75c087b0618a65b0ebda0d06dac640d75e43de3a2e4cd5733dd2eaa6eeb6cb0aac437ee559b00b60a6b839a4125b3b26d398da81d52a3a97a7b875662
+DIST LHAPDF-6.5.4.tar.gz 869707 BLAKE2B 
9bd214f29ef0fb662095a045acf449bac60c2f12fb0e182c9c590ec51651f1c08d213a3f9280eda0711ec9a0d5cae620918f048c362838a9de8e69cc84f34798
 SHA512 
0e39f7f298e8c72eece9c3d19f471f48b3ee045cd54ecd318e0b2d60ada4f01a2151e6b2b5f27fccdf10c1043352a673492f8792be1964df7eafbe931282a83b

diff --git a/sci-physics/lhapdf/lhapdf-6.5.4.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.4.ebuild
new file mode 100644
index ..836d2c5d1791
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.5.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+"
+inherit python-single-r1 docs
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="https://lhapdf.hepforge.org/";
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/hepcedar/lhapdf";
+else
+   SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+   S="${WORKDIR}/${MY_PF}"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   econf \
+   --disable-static \
+   --enable-python
+}
+
+src_compile() {
+   emake all $(use doc && echo doxy)
+}
+
+src_test() {
+   emake -C tests
+}
+
+src_install() {
+   default
+   use doc && dodoc -r doc/doxygen/.
+   use examples && dodoc examples/*.cc
+
+   python_optimize
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-03-21 Thread Sam James
commit: 2b6e0a0e7a4224107f4c1b7a42c248a8ba169564
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Mar 20 13:04:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 01:16:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6e0a0e

sci-physics/lhapdf: add myself as a maintainer

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/metadata.xml | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/metadata.xml b/sci-physics/lhapdf/metadata.xml
index 20ef63a13eaa..3c6b42385907 100644
--- a/sci-physics/lhapdf/metadata.xml
+++ b/sci-physics/lhapdf/metadata.xml
@@ -1,7 +1,11 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-
+
+  alexan...@neuwirth-informatik.de
+  Alexander Puck Neuwirth
+
+
   sci-phys...@gentoo.org
   Gentoo Physics Project
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-03-21 Thread Sam James
commit: ef713f0773b8e1922f8ca091f73f5601f7c5f9a9
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Mar 20 13:18:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 01:16:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef713f07

sci-physics/lhapdf: add 

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/30260
Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/lhapdf-.ebuild | 69 +++
 1 file changed, 69 insertions(+)

diff --git a/sci-physics/lhapdf/lhapdf-.ebuild 
b/sci-physics/lhapdf/lhapdf-.ebuild
new file mode 100644
index ..d6db5a753ed2
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+"
+inherit python-single-r1 docs autotools
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="https://lhapdf.hepforge.org/";
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/hepcedar/lhapdf";
+else
+   SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+   S="${WORKDIR}/${MY_PF}"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   # live git does not have a configure script
+   eautoreconf
+}
+
+src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   econf \
+   --disable-static \
+   --enable-python
+}
+
+src_compile() {
+   emake all $(use doc && echo doxy)
+}
+
+src_test() {
+   emake -C tests
+}
+
+src_install() {
+   default
+   use doc && dodoc -r doc/doxygen/.
+   use examples && dodoc examples/*.cc
+
+   python_optimize
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-01-18 Thread Andrew Ammerlaan
commit: 936ffe3af825714c24cbc2f5de1acaebf1d568e9
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Jan 19 07:30:44 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Jan 19 07:30:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936ffe3a

sci-physics/lhapdf: drop 6.3.0

Closes: https://bugs.gentoo.org/870139
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0.ebuild | 81 --
 1 file changed, 81 deletions(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
deleted file mode 100644
index 954144b95a18..
--- a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_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:=
-   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() {
-   CONFIG_SHELL="${EPREFIX}/bin/bash" \
-   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"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-01-18 Thread Sam James
commit: c6bf5bc559184c1339e6301ec564214f57d40752
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 18 21:53:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 18 21:53:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6bf5bc5

sci-physics/lhapdf: Stabilize 6.3.0-r1 x86, #890660

Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
index b2a2781f660e..3fd2c60d75ed 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
@@ -26,7 +26,7 @@ S="${WORKDIR}/${MY_PF}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-01-18 Thread Sam James
commit: b8c50f087c9cb983d6cd59f45d7ccfc77e927ea4
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 18 21:53:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 18 21:53:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c50f08

sci-physics/lhapdf: Stabilize 6.3.0-r1 amd64, #890660

Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
index a26dcc0d2f80..b2a2781f660e 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
@@ -26,7 +26,7 @@ S="${WORKDIR}/${MY_PF}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-01-18 Thread Andrew Ammerlaan
commit: 57d0a4169bd81e66205745e35dd8277593cef898
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Jan 17 13:16:30 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jan 18 14:48:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d0a416

sci-physics/lhapdf: Use single python

Bug: https://bugs.gentoo.org/870139
Closes: https://github.com/gentoo/gentoo/pull/29143
Co-authored-by: Andrew Ammerlaan  gentoo.org>
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild | 76 +++
 1 file changed, 76 insertions(+)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
new file mode 100644
index ..a26dcc0d2f80
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.3.0-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+"
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1 docs
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="https://lhapdf.hepforge.org/";
+SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+   $(python_gen_cond_dep '
+>=dev-python/cython-0.19[${PYTHON_USEDEP}]
+   ')
+"
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   # Let cython reproduce this for more recent python versions
+   rm wrappers/python/lhapdf.cpp || die
+}
+
+src_configure() {
+   econf \
+   --disable-static \
+   --enable-python
+
+   cd "${S}"/wrappers/python || die
+   distutils-r1_src_prepare
+}
+
+src_compile() {
+   emake all $(use doc && echo doxy)
+
+   cd "${S}"/wrappers/python || die
+   distutils-r1_src_compile
+}
+
+src_test() {
+   emake -C tests
+}
+
+src_install() {
+   default
+   use doc && dodoc -r doc/doxygen/.
+   use examples && dodoc examples/*.cc
+
+   cd "${S}"/wrappers/python || die
+   distutils-r1_src_install
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-01-18 Thread Andrew Ammerlaan
commit: 0be8a17fd5d8dac02b5057c354ee22b48423fb3e
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Jan 18 14:49:36 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jan 18 14:49:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be8a17f

sci-physics/lhapdf: drop versions

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/Manifest   |  2 -
 sci-physics/lhapdf/lhapdf-6.5.1-r1.ebuild | 55 ---
 sci-physics/lhapdf/lhapdf-6.5.1.ebuild| 57 
 sci-physics/lhapdf/lhapdf-6.5.2-r1.ebuild | 61 --
 sci-physics/lhapdf/lhapdf-6.5.2-r2.ebuild | 59 -
 sci-physics/lhapdf/lhapdf-6.5.2.ebuild| 59 -
 sci-physics/lhapdf/lhapdf-6.5.3.ebuild| 63 ---
 7 files changed, 356 deletions(-)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 6507a8b85792..497c65e90138 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,4 +1,2 @@
 DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 
02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9
 SHA512 
4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b
-DIST LHAPDF-6.5.1.tar.gz 843942 BLAKE2B 
4b86b2b3c32d8c02839946aee831d57657eccc7c80efaa49af9052f8437d1ae86b95a6acc5120e3337d528a184d8af5b4dde75a23ac6deeb85ed0d745f73647b
 SHA512 
eeca814a60d7ae03491e82991f328bc4216d46ad94834ce19fb813e59f2d6e9bb7450678c8f6cdf1aaa3d700e56ef8dfc1363e46120893fa8be4d451c37603d2
-DIST LHAPDF-6.5.2.tar.gz 865088 BLAKE2B 
630846f6105351d0561619f59810d23d936043842b0524d3818153416d116833ca550a940824a74ee9c6684d8d2ea59e72f3a74b3238fd3dc2828937c1422185
 SHA512 
14dc815a1abb22398d5dc2d4bbe21b0be4dbf16b834fe6be467f11c65d9e13e34548e93d29358740cdb0afedd141e950608258ddd6c0a5d83174861cffdc8f8d
 DIST LHAPDF-6.5.3.tar.gz 864918 BLAKE2B 
2dd1b5b94523c0cadac2b63d3dcbc73c5d621463ec9a0e6736b40cb24f6f4da744cf74484b6a5cfb1cfc10054171858dfb3968b22da565747d9b0d00cb3f545c
 SHA512 
444e1dd75c087b0618a65b0ebda0d06dac640d75e43de3a2e4cd5733dd2eaa6eeb6cb0aac437ee559b00b60a6b839a4125b3b26d398da81d52a3a97a7b875662

diff --git a/sci-physics/lhapdf/lhapdf-6.5.1-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.1-r1.ebuild
deleted file mode 100644
index 6dca75660421..
--- a/sci-physics/lhapdf/lhapdf-6.5.1-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_9 )
-DOCS_BUILDER="doxygen"
-DOCS_DEPEND="
-   dev-texlive/texlive-bibtexextra
-   dev-texlive/texlive-fontsextra
-   dev-texlive/texlive-fontutils
-   dev-texlive/texlive-latex
-   dev-texlive/texlive-latexextra
-"
-inherit python-single-r1 docs
-
-MY_PV=$(ver_cut 1-3)
-MY_PF=LHAPDF-${MY_PV}
-
-DESCRIPTION="Les Houches Parton Density Function unified library"
-HOMEPAGE="https://lhapdf.hepforge.org/";
-SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
-S="${WORKDIR}/${MY_PF}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   CONFIG_SHELL="${EPREFIX}/bin/bash" \
-   econf \
-   --disable-static \
-   --enable-python
-}
-
-src_compile() {
-   emake all $(use doc && echo doxy)
-}
-
-src_test() {
-   emake -C tests
-}
-
-src_install() {
-   default
-   use doc && dodoc -r doc/doxygen/.
-   use examples && dodoc examples/*.cc
-
-   find "${ED}" -name '*.la' -delete || die
-}

diff --git a/sci-physics/lhapdf/lhapdf-6.5.1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.1.ebuild
deleted file mode 100644
index 9b6b9e8f8376..
--- a/sci-physics/lhapdf/lhapdf-6.5.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_9 )
-DOCS_BUILDER="doxygen"
-DOCS_DEPEND="
-   dev-texlive/texlive-bibtexextra
-   dev-texlive/texlive-fontsextra
-   dev-texlive/texlive-fontutils
-   dev-texlive/texlive-latex
-   dev-texlive/texlive-latexextra
-"
-inherit python-single-r1 docs
-
-MY_PV=$(ver_cut 1-3)
-MY_PF=LHAPDF-${MY_PV}
-
-DESCRIPTION="Les Houches Parton Density Function unified library"
-HOMEPAGE="https://lhapdf.hepforge.org/";
-SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
-S="${WORKDIR}/${MY_PF}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   dev-libs/boost:=
-   ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}"
-
-src_co

[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2023-01-13 Thread Sam James
commit: 85a629614a6a455310c1a12aadcd3356127c469f
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Jan  2 21:52:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 13 12:45:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85a62961

sci-physics/lhapdf: Drop boost

Not needed in 6.5.x.

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.5.1-r1.ebuild | 55 
 sci-physics/lhapdf/lhapdf-6.5.2-r2.ebuild | 59 ++
 sci-physics/lhapdf/lhapdf-6.5.3-r1.ebuild | 61 +++
 3 files changed, 175 insertions(+)

diff --git a/sci-physics/lhapdf/lhapdf-6.5.1-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.1-r1.ebuild
new file mode 100644
index ..6dca75660421
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.5.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_9 )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+"
+inherit python-single-r1 docs
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="https://lhapdf.hepforge.org/";
+SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   econf \
+   --disable-static \
+   --enable-python
+}
+
+src_compile() {
+   emake all $(use doc && echo doxy)
+}
+
+src_test() {
+   emake -C tests
+}
+
+src_install() {
+   default
+   use doc && dodoc -r doc/doxygen/.
+   use examples && dodoc examples/*.cc
+
+   find "${ED}" -name '*.la' -delete || die
+}

diff --git a/sci-physics/lhapdf/lhapdf-6.5.2-r2.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.2-r2.ebuild
new file mode 100644
index ..72bde961dd89
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.5.2-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+"
+inherit python-single-r1 docs
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="https://lhapdf.hepforge.org/";
+SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+PATCHES=(
+   "${FILESDIR}"/${P}-py.patch
+)
+src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   econf \
+   --disable-static \
+   --enable-python
+}
+
+src_compile() {
+   emake all $(use doc && echo doxy)
+}
+
+src_test() {
+   emake -C tests
+}
+
+src_install() {
+   default
+   use doc && dodoc -r doc/doxygen/.
+   use examples && dodoc examples/*.cc
+
+   python_optimize
+
+   find "${ED}" -name '*.la' -delete || die
+}

diff --git a/sci-physics/lhapdf/lhapdf-6.5.3-r1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.3-r1.ebuild
new file mode 100644
index ..d7bcce46f5a1
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.5.3-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+"
+inherit python-single-r1 docs
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="https://lhapdf.hepforge.org/";
+SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-6.5.2-py.patch
+)
+
+src_configure() {
+   CONFIG_SH

[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/files/, sci-physics/lhapdf/

2022-10-30 Thread Sam James
commit: 618bc38b2169d7eb4dc94dc6e19444510759f02d
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Oct 16 17:09:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 30 09:33:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618bc38b

sci-physics/lhapdf: Patch CXXFLAGS and LDFLAGS

Bug: https://bugs.gentoo.org/875386
Bug: https://bugs.gentoo.org/873655
Bug: https://bugs.gentoo.org/873652
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch | 11 +++
 sci-physics/lhapdf/lhapdf-6.5.2.ebuild |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch 
b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch
new file mode 100644
index ..e4e6579872e2
--- /dev/null
+++ b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch
@@ -0,0 +1,11 @@
+--- a/wrappers/python/build.py.in  2022-10-16 17:54:18.406418600 +0200
 b/wrappers/python/build.py.in  2022-10-16 17:54:31.926612653 +0200
+@@ -20,7 +20,7 @@
+ ## Include args
+ incargs = " ".join("-I{}".format(d) for d in incdirs)
+ incargs += " -I@prefix@/include"
+-incargs += " @CPPFLAGS@"
++incargs += " @CPPFLAGS@ @CXXFLAGS@ @LDFLAGS@"
+ 
+ ## Compile args
+ cmpargs = ""  #"@PYEXT_CXXFLAGS@"

diff --git a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
index 3655b125aee8..847df333d690 100644
--- a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
@@ -32,7 +32,9 @@ RDEPEND="
dev-libs/boost:=
${PYTHON_DEPS}"
 DEPEND="${RDEPEND}"
-
+PATCHES=(
+   "${FILESDIR}"/${P}-py.patch
+)
 src_configure() {
CONFIG_SHELL="${EPREFIX}/bin/bash" \
econf \



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2022-10-30 Thread Sam James
commit: 964acd7a91465e4acd930e0616e31e313149e0c0
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Oct 18 13:14:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 30 09:33:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964acd7a

sci-physics/lhapdf: Revbump 6.5.2

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/27806
Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/{lhapdf-6.5.2.ebuild => lhapdf-6.5.2-r1.ebuild} | 0
 sci-physics/lhapdf/lhapdf-6.5.2.ebuild | 4 +---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.2-r1.ebuild
similarity index 100%
copy from sci-physics/lhapdf/lhapdf-6.5.2.ebuild
copy to sci-physics/lhapdf/lhapdf-6.5.2-r1.ebuild

diff --git a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
index 847df333d690..3655b125aee8 100644
--- a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
@@ -32,9 +32,7 @@ RDEPEND="
dev-libs/boost:=
${PYTHON_DEPS}"
 DEPEND="${RDEPEND}"
-PATCHES=(
-   "${FILESDIR}"/${P}-py.patch
-)
+
 src_configure() {
CONFIG_SHELL="${EPREFIX}/bin/bash" \
econf \



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2022-10-30 Thread Sam James
commit: 1b2f348af326246ea399ec0b1bcab890c2acccff
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Oct 16 17:09:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 30 09:33:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2f348a

sci-physics/lhapdf: add 6.5.3

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/Manifest|  1 +
 sci-physics/lhapdf/lhapdf-6.5.3.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 39261d785a20..6507a8b85792 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,3 +1,4 @@
 DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 
02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9
 SHA512 
4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b
 DIST LHAPDF-6.5.1.tar.gz 843942 BLAKE2B 
4b86b2b3c32d8c02839946aee831d57657eccc7c80efaa49af9052f8437d1ae86b95a6acc5120e3337d528a184d8af5b4dde75a23ac6deeb85ed0d745f73647b
 SHA512 
eeca814a60d7ae03491e82991f328bc4216d46ad94834ce19fb813e59f2d6e9bb7450678c8f6cdf1aaa3d700e56ef8dfc1363e46120893fa8be4d451c37603d2
 DIST LHAPDF-6.5.2.tar.gz 865088 BLAKE2B 
630846f6105351d0561619f59810d23d936043842b0524d3818153416d116833ca550a940824a74ee9c6684d8d2ea59e72f3a74b3238fd3dc2828937c1422185
 SHA512 
14dc815a1abb22398d5dc2d4bbe21b0be4dbf16b834fe6be467f11c65d9e13e34548e93d29358740cdb0afedd141e950608258ddd6c0a5d83174861cffdc8f8d
+DIST LHAPDF-6.5.3.tar.gz 864918 BLAKE2B 
2dd1b5b94523c0cadac2b63d3dcbc73c5d621463ec9a0e6736b40cb24f6f4da744cf74484b6a5cfb1cfc10054171858dfb3968b22da565747d9b0d00cb3f545c
 SHA512 
444e1dd75c087b0618a65b0ebda0d06dac640d75e43de3a2e4cd5733dd2eaa6eeb6cb0aac437ee559b00b60a6b839a4125b3b26d398da81d52a3a97a7b875662

diff --git a/sci-physics/lhapdf/lhapdf-6.5.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.3.ebuild
new file mode 100644
index ..f41aa16191cb
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.5.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+"
+inherit python-single-r1 docs
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="https://lhapdf.hepforge.org/";
+SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   dev-libs/boost:=
+   ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-6.5.2-py.patch
+)
+
+src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   econf \
+   --disable-static \
+   --enable-python
+}
+
+src_compile() {
+   emake all $(use doc && echo doxy)
+}
+
+src_test() {
+   emake -C tests
+}
+
+src_install() {
+   default
+   use doc && dodoc -r doc/doxygen/.
+   use examples && dodoc examples/*.cc
+
+   python_optimize
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2022-10-05 Thread Sam James
commit: 2476076f668674e7dfcf4e9dbf437cd17809eeab
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct  5 15:58:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  5 15:58:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2476076f

sci-physics/lhapdf: add gitlab upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-physics/lhapdf/metadata.xml b/sci-physics/lhapdf/metadata.xml
index 632d63f0b836..20ef63a13eaa 100644
--- a/sci-physics/lhapdf/metadata.xml
+++ b/sci-physics/lhapdf/metadata.xml
@@ -18,4 +18,7 @@
   version 4.1 onwards a configuration script facilitates the
   installation of LHAPDF.
 
+
+ hepcedar/lhapdf
+
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2022-09-04 Thread David Seifert
commit: b1137495c98684c51248f5522bd3985b1cb80439
Author: David Seifert  gentoo  org>
AuthorDate: Sun Sep  4 12:22:52 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Sep  4 12:22:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1137495

sci-physics/lhapdf: remove boost slot deps

Signed-off-by: David Seifert  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0.ebuild | 4 ++--
 sci-physics/lhapdf/lhapdf-6.5.1.ebuild | 2 +-
 sci-physics/lhapdf/lhapdf-6.5.2.ebuild | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
index 30b859ffe8dc..bc20eb7562fe 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,7 +21,7 @@ IUSE="doc examples python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
-   dev-libs/boost:0=
+   dev-libs/boost:=
python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
 BDEPEND="

diff --git a/sci-physics/lhapdf/lhapdf-6.5.1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.1.ebuild
index fd63f215565d..9b6b9e8f8376 100644
--- a/sci-physics/lhapdf/lhapdf-6.5.1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.1.ebuild
@@ -29,7 +29,7 @@ IUSE="examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
-   dev-libs/boost:0=
+   dev-libs/boost:=
${PYTHON_DEPS}"
 DEPEND="${RDEPEND}"
 

diff --git a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
index 730dea2e1874..3655b125aee8 100644
--- a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
@@ -29,7 +29,7 @@ IUSE="examples"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
-   dev-libs/boost:0=
+   dev-libs/boost:=
${PYTHON_DEPS}"
 DEPEND="${RDEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2022-08-31 Thread Andrew Ammerlaan
commit: c7ba8722aed9cc9ef489de13b955b3dda1a25e3f
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Aug 31 13:17:23 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Aug 31 13:17:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ba8722

sci-physics/lhapdf: add 6.5.2

Closes: https://bugs.gentoo.org/846290
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/Manifest|  1 +
 sci-physics/lhapdf/lhapdf-6.5.2.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 0686619035e9..39261d785a20 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,2 +1,3 @@
 DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 
02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9
 SHA512 
4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b
 DIST LHAPDF-6.5.1.tar.gz 843942 BLAKE2B 
4b86b2b3c32d8c02839946aee831d57657eccc7c80efaa49af9052f8437d1ae86b95a6acc5120e3337d528a184d8af5b4dde75a23ac6deeb85ed0d745f73647b
 SHA512 
eeca814a60d7ae03491e82991f328bc4216d46ad94834ce19fb813e59f2d6e9bb7450678c8f6cdf1aaa3d700e56ef8dfc1363e46120893fa8be4d451c37603d2
+DIST LHAPDF-6.5.2.tar.gz 865088 BLAKE2B 
630846f6105351d0561619f59810d23d936043842b0524d3818153416d116833ca550a940824a74ee9c6684d8d2ea59e72f3a74b3238fd3dc2828937c1422185
 SHA512 
14dc815a1abb22398d5dc2d4bbe21b0be4dbf16b834fe6be467f11c65d9e13e34548e93d29358740cdb0afedd141e950608258ddd6c0a5d83174861cffdc8f8d

diff --git a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
new file mode 100644
index ..730dea2e1874
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+"
+inherit python-single-r1 docs
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="https://lhapdf.hepforge.org/";
+SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   dev-libs/boost:0=
+   ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   econf \
+   --disable-static \
+   --enable-python
+}
+
+src_compile() {
+   emake all $(use doc && echo doxy)
+}
+
+src_test() {
+   emake -C tests
+}
+
+src_install() {
+   default
+   use doc && dodoc -r doc/doxygen/.
+   use examples && dodoc examples/*.cc
+
+   python_optimize
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2022-07-06 Thread Andrew Ammerlaan
commit: 3afdcbcc899a99d8bbec5bf8eef5199c022e5ea5
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Jul  6 12:52:23 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jul  6 12:56:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3afdcbcc

sci-physics/lhapdf: add 6.5.1

Python bindings can't properly be disabled, so enable python unconditionally
otherwise it is automagic. Does not currently compile with python3_10+

Bug: https://bugs.gentoo.org/846290
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-physics/lhapdf/Manifest|  1 +
 sci-physics/lhapdf/lhapdf-6.5.1.ebuild | 57 ++
 2 files changed, 58 insertions(+)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 8ec59baa9c17..0686619035e9 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1 +1,2 @@
 DIST LHAPDF-6.3.0.tar.gz 770744 BLAKE2B 
02b9fe3507b87c6f0c635ceb203304eb9b3ee8ac4d17c8b83578f8c05b78b17035b63b6d3d9a0b9fe3505a3daf8e9376fe25040b8826ea4976d2a717b1447eb9
 SHA512 
4a5aca6e2f06b59a44acc23ef76f1fae747f38e425803e7625cc68130da0c76d1e0d534b7b1867f09c86ee838d4f769d5097257170740db704c966d91c41f94b
+DIST LHAPDF-6.5.1.tar.gz 843942 BLAKE2B 
4b86b2b3c32d8c02839946aee831d57657eccc7c80efaa49af9052f8437d1ae86b95a6acc5120e3337d528a184d8af5b4dde75a23ac6deeb85ed0d745f73647b
 SHA512 
eeca814a60d7ae03491e82991f328bc4216d46ad94834ce19fb813e59f2d6e9bb7450678c8f6cdf1aaa3d700e56ef8dfc1363e46120893fa8be4d451c37603d2

diff --git a/sci-physics/lhapdf/lhapdf-6.5.1.ebuild 
b/sci-physics/lhapdf/lhapdf-6.5.1.ebuild
new file mode 100644
index ..fd63f215565d
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.5.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_9 )
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+"
+inherit python-single-r1 docs
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="Les Houches Parton Density Function unified library"
+HOMEPAGE="https://lhapdf.hepforge.org/";
+SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz";
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   dev-libs/boost:0=
+   ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
+   econf \
+   --disable-static \
+   --enable-python
+}
+
+src_compile() {
+   emake all $(use doc && echo doxy)
+}
+
+src_test() {
+   emake -C tests
+}
+
+src_install() {
+   default
+   use doc && dodoc -r doc/doxygen/.
+   use examples && dodoc examples/*.cc
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2021-05-31 Thread Michał Górny
commit: cbdc793bcad6a2a5899c108ba53a9e758c273763
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 31 20:57:57 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 31 20:57:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbdc793b

sci-physics/lhapdf: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sci-physics/lhapdf/Manifest|  1 -
 sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 79 --
 2 files changed, 80 deletions(-)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index c992963b79a..8ec59baa9c1 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,2 +1 @@
-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.2.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
deleted file mode 100644
index 03e30f85b39..000
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_7 )
-
-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() {
-   CONFIG_SHELL="${EPREFIX}/bin/bash" \
-   econf \
-   --disable-static \
-   $(use_enable python)
-
-   if use python; then
-   cd "${S}/wrappers/python" && distutils-r1_src_prepare
-   fi
-}
-
-src_compile() {
-   emake all $(use doc && echo doxy)
-
-   if use python; then
-  cd "${S}/wrappers/python" && distutils-r1_src_compile
-   fi
-}
-
-src_test() {
-   emake -C tests
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-   use doc && dodoc -r doc/doxygen/*
-   if use examples; then
-   insinto /usr/share/doc/${PF}/examples
-   doins examples/*.cc
-   fi
-   if use python; then
-   cd "${S}/wrappers/python" && 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"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2021-05-23 Thread Andrew Savchenko
commit: 746271db9aab2da22a7f0ba797ddc543c41ac62c
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sun May 23 13:06:08 2021 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sun May 23 13:28:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=746271db

sci-physics/lhapdf: fix build with /bin/sh != bash

Request CONFIG_SHELL=/bin/bash explicitly, otherwise obscure
configure problems may occur leading to a broken installation.

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Savchenko  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 3 ++-
 sci-physics/lhapdf/lhapdf-6.3.0.ebuild | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
index e67b0b741a9..03e30f85b39 100644
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -37,6 +37,7 @@ BDEPEND="
 S="${WORKDIR}/${MY_PF}"
 
 src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
econf \
--disable-static \
$(use_enable python)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
index 9fc01878697..30b859ffe8d 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
@@ -37,6 +37,7 @@ BDEPEND="
 S="${WORKDIR}/${MY_PF}"
 
 src_configure() {
+   CONFIG_SHELL="${EPREFIX}/bin/bash" \
econf \
--disable-static \
$(use_enable python)



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2021-04-18 Thread Sam James
commit: d7c72085b480fdbeaf290e5b703e931af775fc80
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 21:21:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 21:26:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c72085

sci-physics/lhapdf: Stabilize 6.3.0 x86, #773949

Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
index ffb45665109..9fc01878697 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2021-04-18 Thread Sam James
commit: d625e18896536ddb3b306eb6b2fa6447a8e61179
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 07:14:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 07:14:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d625e188

sci-physics/lhapdf: Stabilize 6.3.0 amd64, #773949

Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
index 6c93048a666..ffb45665109 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2021-03-03 Thread Sam James
commit: adb329da274b69c4410df17320e84ef3fd2aee52
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar  4 06:20:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar  4 06:20:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adb329da

sci-physics/lhapdf: fix WhitespaceFound

Signed-off-by: Sam James  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild 
b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
index f28072c4f40..6c93048a666 100644
--- a/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.3.0.ebuild
@@ -66,7 +66,7 @@ src_install() {
use examples && doins examples/*.cc
 
if use python; then
-   cd "${S}"/wrappers/python || die 
+   cd "${S}"/wrappers/python || die
distutils-r1_src_install
fi
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2021-02-13 Thread David Seifert
commit: a99ea6a04ac3a53f870ccd4986439f701d3bad63
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Feb 13 22:51:08 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 13 22:51:08 2021 +
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  sartura.hr>
Signed-off-by: David Seifert  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 000..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"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2020-11-14 Thread David Seifert
commit: 9d50ed6ff5486b21a460425f0e92fd196f76263b
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Nov 14 20:19:43 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 14 20:19:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d50ed6f

sci-physics/lhapdf: disable static libs

Closes: https://bugs.gentoo.org/725532
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 21 -
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
index 4b3de592bb3..602bad36936 100644
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=7
 
-AUTOTOOLS_IN_SOURCE_BUILD=yes
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
@@ -18,14 +17,14 @@ 
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 static-libs"
+IUSE="doc examples python"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
dev-libs/boost:0=
python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
doc? (
app-doc/doxygen
dev-texlive/texlive-bibtexextra
@@ -33,13 +32,15 @@ DEPEND="${RDEPEND}
dev-texlive/texlive-fontutils
dev-texlive/texlive-latex
dev-texlive/texlive-latexextra
-   )
-"
+   )"
 
 S="${WORKDIR}/${MY_PF}"
 
 src_configure() {
-   econf $(use_enable python)
+   econf \
+   --disable-static \
+   $(use_enable python)
+
if use python; then
cd "${S}/wrappers/python" && distutils-r1_src_prepare
fi
@@ -47,6 +48,7 @@ src_configure() {
 
 src_compile() {
emake all $(use doc && echo doxy)
+
if use python; then
   cd "${S}/wrappers/python" && distutils-r1_src_compile
fi
@@ -64,8 +66,9 @@ src_install() {
doins examples/*.cc
fi
if use python; then
-  cd "${S}/wrappers/python" && distutils-r1_src_install
+   cd "${S}/wrappers/python" && distutils-r1_src_install
fi
+   find "${ED}" -name '*.la' -delete || die
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2020-07-20 Thread Andreas Sturmlechner
commit: c4bd5a3565544c979447c7212a618887633c92ef
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 20 20:57:55 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 20 21:33:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4bd5a35

sci-physics/lhapdf: Drop 5.9.1

Closes: https://bugs.gentoo.org/724636
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-physics/lhapdf/Manifest|  6 ---
 sci-physics/lhapdf/lhapdf-5.9.1.ebuild | 99 --
 sci-physics/lhapdf/metadata.xml|  3 --
 3 files changed, 108 deletions(-)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index d0f08dfa2d1..56058d468e3 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,7 +1 @@
-DIST CT10.LHgrid 21081519 BLAKE2B 
29d984a010405de5537d27eca81a306ea4dfc13b554d96031a087cdb9105ce65d736ef6e65f5a1ed3121ad22a6e0bc855ad5a16905b10e214405d9fcc8b39ae5
 SHA512 
4196b0899dc7f5803608d9328872b942393d5f5103e8d50a53b35af6f8bac509adbbe83c363ab33a5fbfab3c33156e8ae46131939ad5a8642c558ff209630820
 DIST LHAPDF-6.2.3.tar.gz 750659 BLAKE2B 
a16f67c69f41e96cdb5434cc53658c6b085b94c9ad06443fdfb49aa1de50eeb2a59aa41442a032c29b361bad4f749cef42499f3d16f2774efb0b399f889576e4
 SHA512 
167064a141f46e5c834d950690a989330b940acec62377b8b4c40e14665503cf7b4ddb79e05c71ebe1f801231192d951e294bec3944ec37b2bca484b2e5ce894
-DIST MRST2004nlo.LHgrid 288040 BLAKE2B 
b568b94905370faa30bbb8ad5ae9b8ee0938fb1373c19ca823662e6f7c930d251734d4afa72c8679b06356999b36bfd828749cbc9dc86a493a1764cb07cf0871
 SHA512 
b554454fa494c86a3ae56168c3d74c5e3c3bd80f10b393153c0adfbb39a3f3837ae2db80534d288784409154034187c9c5212dfc9c21ed1bf32ef89b9266e262
-DIST cteq5l.LHgrid 134797 BLAKE2B 
1e222631ff00979abf64e95ffa3133d29eacd819325fcdf9d4065a1ce85db5704f0a43c646f9a9a3ee7b1905603e9060fc279405435d412bf06ee14ba9121f32
 SHA512 
1ba41fd773104a933af6f37745dcb6f8422e1aece74ba2b1e15a5fb69fdaf694336c0ec1dc6fbc964d2cf3fe363d17ca0c01a6c2ba6def0afa4389cb4083f34b
-DIST cteq61.LHgrid 8946864 BLAKE2B 
aa7d7d817082a70fb53cf9c9d367af3bca9b5f4d845ee6c8f8b77265541980cab6f6ffc74a2233ef2899c161f9171cb3e7ba9570a57c5ed048311622217f8e89
 SHA512 
ab35c058f1ece8b428d8664ba2e14068541279328b5eb9e13b020642cc804c21f7412414dd74bb3621a5136bfa7d9a60832604c944d1e3519c5a94d3dce2a063
-DIST cteq61.LHpdf 11860 BLAKE2B 
cde2c5f6493977f56207d86f0a439a192e32f4debe50b6399b10cf59982bf944950c53c05e97a56daa8eb8e2ebf91a38fe405b1d423be7839c41dab61150b2e2
 SHA512 
2769bcaed94aa4b47144cd2c3ce76e0b6ab4fa8af278db5cb3b612f2286200352e829eec3971c8da0b78144483f00bbbf1ae2aae8d1e75045d239fab40289bc0
-DIST lhapdf-5.9.1.tar.gz 1236188 BLAKE2B 
a70b0421f1eefb79e239beed362858f0a47f27eebb0bf30c8f71f0fd49e405370774a932388c56b9193d51be14d7ad8e00efb7ea947e92009f23868b28ced67f
 SHA512 
8e0eafa202d7c486264c06ddac31a2d1fc17c71223cf5b75cd9dae7e434792e8b8f4002bc8a0d00491c0c3fc58513095cbf693dc883c3bf968473a4e6232586a

diff --git a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild 
b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
deleted file mode 100644
index dee35d6e6f2..000
--- a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator
-
-MY_PV=$(get_version_component_range 1-3 ${PV})
-MY_PF=${PN}-${MY_PV}
-
-DESCRIPTION="Les Houches Parton Density Function unified library"
-HOMEPAGE="http://projects.hepforge.org/lhapdf/";
-SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz
-   test? (
-   http://lhapdf.hepforge.org/svn/pdfsets/5/CT10.LHgrid
-   http://lhapdf.hepforge.org/svn/pdfsets/5/cteq61.LHgrid
-   http://lhapdf.hepforge.org/svn/pdfsets/5/MRST2004nlo.LHgrid
-   http://lhapdf.hepforge.org/svn/pdfsets/5/cteq61.LHpdf
-   octave? ( 
http://lhapdf.hepforge.org/svn/pdfsets/5/cteq5l.LHgrid ) )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="cxx doc examples octave python test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="octave? ( sci-mathematics/octave )"
-DEPEND="${RDEPEND}
-   doc? (
-   app-doc/doxygen
-   dev-texlive/texlive-bibtexextra
-   dev-texlive/texlive-fontsextra
-   dev-texlive/texlive-fontutils
-   dev-texlive/texlive-latex
-   dev-texlive/texlive-latexextra
-   )
-   python? ( dev-lang/swig )"
-
-S="${WORKDIR}/${MY_PF}"
-
-src_prepare() {
-   # do not create extra latex docs
-   sed -i \
-   -e 's/GENERATE_LATEX.*=YES/GENERATE_LATEX = NO/g' \
-   ccwrap/Doxyfile || die
-}
-
-src_configure() {
-   local myconf="--enable-ccwrap"
-   ! use octave && ! use cxx && myconf="--disable-ccwrap"
-   econf \
-   $(use_enable cxx old-ccwrap ) \
-   $(use_enable octave) \
-   $

[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2020-07-19 Thread Agostino Sarubbo
commit: 63c928ad3bad3243384d457e4eef29118fd4dbb8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jul 20 06:41:57 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jul 20 06:41:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c928ad

sci-physics/lhapdf: amd64 stable wrt bug #724636

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
index cfaad15a0fe..4b3de592bb3 100644
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 
 IUSE="doc examples python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2020-07-19 Thread Agostino Sarubbo
commit: c9509a1e8481791f29cbd8ee33ab6ab09e730b09
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 19 07:43:07 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 19 07:43:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9509a1e

sci-physics/lhapdf: x86 stable wrt bug #724636

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
index fd7abda37ad..cfaad15a0fe 100644
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
 
 IUSE="doc examples python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2020-03-01 Thread Matthias Maier
commit: 2f524825d0a3fed7a646379638310a05a946dba1
Author: Matthias Maier  gentoo  org>
AuthorDate: Sun Mar  1 18:23:02 2020 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sun Mar  1 18:35:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f524825

sci-physics/lhapdf: remove app-doc/doxygen[latex] dependency

Bug: https://bugs.gentoo.org/430914
Bug: https://bugs.gentoo.org/709316
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthias Maier  gentoo.org>

 sci-physics/lhapdf/lhapdf-5.9.1.ebuild | 11 +--
 sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 10 +-
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild 
b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
index dbb46b9c38b..dee35d6e6f2 100644
--- a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -26,7 +26,14 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="octave? ( sci-mathematics/octave )"
 DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen[latex] )
+   doc? (
+   app-doc/doxygen
+   dev-texlive/texlive-bibtexextra
+   dev-texlive/texlive-fontsextra
+   dev-texlive/texlive-fontutils
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexextra
+   )
python? ( dev-lang/swig )"
 
 S="${WORKDIR}/${MY_PF}"

diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
index 0d359613054..fd7abda37ad 100644
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
@@ -26,7 +26,15 @@ RDEPEND="
dev-libs/boost:0=
python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen[latex] )"
+   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}"
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2020-02-11 Thread Michał Górny
commit: 86e83a03101c21ca7cadd75afed5fc452e679c62
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 11 12:18:41 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 11 12:18:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86e83a03

sci-physics/lhapdf: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
index 4c60a74df5b..0d359613054 100644
--- a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 AUTOTOOLS_IN_SOURCE_BUILD=yes
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2019-09-27 Thread Guilherme Amadio
commit: e912bed98474f247e78205f2eaf741fd765e65fb
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Sep 27 08:07:38 2019 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Sep 27 13:40:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e912bed9

sci-physics/lhapdf: version bump to 6.2.3 and use EAPI 7

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Guilherme Amadio  gentoo.org>

 sci-physics/lhapdf/Manifest|  1 +
 sci-physics/lhapdf/lhapdf-6.2.3.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 2da636da50b..3b9cfcd16c7 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,5 +1,6 @@
 DIST CT10.LHgrid 21081519 BLAKE2B 
29d984a010405de5537d27eca81a306ea4dfc13b554d96031a087cdb9105ce65d736ef6e65f5a1ed3121ad22a6e0bc855ad5a16905b10e214405d9fcc8b39ae5
 SHA512 
4196b0899dc7f5803608d9328872b942393d5f5103e8d50a53b35af6f8bac509adbbe83c363ab33a5fbfab3c33156e8ae46131939ad5a8642c558ff209630820
 DIST LHAPDF-6.1.6.tar.gz 696608 BLAKE2B 
7d416b3a278544ab5b672b7f1b4dd7dd00dd8597acc822f6efbdf74708c2549672de3983397fce5ab95ddf6319fa2cfd0c4b23bc9451d1708468367ecf9ae7ec
 SHA512 
371a4062d3f1a4d611d8c09950a1ba7b747df29f04502a1ab9c420c300799143a53eebdecd04293d38b2c481b525c2414ac0fb8e2f8846de65e07992dea18656
+DIST LHAPDF-6.2.3.tar.gz 750659 BLAKE2B 
a16f67c69f41e96cdb5434cc53658c6b085b94c9ad06443fdfb49aa1de50eeb2a59aa41442a032c29b361bad4f749cef42499f3d16f2774efb0b399f889576e4
 SHA512 
167064a141f46e5c834d950690a989330b940acec62377b8b4c40e14665503cf7b4ddb79e05c71ebe1f801231192d951e294bec3944ec37b2bca484b2e5ce894
 DIST MRST2004nlo.LHgrid 288040 BLAKE2B 
b568b94905370faa30bbb8ad5ae9b8ee0938fb1373c19ca823662e6f7c930d251734d4afa72c8679b06356999b36bfd828749cbc9dc86a493a1764cb07cf0871
 SHA512 
b554454fa494c86a3ae56168c3d74c5e3c3bd80f10b393153c0adfbb39a3f3837ae2db80534d288784409154034187c9c5212dfc9c21ed1bf32ef89b9266e262
 DIST cteq5l.LHgrid 134797 BLAKE2B 
1e222631ff00979abf64e95ffa3133d29eacd819325fcdf9d4065a1ce85db5704f0a43c646f9a9a3ee7b1905603e9060fc279405435d412bf06ee14ba9121f32
 SHA512 
1ba41fd773104a933af6f37745dcb6f8422e1aece74ba2b1e15a5fb69fdaf694336c0ec1dc6fbc964d2cf3fe363d17ca0c01a6c2ba6def0afa4389cb4083f34b
 DIST cteq61.LHgrid 8946864 BLAKE2B 
aa7d7d817082a70fb53cf9c9d367af3bca9b5f4d845ee6c8f8b77265541980cab6f6ffc74a2233ef2899c161f9171cb3e7ba9570a57c5ed048311622217f8e89
 SHA512 
ab35c058f1ece8b428d8664ba2e14068541279328b5eb9e13b020642cc804c21f7412414dd74bb3621a5136bfa7d9a60832604c944d1e3519c5a94d3dce2a063

diff --git a/sci-physics/lhapdf/lhapdf-6.2.3.ebuild 
b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
new file mode 100644
index 000..f55cef4113b
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.2.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+AUTOTOOLS_IN_SOURCE_BUILD=yes
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+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 static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/boost:0=
+   python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen[latex] )"
+
+S="${WORKDIR}/${MY_PF}"
+
+src_configure() {
+   econf $(use_enable python)
+   if use python; then
+   cd "${S}/wrappers/python" && distutils-r1_src_prepare
+   fi
+}
+
+src_compile() {
+   emake all $(use doc && echo doxy)
+   if use python; then
+  cd "${S}/wrappers/python" && distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   emake -C tests
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+   use doc && dodoc -r doc/doxygen/*
+   if use examples; then
+   insinto /usr/share/doc/${PF}/examples
+   doins examples/*.cc
+   fi
+   if use python; then
+  cd "${S}/wrappers/python" && distutils-r1_src_install
+   fi
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2019-09-27 Thread Guilherme Amadio
commit: dd614156638a4e8dcc3163cc0295d63545458d37
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Fri Sep 27 08:12:18 2019 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Fri Sep 27 13:40:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd614156

sci-physics/lhapdf: drop old 6.1.6 version

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Guilherme Amadio  gentoo.org>

 sci-physics/lhapdf/Manifest|  1 -
 sci-physics/lhapdf/lhapdf-6.1.6.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 3b9cfcd16c7..d0f08dfa2d1 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,5 +1,4 @@
 DIST CT10.LHgrid 21081519 BLAKE2B 
29d984a010405de5537d27eca81a306ea4dfc13b554d96031a087cdb9105ce65d736ef6e65f5a1ed3121ad22a6e0bc855ad5a16905b10e214405d9fcc8b39ae5
 SHA512 
4196b0899dc7f5803608d9328872b942393d5f5103e8d50a53b35af6f8bac509adbbe83c363ab33a5fbfab3c33156e8ae46131939ad5a8642c558ff209630820
-DIST LHAPDF-6.1.6.tar.gz 696608 BLAKE2B 
7d416b3a278544ab5b672b7f1b4dd7dd00dd8597acc822f6efbdf74708c2549672de3983397fce5ab95ddf6319fa2cfd0c4b23bc9451d1708468367ecf9ae7ec
 SHA512 
371a4062d3f1a4d611d8c09950a1ba7b747df29f04502a1ab9c420c300799143a53eebdecd04293d38b2c481b525c2414ac0fb8e2f8846de65e07992dea18656
 DIST LHAPDF-6.2.3.tar.gz 750659 BLAKE2B 
a16f67c69f41e96cdb5434cc53658c6b085b94c9ad06443fdfb49aa1de50eeb2a59aa41442a032c29b361bad4f749cef42499f3d16f2774efb0b399f889576e4
 SHA512 
167064a141f46e5c834d950690a989330b940acec62377b8b4c40e14665503cf7b4ddb79e05c71ebe1f801231192d951e294bec3944ec37b2bca484b2e5ce894
 DIST MRST2004nlo.LHgrid 288040 BLAKE2B 
b568b94905370faa30bbb8ad5ae9b8ee0938fb1373c19ca823662e6f7c930d251734d4afa72c8679b06356999b36bfd828749cbc9dc86a493a1764cb07cf0871
 SHA512 
b554454fa494c86a3ae56168c3d74c5e3c3bd80f10b393153c0adfbb39a3f3837ae2db80534d288784409154034187c9c5212dfc9c21ed1bf32ef89b9266e262
 DIST cteq5l.LHgrid 134797 BLAKE2B 
1e222631ff00979abf64e95ffa3133d29eacd819325fcdf9d4065a1ce85db5704f0a43c646f9a9a3ee7b1905603e9060fc279405435d412bf06ee14ba9121f32
 SHA512 
1ba41fd773104a933af6f37745dcb6f8422e1aece74ba2b1e15a5fb69fdaf694336c0ec1dc6fbc964d2cf3fe363d17ca0c01a6c2ba6def0afa4389cb4083f34b

diff --git a/sci-physics/lhapdf/lhapdf-6.1.6.ebuild 
b/sci-physics/lhapdf/lhapdf-6.1.6.ebuild
deleted file mode 100644
index ec4ab863d52..000
--- a/sci-physics/lhapdf/lhapdf-6.1.6.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_IN_SOURCE_BUILD=yes
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-
-inherit versionator autotools-utils distutils-r1
-
-MY_PV=$(get_version_component_range 1-3 ${PV})
-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 static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   dev-libs/boost:0=
-   python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen[latex] )"
-
-S="${WORKDIR}/${MY_PF}"
-
-src_configure() {
-   autotools-utils_src_configure $(use_enable python)
-   if use python; then
-   cd "${S}/wrappers/python" && distutils-r1_src_prepare
-   fi
-}
-
-src_compile() {
-   autotools-utils_src_compile all $(use doc && echo doxy)
-   if use python; then
-  cd "${S}/wrappers/python" && distutils-r1_src_compile
-   fi
-}
-
-src_test() {
-   autotools-utils_src_compile -C tests
-}
-
-src_install() {
-   autotools-utils_src_install
-   use doc && dohtml -r doc/doxygen/*
-   if use examples; then
-   insinto /usr/share/doc/${PF}/examples
-   doins examples/*.cc
-   fi
-   if use python; then
-  cd "${S}/wrappers/python" && distutils-r1_src_install
-   fi
-}
-
-pkg_postinst() {
-   elog "Download data files from:"
-   elog 
"http://www.hepforge.org/archive/${PN}/pdfsets/$(get_version_component_range 
1-2 ${PV})"
-   elog "and untar them into ${EROOT%/}/usr/share/LHAPDF"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2017-05-29 Thread Pacho Ramos
commit: 89852d2391f888636761fb94c253c163c38056d4
Author: Pacho Ramos  gentoo  org>
AuthorDate: Mon May 29 15:36:51 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Mon May 29 16:32:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89852d23

sci-physics/lhapdf: Support newer python

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-physics/lhapdf/lhapdf-6.1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-physics/lhapdf/lhapdf-6.1.6.ebuild 
b/sci-physics/lhapdf/lhapdf-6.1.6.ebuild
index 366fa89ce07..d5d30b308cd 100644
--- a/sci-physics/lhapdf/lhapdf-6.1.6.ebuild
+++ b/sci-physics/lhapdf/lhapdf-6.1.6.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 AUTOTOOLS_IN_SOURCE_BUILD=yes
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit versionator autotools-utils distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2016-03-28 Thread David Seifert
commit: 79ba3db65c944ea66ea462b517d8ab3bb35d150c
Author: David Seifert  gentoo  org>
AuthorDate: Mon Mar 28 15:08:38 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Mar 28 15:08:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79ba3db6

sci-physics/lhapdf: Remove buggy 6.1.5 version

Gentoo-Bug: 570490

Package-Manager: portage-2.2.28

 sci-physics/lhapdf/Manifest|  1 -
 sci-physics/lhapdf/lhapdf-6.1.5.ebuild | 68 --
 2 files changed, 69 deletions(-)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index d0b3cdd..a910800 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,5 +1,4 @@
 DIST CT10.LHgrid 21081519 SHA256 
e858cec1f80420698ef3ae1249d5414977ff79ce512fba00af91513f2b7e05a2 SHA512 
4196b0899dc7f5803608d9328872b942393d5f5103e8d50a53b35af6f8bac509adbbe83c363ab33a5fbfab3c33156e8ae46131939ad5a8642c558ff209630820
 WHIRLPOOL 
7939478bdef6aa0e369738a85891188774e92b9e5b4ad5c7ad5089ce824fdeec73ddd726cf3e00ff732edfc3664ac9a263d2758f9f3dc2637de329d837028332
-DIST LHAPDF-6.1.5.tar.gz 668112 SHA256 
ee5dfac1c32a386c966b28cb6a2d51531d4eaf9945c4cb48431dd3fabef83231 SHA512 
a5e1ac38f681ea6e4bcef4540f8bb836ebeae809ae160a2069972b8752a334a850ae5ec226b19a09da775a0c790439548b0a8a671c4a3f5852a75bbb0647c473
 WHIRLPOOL 
793ffee34a7bcba616816f030b9206bf1431fcf2d56daf8125818ebac0667677488529dcb2d0141ee5af48e9cf748171c997c1a5028218b21c59d37d2e9780b5
 DIST LHAPDF-6.1.6.tar.gz 696608 SHA256 
c28138232e3219bf89cf626c0e414c6291c6b0777c3a931af18e51867657ebe9 SHA512 
371a4062d3f1a4d611d8c09950a1ba7b747df29f04502a1ab9c420c300799143a53eebdecd04293d38b2c481b525c2414ac0fb8e2f8846de65e07992dea18656
 WHIRLPOOL 
cff128bd0ceb0e5c4a0dc8bfb7432102c47035f431d1e39ed8e16b604dde5690f0458ec2a7a1da24ccfa6b524b3eeef512bc7d4b1070d32b1d7e19ac3ef0dd9d
 DIST MRST2004nlo.LHgrid 288040 SHA256 
bc1aa4f26ebcf4a6a1bd6e3ec5fbd5fa3ff378c116247fa27ccd5e76324368ce SHA512 
b554454fa494c86a3ae56168c3d74c5e3c3bd80f10b393153c0adfbb39a3f3837ae2db80534d288784409154034187c9c5212dfc9c21ed1bf32ef89b9266e262
 WHIRLPOOL 
b7f1e6115015cf19c092cf367798fe1d4459d0c9fac84e022034c14fd81d27023a35f30e7e727a35e2d8af409f448508744be76f04b441b22466ebd92c600bdf
 DIST cteq5l.LHgrid 134797 SHA256 
83c92bc90fd6e12be9cd76bc032eca26dcedbe90f0c11aef843bbf54734d5bba SHA512 
1ba41fd773104a933af6f37745dcb6f8422e1aece74ba2b1e15a5fb69fdaf694336c0ec1dc6fbc964d2cf3fe363d17ca0c01a6c2ba6def0afa4389cb4083f34b
 WHIRLPOOL 
8a86877fcbae2b45576e3fae08dfd4771c668257893ba2f813c578641dce9800f42bfd57d0d8ac2abc6bf7cd40921020478f1912014a36cfb722ed408ca1430f

diff --git a/sci-physics/lhapdf/lhapdf-6.1.5.ebuild 
b/sci-physics/lhapdf/lhapdf-6.1.5.ebuild
deleted file mode 100644
index e27e873..000
--- a/sci-physics/lhapdf/lhapdf-6.1.5.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-AUTOTOOLS_IN_SOURCE_BUILD=yes
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-inherit versionator autotools-utils distutils-r1
-
-MY_PV=$(get_version_component_range 1-3 ${PV})
-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 static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   dev-libs/boost:0=
-   python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen[latex] )"
-
-S="${WORKDIR}/${MY_PF}"
-
-src_configure() {
-   autotools-utils_src_configure $(use_enable python)
-   if use python; then
-   cd "${S}/wrappers/python" && distutils-r1_src_prepare
-   fi
-}
-
-src_compile() {
-   autotools-utils_src_compile all $(use doc && echo doxy)
-   if use python; then
-  cd "${S}/wrappers/python" && distutils-r1_src_compile
-   fi
-}
-
-src_test() {
-   autotools-utils_src_compile -C tests
-}
-
-src_install() {
-   autotools-utils_src_install
-   use doc && dohtml -r doc/doxygen/*
-   if use examples; then
-   insinto /usr/share/doc/${PF}/examples
-   doins examples/*.cc
-   fi
-   if use python; then
-  cd "${S}/wrappers/python" && distutils-r1_src_install
-   fi
-}
-
-pkg_postinst() {
-   elog "Download data files from:"
-   elog 
"http://www.hepforge.org/archive/${PN}/pdfsets/$(get_version_component_range 
1-2 ${PV})"
-   elog "and untar them into ${EROOT%/}/usr/share/LHAPDF"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2016-01-11 Thread Guilherme Amadio
commit: 0134fad27e26021c8d0ae69db72b9f61aa4b2850
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jan 12 00:48:34 2016 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jan 12 00:55:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0134fad2

sci-physics/lhapdf: mark version 5.9.1 amd64/x86 stable

Stable version 5.8.4 is actually broken.
Mark 5.9.1 stable immediately since all tests passed.

Package-Manager: portage-2.2.26

 sci-physics/lhapdf/lhapdf-5.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild 
b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
index fd42420..3cf5db1 100644
--- a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
+++ b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="cxx doc examples octave python test"
 
 RDEPEND="octave? ( sci-mathematics/octave )"



[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2016-01-11 Thread Guilherme Amadio
commit: 2d01e18eb25f22b5148e6370455897c9003ecd41
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jan 12 00:43:38 2016 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jan 12 00:55:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d01e18e

sci-physics/lhapdf: bump fortran version to latest 5.9.1

Package-Manager: portage-2.2.26

 sci-physics/lhapdf/Manifest|  2 +
 sci-physics/lhapdf/lhapdf-5.9.1.ebuild | 92 ++
 2 files changed, 94 insertions(+)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index b67612b..9eda092 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,3 +1,4 @@
+DIST CT10.LHgrid 21081519 SHA256 
e858cec1f80420698ef3ae1249d5414977ff79ce512fba00af91513f2b7e05a2 SHA512 
4196b0899dc7f5803608d9328872b942393d5f5103e8d50a53b35af6f8bac509adbbe83c363ab33a5fbfab3c33156e8ae46131939ad5a8642c558ff209630820
 WHIRLPOOL 
7939478bdef6aa0e369738a85891188774e92b9e5b4ad5c7ad5089ce824fdeec73ddd726cf3e00ff732edfc3664ac9a263d2758f9f3dc2637de329d837028332
 DIST LHAPDF-6.1.5.tar.gz 668112 SHA256 
ee5dfac1c32a386c966b28cb6a2d51531d4eaf9945c4cb48431dd3fabef83231 SHA512 
a5e1ac38f681ea6e4bcef4540f8bb836ebeae809ae160a2069972b8752a334a850ae5ec226b19a09da775a0c790439548b0a8a671c4a3f5852a75bbb0647c473
 WHIRLPOOL 
793ffee34a7bcba616816f030b9206bf1431fcf2d56daf8125818ebac0667677488529dcb2d0141ee5af48e9cf748171c997c1a5028218b21c59d37d2e9780b5
 DIST LHAPDF-6.1.6.tar.gz 696608 SHA256 
c28138232e3219bf89cf626c0e414c6291c6b0777c3a931af18e51867657ebe9 SHA512 
371a4062d3f1a4d611d8c09950a1ba7b747df29f04502a1ab9c420c300799143a53eebdecd04293d38b2c481b525c2414ac0fb8e2f8846de65e07992dea18656
 WHIRLPOOL 
cff128bd0ceb0e5c4a0dc8bfb7432102c47035f431d1e39ed8e16b604dde5690f0458ec2a7a1da24ccfa6b524b3eeef512bc7d4b1070d32b1d7e19ac3ef0dd9d
 DIST MRST2004nlo.LHgrid 288040 SHA256 
bc1aa4f26ebcf4a6a1bd6e3ec5fbd5fa3ff378c116247fa27ccd5e76324368ce SHA512 
b554454fa494c86a3ae56168c3d74c5e3c3bd80f10b393153c0adfbb39a3f3837ae2db80534d288784409154034187c9c5212dfc9c21ed1bf32ef89b9266e262
 WHIRLPOOL 
b7f1e6115015cf19c092cf367798fe1d4459d0c9fac84e022034c14fd81d27023a35f30e7e727a35e2d8af409f448508744be76f04b441b22466ebd92c600bdf
@@ -5,5 +6,6 @@ DIST cteq5l.LHgrid 134797 SHA256 
83c92bc90fd6e12be9cd76bc032eca26dcedbe90f0c11ae
 DIST cteq61.LHgrid 8946864 SHA256 
5df10c695504f02c2c9cc1eda9ca77fa8c276554cf2cda5fbdba764bf8f47691 SHA512 
ab35c058f1ece8b428d8664ba2e14068541279328b5eb9e13b020642cc804c21f7412414dd74bb3621a5136bfa7d9a60832604c944d1e3519c5a94d3dce2a063
 WHIRLPOOL 
a3a5ef45ea92e45a5764cbb484523b2eff671ad2c04f25b0b03efd631d367f3bf9784b19eacf927d909301c73a85505f9f87a3fd3f242fcf48d6e611fe510478
 DIST cteq61.LHpdf 11860 SHA256 
0dacfd4d5518b2273ba80ae381af7d46eab4784e84312585f5f149f8fce759f0 SHA512 
2769bcaed94aa4b47144cd2c3ce76e0b6ab4fa8af278db5cb3b612f2286200352e829eec3971c8da0b78144483f00bbbf1ae2aae8d1e75045d239fab40289bc0
 WHIRLPOOL 
e24427537b81c438552de53d1ef4ca34c425a241e318ffbeff3f5b632793a2cb6ec4d41bde895e56537c9ace520e012008a5370890c6199b1c29bc4ebc0925ae
 DIST lhapdf-5.8.4.tar.gz 1165256 SHA256 
75a3b44bd4509bec47806fb5ad4baaa6334a2aa8f51cf2f7195d4f08bd353ca2 SHA512 
d2d7a9d315d6ccfb2ae7d0331401a59199ac3eb3902b76775331471494778630891933f1102ce454071e3fbf23d62e977f685f1af7093c3ed96c1f4ce385c3c9
 WHIRLPOOL 
be55f3e9c8cb276ba3c5eb330729004f216112a6cdf8ad05bb4d608f95470a9cffb624e8d8748055e5bf13e48d2480155a86fe02ca7765db8cd03d05567addf7
+DIST lhapdf-5.9.1.tar.gz 1236188 SHA256 
86b9b046d7f25627ce2aab6847ef1c5534972f4bae18de98225080cf5086919c SHA512 
8e0eafa202d7c486264c06ddac31a2d1fc17c71223cf5b75cd9dae7e434792e8b8f4002bc8a0d00491c0c3fc58513095cbf693dc883c3bf968473a4e6232586a
 WHIRLPOOL 
100c89d69150b84ba812f5ea719b9532980afd84f2f9f75ffc0c64f70766def11eb2d2bf6604be65855cac3419b5e08057bc4be73eb9e77ca4c9bbf68c4f0174
 DIST wrapheragrid-lite.f 7785 SHA256 
50e1c4113f6312b0e6131870e7739a4bfb251e20f4f5cddd69e27ceb26e47a1f SHA512 
57334f4fe0ef96dec742e104bb248adde9fb93fb9146402566ee6fec4bd3ddfb6a5e5ae614f005131bdfbf80fc769263c6508d8c5e510a203da4471e087c3c8c
 WHIRLPOOL 
7c17d2a17c29c8e9b39cdff659da7e593957d6ee6411df7a854f15db04ebeeb1485ad754bc21037f356cf05c166af29a6f35c13ed4428c4596f75b701c93df18
 DIST wrapheragrid.f 6931 SHA256 
6bd1c4e19de850a2cbe8c548050c772b367f6738f9ba7bb5b6561915833bf5fd SHA512 
5ba0f3f1e4d70e632e7eb5a968ead8098e5ffd1412c58a0bb967216836ac05cc5e37cba2b31970062f0668cecbb3b43eaaf7339127427af4fb4ba24bc9bdbbbe
 WHIRLPOOL 
12c5c979f64844404c7214b07a566596336173f04c5dbf1fe935f9c96aebaf83af87db4ec367134800e2f87e5e4d849c396505b8ebc2419a1c2e7131e6e2d042

diff --git a/sci-physics/lhapdf/lhapdf-5.9.1.ebuild 
b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
new file mode 100644
index 000..fd42420
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-5.9.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inhe

[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2016-01-11 Thread Guilherme Amadio
commit: a522bd1036b6da7c1839ca85eed1eaf74327beee
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Tue Jan 12 00:50:40 2016 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Tue Jan 12 00:55:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a522bd10

sci-physics/lhapdf: drop old version, fix bug 454688

Version 5.9.1 is now in the tree.

Package-Manager: portage-2.2.26

 sci-physics/lhapdf/Manifest|  3 --
 sci-physics/lhapdf/lhapdf-5.8.4.ebuild | 94 --
 2 files changed, 97 deletions(-)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 9eda092..d0b3cdd 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -5,7 +5,4 @@ DIST MRST2004nlo.LHgrid 288040 SHA256 
bc1aa4f26ebcf4a6a1bd6e3ec5fbd5fa3ff378c116
 DIST cteq5l.LHgrid 134797 SHA256 
83c92bc90fd6e12be9cd76bc032eca26dcedbe90f0c11aef843bbf54734d5bba SHA512 
1ba41fd773104a933af6f37745dcb6f8422e1aece74ba2b1e15a5fb69fdaf694336c0ec1dc6fbc964d2cf3fe363d17ca0c01a6c2ba6def0afa4389cb4083f34b
 WHIRLPOOL 
8a86877fcbae2b45576e3fae08dfd4771c668257893ba2f813c578641dce9800f42bfd57d0d8ac2abc6bf7cd40921020478f1912014a36cfb722ed408ca1430f
 DIST cteq61.LHgrid 8946864 SHA256 
5df10c695504f02c2c9cc1eda9ca77fa8c276554cf2cda5fbdba764bf8f47691 SHA512 
ab35c058f1ece8b428d8664ba2e14068541279328b5eb9e13b020642cc804c21f7412414dd74bb3621a5136bfa7d9a60832604c944d1e3519c5a94d3dce2a063
 WHIRLPOOL 
a3a5ef45ea92e45a5764cbb484523b2eff671ad2c04f25b0b03efd631d367f3bf9784b19eacf927d909301c73a85505f9f87a3fd3f242fcf48d6e611fe510478
 DIST cteq61.LHpdf 11860 SHA256 
0dacfd4d5518b2273ba80ae381af7d46eab4784e84312585f5f149f8fce759f0 SHA512 
2769bcaed94aa4b47144cd2c3ce76e0b6ab4fa8af278db5cb3b612f2286200352e829eec3971c8da0b78144483f00bbbf1ae2aae8d1e75045d239fab40289bc0
 WHIRLPOOL 
e24427537b81c438552de53d1ef4ca34c425a241e318ffbeff3f5b632793a2cb6ec4d41bde895e56537c9ace520e012008a5370890c6199b1c29bc4ebc0925ae
-DIST lhapdf-5.8.4.tar.gz 1165256 SHA256 
75a3b44bd4509bec47806fb5ad4baaa6334a2aa8f51cf2f7195d4f08bd353ca2 SHA512 
d2d7a9d315d6ccfb2ae7d0331401a59199ac3eb3902b76775331471494778630891933f1102ce454071e3fbf23d62e977f685f1af7093c3ed96c1f4ce385c3c9
 WHIRLPOOL 
be55f3e9c8cb276ba3c5eb330729004f216112a6cdf8ad05bb4d608f95470a9cffb624e8d8748055e5bf13e48d2480155a86fe02ca7765db8cd03d05567addf7
 DIST lhapdf-5.9.1.tar.gz 1236188 SHA256 
86b9b046d7f25627ce2aab6847ef1c5534972f4bae18de98225080cf5086919c SHA512 
8e0eafa202d7c486264c06ddac31a2d1fc17c71223cf5b75cd9dae7e434792e8b8f4002bc8a0d00491c0c3fc58513095cbf693dc883c3bf968473a4e6232586a
 WHIRLPOOL 
100c89d69150b84ba812f5ea719b9532980afd84f2f9f75ffc0c64f70766def11eb2d2bf6604be65855cac3419b5e08057bc4be73eb9e77ca4c9bbf68c4f0174
-DIST wrapheragrid-lite.f 7785 SHA256 
50e1c4113f6312b0e6131870e7739a4bfb251e20f4f5cddd69e27ceb26e47a1f SHA512 
57334f4fe0ef96dec742e104bb248adde9fb93fb9146402566ee6fec4bd3ddfb6a5e5ae614f005131bdfbf80fc769263c6508d8c5e510a203da4471e087c3c8c
 WHIRLPOOL 
7c17d2a17c29c8e9b39cdff659da7e593957d6ee6411df7a854f15db04ebeeb1485ad754bc21037f356cf05c166af29a6f35c13ed4428c4596f75b701c93df18
-DIST wrapheragrid.f 6931 SHA256 
6bd1c4e19de850a2cbe8c548050c772b367f6738f9ba7bb5b6561915833bf5fd SHA512 
5ba0f3f1e4d70e632e7eb5a968ead8098e5ffd1412c58a0bb967216836ac05cc5e37cba2b31970062f0668cecbb3b43eaaf7339127427af4fb4ba24bc9bdbbbe
 WHIRLPOOL 
12c5c979f64844404c7214b07a566596336173f04c5dbf1fe935f9c96aebaf83af87db4ec367134800e2f87e5e4d849c396505b8ebc2419a1c2e7131e6e2d042

diff --git a/sci-physics/lhapdf/lhapdf-5.8.4.ebuild 
b/sci-physics/lhapdf/lhapdf-5.8.4.ebuild
deleted file mode 100644
index 8bef490..000
--- a/sci-physics/lhapdf/lhapdf-5.8.4.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=2
-
-inherit versionator
-
-MY_PV=$(get_version_component_range 1-3 ${PV})
-MY_PF=${PN}-${MY_PV}
-
-DESCRIPTION="Les Houches Parton Density Function unified library"
-HOMEPAGE="http://projects.hepforge.org/lhapdf/";
-SRC_URI="http://www.hepforge.org/archive/lhapdf/${MY_PF}.tar.gz
-   http://projects.hepforge.org/${PN}/updates-5.8.3/wrapheragrid.f
-   http://projects.hepforge.org/${PN}/updates-5.8.3/wrapheragrid-lite.f
-   test? (
-   
http://svn.hepforge.org/${PN}/pdfsets/tags/${MY_PV}/cteq61.LHgrid
-   
http://svn.hepforge.org/${PN}/pdfsets/tags/${MY_PV}/MRST2004nlo.LHgrid
-   http://svn.hepforge.org/${PN}/pdfsets/tags/${MY_PV}/cteq61.LHpdf
-   octave? ( 
http://svn.hepforge.org/${PN}/pdfsets/tags/${MY_PV}/cteq5l.LHgrid ) )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="cxx doc examples octave python test"
-
-RDEPEND="octave? ( sci-mathematics/octave )"
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen[latex] )
-   python? ( dev-lang/swig )"
-
-S="${WORKDIR}/${MY_PF}"
-
-src_unpack() {
-   unpack ${MY_PF}.tar.gz
-   cp "${DISTDIR}"/wrapher

[gentoo-commits] repo/gentoo:master commit in: sci-physics/lhapdf/

2016-01-11 Thread Guilherme Amadio
commit: b2b83e8872de3cf964dd96d665a1fc34c5b863ae
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Mon Jan 11 21:36:40 2016 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Mon Jan 11 21:36:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2b83e88

sci-physics/lhapdf: version bump to 6.1.6

Package-Manager: portage-2.2.26

 sci-physics/lhapdf/Manifest|  1 +
 sci-physics/lhapdf/lhapdf-6.1.6.ebuild | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/sci-physics/lhapdf/Manifest b/sci-physics/lhapdf/Manifest
index 745dad8..b67612b 100644
--- a/sci-physics/lhapdf/Manifest
+++ b/sci-physics/lhapdf/Manifest
@@ -1,4 +1,5 @@
 DIST LHAPDF-6.1.5.tar.gz 668112 SHA256 
ee5dfac1c32a386c966b28cb6a2d51531d4eaf9945c4cb48431dd3fabef83231 SHA512 
a5e1ac38f681ea6e4bcef4540f8bb836ebeae809ae160a2069972b8752a334a850ae5ec226b19a09da775a0c790439548b0a8a671c4a3f5852a75bbb0647c473
 WHIRLPOOL 
793ffee34a7bcba616816f030b9206bf1431fcf2d56daf8125818ebac0667677488529dcb2d0141ee5af48e9cf748171c997c1a5028218b21c59d37d2e9780b5
+DIST LHAPDF-6.1.6.tar.gz 696608 SHA256 
c28138232e3219bf89cf626c0e414c6291c6b0777c3a931af18e51867657ebe9 SHA512 
371a4062d3f1a4d611d8c09950a1ba7b747df29f04502a1ab9c420c300799143a53eebdecd04293d38b2c481b525c2414ac0fb8e2f8846de65e07992dea18656
 WHIRLPOOL 
cff128bd0ceb0e5c4a0dc8bfb7432102c47035f431d1e39ed8e16b604dde5690f0458ec2a7a1da24ccfa6b524b3eeef512bc7d4b1070d32b1d7e19ac3ef0dd9d
 DIST MRST2004nlo.LHgrid 288040 SHA256 
bc1aa4f26ebcf4a6a1bd6e3ec5fbd5fa3ff378c116247fa27ccd5e76324368ce SHA512 
b554454fa494c86a3ae56168c3d74c5e3c3bd80f10b393153c0adfbb39a3f3837ae2db80534d288784409154034187c9c5212dfc9c21ed1bf32ef89b9266e262
 WHIRLPOOL 
b7f1e6115015cf19c092cf367798fe1d4459d0c9fac84e022034c14fd81d27023a35f30e7e727a35e2d8af409f448508744be76f04b441b22466ebd92c600bdf
 DIST cteq5l.LHgrid 134797 SHA256 
83c92bc90fd6e12be9cd76bc032eca26dcedbe90f0c11aef843bbf54734d5bba SHA512 
1ba41fd773104a933af6f37745dcb6f8422e1aece74ba2b1e15a5fb69fdaf694336c0ec1dc6fbc964d2cf3fe363d17ca0c01a6c2ba6def0afa4389cb4083f34b
 WHIRLPOOL 
8a86877fcbae2b45576e3fae08dfd4771c668257893ba2f813c578641dce9800f42bfd57d0d8ac2abc6bf7cd40921020478f1912014a36cfb722ed408ca1430f
 DIST cteq61.LHgrid 8946864 SHA256 
5df10c695504f02c2c9cc1eda9ca77fa8c276554cf2cda5fbdba764bf8f47691 SHA512 
ab35c058f1ece8b428d8664ba2e14068541279328b5eb9e13b020642cc804c21f7412414dd74bb3621a5136bfa7d9a60832604c944d1e3519c5a94d3dce2a063
 WHIRLPOOL 
a3a5ef45ea92e45a5764cbb484523b2eff671ad2c04f25b0b03efd631d367f3bf9784b19eacf927d909301c73a85505f9f87a3fd3f242fcf48d6e611fe510478

diff --git a/sci-physics/lhapdf/lhapdf-6.1.6.ebuild 
b/sci-physics/lhapdf/lhapdf-6.1.6.ebuild
new file mode 100644
index 000..fef2c6b
--- /dev/null
+++ b/sci-physics/lhapdf/lhapdf-6.1.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_IN_SOURCE_BUILD=yes
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit versionator autotools-utils distutils-r1
+
+MY_PV=$(get_version_component_range 1-3 ${PV})
+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 static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   dev-libs/boost:0=
+   python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen[latex] )"
+
+S="${WORKDIR}/${MY_PF}"
+
+src_configure() {
+   autotools-utils_src_configure $(use_enable python)
+   if use python; then
+   cd "${S}/wrappers/python" && distutils-r1_src_prepare
+   fi
+}
+
+src_compile() {
+   autotools-utils_src_compile all $(use doc && echo doxy)
+   if use python; then
+  cd "${S}/wrappers/python" && distutils-r1_src_compile
+   fi
+}
+
+src_test() {
+   autotools-utils_src_compile -C tests
+}
+
+src_install() {
+   autotools-utils_src_install
+   use doc && dohtml -r doc/doxygen/*
+   if use examples; then
+   insinto /usr/share/doc/${PF}/examples
+   doins examples/*.cc
+   fi
+   if use python; then
+  cd "${S}/wrappers/python" && distutils-r1_src_install
+   fi
+}
+
+pkg_postinst() {
+   elog "Download data files from:"
+   elog 
"http://www.hepforge.org/archive/${PN}/pdfsets/$(get_version_component_range 
1-2 ${PV})"
+   elog "and untar them into ${EROOT%/}/usr/share/LHAPDF"
+}