summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-09-20 18:51:29 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-20 23:07:26 +0200
commit0992e0fa69196551ed3afb7730839c91e1eddc41 (patch)
tree36aa957c92749829dbc0658f0fe699f1e034f5a5 /dev-python/twisted-core
parentdev-python/south: remove unused patch (diff)
downloadgentoo-0992e0fa69196551ed3afb7730839c91e1eddc41.tar.gz
gentoo-0992e0fa69196551ed3afb7730839c91e1eddc41.tar.bz2
gentoo-0992e0fa69196551ed3afb7730839c91e1eddc41.zip
dev-python/twisted-core: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/2375 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/twisted-core')
-rw-r--r--dev-python/twisted-core/files/twisted-core-12.0.0-fix-test-timeFormatting.patch26
-rw-r--r--dev-python/twisted-core/files/twisted-core-2.1.0-zsh-head.patch13
2 files changed, 0 insertions, 39 deletions
diff --git a/dev-python/twisted-core/files/twisted-core-12.0.0-fix-test-timeFormatting.patch b/dev-python/twisted-core/files/twisted-core-12.0.0-fix-test-timeFormatting.patch
deleted file mode 100644
index a466a973f959..000000000000
--- a/dev-python/twisted-core/files/twisted-core-12.0.0-fix-test-timeFormatting.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Apply patch: use calendar.timegm instead of manual broken timezone math.
-
-Author: marienz
-Review: itamar
-Fixes: #5583
-
-Index: /trunk/twisted/test/test_log.py
-===================================================================
---- /trunk/twisted/test/test_log.py (revision 32453)
-+++ /trunk/twisted/test/test_log.py (revision 34145)
-@@ -6,5 +6,5 @@
- """
-
--import os, sys, time, logging, warnings
-+import os, sys, time, logging, warnings, calendar
- from cStringIO import StringIO
-
-@@ -392,7 +392,5 @@
- human-readable string.
- """
-- # There is no function in the time module which converts a UTC time
-- # tuple to a timestamp.
-- when = time.mktime((2001, 2, 3, 4, 5, 6, 7, 8, 0)) - time.timezone
-+ when = calendar.timegm((2001, 2, 3, 4, 5, 6, 7, 8, 0))
-
- # Pretend to be in US/Eastern for a moment
diff --git a/dev-python/twisted-core/files/twisted-core-2.1.0-zsh-head.patch b/dev-python/twisted-core/files/twisted-core-2.1.0-zsh-head.patch
deleted file mode 100644
index 236610ad9940..000000000000
--- a/dev-python/twisted-core/files/twisted-core-2.1.0-zsh-head.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: twisted/python/_twisted_zsh_stub
-===================================================================
---- twisted/python/_twisted_zsh_stub (revision 14988)
-+++ twisted/python/_twisted_zsh_stub (working copy)
-@@ -30,7 +30,7 @@
-
- function load_twisted_completions() {
- [[ -z $commands[twistd] ]] && echo 'ERROR: test command "twistd" not found in path' && return 1
-- shebang=$(head -1 $commands[twistd])
-+ shebang=$(head -n1 $commands[twistd])
- [[ $shebang != \#\!* ]] && echo 'ERROR: invalid shebang line for test script "twistd"' && return 1
- PYTHON=$shebang[3,-1]
-