summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-04-20 18:13:47 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-04-20 18:13:47 +0200
commit3db02c5215d36bb1cd2c912ad69e5ed2796380c0 (patch)
treee795dcd78b1de57052f96656afe2ddb28f643763
parent67130f4b702a750f777042e4ad557bef9364f997 (diff)
downloadpython-apt-3db02c5215d36bb1cd2c912ad69e5ed2796380c0.tar.gz
releasing version 0.7.100.3ubuntu5
-rw-r--r--aptsources/sourceslist.py5
-rw-r--r--data/templates/Ubuntu.info.in48
-rw-r--r--debian/changelog8
3 files changed, 60 insertions, 1 deletions
diff --git a/aptsources/sourceslist.py b/aptsources/sourceslist.py
index 83d2c8b9..04f6a5a7 100644
--- a/aptsources/sourceslist.py
+++ b/aptsources/sourceslist.py
@@ -449,7 +449,10 @@ class SourceEntryMatcher(object):
found = False
for template in self.templates:
if (re.search(template.match_uri, source.uri) and
- re.match(template.match_name, source.dist)):
+ re.match(template.match_name, source.dist) and
+ # deb is a valid fallback for deb-src (if that is not
+ # definied, see #760035
+ (source.type == template.type or template.type == "deb")):
found = True
source.template = template
break
diff --git a/data/templates/Ubuntu.info.in b/data/templates/Ubuntu.info.in
index ca041c26..99bd5422 100644
--- a/data/templates/Ubuntu.info.in
+++ b/data/templates/Ubuntu.info.in
@@ -25,6 +25,13 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: natty
+ParentSuite: natty
+RepositoryType: deb-src
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|ports.ubuntu.com/ubuntu-ports
+
+Suite: natty
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*11.04
MatchURI: cdrom:\[Ubuntu.*11.04
@@ -66,21 +73,49 @@ BaseURI-i386: http://security.ubuntu.com/ubuntu/
MatchURI-i386: archive.ubuntu.com/ubuntu|security.ubuntu.com
_Description: Important security updates
+Suite: natty-security
+ParentSuite: natty
+RepositoryType: deb-src
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|ports.ubuntu.com/ubuntu-ports|security.ubuntu.com
+_Description: Important security updates
+
Suite: natty-updates
ParentSuite: natty
RepositoryType: deb
_Description: Recommended updates
+Suite: natty-updates
+ParentSuite: natty
+RepositoryType: deb-src
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|ports.ubuntu.com/ubuntu-ports
+_Description: Recommended updates
+
Suite: natty-proposed
ParentSuite: natty
RepositoryType: deb
_Description: Pre-released updates
+Suite: natty-proposed
+ParentSuite: natty
+RepositoryType: deb-src
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|ports.ubuntu.com/ubuntu-ports
+_Description: Pre-released updates
+
Suite: natty-backports
ParentSuite: natty
RepositoryType: deb
_Description: Unsupported updates
+Suite: natty-backports
+ParentSuite: natty
+RepositoryType: deb-src
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|ports.ubuntu.com/ubuntu-ports
+_Description: Unsupported updates
+
Suite: maverick
RepositoryType: deb
BaseURI: http://ports.ubuntu.com/ubuntu-ports/
@@ -106,6 +141,7 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: maverick
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*10.10
MatchURI: cdrom:\[Ubuntu.*10.10
@@ -187,6 +223,7 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: lucid
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*10.04
MatchURI: cdrom:\[Ubuntu.*10.04
@@ -248,6 +285,7 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: karmic
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*9.10
MatchURI: cdrom:\[Ubuntu.*9.10
@@ -309,6 +347,7 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: jaunty
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*9.04
MatchURI: cdrom:\[Ubuntu.*9.04
@@ -370,6 +409,7 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: intrepid
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*8.10
MatchURI: cdrom:\[Ubuntu.*8.10
@@ -432,6 +472,7 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: hardy
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*8.04
MatchURI: cdrom:\[Ubuntu.*8.04
@@ -495,6 +536,7 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: gutsy
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*7.10
MatchURI: cdrom:\[Ubuntu.*7.10
@@ -558,6 +600,7 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: feisty
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*7.04
MatchURI: cdrom:\[Ubuntu.*7.04
@@ -618,6 +661,7 @@ _CompDescription: Restricted software
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: edgy
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*6.10
MatchURI: cdrom:\[Ubuntu.*6.10
@@ -678,6 +722,7 @@ _CompDescription: Restricted software (Multiverse)
_CompDescriptionLong: Software restricted by copyright or legal issues
Suite: dapper
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*6.06
MatchURI: cdrom:\[Ubuntu.*6.06
@@ -734,6 +779,7 @@ Component: multiverse
_CompDescription: Non-free (Multiverse)
Suite: breezy
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*5.10
MatchURI: cdrom:\[Ubuntu.*5.10
@@ -785,6 +831,7 @@ Component: multiverse
_CompDescription: Non-free (Multiverse)
Suite: hoary
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*5.04
MatchURI: cdrom:\[Ubuntu.*5.04
@@ -831,6 +878,7 @@ Component: multiverse
_CompDescription: Non-free (Multiverse)
Suite: warty
+RepositoryType: deb
MatchName: .*
BaseURI: cdrom:\[Ubuntu.*4.10
MatchURI: cdrom:\[Ubuntu.*4.10
diff --git a/debian/changelog b/debian/changelog
index 695d59a4..6624e8c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-apt (0.7.100.3ubuntu5) natty; urgency=low
+
+ [ Stéphane Graber ]
+ * fix enable_components for deb-src entries on ports.ubuntu.com
+ (LP: #760035)
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 20 Apr 2011 18:05:51 +0200
+
python-apt (0.7.100.3ubuntu4) natty; urgency=low
* Update enable_component to also apply to -src entries (LP: #758732)