[arch-commits] Commit in python-pyarrow/repos/community-staging-x86_64 (4 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 02:01:35 UTC 2021


    Date: Friday, December 3, 2021 @ 02:01:35
  Author: felixonmars
Revision: 1064699

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pyarrow/repos/community-staging-x86_64/PKGBUILD
    (from rev 1064698, python-pyarrow/trunk/PKGBUILD)
  python-pyarrow/repos/community-staging-x86_64/tensorflow-abi.patch
    (from rev 1064698, python-pyarrow/trunk/tensorflow-abi.patch)
Deleted:
  python-pyarrow/repos/community-staging-x86_64/PKGBUILD
  python-pyarrow/repos/community-staging-x86_64/tensorflow-abi.patch

----------------------+
 PKGBUILD             |  146 ++++++++++++++++++++++++-------------------------
 tensorflow-abi.patch |   34 +++++------
 2 files changed, 90 insertions(+), 90 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-03 02:01:25 UTC (rev 1064698)
+++ PKGBUILD	2021-12-03 02:01:35 UTC (rev 1064699)
@@ -1,73 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
-
-_pkg=arrow
-pkgname=python-pyarrow
-pkgver=6.0.1
-pkgrel=2
-pkgdesc="Columnar in-memory analytics layer for big data — Python module."
-arch=(x86_64)
-url="https://arrow.apache.org"
-license=(Apache)
-depends=(arrow python-numpy)
-makedepends=(git cmake cython python-setuptools python-setuptools-scm)
-optdepends=(python-fsspec)
-checkdepends=(python-brotli python-cffi python-hypothesis python-pandas python-pytest python-pytest-lazy-fixture python-pytz)
-source=(https://downloads.apache.org/${_pkg}/${_pkg}-${pkgver}/apache-${_pkg}-${pkgver}.tar.gz{,.asc}
-        git+https://github.com/apache/arrow-testing.git
-        tensorflow-abi.patch)
-sha256sums=(3786b3d2df954d078b3e68f98d2e5aecbaa3fa2accf075d7a3a13c187b9c5294
-            SKIP
-            SKIP
-            d20e9cef6b18d3801a1ac1db50808631bec8097be58c194d6b036a5773e14958)
-validpgpkeys=(265F80AB84FE03127E14F01125BCCA5220D84079  # Krisztian Szucs (apache) <szucs.krisztian at gmail.com>
-              08D3564B7C6A9CAFBFF6A66791D18FCF079F8007) # Kouhei Sutou <kou at cozmixng.org>
-
-
-prepare(){
-  cd apache-${_pkg}-${pkgver}
-  patch -p1 < ../tensorflow-abi.patch
-}
-
-build(){
-  cd apache-${_pkg}-${pkgver}/python
-  ARROW_HOME=/usr \
-  PARQUET_HOME=/usr \
-  PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 \
-  PYARROW_BUNDLE_PLASMA_EXECUTABLE=0 \
-  PYARROW_WITH_HDFS=1 \
-  PYARROW_WITH_FLIGHT=1 \
-  PYARROW_WITH_DATASET=1 \
-  PYARROW_WITH_PARQUET=1 \
-  PYARROW_WITH_PLASMA=1 \
-  PYARROW_WITH_TENSORFLOW=1 \
-  PYARROW_WITH_ORC=1 \
-  python setup.py build_ext --inplace
-}
-
-check(){
-  cd apache-${_pkg}-${pkgver}/python
-  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-  ARROW_TEST_DATA="${srcdir}"/arrow-testing/data \
-  ARROW_HOME=/usr \
-  PARQUET_HOME=/usr \
-  pytest pyarrow/tests \
-    --deselect=pyarrow/tests/test_memory.py::test_env_var \
-    --deselect=pyarrow/tests/test_misc.py::test_get_include
-}
-
-package(){
-  cd apache-${_pkg}-${pkgver}/python
-  ARROW_HOME=/usr \
-  PARQUET_HOME=/usr \
-  PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 \
-  PYARROW_BUNDLE_PLASMA_EXECUTABLE=0 \
-  PYARROW_WITH_HDFS=1 \
-  PYARROW_WITH_FLIGHT=1 \
-  PYARROW_WITH_DATASET=1 \
-  PYARROW_WITH_PARQUET=1 \
-  PYARROW_WITH_PLASMA=1 \
-  PYARROW_WITH_TENSORFLOW=1 \
-  PYARROW_WITH_ORC=1 \
-  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-}

Copied: python-pyarrow/repos/community-staging-x86_64/PKGBUILD (from rev 1064698, python-pyarrow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-03 02:01:35 UTC (rev 1064699)
@@ -0,0 +1,73 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+_pkg=arrow
+pkgname=python-pyarrow
+pkgver=6.0.1
+pkgrel=3
+pkgdesc="Columnar in-memory analytics layer for big data — Python module."
+arch=(x86_64)
+url="https://arrow.apache.org"
+license=(Apache)
+depends=(arrow python-numpy)
+makedepends=(git cmake cython python-setuptools python-setuptools-scm)
+optdepends=(python-fsspec)
+checkdepends=(python-brotli python-cffi python-hypothesis python-pandas python-pytest python-pytest-lazy-fixture python-pytz)
+source=(https://downloads.apache.org/${_pkg}/${_pkg}-${pkgver}/apache-${_pkg}-${pkgver}.tar.gz{,.asc}
+        git+https://github.com/apache/arrow-testing.git
+        tensorflow-abi.patch)
+sha256sums=(3786b3d2df954d078b3e68f98d2e5aecbaa3fa2accf075d7a3a13c187b9c5294
+            SKIP
+            SKIP
+            d20e9cef6b18d3801a1ac1db50808631bec8097be58c194d6b036a5773e14958)
+validpgpkeys=(265F80AB84FE03127E14F01125BCCA5220D84079  # Krisztian Szucs (apache) <szucs.krisztian at gmail.com>
+              08D3564B7C6A9CAFBFF6A66791D18FCF079F8007) # Kouhei Sutou <kou at cozmixng.org>
+
+
+prepare(){
+  cd apache-${_pkg}-${pkgver}
+  patch -p1 < ../tensorflow-abi.patch
+}
+
+build(){
+  cd apache-${_pkg}-${pkgver}/python
+  ARROW_HOME=/usr \
+  PARQUET_HOME=/usr \
+  PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 \
+  PYARROW_BUNDLE_PLASMA_EXECUTABLE=0 \
+  PYARROW_WITH_HDFS=1 \
+  PYARROW_WITH_FLIGHT=1 \
+  PYARROW_WITH_DATASET=1 \
+  PYARROW_WITH_PARQUET=1 \
+  PYARROW_WITH_PLASMA=1 \
+  PYARROW_WITH_TENSORFLOW=1 \
+  PYARROW_WITH_ORC=1 \
+  python setup.py build_ext --inplace
+}
+
+check(){
+  cd apache-${_pkg}-${pkgver}/python
+  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  ARROW_TEST_DATA="${srcdir}"/arrow-testing/data \
+  ARROW_HOME=/usr \
+  PARQUET_HOME=/usr \
+  pytest pyarrow/tests \
+    --deselect=pyarrow/tests/test_memory.py::test_env_var \
+    --deselect=pyarrow/tests/test_misc.py::test_get_include
+}
+
+package(){
+  cd apache-${_pkg}-${pkgver}/python
+  ARROW_HOME=/usr \
+  PARQUET_HOME=/usr \
+  PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 \
+  PYARROW_BUNDLE_PLASMA_EXECUTABLE=0 \
+  PYARROW_WITH_HDFS=1 \
+  PYARROW_WITH_FLIGHT=1 \
+  PYARROW_WITH_DATASET=1 \
+  PYARROW_WITH_PARQUET=1 \
+  PYARROW_WITH_PLASMA=1 \
+  PYARROW_WITH_TENSORFLOW=1 \
+  PYARROW_WITH_ORC=1 \
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}

Deleted: tensorflow-abi.patch
===================================================================
--- tensorflow-abi.patch	2021-12-03 02:01:25 UTC (rev 1064698)
+++ tensorflow-abi.patch	2021-12-03 02:01:35 UTC (rev 1064699)
@@ -1,17 +0,0 @@
---- a/python/CMakeLists.txt
-+++ b/python/CMakeLists.txt
-@@ -191,10 +191,10 @@
- # where to put generated binaries
- set(EXECUTABLE_OUTPUT_PATH "${BUILD_OUTPUT_ROOT_DIRECTORY}")
- 
--if(PYARROW_USE_TENSORFLOW)
--  # TensorFlow uses the old GLIBCXX ABI, so we have to use it too
--  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
--endif()
-+#if(PYARROW_USE_TENSORFLOW)
-+  ## TensorFlow uses the old GLIBCXX ABI, so we have to use it too
-+  #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
-+#endif()
- 
- # Python and Numpy libraries
- find_package(Python3Alt REQUIRED)

Copied: python-pyarrow/repos/community-staging-x86_64/tensorflow-abi.patch (from rev 1064698, python-pyarrow/trunk/tensorflow-abi.patch)
===================================================================
--- tensorflow-abi.patch	                        (rev 0)
+++ tensorflow-abi.patch	2021-12-03 02:01:35 UTC (rev 1064699)
@@ -0,0 +1,17 @@
+--- a/python/CMakeLists.txt
++++ b/python/CMakeLists.txt
+@@ -191,10 +191,10 @@
+ # where to put generated binaries
+ set(EXECUTABLE_OUTPUT_PATH "${BUILD_OUTPUT_ROOT_DIRECTORY}")
+ 
+-if(PYARROW_USE_TENSORFLOW)
+-  # TensorFlow uses the old GLIBCXX ABI, so we have to use it too
+-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
+-endif()
++#if(PYARROW_USE_TENSORFLOW)
++  ## TensorFlow uses the old GLIBCXX ABI, so we have to use it too
++  #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0")
++#endif()
+ 
+ # Python and Numpy libraries
+ find_package(Python3Alt REQUIRED)



More information about the arch-commits mailing list