diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 5 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = rivet-git pkgdesc = A particle physics package for data analysis and validation of Monte Carlo event generators -- latest build from git repo - pkgver = 3.0.1.r207.g2818879d1 + pkgver = 3.1.8.r212.g72aacf9c0 pkgrel = 1 url = http://rivet.hepforge.org arch = x86_64 @@ -16,12 +16,10 @@ pkgbase = rivet-git optdepends = texlive-core: Plotting functionality optdepends = ghostscript: PDF plot output optdepends = imagemagick: PNG plot output - optdepends = python2: For Python2 module in addition to Python3 provides = rivet conflicts = rivet replaces = rivet-hg - source = git+https://gitlab.com/hepcedar/rivet.git + source = git+https://gitlab.com/hepcedar/rivet.git#branch=main md5sums = SKIP pkgname = rivet-git - @@ -1,6 +1,6 @@ # Maintainer: Frank Siegert <frank.siegert@googlemail.com> pkgname=rivet-git -pkgver=3.0.1.r207.g2818879d1 +pkgver=3.1.8.r212.g72aacf9c0 pkgrel=1 pkgdesc="A particle physics package for data analysis and validation of Monte Carlo event generators -- latest build from git repo" arch=('x86_64' 'i686') @@ -13,9 +13,9 @@ depends=('python' 'yoda' 'fastjet' 'gsl' 'hepmc' 'fastjet-contrib') optdepends=('texlive-core: Plotting functionality' 'ghostscript: PDF plot output' 'imagemagick: PNG plot output' - 'python2: For Python2 module in addition to Python3') + ) makedepends=('cython') -source=('git+https://gitlab.com/hepcedar/rivet.git') +source=('git+https://gitlab.com/hepcedar/rivet.git#branch=main') md5sums=('SKIP') build() { @@ -29,12 +29,6 @@ package() { cd "$srcdir/rivet" make DESTDIR="$pkgdir/" install - # If python2 is present, also build a library for it - if [ -x /usr/bin/python2 ]; then - PYTHON=/usr/bin/python2 ./configure --prefix=/usr - make DESTDIR="$pkgdir/" install - fi - mkdir -p $pkgdir/etc/bash_completion.d mv $pkgdir/usr/share/Rivet/rivet-completion $pkgdir/etc/bash_completion.d } |