public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/twisted-words/files/
Date: Tue, 20 Sep 2016 21:07:40 +0000 (UTC)	[thread overview]
Message-ID: <1474405607.e367150a698bb5d7db8979879478595cfd4a8bad.soap@gentoo> (raw)

commit:     e367150a698bb5d7db8979879478595cfd4a8bad
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Sep 20 16:52:12 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 21:06:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e367150a

dev-python/twisted-words: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/2376

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...ed.words.protocols.jabber.jstrports.parse.patch | 67 ----------------------
 1 file changed, 67 deletions(-)

diff --git a/dev-python/twisted-words/files/twisted-words-10.2.0-twisted.words.protocols.jabber.jstrports.parse.patch b/dev-python/twisted-words/files/twisted-words-10.2.0-twisted.words.protocols.jabber.jstrports.parse.patch
deleted file mode 100644
index 2f70d8e..00000000
--- a/dev-python/twisted-words/files/twisted-words-10.2.0-twisted.words.protocols.jabber.jstrports.parse.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=351468
-http://twistedmatrix.com/trac/ticket/4771
-http://twistedmatrix.com/trac/changeset/30430
-
---- twisted/words/protocols/jabber/jstrports.py
-+++ twisted/words/protocols/jabber/jstrports.py
-@@ -1,12 +1,12 @@
- # -*- test-case-name: twisted.words.test -*-
--# Copyright (c) 2001-2005 Twisted Matrix Laboratories.
-+# Copyright (c) 2001-2011 Twisted Matrix Laboratories.
- # See LICENSE for details.
- 
- 
- """ A temporary placeholder for client-capable strports, until we
- sufficient use cases get identified """
- 
--from twisted.application import strports
-+from twisted.internet.endpoints import _parse
- 
- def _parseTCPSSL(factory, domain, port):
-     """ For the moment, parse TCP or SSL connections the same """
-@@ -22,7 +22,7 @@
- 
- 
- def parse(description, factory):
--    args, kw = strports._parse(description)
-+    args, kw = _parse(description)
-     return (args[0].upper(),) + _funcs[args[0]](factory, *args[1:], **kw)
- 
- def client(description, factory):
---- twisted/words/test/test_jabberjstrports.py
-+++ twisted/words/test/test_jabberjstrports.py
-@@ -0,0 +1,34 @@
-+# Copyright (c) 2011 Twisted Matrix Laboratories.
-+# See LICENSE for details.
-+
-+"""
-+Tests for L{twisted.words.protocols.jabber.jstrports}.
-+"""
-+
-+from twisted.trial import unittest
-+
-+from twisted.words.protocols.jabber import jstrports
-+from twisted.application.internet import TCPClient
-+
-+
-+class JabberStrPortsPlaceHolderTest(unittest.TestCase):
-+    """
-+    Tests for L{jstrports}
-+    """
-+
-+    def test_parse(self):
-+        """
-+        L{jstrports.parse} accepts an endpoint description string and returns a
-+        tuple and dict of parsed endpoint arguments.
-+        """
-+        expected = ('TCP', ('DOMAIN', 65535, 'Factory'), {})
-+        got = jstrports.parse("tcp:DOMAIN:65535", "Factory")
-+        self.assertEquals(expected, got)
-+
-+
-+    def test_client(self):
-+        """
-+        L{jstrports.client} returns a L{TCPClient} service.
-+        """
-+        got = jstrports.client("tcp:DOMAIN:65535", "Factory")
-+        self.assertIsInstance(got, TCPClient)


                 reply	other threads:[~2016-09-20 21:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474405607.e367150a698bb5d7db8979879478595cfd4a8bad.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox