[Git][debian-gis-team/python-osmapi][master] 2 commits: Drop Python 2 support.

Bas Couwenberg gitlab at salsa.debian.org
Sun Jul 21 09:37:27 BST 2019



Bas Couwenberg pushed to branch master at Debian GIS Project / python-osmapi


Commits:
8dd9ae03 by Bas Couwenberg at 2019-07-21T08:33:54Z
Drop Python 2 support.

- - - - -
ab6ec23f by Bas Couwenberg at 2019-07-21T08:33:54Z
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,10 @@
-python-osmapi (1.2.2-3) UNRELEASED; urgency=medium
+python-osmapi (1.2.2-3) unstable; urgency=medium
 
   * Update gbp.conf to use --source-only-changes by default.
   * Bump Standards-Version to 4.4.0, no changes.
+  * Drop Python 2 support.
 
- -- Bas Couwenberg <sebastic at debian.org>  Sun, 07 Jul 2019 09:59:48 +0200
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 21 Jul 2019 10:29:40 +0200
 
 python-osmapi (1.2.2-2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -6,40 +6,19 @@ Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python,
-               python-all,
                python3-all,
-               python-setuptools,
                python3-setuptools,
-               python-flake8,
                python3-flake8,
-               python-nose,
                python3-nose,
-               python-mock,
                python3-mock,
-               python-requests,
                python3-requests,
-               python-xmltodict,
+               python3-xmltodict,
                tox
 Standards-Version: 4.4.0
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/python-osmapi
 Vcs-Git: https://salsa.debian.org/debian-gis-team/python-osmapi.git
 Homepage: https://wiki.openstreetmap.org/wiki/Osmapi
 
-Package: python-osmapi
-Architecture: all
-Depends: python-requests,
-         ${python:Depends},
-         ${misc:Depends}
-Description: Python interface to OpenStreetMap API
- This package contains a Python module implementing the OpenStreetMap
- API (version 0.6). The module allows access the OSM database, and
- provides full featured manipulation of data using Python. Please note
- that scripted imports and automated edits should only be carried out by
- those with experience and understanding of the way the OpenStreetMap
- community create maps, and only with careful planning and consultation.
- .
- This is the Python 2 version of the library.
-
 Package: python3-osmapi
 Architecture: all
 Depends: python3-requests,


=====================================
debian/rules
=====================================
@@ -3,12 +3,12 @@
 export PYBUILD_NAME=osmapi
 
 %:
-	dh $@ --with python2,python3 --buildsystem pybuild
+	dh $@ --with python3 --buildsystem pybuild
 
 override_dh_auto_test:
 	# run tests
 	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="nosetests --verbose" dh_auto_test
+	PYBUILD_TEST_ARGS="nosetests3 --verbose" dh_auto_test
 
 override_dh_installchangelogs:
 	dh_installchangelogs CHANGELOG.md



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-osmapi/compare/ffcd9e38f825b587e9b3e39b10bbeb1c30b9ecff...ab6ec23f40486c41f1bfe7d7e797c2347fb866a6

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-osmapi/compare/ffcd9e38f825b587e9b3e39b10bbeb1c30b9ecff...ab6ec23f40486c41f1bfe7d7e797c2347fb866a6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190721/3868cfa8/attachment-0001.html>


More information about the Pkg-grass-devel mailing list