update to py3-pyphen-0.13.2

This commit is contained in:
sthen 2022-12-01 09:03:23 +00:00
parent a1c25eae29
commit f8601d8095
4 changed files with 29 additions and 6 deletions

View File

@ -1,9 +1,8 @@
COMMENT = pure-python hyphenation library
COMMENT = pure-Python hyphenation library
MODPY_EGG_VERSION = 0.13.0
MODPY_EGG_VERSION = 0.13.2
DISTNAME = pyphen-${MODPY_EGG_VERSION}
PKGNAME = py-pyphen-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES = textproc
@ -17,7 +16,7 @@ MODPY_PI = Yes
FLAVORS = python3
FLAVOR = python3
TEST_DEPENDS += devel/py-test-flake8${MODPY_FLAVOR} \
TEST_DEPENDS += devel/py-test-cov${MODPY_FLAVOR} \
devel/py-test-isort${MODPY_FLAVOR} \
devel/py-test-xdist${MODPY_FLAVOR}

View File

@ -1,2 +1,2 @@
SHA256 (pyphen-0.13.0.tar.gz) = Boc86//WWo/KfCDA49wDJlXH7o3g9VIgXK07V0JlwpM=
SIZE (pyphen-0.13.0.tar.gz) = 1967026
SHA256 (pyphen-0.13.2.tar.gz) = hH9XoEOlhAjyRnCuAYT/bt+1/VcxdDIIIowCjdxRRDg=
SIZE (pyphen-0.13.2.tar.gz) = 1986911

View File

@ -0,0 +1,23 @@
disable pytest-flake8 use, it isn't keeping up with flake8 api
see https://github.com/tholo/pytest-flake8/issues/91 etc.
Index: pyproject.toml
--- pyproject.toml.orig
+++ pyproject.toml
@@ -40,14 +40,13 @@ Donation = 'https://opencollective.com/courtbouillon'
[project.optional-dependencies]
doc = ['sphinx', 'sphinx_rtd_theme']
-# TODO: remove the flake8 dependency when https://github.com/tholo/pytest-flake8/issues/87 is fixed
-test = ['pytest', 'pytest-xdist', 'pytest-flake8', 'pytest-isort', 'pytest-cov', 'coverage[toml]', 'flake8 <5']
+test = ['pytest', 'pytest-xdist', 'pytest-flake8', 'pytest-isort', 'pytest-cov', 'coverage[toml]']
[tool.flit.sdist]
exclude = ['.*']
[tool.pytest.ini_options]
-addopts = '--isort --flake8 --numprocesses=auto'
+addopts = '--isort --numprocesses=auto'
[tool.coverage.run]
branch = true

View File

@ -52,6 +52,7 @@ lib/python${MODPY_VERSION}/site-packages/pyphen/dictionaries/hyph_sr.dic
lib/python${MODPY_VERSION}/site-packages/pyphen/dictionaries/hyph_sr_Latn.dic
lib/python${MODPY_VERSION}/site-packages/pyphen/dictionaries/hyph_sv.dic
lib/python${MODPY_VERSION}/site-packages/pyphen/dictionaries/hyph_te_IN.dic
lib/python${MODPY_VERSION}/site-packages/pyphen/dictionaries/hyph_th_TH.dic
lib/python${MODPY_VERSION}/site-packages/pyphen/dictionaries/hyph_uk_UA.dic
lib/python${MODPY_VERSION}/site-packages/pyphen/dictionaries/hyph_zu_ZA.dic
lib/python${MODPY_VERSION}/site-packages/pyphen/dictionaries/update.sh