diff options
author | Jingbei Li | 2022-09-26 13:47:22 +0800 |
---|---|---|
committer | Jingbei Li | 2022-09-26 13:47:22 +0800 |
commit | bba38949c8eb349f1f639b3ab3622f9b086fa7f6 (patch) | |
tree | 3e309c65c9169c6cc1775e5cbea2b2555d7cffd8 | |
parent | cb7958154be2dc5fb61d59b910f1838e5d2ec763 (diff) | |
download | aur-sge.tar.gz |
converted to python3
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 7 deletions
@@ -1,12 +1,13 @@ pkgbase = sge pkgdesc = The Son of Grid Engine is a community project to continue Sun's old gridengine. pkgver = 8.1.9 - pkgrel = 7 + pkgrel = 8 epoch = 1 url = https://arc.liv.ac.uk/trac/SGE install = sge.install arch = x86_64 license = custom + makedepends = inetutils makedepends = make depends = awk depends = grep @@ -14,7 +15,7 @@ pkgbase = sge depends = libtirpc depends = openmotif depends = openssl-1.0 - depends = python2 + depends = python depends = tcsh source = https://github.com/petronny/sge/archive/refs/tags/v8.1.9.tar.gz source = sgemaster@.service @@ -3,7 +3,7 @@ pkgname=sge pkgver=8.1.9 -pkgrel=7 +pkgrel=8 epoch=1 pkgdesc="The Son of Grid Engine is a community project to continue Sun's old gridengine." arch=('x86_64') @@ -16,10 +16,10 @@ depends=( 'libtirpc' 'openmotif' 'openssl-1.0' - 'python2' + 'python' 'tcsh' ) -makedepends=('make') +makedepends=(inetutils make) install=${pkgname}.install source=( #"https://arc.liv.ac.uk/downloads/SGE/releases/${pkgver}/${pkgname}_${pkgver}.tar.xz" @@ -38,7 +38,7 @@ prepare() { sed 's/} drmaa2_\(dict\|list\)_s;/};/g' -i source/libs/japi/drmaa2_list_dict.h - sed '1s/python$/python2/' -i source/dist/util/resources/{jsv/jsv,monitoring/check_sge}.py + 2to3 -w . sed '/AddSGEStartUpScript/s/^/#/' -i source/dist/inst_sge @@ -60,7 +60,7 @@ build() { export SGE_INPUT_CFLAGS='-I/usr/include/tirpc -I/usr/include/openssl-1.0' export SGE_INPUT_LDFLAGS='-ltirpc -L/usr/lib/openssl-1.0 -lssl -lcrypto' - flags='-no-java -no-jni' + flags='-no-java -no-jni -parallel 1' scripts/bootstrap.sh $flags ./aimk $flags |