[arch-commits] Commit in lhapdf/repos/community-x86_64 (6 files)
Konstantin Gizdov
kgizdov at archlinux.org
Tue Dec 17 21:26:51 UTC 2019
Date: Tuesday, December 17, 2019 @ 21:26:51
Author: kgizdov
Revision: 537967
archrelease: copy trunk to community-x86_64
Added:
lhapdf/repos/community-x86_64/PKGBUILD
(from rev 537966, lhapdf/trunk/PKGBUILD)
lhapdf/repos/community-x86_64/fix_typo.patch
(from rev 537966, lhapdf/trunk/fix_typo.patch)
lhapdf/repos/community-x86_64/lhapdf.install
(from rev 537966, lhapdf/trunk/lhapdf.install)
Deleted:
lhapdf/repos/community-x86_64/PKGBUILD
lhapdf/repos/community-x86_64/fix_typo.patch
lhapdf/repos/community-x86_64/lhapdf.install
----------------+
PKGBUILD | 86 +++++++++++++++++++++++++++----------------------------
fix_typo.patch | 24 +++++++--------
lhapdf.install | 22 +++++++-------
3 files changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-17 21:26:43 UTC (rev 537966)
+++ PKGBUILD 2019-12-17 21:26:51 UTC (rev 537967)
@@ -1,43 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Contributor: Frank Siegert <frank dot siegert at googlemail dot com>
-# Contributor: JP-Ellis <josh at jpellis dot me>
-pkgname=lhapdf
-pkgver=6.2.3
-pkgrel=4
-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' 'python2')
-install=lhapdf.install
-source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz"
- 'fix_typo.patch')
-sha256sums=('d6e63addc56c57b6286dc43ffc56d901516f4779a93a0f1547e14b32cfd82dd1'
- '6ababeef3831d1bc2f708d0fbbf5e759aa983a83f9bec18706d3cb1ce257b536')
-
-prepare() {
- cd "${srcdir}/LHAPDF-${pkgver}"
- sed -e 's/print Cython.Compiler.Version.version/print (Cython.Compiler.Version.version)/g' -i m4/cython.m4
- patch -Np1 -i "${srcdir}/fix_typo.patch"
-}
-
-build() {
- cd "${srcdir}/LHAPDF-${pkgver}"
- autoreconf -i
- ## 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 --prefix=/usr --datadir=/usr/share/lhapdf --docdir=/usr/share/doc/lhapdf --pdfdir=/usr/share/lhapdf/LHAPDF
- make
-}
-
-check() {
- cd "${srcdir}/LHAPDF-${pkgver}"
- make -k check
-}
-
-package() {
- cd "${srcdir}/LHAPDF-${pkgver}"
- make DESTDIR="${pkgdir}/" install
-}
Copied: lhapdf/repos/community-x86_64/PKGBUILD (from rev 537966, lhapdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-17 21:26:51 UTC (rev 537967)
@@ -0,0 +1,43 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Frank Siegert <frank dot siegert at googlemail dot com>
+# Contributor: JP-Ellis <josh at jpellis dot me>
+pkgname=lhapdf
+pkgver=6.2.3
+pkgrel=5
+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')
+install=lhapdf.install
+source=("https://www.hepforge.org/archive/lhapdf/LHAPDF-${pkgver}.tar.gz"
+ 'fix_typo.patch')
+sha256sums=('d6e63addc56c57b6286dc43ffc56d901516f4779a93a0f1547e14b32cfd82dd1'
+ '6ababeef3831d1bc2f708d0fbbf5e759aa983a83f9bec18706d3cb1ce257b536')
+
+prepare() {
+ cd "${srcdir}/LHAPDF-${pkgver}"
+ sed -e 's/print Cython.Compiler.Version.version/print (Cython.Compiler.Version.version)/g' -i m4/cython.m4
+ patch -Np1 -i "${srcdir}/fix_typo.patch"
+}
+
+build() {
+ cd "${srcdir}/LHAPDF-${pkgver}"
+ autoreconf -i
+ ## 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 --prefix=/usr --datadir=/usr/share/lhapdf --docdir=/usr/share/doc/lhapdf --pdfdir=/usr/share/lhapdf/LHAPDF
+ make
+}
+
+check() {
+ cd "${srcdir}/LHAPDF-${pkgver}"
+ make -k check
+}
+
+package() {
+ cd "${srcdir}/LHAPDF-${pkgver}"
+ make DESTDIR="${pkgdir}/" install
+}
Deleted: fix_typo.patch
===================================================================
--- fix_typo.patch 2019-12-17 21:26:43 UTC (rev 537966)
+++ fix_typo.patch 2019-12-17 21:26:51 UTC (rev 537967)
@@ -1,12 +0,0 @@
-diff -aur LHAPDF-6.2.3-old/bin/lhapdf LHAPDF-6.2.3-new/bin/lhapdf
---- LHAPDF-6.2.3-old/bin/lhapdf 2019-05-11 23:06:38.000000000 +0300
-+++ LHAPDF-6.2.3-new/bin/lhapdf 2019-05-27 13:38:55.737898779 +0300
-@@ -287,7 +287,7 @@
- (by default lists all sets available for download; use --installed or --outdated to explore those installed on the current system)"""
- ap = argparse.ArgumentParser(description=__doc__, usage="%(prog)s list [options] [pattern...]")
- ap.add_argument("PATTERNS", nargs="*", help="patterns to match PDF sets against")
-- ag = ap.add_add_mutually_exclusive_group()
-+ ag = ap.add_mutually_exclusive_group()
- ag.add_argument("--installed", dest="INSTALLED", action="store_true", help="list installed PDF sets")
- ag.add_argument("--outdated", dest="OUTDATED", action="store_true", help="list installed, but outdated, PDF sets")
- ap.add_argument("--codes", dest="CODES", action="store_true", help="additionally show ID codes")
Copied: lhapdf/repos/community-x86_64/fix_typo.patch (from rev 537966, lhapdf/trunk/fix_typo.patch)
===================================================================
--- fix_typo.patch (rev 0)
+++ fix_typo.patch 2019-12-17 21:26:51 UTC (rev 537967)
@@ -0,0 +1,12 @@
+diff -aur LHAPDF-6.2.3-old/bin/lhapdf LHAPDF-6.2.3-new/bin/lhapdf
+--- LHAPDF-6.2.3-old/bin/lhapdf 2019-05-11 23:06:38.000000000 +0300
++++ LHAPDF-6.2.3-new/bin/lhapdf 2019-05-27 13:38:55.737898779 +0300
+@@ -287,7 +287,7 @@
+ (by default lists all sets available for download; use --installed or --outdated to explore those installed on the current system)"""
+ ap = argparse.ArgumentParser(description=__doc__, usage="%(prog)s list [options] [pattern...]")
+ ap.add_argument("PATTERNS", nargs="*", help="patterns to match PDF sets against")
+- ag = ap.add_add_mutually_exclusive_group()
++ ag = ap.add_mutually_exclusive_group()
+ ag.add_argument("--installed", dest="INSTALLED", action="store_true", help="list installed PDF sets")
+ ag.add_argument("--outdated", dest="OUTDATED", action="store_true", help="list installed, but outdated, PDF sets")
+ ap.add_argument("--codes", dest="CODES", action="store_true", help="additionally show ID codes")
Deleted: lhapdf.install
===================================================================
--- lhapdf.install 2019-12-17 21:26:43 UTC (rev 537966)
+++ lhapdf.install 2019-12-17 21:26:51 UTC (rev 537967)
@@ -1,11 +0,0 @@
-post_install() {
- echo 'PDF sets are stored in /usr/share/lhapdf/LHAPDF'
- echo 'You can download PDF sets with the "lhapdf" command like so:'
- echo ' $ lhapdf ls'
- echo ' # sudo lhapdf install CT10'
-}
-
-post_upgrade() {
- echo 'To update your PDF sets, please run:'
- echo ' # lhapdf install $(lhapdf list --outdated)'
-}
Copied: lhapdf/repos/community-x86_64/lhapdf.install (from rev 537966, lhapdf/trunk/lhapdf.install)
===================================================================
--- lhapdf.install (rev 0)
+++ lhapdf.install 2019-12-17 21:26:51 UTC (rev 537967)
@@ -0,0 +1,11 @@
+post_install() {
+ echo 'PDF sets are stored in /usr/share/lhapdf/LHAPDF'
+ echo 'You can download PDF sets with the "lhapdf" command like so:'
+ echo ' $ lhapdf ls'
+ echo ' # sudo lhapdf install CT10'
+}
+
+post_upgrade() {
+ echo 'To update your PDF sets, please run:'
+ echo ' # lhapdf install $(lhapdf list --outdated)'
+}
More information about the arch-commits
mailing list