diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 44 |
1 files changed, 30 insertions, 14 deletions
@@ -1,27 +1,43 @@ -# Maintainer: Hans-Nikolai Viessmann <hv15 AT hw.ac.uk> -pkgname='easybuild-framework-git' -pkgver=3.5.1.r14.g5774d360d -pkgrel=3 +# Maintainer: Hans-Nikolai Viessmann <hans AT viess DOT mn> +_pkg='easybuild-framework' +pkgname="${_pkg}-git" +pkgver=4.8.2.r41.ga2eaf2365 +pkgrel=1 pkgdesc="A software build and installation framework for HPC systems (development)" arch=('any') -groups=('easybuild-git') url="https://github.com/easybuilders" -license=('GPL') -depends=('python2' 'python2-vsc-base' 'env-modules-tcl') +license=('GPL2') +depends=('python' 'env-modules-tcl' 'python-setuptools' 'python-distro' + 'python-yaml' 'python-configobj' 'python-packaging' + 'python-humanfriendly' 'python-requests') optdepends=('lmod: another module management tool' 'fpm: Generate packages of your modules to be installed later' - 'easybuild-easyconfigs-git: collection of build parameters' - 'easybuild-easyblocks-git: collection of module recipes') -makedepends=('git' 'python2-setuptools') -source=('git+https://github.com/easybuilders/easybuild-framework.git#branch=develop') + 'easybuild-easyconfigs: collection of build parameters' + 'easybuild-easyblocks: collection of module recipes' + 'python-gitpython: for using Git with EasyBuild' + 'graphviz: for building nice looking dependency graphs' + 'python-keyring: for handling authentication with GitHub' + 'python-rich: lets EasyBuild show rich-output, i.e. nice progress bars') +makedepends=('git') +provides=("${_pkg}") +source=("git+https://github.com/easybuilders/${_pkg}.git#branch=develop") md5sums=('SKIP') pkgver() { - cd "$srcdir/easybuild-framework" + cd "$srcdir/$_pkg" printf "%s" "$(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/.*v\(.*\)$/\1/;s/-/./g')" } +prepare() { + git -C "$srcdir/$_pkg" clean -dfx +} + +build() { + cd "$srcdir/$_pkg" + python setup.py build +} + package() { - cd "$srcdir/easybuild-framework" - python2 setup.py install --root "$pkgdir" + cd "$srcdir/$_pkg" + python setup.py install --root="$pkgdir" --optimize=1 } |