1. 03 Aug, 2021 1 commit
  2. 16 Jul, 2021 1 commit
  3. 22 Nov, 2019 2 commits
  4. 21 Nov, 2019 2 commits
    • Jérémy Bobbio (Lunar)'s avatar
      Update Debian packaging with support for Python 3 · 41ca5e65d4f6
      Jérémy Bobbio (Lunar) authored
      Switch Debian build system to pybuild which is the current preferred
      method. Also use the recommended “3.0 (quilt)” source format.
      
      Add a new binary package, python3-cwtags, with support for Python 3.
      
      pybuild can run tests at build time, which we now enable. This requires
      to ship tox.ini and the test themselves in the Python source
      distribution.
      
      Support for Python 3.8 is disabled as it is currently broken
      in Debian unstable.
      41ca5e65d4f6
    • Jérémy Bobbio (Lunar)'s avatar
      Fix tests on Python 3.6+ · 8826210d8de0
      Jérémy Bobbio (Lunar) authored
      Python 3.6 (and subsequent releases) implements PEP 468
      (“Preserving the order of **kwargs in a function”).
      For more details, see:
      https://docs.python.org/3.6/whatsnew/3.6.html#new-dict-implementation
      https://www.python.org/dev/peps/pep-0468/
      
      This means that when a tag is converted to a string,
      the order of the attributes will always match the order
      of attributes passed to build the tag.
      
      In order to make TestTagsTC.test_flag_tags pass on
      Python 3.6+, we thus need to make the order of the
      attributes in the reference string consistent with
      the order of the tag keyword arguments.
      
      We change the order of the arguments and not the order
      of the attributes in the string to match the order of
      the cwtags.tagbuilder documentation.
      
      Unfortunately, the new argument order makes Python 2.7
      sort the keyword argument dictionary differently. We
      adjust the PYTHONHASHSEED environment variable to use
      a randomizing seed that will match the Python 3.6+ order.
      8826210d8de0
  5. 23 May, 2019 2 commits
  6. 14 Aug, 2018 1 commit
  7. 11 Jun, 2018 2 commits
  8. 25 May, 2018 1 commit
  9. 18 Sep, 2015 1 commit
  10. 25 May, 2018 1 commit
    • Denis Laxalde's avatar
      Add a tox.ini with py27 environment · 3c188c5887aa
      Denis Laxalde authored
      We need to disable PYTHONHASHSEED as the test suite does not handle it
      well (especially XML attributes ordering).
      
      We use unittest discover as a test runner as this is straightforward.
      3c188c5887aa
  11. 04 Sep, 2015 1 commit
  12. 25 May, 2018 1 commit
  13. 02 May, 2018 3 commits
  14. 29 Jan, 2016 1 commit
    • Samuel Trégouët's avatar
      [pkg] do not include all files in spec · e173aa53f346
      Samuel Trégouët authored
      our spec files conflict with filesystem package in centos7: we set permission
      755 for /usr/bin and /usr/lib whereas filesystem set it to 555.
      
      So to be compatible with both centos7 and others we simply ignore theses
      directories
      e173aa53f346
  15. 04 Nov, 2014 7 commits
  16. 07 Jan, 2014 1 commit
    • Christophe de Vienne's avatar
      Extend the way attributes names and values can be written. · 7ed6bd7b91fb
      Christophe de Vienne authored
      The names can be prefixed/postfixed with '_', it will be stripped. This allow
      to write class_ or _class instead of Class (which is ugly imo). 'klass' is also supported.
      
      The values can be booleans for flag attributes (selected or cheched),
      and they can be dictionnaries or lists that will be converted cleverly to strings.
      
      Closes #3406647.
      7ed6bd7b91fb
  17. 17 Oct, 2014 1 commit
  18. 20 Dec, 2013 1 commit
  19. 05 Nov, 2013 1 commit
  20. 09 Sep, 2013 1 commit
  21. 28 Jun, 2013 1 commit
  22. 11 Jun, 2013 1 commit
  23. 15 Apr, 2013 2 commits
  24. 08 Apr, 2013 2 commits
  25. 05 Feb, 2012 2 commits