Control: tags 936762 + patch

Dear maintainer,

I've prepared an NMU for jdcal (versioned as 1.0-1.3). The diff
is attached to this message.

Consider maintaining this package with the DPMT

Regards.

diff -Nru jdcal-1.0/debian/changelog jdcal-1.0/debian/changelog
--- jdcal-1.0/debian/changelog	2017-09-24 21:15:10.000000000 -0400
+++ jdcal-1.0/debian/changelog	2020-02-02 15:10:30.000000000 -0500
@@ -1,3 +1,10 @@
+jdcal (1.0-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #936762
+
+ -- Sandro Tosi <mo...@debian.org>  Sun, 02 Feb 2020 15:10:30 -0500
+
 jdcal (1.0-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru jdcal-1.0/debian/control jdcal-1.0/debian/control
--- jdcal-1.0/debian/control	2017-09-24 21:15:10.000000000 -0400
+++ jdcal-1.0/debian/control	2020-02-02 15:09:56.000000000 -0500
@@ -2,24 +2,12 @@
 Section: python
 Priority: optional
 Maintainer: Yaroslav Halchenko <deb...@onerussian.com>
-Build-Depends: debhelper (>= 9), python, python3, dh-python
+Build-Depends: debhelper (>= 9), python3, dh-python
 Standards-Version: 3.9.6
 Homepage: https://github.com/phn/jdcal
 Vcs-Git: http://github.com/neurodebian/jdcal -b debian
 Vcs-Browser: http://github.com/neurodebian/jdcal
 
-Package: python-jdcal
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
-Description: Julian dates from proleptic Gregorian and Julian calendars
- This module contains functions for converting between Julian dates
- and calendar dates.
- .
- Different regions of the world switched to Gregorian calendar from
- Julian calendar on different dates. Having separate functions for
- Julian and Gregorian calendars allow maximum flexibility in choosing
- the relevant calendar.
-
 Package: python3-jdcal
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}
diff -Nru jdcal-1.0/debian/rules jdcal-1.0/debian/rules
--- jdcal-1.0/debian/rules	2014-12-10 00:49:59.000000000 -0500
+++ jdcal-1.0/debian/rules	2020-02-02 15:10:26.000000000 -0500
@@ -3,15 +3,6 @@
 # output every command that modifies files on the build system.
 #DH_VERBOSE = 1
 
-PYVERS = $(shell pyversions -vr)
-PY3VERS = $(shell py3versions -vr)
-
 # main packaging script based on dh7 syntax
 %:
-	dh $@ --with=python2,python3
-
-
-override_dh_auto_install: ${PYVERS:%=python-install%} ${PY3VERS:%=python-install%}
-python-install%:
-	echo "$*" | grep -q '^3' && PY=3 || PY= ; \
-        python$$PY setup.py install --install-layout=deb --root=$(CURDIR)/debian/python$$PY-jdcal
+	dh $@ --with=python3 --buildsystem=pybuild

Reply via email to