Control: tags 936628 + patch
Dear maintainer, I've prepared an NMU for gnucap-python (versioned as 0.0.2-1.2). The diff is attached to this message. Regards.
diff -Nru gnucap-python-0.0.2/debian/changelog gnucap-python-0.0.2/debian/changelog --- gnucap-python-0.0.2/debian/changelog 2019-01-20 07:38:13.000000000 -0500 +++ gnucap-python-0.0.2/debian/changelog 2020-07-29 21:27:14.000000000 -0400 @@ -1,3 +1,10 @@ +gnucap-python (0.0.2-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Drop python2 support; Closes: #936628 + + -- Sandro Tosi <mo...@debian.org> Wed, 29 Jul 2020 21:27:14 -0400 + gnucap-python (0.0.2-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru gnucap-python-0.0.2/debian/control gnucap-python-0.0.2/debian/control --- gnucap-python-0.0.2/debian/control 2019-01-20 07:38:13.000000000 -0500 +++ gnucap-python-0.0.2/debian/control 2020-07-29 21:20:12.000000000 -0400 @@ -11,10 +11,6 @@ gnucap, gnucap-default-plugins0, libgnucap-dev, - python, - python-numpy, - python-scipy, - python2.7-dev, python3-all-dev, python3-numpy, python3-scipy, @@ -27,30 +23,13 @@ Package: gnucap-python Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} -Suggests: gnucap, python +Suggests: gnucap, python3 Description: GNU Circuit Analysis package, Python command plugin This package contains a plugin with a command to load extensions written in the Python language. . Gnucap is a general purpose circuit simulator. It performs nonlinear dc and transient analyses, Fourier analysis, and ac analysis - linearized at an operating point. It is fully interactive and - command driven. It can also be run in batch mode or as a server. - -Package: python-gnucap -Section: python -Architecture: any -Depends: ${dlopen:Depends}, - ${misc:Depends}, - ${python:Depends}, - ${shlibs:Depends} -Recommends: gnucap-default-plugins0 -Suggests: gnucap-devel -Description: Python 2 bindings for the GNU Circuit Analysis Package - This package contains Python2 bindings for the GNU Circuit Analysis Package. - . - Gnucap is a general purpose circuit simulator. It performs nonlinear - dc and transient analyses, Fourier analysis, and ac analysis linearized at an operating point. It is fully interactive and command driven. It can also be run in batch mode or as a server. diff -Nru gnucap-python-0.0.2/debian/python-gnucap.install gnucap-python-0.0.2/debian/python-gnucap.install --- gnucap-python-0.0.2/debian/python-gnucap.install 2018-12-20 06:25:09.000000000 -0500 +++ gnucap-python-0.0.2/debian/python-gnucap.install 1969-12-31 19:00:00.000000000 -0500 @@ -1,2 +0,0 @@ -/usr/lib/python2*/*/gnucap/*.so* -/usr/lib/python2*/*/gnucap/*py diff -Nru gnucap-python-0.0.2/debian/rules gnucap-python-0.0.2/debian/rules --- gnucap-python-0.0.2/debian/rules 2019-01-20 07:38:13.000000000 -0500 +++ gnucap-python-0.0.2/debian/rules 2020-07-29 21:21:24.000000000 -0400 @@ -1,7 +1,6 @@ #!/usr/bin/make -f -PYVERS:= $(shell pyversions -v -r debian/control) \ - $(shell py3versions -v -r debian/control) +PYVERS:= $(shell py3versions -v -r debian/control) PYDEF:= $(shell py3versions -d -v) @@ -19,7 +18,7 @@ %: - dh $@ --with python2,python3 + dh $@ --with python3 build: build-arch build-indep @@ -65,11 +64,9 @@ override_dh_shlibdeps: debian/tmp.lib dh_shlibdeps - dh_numpy dh_numpy3 # inject extra library dependency - cat $< >> debian/python-gnucap.substvars cat $< >> debian/python3-gnucap.substvars # dpkg-shlibdeps misses the dlopen in gnucap/__init__.py