Package: pypi2deb
Version: 3.20230219
Severity: minor
Tags: patch

Hi,

in the discussion about team maintenance in DPT weepingclown raised the
point[1] that py2dsp creates an initial packaging with team in uploaders
section.  The discussion seems to indicate that the favourite application
of py2deb is creating packages that are using

  Maintainer: Debian Python Team <team+pyt...@tracker.debian.org

It would be great if this could be implemented in pypi2deb and this patch


diff --git a/templates/debian/control.tpl b/templates/debian/control.tpl
index e7d1473..a05a363 100644
--- a/templates/debian/control.tpl
+++ b/templates/debian/control.tpl
@@ -1,9 +1,8 @@
 Source: {{src_name}}
 Section: python
 Priority: optional
-Maintainer: {{maintainer}}
-{%- if uploaders %}
-Uploaders: {{uploaders}}{% endif %}
+Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
+Uploaders: {{maintainer}}{%- if uploaders %}, {{uploaders}}{% endif %}
 Build-Depends: debhelper-compat (= 13),
                {{pybuild_depends}},
 {%- for dependency in build_depends|sort %}


should accomplish this.

Kind regards and thanks for maintaining pypi2deb
    Andreas.



[1] https://lists.debian.org/debian-python/2024/02/msg00058.html


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'buildd-unstable'), (50, 'unstable'), (5, 
'experimental'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pypi2deb depends on:
ii  build-essential  12.10
ii  devscripts       2.23.7
ii  dh-python        6.20231223
ii  python3          3.11.6-1
ii  python3-aiohttp  3.9.1-1
ii  python3-debian   0.1.49
ii  python3-github   2.2.0-1
ii  python3-jinja2   3.1.2-1
ii  python3-redis    4.3.4-3

Versions of packages pypi2deb recommends:
ii  python3-msgpack  1.0.3-3+b1

Versions of packages pypi2deb suggests:
pn  cython              <none>
pn  cython3             <none>
ii  pypy                7.3.9+dfsg-1+b1
pn  python-all-dev      <none>
pn  python-nose         <none>
pn  python-pytest       <none>
pn  python-setuptools   <none>
ii  python3-all-dev     3.11.6-1
ii  python3-nose        1.3.7-12
ii  python3-pytest      7.4.4-3
ii  python3-setuptools  68.1.2-2
ii  python3-sphinx      7.2.6-4

-- no debconf information

Reply via email to