app-crypt/monkeysign: remove unused patch
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sat, 2 Dec 2017 08:12:19 +0000 (09:12 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 6 Dec 2017 13:28:46 +0000 (00:28 +1100)
Closes: https://github.com/gentoo/gentoo/pull/6392

app-crypt/monkeysign/files/monkeysign-2.0.0-rst2s5.patch [deleted file]
app-crypt/monkeysign/files/monkeysign-2.0.2-smtplib.patch [deleted file]

diff --git a/app-crypt/monkeysign/files/monkeysign-2.0.0-rst2s5.patch b/app-crypt/monkeysign/files/monkeysign-2.0.0-rst2s5.patch
deleted file mode 100644 (file)
index 2c3c66c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -r 9cf95971dd10 monkeysign/documentation.py
---- a/monkeysign/documentation.py      Sun Oct 19 12:34:21 2014 -0400
-+++ b/monkeysign/documentation.py      Sun Oct 19 12:35:30 2014 -0400
-@@ -161,11 +161,11 @@
-     def run(self):
-         html = os.path.join(os.path.dirname(self.file), os.path.splitext(os.path.basename(self.file))[0] + '.html')
-         self.announce('processing slides from %s to %s' % (self.file, html), 2)
--        os.system('rst2s5 --theme default "%s" "%s"' % (self.file, html))
-+        os.system('rst2s5.py --theme default "%s" "%s"' % (self.file, html))
- 
- def has_rst2s5(build):
-     """predicate for this class: do not fail if rst2s5 is missing"""
--    return (os.system('rst2s5 < /dev/null > /dev/null') == 0)
-+    return (os.system('rst2s5.py < /dev/null > /dev/null') == 0)
- 
- # (function, predicate), see http://docs.python.org/2/distutils/apiref.html#distutils.cmd.Command.sub_commands
- build.sub_commands.append(('build_manpage', None))
diff --git a/app-crypt/monkeysign/files/monkeysign-2.0.2-smtplib.patch b/app-crypt/monkeysign/files/monkeysign-2.0.2-smtplib.patch
deleted file mode 100644 (file)
index e920acf..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From 9e6699ec432b23d56a0728bb25fc2ed1a47a85e6 Mon Sep 17 00:00:00 2001
-From: Kristian Fiskerstrand <kf@sumptuouscapital.com>
-Date: Mon, 2 Feb 2015 20:38:07 +0100
-Subject: [PATCH] ui.py: Make sure to use smtplib namespace
-
-Make sure to properly use the smtplib namespace for SMTPException
-in order to avoid a NameError for undefined exception in global
-scope.
----
- monkeysign/ui.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/monkeysign/ui.py b/monkeysign/ui.py
-index c9b6a30..c2308c8 100644
---- a/monkeysign/ui.py
-+++ b/monkeysign/ui.py
-@@ -359,7 +359,7 @@ expects an EmailFactory email, but will not mail if nomail is set"""
-                     self.abort(_('Unexpected SMTP server error while talking to %s, code: %s (%s)') % (self.options.smtpserver, code, srvmsg))
-                 try:
-                     server.starttls()
--                except SMTPException:
-+                except smtplib.SMTPException:
-                     self.warn(_('SMTP server does not support STARTTLS'))
-                     if self.options.smtpuser: self.warn(_('authentication credentials will be sent in clear text'))
-                 if self.options.smtpuser:
--- 
-2.2.2
-