diff options
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 48 insertions, 24 deletions
@@ -1,22 +1,30 @@ pkgbase = easybuild-framework-git pkgdesc = A software build and installation framework for HPC systems (development) - pkgver = 3.5.1.r14.g5774d360d - pkgrel = 3 + pkgver = 4.8.2.r41.ga2eaf2365 + pkgrel = 1 url = https://github.com/easybuilders arch = any - groups = easybuild-git - license = GPL + license = GPL2 makedepends = git - makedepends = python2-setuptools - depends = python2 - depends = python2-vsc-base + depends = python depends = env-modules-tcl + depends = python-setuptools + depends = python-distro + depends = python-yaml + depends = python-configobj + depends = python-packaging + depends = python-humanfriendly + depends = python-requests optdepends = lmod: another module management tool optdepends = fpm: Generate packages of your modules to be installed later - optdepends = easybuild-easyconfigs-git: collection of build parameters - optdepends = easybuild-easyblocks-git: collection of module recipes + optdepends = easybuild-easyconfigs: collection of build parameters + optdepends = easybuild-easyblocks: collection of module recipes + optdepends = python-gitpython: for using Git with EasyBuild + optdepends = graphviz: for building nice looking dependency graphs + optdepends = python-keyring: for handling authentication with GitHub + optdepends = python-rich: lets EasyBuild show rich-output, i.e. nice progress bars + provides = easybuild-framework source = git+https://github.com/easybuilders/easybuild-framework.git#branch=develop md5sums = SKIP pkgname = easybuild-framework-git - @@ -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 } |