freebsd-ports/textproc/py-genshi
Kubilay Kocak 685cfe8d84 textproc/py-genshi: Update to 0.7.3
Genshi 0.7 doesn't support Python 3.5+, but the port currently allows it
to be built with any Python version. This doesn't affect the build, but
produces a broken runtime, including for all Genshi dependents:

Genshi (0.7) tests:

  2.7: Ran 854 tests in 3.623s - FAILED (failures=1)
  3.5: Ran 858 tests in 3.607s - FAILED (failures=4, errors=34)
  3.6: Ran 858 tests in 3.610s - FAILED (failures=4, errors=34)
  3.7: Ran 858 tests in 3.313s - FAILED (failures=11, errors=91)
  3.8: Ran 858 tests in 3.094s - FAILED (failures=32, errors=359)

Genshi added 3.5+ support in subsequent versions [1]:

  0.7.2: Add support for Python 3.8.
  0.7.1: Add support for Python 3.5, 3.6 and 3.7

Given Genshi 0.7 -> 0.7.3 involves only additional Python version support
and bugfix-only changes, this change updates the port to 0.7.3, instead of
restricting (correctly) its use to USES=python:-3.4, and is intended to be
merged to the quarterly branch accordingly.

While I'm here:

  - Add test target to encourage and ease future QA
  - Strip speedup shared library on Python versions it builds in
  - Remove backported patch to setup.py (now in this release)
  - Use CHEESESHOP and update COMMENT according to Python policies

Genshi (0.7.3) QA tests:

  2.7: Ran 861 tests in 3.626s - OK
  3.5: Ran 867 tests in 3.561s - OK
  3.6: Ran 867 tests in 3.540s - OK
  3.7: Ran 867 tests in 3.268s - OK
  3.8: Ran 867 tests in 3.267s - OK

[1] https://github.com/edgewall/genshi/blob/0.7.3/ChangeLog

Approved by:	portmgr (blanket(s): runtime bugfix, ports (python) compliance)
MFH:		2019Q4 (blanket(s): runtime bugfix, bugfix release)
2019-12-16 03:51:20 +00:00
..
distinfo
Makefile
pkg-descr