Ignore:
Files:
6 added
2 deleted
17 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    r211 r243  
    33python:
    44    - 2.7
    5     - 3.3
     5    - 3.4
    66    - 3.5
     7    - 3.6
    78    - pypy
    89
     
    2122        - python: 3.5
    2223          env: TWISTED=Twisted==15.5
     24        - python: 3.6
     25          env: TWISTED=Twisted==15.5
    2326
    2427install:
    25     - pip install pyflakes
    2628    - pip install -q $TWISTED
    27     - python setup.py install
     29    - pip install .[dev]
    2830
    2931script:
  • LICENSE

    r165 r246  
    1 Copyright (c) 2003-2012 Ralph Meijer.
     1Copyright (c) 2003-2018 Ralph Meijer.
    22
    33Permission is hereby granted, free of charge, to any person obtaining
  • MANIFEST.in

    r163 r238  
    1 include NEWS
     1include NEWS.rst
    22include LICENSE
    33include doc/examples/*.py
  • debian/changelog

    r179 r246  
     1wokkel (18.0.0) testing; urgency=low
     2
     3  * Release Wokkel 18.0.0
     4
     5 -- Ralph Meijer <ralphm@ik.nu>  Tue, 04 Dec 2018 09:12:14 +0100
     6
    17wokkel (0.7.1) testing; urgency=low
    28
  • debian/control

    r165 r246  
    1111Architecture: all
    1212XB-Python-Version: ${python:Versions}
    13 Depends: ${python:Depends}, ${misc:Depends}, python-twisted (>= 10.0.0), python-twisted-words (>= 10.0.0), python-twisted-names (>= 10.0.0), python-dateutil
     13Depends: ${python:Depends}, ${misc:Depends}, python-twisted (>= 15.5.0), python-twisted-words (>= 15.5.0), python-twisted-names (>= 15.5.0), python-dateutil, python-incremental (>= 16.9.0)
    1414Description: A set of enhancements to Twisted Words' Jabber/XMPP
    1515 It serves as a testing ground for new features and enhancements which will
  • debian/copyright

    r165 r246  
    1010Copyright:
    1111
    12     (C) 2003-2012 Ralph Meijer <ralphm@ik.nu>
     12    (C) 2003-2018 Ralph Meijer <ralphm@ik.nu>
    1313
    1414License:
  • debian/docs

    r74 r246  
    1 NEWS
    2 README
     1NEWS.rst
     2README.rst
    33doc/*
  • doc/conf.py

    r179 r246  
    4949#
    5050# The short X.Y version.
    51 version = '0.7'
     51version = '18.0.0'
    5252# The full version, including alpha/beta/rc tags.
    53 release = '0.7.1'
     53release = '18.0.0'
    5454
    5555# The language for content autogenerated by Sphinx. Refer to documentation
  • setup.py

    r214 r242  
    44# See LICENSE for details.
    55
    6 import sys
    76from setuptools import setup
    87
     
    2928    egg_info.write_toplevel_names = _hacked_write_toplevel_names
    3029
    31 if sys.version_info < (3, 0):
    32     requiredTwisted = "15.5.0"
    33 else:
    34     requiredTwisted = "16.4.0"
     30with open('README.rst', 'rb') as f:
     31    long_description = f.read().decode('utf-8')
    3532
    3633setup(name='wokkel',
    37       version='0.7.1',
    3834      description='Twisted Jabber support library',
     35      long_description=long_description,
    3936      author='Ralph Meijer',
    4037      author_email='ralphm@ik.nu',
    4138      maintainer_email='ralphm@ik.nu',
    42       url='http://wokkel.ik.nu/',
     39      url='https://wokkel.ik.nu/',
    4340      license='MIT',
    4441      platforms='any',
     42      classifiers=[
     43          'Programming Language :: Python :: 2.7',
     44          'Programming Language :: Python :: 3',
     45          'Programming Language :: Python :: 3.4',
     46          'Programming Language :: Python :: 3.5',
     47          'Programming Language :: Python :: 3.6',
     48      ],
    4549      packages=[
    4650          'wokkel',
     
    5054      package_data={'twisted.plugins': ['twisted/plugins/server.py']},
    5155      zip_safe=False,
     56      setup_requires=[
     57          'incremental>=16.9.0',
     58      ],
     59      use_incremental=True,
    5260      install_requires=[
    53           'Twisted >= %s' % requiredTwisted,
     61          'incremental>=16.9.0',
    5462          'python-dateutil',
    5563      ],
     64      extras_require={
     65          ":python_version<'3'": 'Twisted[tls]>=15.5.0',
     66          ":python_version>'3'": 'Twisted[tls]>=16.4.0',
     67          "dev": [
     68              "pyflakes",
     69              "coverage",
     70              "sphinx",
     71              "towncrier",
     72          ],
     73          "dev:python_version<'3'": "pydoctor",
     74      },
    5675)
  • wokkel/__init__.py

    r96 r240  
    77Support library for Twisted applications using XMPP protocols.
    88"""
     9
     10from wokkel._version import __version__ as _incremental_version
     11
     12__version__ = _incremental_version.public()
     13
     14__all__ = ["__version__"]
  • wokkel/generic.py

    • Property exe deleted
    r195 r246  
    1515from twisted.python import reflect
    1616from twisted.python.deprecate import deprecated
    17 from twisted.python.versions import Version
    1817from twisted.words.protocols.jabber import error, jid, xmlstream
    1918from twisted.words.protocols.jabber.xmlstream import toResponse
    2019from twisted.words.xish import domish, utility
    2120from twisted.words.xish.xmlstream import BootstrapMixin
     21
     22from incremental import Version
    2223
    2324from wokkel.iwokkel import IDisco
     
    335336
    336337
    337 @deprecated(Version("Wokkel", 0, 8, 0), "unicode.encode('idna')")
     338@deprecated(Version("wokkel", 18, 0, 0), "unicode.encode('idna')")
    338339def prepareIDNName(name):
    339340    """
  • wokkel/iwokkel.py

    • Property exe deleted
    r193 r240  
    1212from zope.interface import Interface
    1313from twisted.python.deprecate import deprecatedModuleAttribute
    14 from twisted.python.versions import Version
    1514from twisted.words.protocols.jabber.ijabber import IXMPPHandler
    1615from twisted.words.protocols.jabber.ijabber import IXMPPHandlerCollection
    1716
     17from incremental import Version
     18
    1819deprecatedModuleAttribute(
    19         Version("Wokkel", 0, 7, 0),
     20        Version("wokkel", 0, 7, 0),
    2021        "Use twisted.words.protocols.jabber.ijabber.IXMPPHandler instead.",
    2122        __name__,
     
    2324
    2425deprecatedModuleAttribute(
    25         Version("Wokkel", 0, 7, 0),
     26        Version("wokkel", 0, 7, 0),
    2627        "Use twisted.words.protocols.jabber.ijabber.IXMPPHandlerCollection "
    2728                "instead.",
  • wokkel/subprotocols.py

    • Property exe deleted
    r194 r240  
    1717from twisted.python.compat import iteritems, itervalues
    1818from twisted.python.deprecate import deprecatedModuleAttribute
    19 from twisted.python.versions import Version
    2019from twisted.words.protocols.jabber import error, ijabber, xmlstream
    2120from twisted.words.protocols.jabber.xmlstream import toResponse
     
    2423from twisted.words.xish.domish import IElement
    2524
     25from incremental import Version
     26
    2627deprecatedModuleAttribute(
    27         Version("Wokkel", 0, 7, 0),
     28        Version("wokkel", 0, 7, 0),
    2829        "Use twisted.words.protocols.jabber.xmlstream.XMPPHandlerCollection "
    2930                "instead.",
  • wokkel/test/test_component.py

    • Property exe deleted
    r205 r247  
    3939
    4040
     41    def getDestination(self):
     42        return None
     43
     44
    4145
    4246class TestableComponent(component.Component):
  • wokkel/test/test_generic.py

    • Property exe deleted
    r195 r246  
    1414from twisted.python import deprecate
    1515from twisted.python.compat import unicode
    16 from twisted.python.versions import Version
    1716from twisted.trial import unittest
    1817from twisted.trial.util import suppress as SUPPRESS
    1918from twisted.words.xish import domish
    2019from twisted.words.protocols.jabber.jid import JID
     20
     21from incremental import Version
    2122
    2223from wokkel import generic
     
    326327                             deprecate.getDeprecationWarningString(
    327328                                 generic.prepareIDNName,
    328                                  Version("Wokkel", 0, 8, 0),
     329                                 Version("wokkel", 18, 0, 0),
    329330                                 replacement="unicode.encode('idna')")))]
    330331
     
    334335        prepareIDNName is deprecated.
    335336        """
    336         self.callDeprecated((Version("Wokkel", 0, 8, 0),
     337        self.callDeprecated((Version("wokkel", 18, 0, 0),
    337338                             "unicode.encode('idna')"),
    338339                            generic.prepareIDNName, ("example.com"))
  • wokkel/test/test_iwokkel.py

    r193 r240  
    2525            warningsShown[0]['message'],
    2626            "wokkel.iwokkel." + attributeName + " "
    27             "was deprecated in Wokkel 0.7.0: Use " + newName + " instead.")
     27            "was deprecated in wokkel 0.7.0: Use " + newName + " instead.")
    2828
    2929
  • wokkel/test/test_subprotocols.py

    • Property exe deleted
    r194 r240  
    3535            warningsShown[0]['message'],
    3636            "wokkel.subprotocols." + attributeName + " "
    37             "was deprecated in Wokkel 0.7.0: Use " + newName + " instead.")
     37            "was deprecated in wokkel 0.7.0: Use " + newName + " instead.")
    3838
    3939
Note: See TracChangeset for help on using the changeset viewer.