...
 
Commits (2)
image: registry.gitlab.com/eighthave/ci-image-git-buildpackage:latest
build:
artifacts:
paths:
- "*.deb"
expire_in: 1 day
script:
- cp ../*.deb . # copy it into place to be saved as an artifact
- autopkgtest ../*.changes -- null
...@@ -12,34 +12,22 @@ Build-Depends: debhelper (>= 10), ...@@ -12,34 +12,22 @@ Build-Depends: debhelper (>= 10),
libqt5widgets5, libqt5widgets5,
libqt5xml5, libqt5xml5,
python-all, python-all,
python-all-dbg,
python-astropy, python-astropy,
python-h5py, python-h5py,
python-h5py-dbg,
python-pyqt5, python-pyqt5,
python-pyqt5.qtsvg, python-pyqt5.qtsvg,
python-pyqt5.qtsvg-dbg,
python-setuptools, python-setuptools,
python-all-dev, python-all-dev,
python-numpy, python-numpy,
python-numpy-dbg,
python-pyqt5-dbg,
python-sip-dbg,
python-sip-dev, python-sip-dev,
python3-all, python3-all,
python3-all-dbg,
python3-astropy, python3-astropy,
python3-h5py, python3-h5py,
python3-h5py-dbg,
python3-pyqt5, python3-pyqt5,
python3-pyqt5.qtsvg, python3-pyqt5.qtsvg,
python3-pyqt5.qtsvg-dbg,
python3-setuptools, python3-setuptools,
python3-all-dev, python3-all-dev,
python3-numpy, python3-numpy,
python3-numpy-dbg,
python3-pyqt5-dbg,
python3-sip-dbg,
python3-sip-dev, python3-sip-dev,
python3-sphinx, python3-sphinx,
pyqt5-dev, pyqt5-dev,
...@@ -150,33 +138,3 @@ Breaks: python3-veusz (<< ${source:Version}) ...@@ -150,33 +138,3 @@ Breaks: python3-veusz (<< ${source:Version})
Description: architecture-specific extension for Veusz (Python3) Description: architecture-specific extension for Veusz (Python3)
This package contains the Python3 architecture specific extension for Veusz, This package contains the Python3 architecture specific extension for Veusz,
a scientific plotting package. a scientific plotting package.
Package: python-veusz.helpers-dbg
Architecture: any
Section: debug
Depends: python-veusz.helpers (= ${binary:Version}),
${misc:Depends},
${python:Depends},
${shlibs:Depends},
${sip:Depends}
Recommends: python-dbg,
python-numpy-dbg,
python-pyqt5-dbg
Description: architecture-specific extension for Veusz (Python2 debug)
This package contains the Python2 architecture-specific debug information
for Veusz, a scientific plotting package.
Package: python3-veusz.helpers-dbg
Architecture: any
Section: debug
Depends: python3-veusz.helpers (= ${binary:Version}),
${misc:Depends},
${python3:Depends},
${shlibs:Depends},
${sip3:Depends}
Recommends: python3-dbg,
python3-numpy-dbg,
python3-pyqt5-dbg
Description: architecture-specific extension for Veusz (Python3 debug)
This package contains the Python3 architecture-specific debug information
for Veusz, a scientific plotting package.
usr/lib/python2*/*-packages/veusz/helpers/*_d.so
usr/lib/python3*/*-packages/veusz/helpers/*.cpython-*dm-*.so
...@@ -12,16 +12,11 @@ PYVERS = $(shell pyversions -r -v) ...@@ -12,16 +12,11 @@ PYVERS = $(shell pyversions -r -v)
# (pyinstaller moved from pythonX.Y ->cpython[23] - this is for compatibility) # (pyinstaller moved from pythonX.Y ->cpython[23] - this is for compatibility)
pythonpath = $$(ls -d $(CURDIR)/.pybuild/pythonX.Y_$(1)/build \ pythonpath = $$(ls -d $(CURDIR)/.pybuild/pythonX.Y_$(1)/build \
$(CURDIR)/.pybuild/cpython[23]_$(1)/build) $(CURDIR)/.pybuild/cpython[23]_$(1)/build)
pythonpath_dbg = $$(ls -d $(CURDIR)/.pybuild/pythonX.Y-dbg_$(1)/build \
$(CURDIR)/.pybuild/cpython[23]_""$(1)""_dbg/build)
# examples are not installed, and scripts are only installed by python3 # examples are not installed, and scripts are only installed by python3
install_args = --veusz-resource-dir=debian/tmp/usr/share/veusz --disable-install-examples 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_python2 = --install-scripts=/dev/null $(install_args)
export PYBUILD_INSTALL_ARGS_python2-dbg = --install-scripts=/dev/null $(install_args)
export PYBUILD_INSTALL_ARGS_python3 = $(install_args) export PYBUILD_INSTALL_ARGS_python3 = $(install_args)
export PYBUILD_INSTALL_ARGS_python3-dbg = --install-scripts=/dev/null $(install_args)
export DEB_BUILD_MAINT_OPTIONS=hardening=+all export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%: %:
...@@ -66,18 +61,9 @@ ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) ...@@ -66,18 +61,9 @@ ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
xvfb-run -a \ xvfb-run -a \
--server-args "-screen 0 640x480x24" \ --server-args "-screen 0 640x480x24" \
python$$py tests/runselftest.py ;\ python$$py tests/runselftest.py ;\
PYTHONPATH=$(call pythonpath_dbg,$$py) \
VEUSZ_RESOURCE_DIR=. \
xvfb-run -a \
--server-args "-screen 0 640x480x24" \
python$$py-dbg tests/runselftest.py ;\
done done
endif endif
override_dh_strip:
dh_strip -ppython-veusz.helpers --dbg-package=python-veusz.helpers-dbg
dh_strip -ppython3-veusz.helpers --dbg-package=python3-veusz.helpers-dbg
override_dh_compress: override_dh_compress:
# don't compress Veusz example files # don't compress Veusz example files
dh_compress -X.vsz dh_compress -X.vsz
......