regina 7.3.1__cp312-cp312-macosx_11_0_arm64.whl → 7.3.1.1__cp312-cp312-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of regina might be problematic. Click here for more details.
- regina/engine.cpython-312-darwin.so +0 -0
- regina/sageRegina/config.py +1 -1
- regina/sageRegina/testsuite/CMakeLists.txt +30 -1
- regina/sageRegina/testsuite/basic_callback.out +124 -0
- regina/sageRegina/testsuite/basic_sub.out +7 -0
- regina/sageRegina/testsuite/docstrings.filter +9 -4
- regina/sageRegina/testsuite/docstrings.out +224 -226
- regina/sageRegina/testsuite/docstrings.out.v2 +808 -0
- regina/sageRegina/testsuite/iterators.out +34 -0
- regina/sageRegina/testsuite/iterators.test +17 -2
- regina/sageRegina/testsuite/repr.out +4 -0
- regina/sageRegina/testsuite/repr.out.v2 +951 -0
- regina/sageRegina/testsuite/repr.test +1 -0
- regina/sageRegina/testsuite/testall.in +9 -0
- regina/sageRegina/testsuite/testbasic.in +11 -1
- regina/sageRegina/testsuite/testcallback.in +150 -0
- regina/sageRegina/testsuite/testsub.in +150 -0
- regina/sageRegina/version.py +2 -2
- {regina-7.3.1.dist-info → regina-7.3.1.1.dist-info}/METADATA +14 -5
- {regina-7.3.1.dist-info → regina-7.3.1.1.dist-info}/RECORD +22 -17
- {regina-7.3.1.dist-info → regina-7.3.1.1.dist-info}/WHEEL +2 -1
- regina/sageRegina/testsuite/basic.cpp +0 -229
- {regina-7.3.1.dist-info → regina-7.3.1.1.dist-info}/top_level.txt +0 -0
|
Binary file
|
regina/sageRegina/config.py
CHANGED
|
@@ -4,6 +4,6 @@ tokyocabinet_dir = 'tokyocabinet-1.4.48'
|
|
|
4
4
|
libxml_uri = 'http://xmlsoft.org/sources/libxml2-2.9.3.tar.gz'
|
|
5
5
|
libxml_dir = 'libxml2-2.9.3'
|
|
6
6
|
|
|
7
|
-
regina_hash = '
|
|
7
|
+
regina_hash = '979c943023' # 7.3.1
|
|
8
8
|
regina_uri = 'https://github.com/regina-normal/regina.git'
|
|
9
9
|
regina_dir = 'regina_%s' % regina_hash
|
|
@@ -9,8 +9,18 @@ CONFIGURE_FILE(
|
|
|
9
9
|
"${PROJECT_BINARY_DIR}/python/testsuite/testbasic"
|
|
10
10
|
@ONLY
|
|
11
11
|
)
|
|
12
|
+
CONFIGURE_FILE(
|
|
13
|
+
testsub.in
|
|
14
|
+
"${PROJECT_BINARY_DIR}/python/testsuite/testsub"
|
|
15
|
+
@ONLY
|
|
16
|
+
)
|
|
17
|
+
CONFIGURE_FILE(
|
|
18
|
+
testcallback.in
|
|
19
|
+
"${PROJECT_BINARY_DIR}/python/testsuite/testcallback"
|
|
20
|
+
@ONLY
|
|
21
|
+
)
|
|
12
22
|
|
|
13
|
-
# A very basic interpreter to use for testing:
|
|
23
|
+
# A very basic interpreter (and related code) to use for testing:
|
|
14
24
|
INCLUDE_DIRECTORIES(${Python_INCLUDE_DIRS} ${ENGINE_INCLUDES} "${PROJECT_BINARY_DIR}/engine")
|
|
15
25
|
ADD_COMPILE_DEFINITIONS(REGINA_PYTHON_USE_PYTHONPATH=1)
|
|
16
26
|
ADD_LINK_OPTIONS(${Python_LINK_OPTIONS})
|
|
@@ -19,13 +29,32 @@ add_executable(basic
|
|
|
19
29
|
../gui/pythoninterpreter.cpp
|
|
20
30
|
../gui/pythonoutputstream.cpp)
|
|
21
31
|
target_link_libraries(basic ${ENGINE_LIBRARY} ${Python_LIBRARIES})
|
|
32
|
+
add_executable(basic_alltypes
|
|
33
|
+
basic_alltypes.cpp
|
|
34
|
+
../gui/pythoninterpreter.cpp
|
|
35
|
+
../gui/pythonoutputstream.cpp)
|
|
36
|
+
target_link_libraries(basic_alltypes ${ENGINE_LIBRARY} ${Python_LIBRARIES})
|
|
37
|
+
add_executable(basic_sub
|
|
38
|
+
basic_sub.cpp
|
|
39
|
+
../gui/pythoninterpreter.cpp
|
|
40
|
+
../gui/pythonoutputstream.cpp)
|
|
41
|
+
target_link_libraries(basic_sub ${ENGINE_LIBRARY} ${Python_LIBRARIES})
|
|
42
|
+
add_executable(basic_callback
|
|
43
|
+
basic_callback.cpp
|
|
44
|
+
../gui/pythoninterpreter.cpp
|
|
45
|
+
../gui/pythonoutputstream.cpp)
|
|
46
|
+
target_link_libraries(basic_callback ${ENGINE_LIBRARY} ${Python_LIBRARIES})
|
|
22
47
|
|
|
23
48
|
IF (WIN32)
|
|
24
49
|
ADD_TEST(python-test bash testall)
|
|
25
50
|
ADD_TEST(python-basic bash testbasic)
|
|
51
|
+
ADD_TEST(python-sub bash testsub)
|
|
52
|
+
ADD_TEST(python-callback bash testcallback)
|
|
26
53
|
# We do not need to add the engine DLL location to the path, since
|
|
27
54
|
# regina-python (used in testall) and testbasic (directly) do this for us.
|
|
28
55
|
ELSE (WIN32)
|
|
29
56
|
ADD_TEST(python-test ./testall)
|
|
30
57
|
ADD_TEST(python-basic ./testbasic)
|
|
58
|
+
ADD_TEST(python-sub ./testsub)
|
|
59
|
+
ADD_TEST(python-callback ./testcallback)
|
|
31
60
|
ENDIF (WIN32)
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
Embedded, vertex surfaces
|
|
2
|
+
Coordinates: Standard normal (tri-quad)
|
|
3
|
+
Number of surfaces is 7
|
|
4
|
+
0 1 0 1 ; 0 1 0 || 0 0 1 1 ; 1 0 0 || 1 0 1 0 ; 0 1 0 || 0 1 0 1 ; 0 1 0 || 1 1 0 0 ; 1 0 0
|
|
5
|
+
1 1 0 0 ; 1 0 0 || 1 0 0 1 ; 0 0 1 || 1 0 0 1 ; 0 0 1 || 0 1 1 0 ; 0 0 1 || 0 0 1 1 ; 1 0 0
|
|
6
|
+
0 0 1 1 ; 1 0 0 || 0 1 0 1 ; 0 1 0 || 0 1 0 1 ; 0 1 0 || 1 1 0 0 ; 1 0 0 || 1 0 1 0 ; 0 1 0
|
|
7
|
+
0 1 1 0 ; 0 0 1 || 0 1 1 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 0 0 || 1 1 1 1 ; 0 0 0 || 1 1 1 1 ; 0 0 0 || 1 1 1 1 ; 0 0 0 || 1 1 1 1 ; 0 0 0
|
|
77
|
+
|
|
78
|
+
Embedded, vertex surfaces
|
|
79
|
+
Coordinates: Standard normal (tri-quad)
|
|
80
|
+
Number of surfaces is 7
|
|
81
|
+
0 1 0 1 ; 0 1 0 || 0 0 1 1 ; 1 0 0 || 1 0 1 0 ; 0 1 0 || 0 1 0 1 ; 0 1 0 || 1 1 0 0 ; 1 0 0
|
|
82
|
+
1 1 0 0 ; 1 0 0 || 1 0 0 1 ; 0 0 1 || 1 0 0 1 ; 0 0 1 || 0 1 1 0 ; 0 0 1 || 0 0 1 1 ; 1 0 0
|
|
83
|
+
0 0 1 1 ; 1 0 0 || 0 1 0 1 ; 0 1 0 || 0 1 0 1 ; 0 1 0 || 1 1 0 0 ; 1 0 0 || 1 0 1 0 ; 0 1 0
|
|
84
|
+
0 1 1 0 ; 0 0 1 || 0 1 1 0 ; 0 0 1 || 1 1 0 0 ; 1 0 0 || 1 0 1 0 ; 0 1 0 || 0 1 0 1 ; 0 1 0
|
|
85
|
+
1 0 0 1 ; 0 0 1 || 1 1 0 0 ; 1 0 0 || 0 1 1 0 ; 0 0 1 || 0 0 1 1 ; 1 0 0 || 1 0 0 1 ; 0 0 1
|
|
86
|
+
1 0 1 0 ; 0 1 0 || 1 0 1 0 ; 0 1 0 || 0 0 1 1 ; 1 0 0 || 1 0 0 1 ; 0 0 1 || 0 1 1 0 ; 0 0 1
|
|
87
|
+
1 1 1 1 ; 0 0 0 || 1 1 1 1 ; 0 0 0 || 1 1 1 1 ; 0 0 0 || 1 1 1 1 ; 0 0 0 || 1 1 1 1 ; 0 0 0
|
|
88
|
+
|
|
89
|
+
Embedded, vertex surfaces
|
|
90
|
+
Coordinates: Standard normal (tri-quad)
|
|
91
|
+
Number of surfaces is 7
|
|
92
|
+
0 0 1 1 ; 1 0 0 || 0 1 0 1 ; 0 1 0 || 0 1 0 1 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1,19 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
-
# This filter adjusts the names of pybind11 local
|
|
4
|
+
# This filter adjusts the names of pybind11 local modules so that
|
|
5
5
|
# they are independent of the C++ compiler that was used.
|
|
6
6
|
#
|
|
7
7
|
# It also makes tweaks to account for differences in help() output between
|
|
8
|
-
# Python 3.6 vs 3.8 and above (I'm not sure which way Python 3.7 goes)
|
|
8
|
+
# Python 3.6 vs 3.8 and above (I'm not sure which way Python 3.7 goes),
|
|
9
|
+
# to account for the different ways that trailing whitespace is handled in
|
|
10
|
+
# Python <= 3.11 vs >= 3.12, and to account for the differerent ways that
|
|
11
|
+
# the pybind11_object constructor is handled in Python <= 3.11 vs >= 3.12.
|
|
9
12
|
#
|
|
10
13
|
# Note that BSD sed does not support \+, which is why we use \{1,\} instead.
|
|
11
14
|
# BSD sed also seems to have issues with \s and \S, so we avoid them too.
|
|
12
15
|
|
|
13
|
-
sed -e 's#\( \)__pybind11_module_local_\([a-zA-Z0-9_-]\{1,\}\) =
|
|
14
|
-
-e 's#\( \)Methods\( inherited from pybind11_object:\)$#\1Static methods\2#'
|
|
16
|
+
sed -e 's#\( \)__pybind11_module_local_\([a-zA-Z0-9_-]\{1,\}\) = .*\.\.\.#\1__pybind11_module_local__ = ...#' \
|
|
17
|
+
-e 's#\( \)Methods\( inherited from pybind11_builtins\.pybind11_object:\)$#\1Static methods\2#' \
|
|
18
|
+
-e 's# \{1,\}$##' \
|
|
19
|
+
-e 's# class method of pybind11_builtins\.pybind11_object# from pybind11_builtins\.pybind11_type#'
|