diff options
author | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2024-10-20 12:08:42 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-10-20 14:19:34 +0200 |
commit | 8e83cf53a8150ce3bafe1c3f2538352a8f67c5b4 (patch) | |
tree | bf7917333860345dc4e51b31e1f0a507605500a6 /sci-physics | |
parent | sci-chemistry/gromacs: Sync patch with upstreamed one (diff) | |
download | gentoo-8e83cf53a8150ce3bafe1c3f2538352a8f67c5b4.tar.gz gentoo-8e83cf53a8150ce3bafe1c3f2538352a8f67c5b4.tar.bz2 gentoo-8e83cf53a8150ce3bafe1c3f2538352a8f67c5b4.zip |
sci-physics/lhapdf: Add python3_13
Closes: https://bugs.gentoo.org/929255
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/39052
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/lhapdf/files/lhapdf-6.5.4-cxxflags.patch | 25 | ||||
-rw-r--r-- | sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild | 5 | ||||
-rw-r--r-- | sci-physics/lhapdf/lhapdf-9999.ebuild | 2 |
3 files changed, 29 insertions, 3 deletions
diff --git a/sci-physics/lhapdf/files/lhapdf-6.5.4-cxxflags.patch b/sci-physics/lhapdf/files/lhapdf-6.5.4-cxxflags.patch new file mode 100644 index 000000000000..8e7144c37ac9 --- /dev/null +++ b/sci-physics/lhapdf/files/lhapdf-6.5.4-cxxflags.patch @@ -0,0 +1,25 @@ +From ab6861f88b781b3e95ee67c01889b2c3f9f23e4d Mon Sep 17 00:00:00 2001 +From: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> +Date: Sun, 14 Apr 2024 11:18:52 +0200 +Subject: [PATCH] Fix missing quotes on CXXFLAGS + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 8bd5411..5c940ee 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -43,7 +43,7 @@ AC_CONFIG_HEADERS([config/config.h include/LHAPDF/Version.h]) + + + ## Set default C++ optimisation level to -O3 and drop the -g debug flag +-if test -z $CXXFLAGS; then ++if test -z "$CXXFLAGS"; then + CXXFLAGS='-O3' + fi + +-- +GitLab + diff --git a/sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild b/sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild index fe5288384d06..24a87d0d71bd 100644 --- a/sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild +++ b/sci-physics/lhapdf/lhapdf-6.5.4-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) DOCS_BUILDER="doxygen" DOCS_DEPEND=" dev-texlive/texlive-bibtexextra @@ -45,7 +45,8 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}"/${PN}-6.5.4-include-cstdint.patch + "${FILESDIR}"/${P}-include-cstdint.patch # https://gitlab.com/hepcedar/lhapdf/-/merge_requests/96 + "${FILESDIR}"/${P}-cxxflags.patch # https://gitlab.com/hepcedar/lhapdf/-/merge_requests/87 ) pkg_setup() { diff --git a/sci-physics/lhapdf/lhapdf-9999.ebuild b/sci-physics/lhapdf/lhapdf-9999.ebuild index fc2455e2129f..d950f1329d20 100644 --- a/sci-physics/lhapdf/lhapdf-9999.ebuild +++ b/sci-physics/lhapdf/lhapdf-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) DOCS_BUILDER="doxygen" DOCS_DEPEND=" dev-texlive/texlive-bibtexextra |