[Blends-commit] [Git][blends-team/blends][master] 3 commits: Do not assume that short name is behind a '-' but strip only '^debian-' to obtain short name

Andreas Tille gitlab at salsa.debian.org
Sat Mar 9 14:21:28 GMT 2019


Andreas Tille pushed to branch master at Debian Blends Team / blends


Commits:
350d63cf by Andreas Tille at 2019-03-09T13:41:27Z
Do not assume that short name is behind a '-' but strip only '^debian-' to obtain short name

- - - - -
986011c0 by Andreas Tille at 2019-03-09T14:05:19Z
blends-common Depends: sensible-utils

- - - - -
db1f307a by Andreas Tille at 2019-03-09T14:13:43Z
Standards-Version: 4.3.0

- - - - -


3 changed files:

- blends.py
- debian/changelog
- debian/control


Changes:

=====================================
blends.py
=====================================
@@ -47,7 +47,7 @@ class Blend:
         self.name = self.control_stub[0]['Source']
         '''Full (package) name of the blend (``debian-astro``)'''
 
-        self.short_name = self.name.split('-', 1)[-1]
+        self.short_name = re.sub(r'^debian-', '', self.name)
         '''Short name of the blend (``astro``)'''
 
         self.title = 'Debian ' + self.short_name.capitalize()


=====================================
debian/changelog
=====================================
@@ -1,8 +1,15 @@
 blends (0.7.3) UNRELEASED; urgency=medium
 
+  [ Gianfranco Costamagna ]
   * Add Ubuntu sources.lists
 
- -- Gianfranco Costamagna <locutusofborg at debian.org>  Fri, 07 Sep 2018 11:12:08 +0200
+  [ Andreas Tille ]
+  * Do not assume that short name is behind a '-' but strip only '^debian-' to
+    obtain short name
+  * blends-common Depends: sensible-utils
+  * Standards-Version: 4.3.0
+
+ -- Andreas Tille <tille at debian.org>  Sat, 09 Mar 2019 15:13:00 +0100
 
 blends (0.7.2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -17,7 +17,7 @@ Build-Depends-Indep: dblatex,
                      python3-sphinx,
                      w3m,
                      xmlto
-Standards-Version: 4.1.5
+Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/blends-team/blends
 Vcs-Git: https://salsa.debian.org/blends-team/blends.git
 
@@ -44,6 +44,7 @@ Section: misc
 Depends: adduser,
          debconf,
          menu,
+         sensible-utils,
          ${misc:Depends}
 Suggests: blends-doc
 Description: Debian Pure Blends common package



View it on GitLab: https://salsa.debian.org/blends-team/blends/compare/b2c884f5a0bcb3cd58ead0dcfbe8d4c56c9577eb...db1f307aeedc90b989a339e99f5c63636975977b

-- 
View it on GitLab: https://salsa.debian.org/blends-team/blends/compare/b2c884f5a0bcb3cd58ead0dcfbe8d4c56c9577eb...db1f307aeedc90b989a339e99f5c63636975977b
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/20190309/46acdf2b/attachment-0001.html>


More information about the Blends-commit mailing list