Package: pycuda / 2022.2.2~dfsg-2

Metadata

Package Version Patches format
pycuda 2022.2.2~dfsg-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
import sphinxconfig.patch | (download)

doc/conf.py | 3 2 + 1 - 0 !
doc/sphinxconfig.py | 79 79 + 0 - 0 !
2 files changed, 81 insertions(+), 1 deletion(-)

 import sphinxconfig.py for offline usage
 the sphinx config was moved by upstream to
 https://raw.githubusercontent.com/inducer/sphinxconfig/main/sphinxconfig.py
 and is retrieved at build time
 .
 import it back into the package s.t.
 - the package can be built without requiring network access
 - the sphinx config can be patched
hardening.patch | (download)

aksetup_helper.py | 2 1 + 1 - 0 !
setup.py | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 disable optimisation flags
 PyCUDA manages its own CXXFLAGS which enable optimisation and disable
 debug options. This patch disables setting of default optimisation levels
 as this might conflict with hardening and DEB_BUILD_OPTIONS.
python versions.patch | (download)

setup.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 change option providing name of python boost library
 Package needs libboost-python and name of linked library depends on Python
 version. To build for all supported Python version we need to get used
 Python version and include it into name of linked library.
fix setup.patch | (download)

Makefile.in | 1 1 + 0 - 0 !
aksetup_helper.py | 39 0 + 39 - 0 !
2 files changed, 1 insertion(+), 39 deletions(-)

 disable tests during setup
 Do not check for presence of shipped Boost and presence of configuration files
 during building of package. Clean compiled files and configuration.
docs.patch | (download)

doc/conf.py | 11 9 + 2 - 0 !
1 file changed, 9 insertions(+), 2 deletions(-)

 use debian packages for external documentation
 Do not fetch external Sphinx inventory but use one from Debian packages.
 .
 Documentation tries to download MathJax from the network. This might be
 a privacy breach and makes it hard to use documentation in offline mode.
 This patch forces Sphinx to use MathJax from (other) package.
python3.patch | (download)

setup.py | 2 1 + 1 - 0 !
test/test_gpuarray.py | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 run scripts under python 3
 Ensure that setup.py and configure.py uses Python 3 for running.