[arch-commits] Commit in pdal/repos (3 files)

2022-06-30 Thread Bruno Pagani via arch-commits
Date: Thursday, June 30, 2022 @ 12:49:28
  Author: archange
Revision: 1243014

archrelease: copy trunk to community-staging-x86_64

Added:
  pdal/repos/community-staging-x86_64/
  pdal/repos/community-staging-x86_64/PKGBUILD
(from rev 1243013, pdal/trunk/PKGBUILD)
  
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
(from rev 1243013, 
pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)

+
 PKGBUILD   |   38 +
 ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch |   49 +++
 2 files changed, 87 insertions(+)

Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 1243013, 
pdal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-30 12:49:28 UTC (rev 1243014)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: SaultDon 
+pkgname=pdal
+pkgver=2.4.2
+pkgrel=3
+pkgdesc="A C++ library for translating and manipulating point cloud data"
+arch=('x86_64')
+url="http://www.pdal.io;
+license=('BSD')
+depends=('gdal' 'libgeotiff' 'jsoncpp' 'libunwind')
+makedepends=('cmake' 'python' 'python-numpy' 'ninja' 'postgresql-libs')
+optdepends=('python-numpy: for the Python plugin'
+'sqlite: for the sqlite plugin'
+'postgresql-libs: for the postgresql plugin')
+provides=('pdal')
+source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz;)
+sha512sums=('0d74de55c126be0aeb4b5be48a360d4f208b031228cb2cf122bc22ba6bca96ecd97731d6569718fd9be1b03631f3f2aec41f68b725926ed5f6ec306c32b1d20f')
+
+build() {
+  cd "PDAL-$pkgver-src/"
+
+  cmake \
+  -Bbuild \
+  -GNinja \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DBUILD_PLUGIN_PGPOINTCLOUD=ON \
+  -DWITH_COMPLETION=ON
+
+  ninja -C build
+}
+
+package() {
+  cd "PDAL-$pkgver-src"
+
+  DESTDIR="$pkgdir/" ninja -C build install
+
+  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: 
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
 (from rev 1243013, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)
===
--- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
(rev 0)
+++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
2022-06-30 12:49:28 UTC (rev 1243014)
@@ -0,0 +1,49 @@
+From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001
+From: Andrew Bell 
+Date: Tue, 24 Jul 2018 08:49:40 -0400
+Subject: [PATCH] Constify python strings. Close #2099
+
+---
+ plugins/python/plang/Environment.cpp | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/plugins/python/plang/Environment.cpp 
b/plugins/python/plang/Environment.cpp
+index 19f5c1ae7..0bbcf2d70 100644
+--- a/plugins/python/plang/Environment.cpp
 b/plugins/python/plang/Environment.cpp
+@@ -190,9 +190,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("unable to get repr in getTraceback");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -208,9 +208,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("couldn't make string representation of 
traceback value");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const 
std::string& key)
+ throw pdal::pdal_error("unable to get repr in readPythonString");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ ss << d;
+ 



[arch-commits] Commit in pdal/repos (3 files)

2022-04-02 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, April 3, 2022 @ 00:23:33
  Author: svenstaro
Revision: 1180889

archrelease: copy trunk to community-staging-x86_64

Added:
  pdal/repos/community-staging-x86_64/
  pdal/repos/community-staging-x86_64/PKGBUILD
(from rev 1180888, pdal/trunk/PKGBUILD)
  
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
(from rev 1180888, 
pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)

+
 PKGBUILD   |   38 +
 ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch |   49 +++
 2 files changed, 87 insertions(+)

Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 1180888, 
pdal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-03 00:23:33 UTC (rev 1180889)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: SaultDon 
+pkgname=pdal
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="A C++ library for translating and manipulating point cloud data"
+arch=('x86_64')
+url="http://www.pdal.io;
+license=('BSD')
+depends=('gdal' 'libgeotiff' 'jsoncpp' 'libunwind')
+makedepends=('cmake' 'python' 'python-numpy' 'ninja')
+optdepends=('python-numpy: for the Python plugin'
+'sqlite: for the sqlite plugin'
+'postgresql-libs: for the postgresql plugin')
+provides=('pdal')
+source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz;)
+sha512sums=('655fadd2b435ed1cb801ba542028bcc15156da9266eedde93b2210dbadbc50d36b0b6a151062113f2adfb68a2938e2b867438a5a94952a7b3e46f59a53b47623')
+
+build() {
+  cd "PDAL-$pkgver-src/"
+
+  cmake \
+  -Bbuild \
+  -GNinja \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DBUILD_PLUGIN_PGPOINTCLOUD=ON \
+  -DWITH_COMPLETION=ON
+
+  ninja -C build
+}
+
+package() {
+  cd "PDAL-$pkgver-src"
+
+  DESTDIR="$pkgdir/" ninja -C build install
+
+  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: 
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
 (from rev 1180888, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)
===
--- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
(rev 0)
+++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
2022-04-03 00:23:33 UTC (rev 1180889)
@@ -0,0 +1,49 @@
+From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001
+From: Andrew Bell 
+Date: Tue, 24 Jul 2018 08:49:40 -0400
+Subject: [PATCH] Constify python strings. Close #2099
+
+---
+ plugins/python/plang/Environment.cpp | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/plugins/python/plang/Environment.cpp 
b/plugins/python/plang/Environment.cpp
+index 19f5c1ae7..0bbcf2d70 100644
+--- a/plugins/python/plang/Environment.cpp
 b/plugins/python/plang/Environment.cpp
+@@ -190,9 +190,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("unable to get repr in getTraceback");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -208,9 +208,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("couldn't make string representation of 
traceback value");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const 
std::string& key)
+ throw pdal::pdal_error("unable to get repr in readPythonString");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ ss << d;
+ 



[arch-commits] Commit in pdal/repos (3 files)

2021-12-23 Thread Antonio Rojas via arch-commits
Date: Thursday, December 23, 2021 @ 17:06:56
  Author: arojas
Revision: 1083307

archrelease: copy trunk to community-staging-x86_64

Added:
  pdal/repos/community-staging-x86_64/
  pdal/repos/community-staging-x86_64/PKGBUILD
(from rev 1083306, pdal/trunk/PKGBUILD)
  
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
(from rev 1083306, 
pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)

+
 PKGBUILD   |   45 +
 ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch |   49 +++
 2 files changed, 94 insertions(+)

Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 1083306, 
pdal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-23 17:06:56 UTC (rev 1083307)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: SaultDon 
+pkgname=pdal
+pkgver=2.3.0
+pkgrel=5
+pkgdesc="A C++ library for translating and manipulating point cloud data"
+arch=('x86_64')
+url="http://www.pdal.io;
+license=('BSD')
+depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu' 'libunwind' 
'laz-perf')
+makedepends=('cmake' 'python' 'python-numpy' 'ninja')
+optdepends=('python-numpy: for the Python plugin'
+'sqlite: for the sqlite plugin'
+'postgresql-libs: for the postgresql plugin')
+provides=('pdal')
+source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz;)
+sha512sums=('9de87de7370175e76b95d3ec08667eb28b90a63eed8133f144427ff931e575d1f37aa13496f12054577539ee552458475dd054bcbdedfabe52eb0e32c4483d05')
+
+prepare() {
+cd "PDAL-$pkgver-src/"
+sed -i "s/LAZPERF 2.0/LAZPERF 3.0/" cmake/lazperf.cmake
+}
+
+build() {
+cd "PDAL-$pkgver-src/"
+
+cmake \
+-B build \
+-GNinja \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DBUILD_PLUGIN_PGPOINTCLOUD=ON \
+-DWITH_LAZPERF=ON \
+-DWITH_LASZIP=ON \
+-DWITH_COMPLETION=ON
+
+ninja -C build
+}
+
+package() {
+cd "PDAL-$pkgver-src"
+
+DESTDIR="$pkgdir/" ninja -C build install
+
+install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: 
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
 (from rev 1083306, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)
===
--- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
(rev 0)
+++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
2021-12-23 17:06:56 UTC (rev 1083307)
@@ -0,0 +1,49 @@
+From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001
+From: Andrew Bell 
+Date: Tue, 24 Jul 2018 08:49:40 -0400
+Subject: [PATCH] Constify python strings. Close #2099
+
+---
+ plugins/python/plang/Environment.cpp | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/plugins/python/plang/Environment.cpp 
b/plugins/python/plang/Environment.cpp
+index 19f5c1ae7..0bbcf2d70 100644
+--- a/plugins/python/plang/Environment.cpp
 b/plugins/python/plang/Environment.cpp
+@@ -190,9 +190,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("unable to get repr in getTraceback");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -208,9 +208,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("couldn't make string representation of 
traceback value");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const 
std::string& key)
+ throw pdal::pdal_error("unable to get repr in readPythonString");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ ss << d;
+ 



[arch-commits] Commit in pdal/repos (3 files)

2021-12-16 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, December 16, 2021 @ 10:39:56
  Author: svenstaro
Revision: 1074248

archrelease: copy trunk to community-staging-x86_64

Added:
  pdal/repos/community-staging-x86_64/
  pdal/repos/community-staging-x86_64/PKGBUILD
(from rev 1074247, pdal/trunk/PKGBUILD)
  
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
(from rev 1074247, 
pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)

+
 PKGBUILD   |   45 +
 ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch |   49 +++
 2 files changed, 94 insertions(+)

Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 1074247, 
pdal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-16 10:39:56 UTC (rev 1074248)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: SaultDon 
+pkgname=pdal
+pkgver=2.3.0
+pkgrel=4
+pkgdesc="A C++ library for translating and manipulating point cloud data"
+arch=('x86_64')
+url="http://www.pdal.io;
+license=('BSD')
+depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu' 'libunwind' 
'laz-perf')
+makedepends=('cmake' 'python' 'python-numpy' 'ninja')
+optdepends=('python-numpy: for the Python plugin'
+'sqlite: for the sqlite plugin'
+'postgresql-libs: for the postgresql plugin')
+provides=('pdal')
+source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz;)
+sha512sums=('9de87de7370175e76b95d3ec08667eb28b90a63eed8133f144427ff931e575d1f37aa13496f12054577539ee552458475dd054bcbdedfabe52eb0e32c4483d05')
+
+prepare() {
+cd "PDAL-$pkgver-src/"
+sed -i "s/LAZPERF 2.0/LAZPERF 3.0/" cmake/lazperf.cmake
+}
+
+build() {
+cd "PDAL-$pkgver-src/"
+
+cmake \
+-B build \
+-GNinja \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DBUILD_PLUGIN_PGPOINTCLOUD=ON \
+-DWITH_LAZPERF=ON \
+-DWITH_LASZIP=ON \
+-DWITH_COMPLETION=ON
+
+ninja -C build
+}
+
+package() {
+cd "PDAL-$pkgver-src"
+
+DESTDIR="$pkgdir/" ninja -C build install
+
+install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: 
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
 (from rev 1074247, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)
===
--- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
(rev 0)
+++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
2021-12-16 10:39:56 UTC (rev 1074248)
@@ -0,0 +1,49 @@
+From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001
+From: Andrew Bell 
+Date: Tue, 24 Jul 2018 08:49:40 -0400
+Subject: [PATCH] Constify python strings. Close #2099
+
+---
+ plugins/python/plang/Environment.cpp | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/plugins/python/plang/Environment.cpp 
b/plugins/python/plang/Environment.cpp
+index 19f5c1ae7..0bbcf2d70 100644
+--- a/plugins/python/plang/Environment.cpp
 b/plugins/python/plang/Environment.cpp
+@@ -190,9 +190,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("unable to get repr in getTraceback");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -208,9 +208,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("couldn't make string representation of 
traceback value");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const 
std::string& key)
+ throw pdal::pdal_error("unable to get repr in readPythonString");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ ss << d;
+ 



[arch-commits] Commit in pdal/repos (3 files)

2021-09-22 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, September 22, 2021 @ 21:06:09
  Author: svenstaro
Revision: 1021684

archrelease: copy trunk to community-staging-x86_64

Added:
  pdal/repos/community-staging-x86_64/
  pdal/repos/community-staging-x86_64/PKGBUILD
(from rev 1021683, pdal/trunk/PKGBUILD)
  
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
(from rev 1021683, 
pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)

+
 PKGBUILD   |   40 ++
 ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch |   49 +++
 2 files changed, 89 insertions(+)

Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 1021683, 
pdal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-22 21:06:09 UTC (rev 1021684)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: SaultDon 
+pkgname=pdal
+pkgver=2.3.0
+pkgrel=3
+pkgdesc="A C++ library for translating and manipulating point cloud data"
+arch=('x86_64')
+url="http://www.pdal.io;
+license=('BSD')
+depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu' 'libunwind' 
'laz-perf')
+makedepends=('cmake' 'python' 'python-numpy' 'ninja')
+optdepends=('python-numpy: for the Python plugin'
+'sqlite: for the sqlite plugin'
+'postgresql-libs: for the postgresql plugin')
+provides=('pdal')
+source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz;)
+sha512sums=('9de87de7370175e76b95d3ec08667eb28b90a63eed8133f144427ff931e575d1f37aa13496f12054577539ee552458475dd054bcbdedfabe52eb0e32c4483d05')
+
+build() {
+cd "PDAL-$pkgver-src/"
+
+cmake \
+-B build \
+-GNinja \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DBUILD_PLUGIN_PGPOINTCLOUD=ON \
+-DWITH_LAZPERF=ON \
+-DWITH_LASZIP=ON \
+-DWITH_COMPLETION=ON
+
+ninja -C build
+}
+
+package() {
+cd "PDAL-$pkgver-src"
+
+DESTDIR="$pkgdir/" ninja -C build install
+
+install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: 
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
 (from rev 1021683, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)
===
--- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
(rev 0)
+++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
2021-09-22 21:06:09 UTC (rev 1021684)
@@ -0,0 +1,49 @@
+From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001
+From: Andrew Bell 
+Date: Tue, 24 Jul 2018 08:49:40 -0400
+Subject: [PATCH] Constify python strings. Close #2099
+
+---
+ plugins/python/plang/Environment.cpp | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/plugins/python/plang/Environment.cpp 
b/plugins/python/plang/Environment.cpp
+index 19f5c1ae7..0bbcf2d70 100644
+--- a/plugins/python/plang/Environment.cpp
 b/plugins/python/plang/Environment.cpp
+@@ -190,9 +190,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("unable to get repr in getTraceback");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -208,9 +208,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("couldn't make string representation of 
traceback value");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const 
std::string& key)
+ throw pdal::pdal_error("unable to get repr in readPythonString");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ ss << d;
+ 



[arch-commits] Commit in pdal/repos (3 files)

2021-06-05 Thread Jaroslav Lichtblau via arch-commits
Date: Saturday, June 5, 2021 @ 15:37:54
  Author: jlichtblau
Revision: 956123

archrelease: copy trunk to community-staging-x86_64

Added:
  pdal/repos/community-staging-x86_64/
  pdal/repos/community-staging-x86_64/PKGBUILD
(from rev 956122, pdal/trunk/PKGBUILD)
  
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
(from rev 956122, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)

+
 PKGBUILD   |   42 +++
 ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch |   49 +++
 2 files changed, 91 insertions(+)

Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 956122, 
pdal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-05 15:37:54 UTC (rev 956123)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: SaultDon 
+pkgname=pdal
+pkgver=2.2.0
+pkgrel=3
+pkgdesc="A C++ library for translating and manipulating point cloud data"
+arch=('x86_64')
+url="http://www.pdal.io;
+license=('BSD')
+depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu' 'libunwind')
+makedepends=('cmake' 'python' 'python-numpy' 'laz-perf' 'ninja')
+optdepends=('python-numpy: for the Python plugin'
+'sqlite: for the sqlite plugin'
+'postgresql-libs: for the postgresql plugin')
+provides=('pdal')
+source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz;)
+sha512sums=('c54770973de714473bf6cfe6a69e2c880d516abcf71cce755495304093acb41471b4264cb84f11973a482f3de80a8922d7d8b54994fb91c6b012a6894a8bdac5')
+
+build() {
+cd "PDAL-$pkgver-src/"
+
+cmake \
+-B build \
+-GNinja \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DBUILD_PLUGIN_PYTHON=ON \
+-DBUILD_PLUGIN_PGPOINTCLOUD=ON \
+-DBUILD_PLUGIN_SQLITE=ON \
+-DWITH_LAZPERF=ON \
+-DWITH_LASZIP=ON \
+-DWITH_COMPLETION=ON
+
+ninja -C build
+}
+
+package() {
+cd "PDAL-$pkgver-src"
+
+DESTDIR="$pkgdir/" ninja -C build install
+
+install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: 
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
 (from rev 956122, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)
===
--- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
(rev 0)
+++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
2021-06-05 15:37:54 UTC (rev 956123)
@@ -0,0 +1,49 @@
+From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001
+From: Andrew Bell 
+Date: Tue, 24 Jul 2018 08:49:40 -0400
+Subject: [PATCH] Constify python strings. Close #2099
+
+---
+ plugins/python/plang/Environment.cpp | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/plugins/python/plang/Environment.cpp 
b/plugins/python/plang/Environment.cpp
+index 19f5c1ae7..0bbcf2d70 100644
+--- a/plugins/python/plang/Environment.cpp
 b/plugins/python/plang/Environment.cpp
+@@ -190,9 +190,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("unable to get repr in getTraceback");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -208,9 +208,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("couldn't make string representation of 
traceback value");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const 
std::string& key)
+ throw pdal::pdal_error("unable to get repr in readPythonString");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ ss << d;
+ 


[arch-commits] Commit in pdal/repos (3 files)

2021-04-21 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, April 21, 2021 @ 07:27:19
  Author: svenstaro
Revision: 920460

archrelease: copy trunk to community-staging-x86_64

Added:
  pdal/repos/community-staging-x86_64/
  pdal/repos/community-staging-x86_64/PKGBUILD
(from rev 920459, pdal/trunk/PKGBUILD)
  
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
(from rev 920459, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)

+
 PKGBUILD   |   42 +++
 ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch |   49 +++
 2 files changed, 91 insertions(+)

Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 920459, 
pdal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-21 07:27:19 UTC (rev 920460)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: SaultDon 
+pkgname=pdal
+pkgver=2.2.0
+pkgrel=2
+pkgdesc="A C++ library for translating and manipulating point cloud data"
+arch=('x86_64')
+url="http://www.pdal.io;
+license=('BSD')
+depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu' 'libunwind')
+makedepends=('cmake' 'python' 'python-numpy' 'laz-perf' 'ninja')
+optdepends=('python-numpy: for the Python plugin'
+'sqlite: for the sqlite plugin'
+'postgresql-libs: for the postgresql plugin')
+provides=('pdal')
+source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz;)
+sha512sums=('c54770973de714473bf6cfe6a69e2c880d516abcf71cce755495304093acb41471b4264cb84f11973a482f3de80a8922d7d8b54994fb91c6b012a6894a8bdac5')
+
+build() {
+cd "PDAL-$pkgver-src/"
+
+cmake \
+-B build \
+-GNinja \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DBUILD_PLUGIN_PYTHON=ON \
+-DBUILD_PLUGIN_PGPOINTCLOUD=ON \
+-DBUILD_PLUGIN_SQLITE=ON \
+-DWITH_LAZPERF=ON \
+-DWITH_LASZIP=ON \
+-DWITH_COMPLETION=ON
+
+ninja -C build
+}
+
+package() {
+cd "PDAL-$pkgver-src"
+
+DESTDIR="$pkgdir/" ninja -C build install
+
+install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: 
pdal/repos/community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
 (from rev 920459, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)
===
--- community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
(rev 0)
+++ community-staging-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch 
2021-04-21 07:27:19 UTC (rev 920460)
@@ -0,0 +1,49 @@
+From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001
+From: Andrew Bell 
+Date: Tue, 24 Jul 2018 08:49:40 -0400
+Subject: [PATCH] Constify python strings. Close #2099
+
+---
+ plugins/python/plang/Environment.cpp | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/plugins/python/plang/Environment.cpp 
b/plugins/python/plang/Environment.cpp
+index 19f5c1ae7..0bbcf2d70 100644
+--- a/plugins/python/plang/Environment.cpp
 b/plugins/python/plang/Environment.cpp
+@@ -190,9 +190,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("unable to get repr in getTraceback");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -208,9 +208,9 @@ std::string getTraceback()
+ throw pdal::pdal_error("couldn't make string representation of 
traceback value");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ mssg << d;
+ }
+@@ -266,9 +266,9 @@ std::string readPythonString(PyObject* dict, const 
std::string& key)
+ throw pdal::pdal_error("unable to get repr in readPythonString");
+ #if PY_MAJOR_VERSION >= 3
+ Py_ssize_t size;
+-char *d = PyUnicode_AsUTF8AndSize(r, );
++const char *d = PyUnicode_AsUTF8AndSize(r, );
+ #else
+-char *d = PyString_AsString(r);
++const char *d = PyString_AsString(r);
+ #endif
+ ss << d;
+