...
 
Commits (3)
......@@ -11,15 +11,6 @@ Build-Depends: debhelper (>= 10),
libqt5svg5,
libqt5widgets5,
libqt5xml5,
python-all,
python-astropy,
python-h5py,
python-pyqt5,
python-pyqt5.qtsvg,
python-setuptools,
python-all-dev,
python-numpy,
python-sip-dev,
python3-all,
python3-astropy,
python3-h5py,
......@@ -44,48 +35,17 @@ Homepage: https://veusz.github.io/
Package: veusz
Architecture: all
Depends: python3-veusz (>= ${source:Version}),
veusz-data (>= ${source:Version}),
${misc:Depends},
${python3:Depends}
Description: 2D and 3D scientific plotting application with graphical interface
Veusz is a 2D and 3D scientific plotting and graphing package, designed
to produce publication-ready PDF, SVG, Postscript and bitmap output.
Veusz provides a GUI, command line and scripting interface (based on
Python) to its plotting facilities. The plots are built using an
object-based system to provide a consistent interface.
Veusz is a 2D and 3D scientific plotting and graphing package,
designed to produce publication-ready PDF, SVG, Postscript and bitmap
output. Veusz provides a GUI, command line and scripting interface
(based on Python) to its plotting facilities. The plots are built
using an object-based system to provide a consistent interface.
.
This package includes the main executable, documentation and examples.
Package: veusz-data
Architecture: all
Depends: ${misc:Depends}
Description: data files used by Veusz
The common data files shared by the Python2 and Python3 versions of the
Veusz scientific plotting package.
Package: python-veusz
Architecture: all
Section: python
Depends: python-numpy,
python-pyqt5,
python-pyqt5.qtsvg,
python-veusz.helpers (>= ${source:Version}),
veusz-data (>= ${source:Version}),
${misc:Depends},
${python:Depends}
Suggests: ghostscript,
python-astropy,
python-dbus,
python-h5py
Description: 2D and 3D scientific plotting application with graphical
interface Veusz is a 2D and 3D scientific plotting and graphing
package, designed to produce publication-ready PDF, SVG, Postscript
and bitmap output. Veusz provides a GUI, command line and scripting
interface (based on Python) to its plotting facilities. The plots are
built using an object-based system to provide a consistent interface.
.
This package includes the Python module for Python 2.
Package: python3-veusz
Architecture: all
Section: python
......@@ -93,36 +53,20 @@ Depends: python3-numpy,
python3-pyqt5,
python3-pyqt5.qtsvg,
python3-veusz.helpers (>= ${source:Version}),
veusz-data (>= ${source:Version}),
${misc:Depends},
${python3:Depends}
Suggests: ghostscript,
python3-astropy,
python3-dbus,
python3-h5py
Description: 2D and 3D scientific plotting application with graphical
interface Veusz is a 2D and 3D scientific plotting and graphing
package, designed to produce publication-ready PDF, SVG, Postscript
and bitmap output. Veusz provides a GUI, command line and scripting
interface (based on Python) to its plotting facilities. The plots are
built using an object-based system to provide a consistent interface.
Description: 2D and 3D scientific plotting application with graphical interface
Veusz is a 2D and 3D scientific plotting and graphing package,
designed to produce publication-ready PDF, SVG, Postscript and bitmap
output. Veusz provides a GUI, command line and scripting interface
(based on Python) to its plotting facilities. The plots are built
using an object-based system to provide a consistent interface.
.
This package includes the Python module for Python 3.
Package: python-veusz.helpers
Architecture: any
Section: python
Depends: python-numpy,
python-pyqt5,
${misc:Depends},
${python:Depends},
${shlibs:Depends},
${sip:Depends}
Suggests: python-veusz (= ${source:Version})
Breaks: python-veusz (<< ${source:Version})
Description: architecture-specific extension for Veusz (Python2)
This package contains the Python2 architecture specific extension for Veusz,
a scientific plotting package.
This package includes the Python 3 plotting module.
Package: python3-veusz.helpers
Architecture: any
......@@ -135,6 +79,12 @@ Depends: python3-numpy,
${sip3:Depends}
Suggests: python3-veusz (= ${source:Version})
Breaks: python3-veusz (<< ${source:Version})
Description: architecture-specific extension for Veusz (Python3)
This package contains the Python3 architecture specific extension for Veusz,
a scientific plotting package.
Description: 2D and 3D scientific plotting application with graphical interface
Veusz is a 2D and 3D scientific plotting and graphing package,
designed to produce publication-ready PDF, SVG, Postscript and bitmap
output. Veusz provides a GUI, command line and scripting interface
(based on Python) to its plotting facilities. The plots are built
using an object-based system to provide a consistent interface.
.
This package includes the architecture-specific parts of the Python 3 plotting
module.
usr/lib/python2*/*-packages/veusz/helpers/*[!_][!d].so
usr/lib/python2*/*-packages/veusz/*.py
usr/lib/python2*/*-packages/veusz/*/*.py
usr/lib/python2*/*-packages/veusz-*.egg-info/*
usr/lib/python3*/*-packages/veusz/*.py
usr/lib/python3*/*-packages/veusz/*/*.py
usr/lib/python3*/*-packages/veusz-*.egg-info/*
usr/share/veusz
......@@ -6,21 +6,20 @@ export LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
# Get the supported Python versions
PY3VERS = $(shell py3versions -r -v)
PYVERS = $(shell pyversions -r -v)
# Callable functions to determine the correct PYTHONPATH
# (pyinstaller moved from pythonX.Y ->cpython[23] - this is for compatibility)
pythonpath = $$(ls -d $(CURDIR)/.pybuild/pythonX.Y_$(1)/build \
$(CURDIR)/.pybuild/cpython[23]_$(1)/build)
$(CURDIR)/.pybuild/cpython3_$(1)/build)
# examples are not installed, and scripts are only installed by python3
install_args = --veusz-resource-dir=debian/tmp/usr/share/veusz --disable-install-examples
export PYBUILD_INSTALL_ARGS_python2 = --install-scripts=/dev/null $(install_args)
export PYBUILD_INSTALL_ARGS_python3 = $(install_args)
# examples are not installed, but included manually in package
export PYBUILD_INSTALL_ARGS = \
--veusz-resource-dir=debian/tmp/usr/share/veusz \
--disable-install-examples
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
......@@ -40,22 +39,19 @@ override_dh_auto_install:
dh_auto_install
# veusz follows symlink to find its resources
for py in $(PYVERS); do \
dh_link -ppython-veusz usr/share/veusz usr/lib/python$${py}/dist-packages/veusz/resources; \
done
for py in $(PY3VERS); do \
dh_link -ppython3-veusz usr/share/veusz usr/lib/python$${py}/dist-packages/veusz/resources; \
done
# COPYING is symlinked in veusz package
rm -f debian/tmp/usr/share/veusz/COPYING
dh_numpy
dh_numpy3
dh_sip
dh_sip3
override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
set -e -x;\
for py in $(PYVERS) $(PY3VERS); do \
for py in $(PY3VERS); do \
PYTHONPATH=$(call pythonpath,$$py) \
VEUSZ_RESOURCE_DIR=. \
xvfb-run -a \
......@@ -66,7 +62,7 @@ endif
override_dh_compress:
# don't compress Veusz example files
dh_compress -X.vsz
dh_compress -X.vsz -X.csv
override_dh_clean: delete_generated
dh_clean
......
usr/share/common-licenses/GPL-2 usr/share/veusz/COPYING
......@@ -5,3 +5,4 @@ usr/share/veusz/icons/veusz_64.png usr/share/icons/hicolor/64x64/apps/veusz.png
usr/share/veusz/icons/veusz_128.png usr/share/icons/hicolor/128x128/apps/veusz.png
usr/share/veusz/icons/veusz.svg usr/share/icons/hicolor/scalable/apps/veusz.svg
usr/share/doc/veusz/examples usr/share/veusz/examples
usr/share/common-licenses/GPL-2 usr/share/veusz/COPYING