[Blends-commit] [Git][blends-team/blends][master] 3 commits: python3-blends: shouldn't write Packages: list in case the udeb option is set

Ole Streicher gitlab at salsa.debian.org
Fri Jul 13 16:54:11 BST 2018


Ole Streicher pushed to branch master at Debian Blends Team / blends


Commits:
c6c9c674 by Wolfgang Schweer at 2018-07-13T17:31:33+02:00
python3-blends: shouldn't write Packages: list in case the udeb option is set

Closes: #903593

Package: python3-blends
Version: 0.7.1
Severity: wishlist

Hi,

while testing Debian Edu I noticed that installations fail due to
an incorrect debian-edu-tasks.desc file.

The Packages: list now contains all alternative packages instead of only
the first one, e.g. tftpd-hpa | atftpd lists both packages which breaks
installation. I guess the fix for #785678 caused this.

The Packages: field doesn't seem to be needed for a valid desc file.
Please consider to think about the alternatives again or maybe apply
this change:

- - - - -
2099a255 by Ole Streicher at 2018-07-13T17:45:12+02:00
Remove udeb related test for creating .desc

- - - - -
56ade8d4 by Ole Streicher at 2018-07-13T17:45:17+02:00
Update changelog for 0.7.2 release

- - - - -


2 changed files:

- blends.py
- debian/changelog


Changes:

=====================================
blends.py
=====================================
--- a/blends.py
+++ b/blends.py
@@ -404,23 +404,6 @@ class Task:
         Key:
          astro-education
         <BLANKLINE>
-        >>> print(task.gen_task_desc(udeb=True).dump())
-        Task: astro-education
-        Section: debian-astro
-        Description: Educational astronomy applications
-         Various applications that can be used to teach astronomy.
-         .
-         This is however incomplete.
-        Relevance: 10
-        Test-new-install: mark show
-        Key:
-         astro-education
-        Packages: list
-         celestia-glut
-         celestia-gnome
-         gravit
-         starplot
-        <BLANKLINE>
 
         '''
         d = Deb822()
@@ -438,10 +421,6 @@ class Task:
         for key, value in self.tests.items():
             d['Test-' + key] = value
         d['Key'] = '\n {}'.format(self.package_name)
-        if udeb:
-            d['Packages'] = 'list\n ' + \
-                          '\n '.join(sorted(d.name for d in itertools.chain(
-                              *(self.recommends + self.dependencies))))
         return d
 
     def update(self, cache):


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,14 @@
-blends (0.7.2) UNRELEASED; urgency=medium
+blends (0.7.2) unstable; urgency=medium
 
+  [ Andreas Tille ]
   * Replace bc call with a portable shell substitution (thanks to Lars Kruse
     for the patch)
 
- -- Andreas Tille <tille at debian.org>  Sun, 08 Jul 2018 18:04:00 +0200
+  [ Wolfgang Schweer ]
+  * python3-blends: shouldn't write Packages: list in udeb case
+    (Closes: #903593)
+
+ -- Ole Streicher <olebole at debian.org>  Fri, 13 Jul 2018 17:32:06 +0200
 
 blends (0.7.1) unstable; urgency=medium
 



View it on GitLab: https://salsa.debian.org/blends-team/blends/compare/a6002be9f46f654b61cf9906f72ad09760c7d3dc...56ade8d474b4d48a7e14583f6be481c2fab6db0d

-- 
View it on GitLab: https://salsa.debian.org/blends-team/blends/compare/a6002be9f46f654b61cf9906f72ad09760c7d3dc...56ade8d474b4d48a7e14583f6be481c2fab6db0d
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/blends-commit/attachments/20180713/9da45e85/attachment-0001.html>


More information about the Blends-commit mailing list