Package Details: python-perspective 1.0.8-1

Git Clone URL: https://aur.archlinux.org/python-perspective.git (read-only, click to copy)
Package Base: python-perspective
Description: Python bindings and JupyterLab integration for Perspective
Upstream URL: https://pypi.org/project/perspective-python
Licenses: GPL
Submitter: specter119
Maintainer: specter119
Last Packager: specter119
Votes: 0
Popularity: 0.000000
First Submitted: 2021-08-15 10:50 (UTC)
Last Updated: 2021-12-24 13:01 (UTC)

Latest Comments

djp commented on 2024-07-01 16:33 (UTC)

For newest version (2.10.1) use the following patch (saved as package.patch)

diff --unified --show-c-function --unified --recursive --text a/perspective-python-2.10.1/dist/CMakeLists.txt b/perspective-python-2.10.1/dist/CMakeLists.txt
--- a/perspective-python-2.10.1/dist/CMakeLists.txt 2024-07-01 12:25:58.728039751 -0400
+++ b/perspective-python-2.10.1/dist/CMakeLists.txt 2024-07-01 12:26:51.087974949 -0400
@@ -3,8 +3,9 @@ project(psp)
 include(CheckCCompilerFlag)

 set(CMAKE_BUILD_TYPE "Release")
-set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD 20)
 set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DFLATBUFFERS_USE_STD_SPAN")

 # CMAKE POLICIES
 # option() should use new cmake behavior wrt variable clobbering
@@ -687,4 +688,4 @@ endif()

 if(NOT WIN32)
     include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
-endif()
\ No newline at end of file
+endif()

along with adding the proper prepare statement in the PKGBUILD:

prepare() {
    patch --strip=1 --input=package.patch
}