summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRod Kay2019-06-23 07:30:21 +1000
committerRod Kay2019-06-23 07:30:21 +1000
commit732534fb9f3b59a13c008deff8029c5432075f23 (patch)
tree160eaf41d881c1e65af05d655c04bc4ae550c02f
parent2b97c344c347451cb1a0f4243e8ec11748720f6a (diff)
downloadaur-732534fb9f3b59a13c008deff8029c5432075f23.tar.gz
Update to 2019
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD44
2 files changed, 35 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0a0187f4906..fed084777bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
pkgbase = libadalang
pkgdesc = A high performance semantic engine for the Ada programming language.
- pkgver = 2018
- pkgrel = 2
+ pkgver = 2019
+ pkgrel = 1
url = https://github.com/AdaCore/libadalang
arch = i686
arch = x86_64
license = GPL
- makedepends = gprbuild>=2018
- depends = gnatcoll-iconv>=2018
+ makedepends = gprbuild
+ depends = gnatcoll-iconv
depends = quex-for_libadalang
- depends = python2-funcy
depends = python2-mako
depends = python-yaml
depends = python-sphinx
@@ -20,10 +19,10 @@ pkgbase = libadalang
depends = autopep8
depends = yapf
conflicts = libadalang-git
- source = http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18
- source = http://mirrors.cdn.adacore.com/art/5b0cfbefc7a4475263382c2a
- sha1sums = 7e9f90eb9bcdd2877b7da1aca1c2f88ff90c3dcc
- sha1sums = 0f6ea268a81371a880122cbdd3b2493ae91d0811
+ source = http://mirrors.cdn.adacore.com/art/5cdf8f3331e87a8f1c967d27
+ source = http://mirrors.cdn.adacore.com/art/5cdf8f8a31e87a8f1c967d31
+ sha1sums = d9ecaed902d34eb3162f3c255da2d5763b495170
+ sha1sums = 30c1718fc91e7da1c8a359e5862a44c814daf592
pkgname = libadalang
diff --git a/PKGBUILD b/PKGBUILD
index 94ef45a9117..ed40ce2685a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,49 +1,50 @@
# Maintainer: Rod Kay <charlie5 on #ada at freenode.net>
pkgname=libadalang
-pkgver=2018
-pkgrel=2
+pkgver=2019
+pkgrel=1
pkgdesc="A high performance semantic engine for the Ada programming language."
arch=('i686' 'x86_64')
url="https://github.com/AdaCore/libadalang"
license=('GPL')
-depends=("gnatcoll-iconv>=2018"
- "quex-for_libadalang" "python2-funcy" "python2-mako" "python-yaml" "python-sphinx"
+depends=("gnatcoll-iconv"
+ "quex-for_libadalang" "python2-mako" "python-yaml" "python-sphinx"
"python-coverage" "python2-enum34" "python-psutil" "python2-docutils" "autopep8" "yapf")
-makedepends=("gprbuild>=2018")
+makedepends=("gprbuild")
conflicts=('libadalang-git')
-source=('http://mirrors.cdn.adacore.com/art/5b0cf9adc7a4475263382c18'
- 'http://mirrors.cdn.adacore.com/art/5b0cfbefc7a4475263382c2a')
-sha1sums=('7e9f90eb9bcdd2877b7da1aca1c2f88ff90c3dcc'
- '0f6ea268a81371a880122cbdd3b2493ae91d0811')
+source=('http://mirrors.cdn.adacore.com/art/5cdf8f3331e87a8f1c967d27'
+ 'http://mirrors.cdn.adacore.com/art/5cdf8f8a31e87a8f1c967d31')
+sha1sums=('d9ecaed902d34eb3162f3c255da2d5763b495170'
+ '30c1718fc91e7da1c8a359e5862a44c814daf592')
+
build()
{
- cd $srcdir/libadalang-gpl-2018-src
+ cd $srcdir/libadalang-2019-20190510-19916-src
# Ensure that QUEX_PATH is set.
#
source /etc/profile.d/quex.sh
- export PYTHONPATH=$srcdir/langkit-gpl-2018-src:$PYTHONPATH
+ export PYTHONPATH=$srcdir/langkit-2019-20190510-19B8C-src:$PYTHONPATH
# Clang has trouble compiling the Quex-generated lexer, so make sure
# GPRbuild chooses GCC.
gprconfig -o config.cgpr --batch --config=c,,,,GCC --config=ada,,,,
python2 ada/manage.py generate
- python2 ada/manage.py build --gargs="-R --config=$PWD/config.cgpr"
+ python2 ada/manage.py build --gargs="-XBUILD_MODE=prod -R --config=$PWD/config.cgpr"
}
package()
{
- cd $srcdir/libadalang-gpl-2018-src
+ cd $srcdir/libadalang-2019-20190510-19916-src
# Ensure that QUEX_PATH is set.
#
@@ -51,10 +52,19 @@ package()
python2 ada/manage.py install $pkgdir/usr
- mkdir -p $pkgdir/usr/lib/python2.7/site-packages
+ # Install the Python binding
+ #
+# cd build/python
+# python2 setup.py install --root="$pkgdir"
+
+
+ rm -fr $pkgdir/usr/python
+
+
+# mkdir -p $pkgdir/usr/lib/python2.7/site-packages
- mv $pkgdir/usr/python/libadalang.py \
- $pkgdir/usr/lib/python2.7/site-packages
+# mv $pkgdir/usr/python/libadalang.py \
+# $pkgdir/usr/lib/python2.7/site-packages
- rmdir $pkgdir/usr/python
+# rmdir $pkgdir/usr/python
}