summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD25
3 files changed, 24 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f1b42122bf..2249a8de3f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,16 @@
-# Generated by mksrcinfo v8
-# Fri Jan 25 03:57:11 UTC 2019
pkgbase = python2-gdl
pkgdesc = Python interface for the GNU Data Language(GDL)
- pkgver = 0.9.8
- pkgrel = 2
+ pkgver = 0.9.9
+ pkgrel = 1
url = http://gnudatalanguage.sourceforge.net/
arch = i686
arch = x86_64
license = GPL
makedepends = cmake
- depends = gnudatalanguage=0.9.8
- options = !makeflags
- source = http://downloads.sourceforge.net/gnudatalanguage/gdl-0.9.8.tgz
- source = gdl-tirpc.patch
- source = gdl-updates.patch
+ depends = gnudatalanguage=0.9.9
+ source = https://github.com/gnudatalanguage/gdl/archive/v0.9.9.tar.gz
source = gdl.profile
- md5sums = 451532f1263bbaa8745a4ca8978533c0
- md5sums = cad6430a812e906ee7f1e15b4589dcac
- md5sums = 0bd883f33312fbe1e5bda5b03d280aa5
+ md5sums = 749dc9b6dd0b9a5385ffe83e7b1a6f46
md5sums = 40aa5fd8278cd8e80425c62a577563cc
pkgname = python2-gdl
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0d6e3b36c63
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+src
+pkg
+*.src.tar.gz
+*.tar.gz
+*.tar.bz2
+*.part
+*.pkg.tar.xz
+*.log
diff --git a/PKGBUILD b/PKGBUILD
index bbb8b9b4121..b4db2cbc1c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,31 +5,28 @@
# Contributor: Jan Kohnert <kohni.jk at gmail dot com>
pkgname=python2-gdl
-pkgver=0.9.8
-pkgrel=2
+pkgver=0.9.9
+pkgrel=1
pkgdesc="Python interface for the GNU Data Language(GDL)"
arch=('i686' 'x86_64')
url="http://gnudatalanguage.sourceforge.net/"
license=('GPL')
depends=("gnudatalanguage=${pkgver}")
makedepends=('cmake')
-options=('!makeflags')
-source=("http://downloads.sourceforge.net/gnudatalanguage/gdl-${pkgver}.tgz"
- 'gdl-tirpc.patch'
- 'gdl-updates.patch'
+#options=('!makeflags')
+source=("https://github.com/gnudatalanguage/gdl/archive/v${pkgver}.tar.gz"
+# 'gdl-tirpc.patch'
+# 'gdl-updates.patch'
# 'gdl-python3.patch'
'gdl.profile')
-md5sums=('451532f1263bbaa8745a4ca8978533c0'
- 'cad6430a812e906ee7f1e15b4589dcac'
- '0bd883f33312fbe1e5bda5b03d280aa5'
-# '9f85693d9fc9e838cba1fe03ae45f7cb'
+md5sums=('749dc9b6dd0b9a5385ffe83e7b1a6f46'
'40aa5fd8278cd8e80425c62a577563cc')
prepare() {
cd ${srcdir}/gdl-${pkgver}
- patch -p1 < ../gdl-tirpc.patch
- patch -p1 < ../gdl-updates.patch
+# patch -p1 < ../gdl-tirpc.patch
+# patch -p1 < ../gdl-updates.patch
# patch -Np1 -i "${srcdir}/gdl-python3.patch"
}
@@ -40,9 +37,9 @@ build() {
fi
mkdir build
cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON=YES -DPYTHONVERSION=2.7 \
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON=YES -DPYTHONVERSION=2 \
-DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_MODULE=ON \
- -DGRAPHICSMAGICK=ON -DMAGICK=OFF -DFFTW=ON -DHDF=ON -DHDFDIR=/opt/hdf4 \
+ -DGRAPHICSMAGICK=OFF -DMAGICK=ON -DFFTW=ON -DHDF=ON -DHDFDIR=/opt/hdf4 \
-DHDF5=ON -DGRIB=ON -DUDUNITS=ON ..
make