Skip to content
Commits on Source (2)
cftime (1.0.3.4-3) unstable; urgency=medium
* Drop Python 2 support.
-- Bas Couwenberg <sebastic@debian.org> Tue, 20 Aug 2019 21:19:47 +0200
cftime (1.0.3.4-2) unstable; urgency=medium
* Bump Standards-Version to 4.4.0, no changes.
......
......@@ -5,33 +5,16 @@ Section: science
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
python-all-dev (>= 2.6.6-3~),
python-setuptools,
python-numpy,
python-pytest,
python3-all-dev,
python3-setuptools,
python3-numpy,
python3-pytest,
cython,
cython3,
cython3
Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/debian-gis-team/cftime/
Vcs-Git: https://salsa.debian.org/debian-gis-team/cftime.git
Homepage: http://unidata.github.io/cftime/
Package: python-cftime
Architecture: any
Section: python
Depends: ${python:Depends},
${shlibs:Depends},
${misc:Depends}
Description: Time-handling functionality from netcdf4-python (Python 2)
Python library for decoding time units and variable values in a netCDF file
conforming to the Climate and Forecasting (CF) netCDF conventions.
.
This package contains the cftime module for Python 2.
Package: python3-cftime
Architecture: any
Section: python
......
# Cannot easily be fixed
file-references-package-build-path *
......@@ -9,17 +9,13 @@ export PYBUILD_NAME=cftime
export PYBUILD_TEST_PYTEST=1
%:
dh $@ --with python2,python3 --buildsystem=pybuild --parallel
dh $@ --with python3 --buildsystem=pybuild --parallel
override_dh_install:
dh_install --list-missing
$(RM) debian/*/usr/lib/python*/dist-packages/.coverage
override_dh_python2:
dh_python2 -ppython-cftime
dh_numpy -ppython-cftime
override_dh_python3:
dh_python3 -ppython3-cftime
dh_numpy3 -ppython3-cftime