Commit 4b5f61d2 authored by Sandro Tosi's avatar Sandro Tosi

add setuptools to b-d

parent b6c97099
...@@ -7,8 +7,10 @@ basemap (1.2.0+dfsg-1) UNRELEASED; urgency=medium ...@@ -7,8 +7,10 @@ basemap (1.2.0+dfsg-1) UNRELEASED; urgency=medium
- extend packaging copyright years - extend packaging copyright years
* debian/patches/* * debian/patches/*
- refresh patches - refresh patches
* debian/control
- add setuptool, six, pyshp, pyproj, matplotlib, netcdf4 to b-d
-- Sandro Tosi <morph@debian.org> Tue, 08 Jan 2019 19:30:28 -0500 -- Sandro Tosi <morph@debian.org> Wed, 09 Jan 2019 00:38:25 -0500
basemap (1.1.0+dfsg-3) unstable; urgency=medium basemap (1.1.0+dfsg-3) unstable; urgency=medium
......
...@@ -15,11 +15,15 @@ Build-Depends: ...@@ -15,11 +15,15 @@ Build-Depends:
python-dap, python-dap,
python-httplib2, python-httplib2,
python-matplotlib, python-matplotlib,
python3-matplotlib,
python-netcdf4, python-netcdf4,
python3-netcdf4,
python-numpy (>= 1:1.5.1-4), python-numpy (>= 1:1.5.1-4),
python-numpy-dbg, python-numpy-dbg,
python-pyproj, python-pyproj,
python3-pyproj,
python-pyshp, python-pyshp,
python3-pyshp,
python-sphinx (>= 1.0.7+dfsg), python-sphinx (>= 1.0.7+dfsg),
python-tk, python-tk,
python3-all, python3-all,
...@@ -27,6 +31,10 @@ Build-Depends: ...@@ -27,6 +31,10 @@ Build-Depends:
python3-all-dev, python3-all-dev,
python3-numpy, python3-numpy,
python3-numpy-dbg, python3-numpy-dbg,
python-setuptools,
python3-setuptools,
python-six,
python3-six,
Standards-Version: 4.2.1 Standards-Version: 4.2.1
Homepage: http://matplotlib.org/basemap/ Homepage: http://matplotlib.org/basemap/
Vcs-Git: https://salsa.debian.org/python-team/modules/basemap.git Vcs-Git: https://salsa.debian.org/python-team/modules/basemap.git
......
...@@ -11,14 +11,18 @@ override_dh_auto_install: ...@@ -11,14 +11,18 @@ override_dh_auto_install:
set -e ; \ set -e ; \
cython3 -2 src/*pyx; \ cython3 -2 src/*pyx; \
for python in $(PY2VERS); do \ for python in $(PY2VERS); do \
$$python setup.py install --prefix $(CURDIR)/debian/python-mpltoolkits.basemap/usr --install-layout=deb; \ mkdir -p $(CURDIR)/debian/python-mpltoolkits.basemap/usr/lib/python2.7/dist-packages ; \
$$python-dbg setup.py install --prefix $(CURDIR)/debian/python-mpltoolkits.basemap-dbg/usr --install-layout=deb; \ PYTHONPATH=$(CURDIR)/debian/python-mpltoolkits.basemap/usr/lib/python2.7/dist-packages $$python setup.py install --prefix $(CURDIR)/debian/python-mpltoolkits.basemap/usr --install-layout=deb; \
mkdir -p $(CURDIR)/debian/python-mpltoolkits.basemap-dbg/usr/lib/python2.7/dist-packages ; \
PYTHONPATH=$(CURDIR)/debian/python-mpltoolkits.basemap-dbg/usr/lib/python2.7/dist-packages $$python-dbg setup.py install --prefix $(CURDIR)/debian/python-mpltoolkits.basemap-dbg/usr --install-layout=deb; \
done done
set -e ; \ set -e ; \
cython3 -3 src/*pyx; \ cython3 -3 src/*pyx; \
for python in $(PY3VERS); do \ for python in $(PY3VERS); do \
$$python setup.py install --prefix $(CURDIR)/debian/python3-mpltoolkits.basemap/usr --install-layout=deb; \ mkdir -p $(CURDIR)/debian/python3-mpltoolkits.basemap/usr/lib/python3/dist-packages ; \
$$python-dbg setup.py install --prefix $(CURDIR)/debian/python3-mpltoolkits.basemap-dbg/usr --install-layout=deb; \ PYTHONPATH=$(CURDIR)/debian/python3-mpltoolkits.basemap/usr/lib/python3/dist-packages $$python setup.py install --prefix $(CURDIR)/debian/python3-mpltoolkits.basemap/usr --install-layout=deb; \
mkdir -p $(CURDIR)/debian/python3-mpltoolkits.basemap-dbg/usr/lib/python3/dist-packages ; \
PYTHONPATH=$(CURDIR)/debian/python3-mpltoolkits.basemap-dbg/usr/lib/python3/dist-packages $$python-dbg setup.py install --prefix $(CURDIR)/debian/python3-mpltoolkits.basemap-dbg/usr --install-layout=deb; \
done done
dh_numpy dh_numpy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment