[arch-commits] Commit in lhapdf/trunk (PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Thu Aug 18 15:20:25 UTC 2022
Date: Thursday, August 18, 2022 @ 15:20:25
Author: kgizdov
Revision: 1267372
fix Python build
Modified:
lhapdf/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-18 15:15:19 UTC (rev 1267371)
+++ PKGBUILD 2022-08-18 15:20:25 UTC (rev 1267372)
@@ -3,13 +3,13 @@
# Contributor: JP-Ellis <josh at jpellis dot me>
pkgname=lhapdf
pkgver=6.5.2
-pkgrel=1
+pkgrel=2
pkgdesc="A particle physics tool for evaluating PDFs from discretised data files"
arch=('x86_64')
url="https://lhapdf.hepforge.org/"
license=('GPL3')
makedepends=('cython')
-depends=('python')
+depends=('python-numpy')
install=lhapdf.install
source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz")
sha256sums=('608a2753455e067a9940b5c16bc86ab6c47e2c749bc9dd19796996eb4352b2fd')
@@ -22,7 +22,7 @@
build() {
cd "${srcdir}/LHAPDF-${pkgver}"
autoreconf -i
- ## need to rebuild Python extension code with up-to-date Cython for Python 3.7
+ ## need to rebuild Python extension code with up-to-date Cython for Python 3.7+
## will eventually be fixed upstream
touch wrappers/python/lhapdf.pyx
./configure \
@@ -35,6 +35,8 @@
--docdir=/usr/share/doc/${pkgname} \
--pdfdir=/usr/share/${pkgname}/LHAPDF \
--localedir=/usr/share/locale
+ # for some reason Python build fails otherwise
+ export RIVET_LOCAL=ON
make
}
More information about the arch-commits
mailing list