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

dreieck commented on 2025-01-11 15:59 (UTC)

If possible, please remove the dependency on python-furure/ make the package working without python-future:

WARNING: python-future package is not compatible with Python 3.13

The python-future project was created in 2013 to attempt to save Python from the schism of version incompatibility that was threatening to tear apart the language (as Perl 6 contributed to the death of Perl).

That time is now past. Thanks to a huge porting effort across the Python community, Python 3 eventually thrived. Python 2 reached its end of life in 2020 and the python-future package should no longer be necessary. Use it to help with porting legacy code to Python 3 but don’t depend on it for new code.

If you use packages that depend on it, please contact maintainers and/or upstream of these packages and try to work out whether this dependency is really needed.

Regards and thanks for this package!

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 }