diff options
author | Xiretza | 2022-05-15 11:45:38 +0200 |
---|---|---|
committer | Xiretza | 2022-05-15 12:03:34 +0200 |
commit | f3b3295afca746d6b3638d120d59864fffad6f16 (patch) | |
tree | eca90d41386eaeeb34e8102722c8c4a673869bdd | |
parent | bbbc3f8fda739fa695e66aab5fad313d827bab59 (diff) | |
download | aur-f3b3295afca746d6b3638d120d59864fffad6f16.tar.gz |
Add python3 bindings
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 20 insertions, 0 deletions
@@ -46,6 +46,11 @@ pkgname = gnatcoll-python2 provides = gnatcoll-python replaces = gnatcoll-python +pkgname = gnatcoll-python3 + pkgdesc = GNAT Components Collection - Interface to the python 3 interpreter. + depends = python + depends = gnatcoll-core + pkgname = gnatcoll-readline pkgdesc = GNAT Components Collection - Bindings to readline depends = readline @@ -8,6 +8,7 @@ pkgname=( gnatcoll-lzma gnatcoll-omp gnatcoll-python2 + gnatcoll-python3 gnatcoll-readline gnatcoll-syslog gnatcoll-zlib @@ -51,6 +52,9 @@ build() # --gpr-opts reads all remaining arguments, so no quotes python setup.py build --prefix=/usr --gpr-opts $_gpr_opts + cd "$srcdir/$_source_dir/python3" + python setup.py build --prefix=/usr --gpr-opts $_gpr_opts + cd "$srcdir/$_source_dir/readline" python setup.py build --prefix=/usr --accept-gpl --gpr-opts $_gpr_opts @@ -101,6 +105,17 @@ package_gnatcoll-python2() _install_license } +package_gnatcoll-python3() +{ + pkgdesc='GNAT Components Collection - Interface to the python 3 interpreter.' + depends=('python' 'gnatcoll-core') + + cd "$srcdir/$_source_dir/python3" + python setup.py install --prefix="$pkgdir/usr" + + _install_license +} + package_gnatcoll-readline() { pkgdesc='GNAT Components Collection - Bindings to readline' |