[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778591: marked as done (unblock: pastebinit/1.4-4)



Your message dated Tue, 17 Feb 2015 08:55:17 +0100
with message-id <54E2F3E5.9040407@thykier.net>
and subject line Re: Bug#778591: unblock: pastebinit/1.4-4
has caused the Debian Bug report #778591,
regarding unblock: pastebinit/1.4-4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
778591: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778591
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package pastebinit to allow the fix for
RC-bug 778336 to propagate to testing. Thank you

unblock pastebinit/1.4-3
diff --git a/debian/changelog b/debian/changelog
index 7de6407..b3370f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+pastebinit (1.4-4) unstable; urgency=medium
+
+  [ Andrew Starr-Bochicchio ]
+  * detect_distro_with_python3.patch: Use platform instead of
+    lsb_release to detect the distro as lsb_release is not
+    available under Python 3 (Closes: #760341). pastebinit
+    will now default again to using paste.debian.net on Debian
+    (Closes: #778336).
+
+ -- Rolf Leggewie <foss@rolf.leggewie.biz>  Tue, 17 Feb 2015 11:35:07 +0800
+
 pastebinit (1.4-3) unstable; urgency=low
 
   * bump debhelper to version 9
diff --git a/debian/patches/detect_distro_with_python3.patch b/debian/patches/detect_distro_with_python3.patch
new file mode 100644
index 0000000..e0737c3
--- /dev/null
+++ b/debian/patches/detect_distro_with_python3.patch
@@ -0,0 +1,15 @@
+Index: pastebinit/pastebinit
+===================================================================
+--- pastebinit.orig/pastebinit	2015-02-16 12:37:04.434846203 -0500
++++ pastebinit/pastebinit	2015-02-16 12:39:22.709104460 -0500
+@@ -37,8 +37,8 @@
+ 
+ # Now try to override it with a distributor pastebin
+ try:
+-    import lsb_release
+-    release = lsb_release.get_distro_information()['ID'].lower()
++    import platform
++    release = platform.linux_distribution()[0].lower()
+     if release == 'debian':
+         defaultPB = "http://paste.debian.net";
+     elif release == 'fedora':
diff --git a/debian/patches/series b/debian/patches/series
index 986704d..b17e68f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 upstream-r205_r201.patch
 increase_timeout.patch
+detect_distro_with_python3.patch

--- End Message ---
--- Begin Message ---
On 2015-02-17 05:36, Rolf Leggewie wrote:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Please unblock package pastebinit to allow the fix for
> RC-bug 778336 to propagate to testing. Thank you
> 
> unblock pastebinit/1.4-3
> 

Unblocked, thanks.

~Niels

--- End Message ---

Reply to: