[arch-commits] Commit in pdal/repos/community-x86_64 (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Apr 10 07:32:31 UTC 2019


    Date: Wednesday, April 10, 2019 @ 07:32:30
  Author: svenstaro
Revision: 450699

archrelease: copy trunk to community-x86_64

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

------------------------------------------------+
 PKGBUILD                                       |   94 +++++++++++-----------
 ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch |   98 +++++++++++------------
 2 files changed, 96 insertions(+), 96 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-10 07:32:20 UTC (rev 450698)
+++ PKGBUILD	2019-04-10 07:32:30 UTC (rev 450699)
@@ -1,47 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: SaultDon <sault.don gmail>
-pkgname=pdal
-pkgver=1.8.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' 'laszip' 'jsoncpp' 'hexer-hobu')
-makedepends=('cmake' 'python' 'python-numpy' 'laz-perf')
-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=('3c82e2be76eb6519cbed70f30d1d8e58ec2c252e440e8e7907ca19a6f0a6551da57de21115f8b83576a090594b3ebc7cd0f3cecf56aeb404fc30752ab0bc7355')
-
-prepare() {
-    cd "PDAL-$pkgver-src"
-    mkdir build
-}
-
-build() {
-    cd "PDAL-$pkgver-src/build"
-
-    cmake .. \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DBUILD_PLUGIN_PYTHON=ON \
-        -DBUILD_PLUGIN_PGPOINTCLOUD=ON \
-        -DBUILD_PLUGIN_SQLITE=ON \
-        -DBUILD_PLUGIN_HEXBIN=ON \
-        -DWITH_LAZPERF=ON \
-        -DWITH_LASZIP=ON \
-        -DWITH_COMPLETION=ON
-
-    make
-}
-
-package() {
-    cd "PDAL-$pkgver-src/build"
-
-    make DESTDIR="$pkgdir/" install
-
-    cd "$srcdir/PDAL-$pkgver-src"
-    install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: pdal/repos/community-x86_64/PKGBUILD (from rev 450698, pdal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-10 07:32:30 UTC (rev 450699)
@@ -0,0 +1,47 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: SaultDon <sault.don gmail>
+pkgname=pdal
+pkgver=1.9.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' 'laszip' 'jsoncpp' 'hexer-hobu')
+makedepends=('cmake' 'python' 'python-numpy' 'laz-perf')
+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=('6afc065e62e89a2fb12c70f5a7139d27798833056f6b2bb1200cc4816543cc9a868dfa510a4aa5c64d2ac3c0dc66f6cbd5e172fb9acfc76bab448306569a4eb6')
+
+prepare() {
+    cd "PDAL-$pkgver-src"
+    mkdir build
+}
+
+build() {
+    cd "PDAL-$pkgver-src/build"
+
+    cmake .. \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DBUILD_PLUGIN_PYTHON=ON \
+        -DBUILD_PLUGIN_PGPOINTCLOUD=ON \
+        -DBUILD_PLUGIN_SQLITE=ON \
+        -DBUILD_PLUGIN_HEXBIN=ON \
+        -DWITH_LAZPERF=ON \
+        -DWITH_LASZIP=ON \
+        -DWITH_COMPLETION=ON
+
+    make
+}
+
+package() {
+    cd "PDAL-$pkgver-src/build"
+
+    make DESTDIR="$pkgdir/" install
+
+    cd "$srcdir/PDAL-$pkgver-src"
+    install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch
===================================================================
--- ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch	2019-04-10 07:32:20 UTC (rev 450698)
+++ ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch	2019-04-10 07:32:30 UTC (rev 450699)
@@ -1,49 +0,0 @@
-From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001
-From: Andrew Bell <andrew.bell.ia at gmail.com>
-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, &size);
-+            const char *d = PyUnicode_AsUTF8AndSize(r, &size);
- #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, &size);
-+        const char *d = PyUnicode_AsUTF8AndSize(r, &size);
- #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, &size);
-+    const char *d = PyUnicode_AsUTF8AndSize(r, &size);
- #else
--    char *d = PyString_AsString(r);
-+    const char *d = PyString_AsString(r);
- #endif
-     ss << d;
- 

Copied: pdal/repos/community-x86_64/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch (from rev 450698, pdal/trunk/ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch)
===================================================================
--- ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch	                        (rev 0)
+++ ff6875f6e45ca2fca7a21feaa537eb3fa715ea37.patch	2019-04-10 07:32:30 UTC (rev 450699)
@@ -0,0 +1,49 @@
+From ff6875f6e45ca2fca7a21feaa537eb3fa715ea37 Mon Sep 17 00:00:00 2001
+From: Andrew Bell <andrew.bell.ia at gmail.com>
+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, &size);
++            const char *d = PyUnicode_AsUTF8AndSize(r, &size);
+ #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, &size);
++        const char *d = PyUnicode_AsUTF8AndSize(r, &size);
+ #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, &size);
++    const char *d = PyUnicode_AsUTF8AndSize(r, &size);
+ #else
+-    char *d = PyString_AsString(r);
++    const char *d = PyString_AsString(r);
+ #endif
+     ss << d;
+ 



More information about the arch-commits mailing list