pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-pyphen py-pyphen: updated to 0.11.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/8f462ac39746
branches: trunk
changeset: 456561:8f462ac39746
user: adam <adam%pkgsrc.org@localhost>
date: Mon Aug 02 20:30:24 2021 +0000
description:
py-pyphen: updated to 0.11.0
0.11.0:
Update dictionaries (add Albanian, Belarusian, Esperanto, Mongolian; update Italian, Portuguese of Brazil, Russian).
Use Flit for packaging. You can now build packages using pip install flit, flit build.
diffstat:
textproc/py-pyphen/Makefile | 16 ++++++++++++----
textproc/py-pyphen/PLIST | 8 ++++++--
textproc/py-pyphen/distinfo | 11 ++++++-----
textproc/py-pyphen/patches/patch-setup.py | 15 +++++++++++++++
4 files changed, 39 insertions(+), 11 deletions(-)
diffs (113 lines):
diff -r 2f8634e1817f -r 8f462ac39746 textproc/py-pyphen/Makefile
--- a/textproc/py-pyphen/Makefile Mon Aug 02 18:45:35 2021 +0000
+++ b/textproc/py-pyphen/Makefile Mon Aug 02 20:30:24 2021 +0000
@@ -1,18 +1,26 @@
-# $NetBSD: Makefile,v 1.7 2021/04/27 04:53:45 adam Exp $
+# $NetBSD: Makefile,v 1.8 2021/08/02 20:30:24 adam Exp $
-DISTNAME= Pyphen-0.10.0
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+DISTNAME= pyphen-0.11.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
-MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pyphen/}
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyphen/}
MAINTAINER= kleink%NetBSD.org@localhost
HOMEPAGE= https://pyphen.org/
COMMENT= Pure Python module to hyphenate text
LICENSE= gnu-gpl-v2 OR gnu-lgpl-v2.1 OR mpl-1.1
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
+
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 2f8634e1817f -r 8f462ac39746 textproc/py-pyphen/PLIST
--- a/textproc/py-pyphen/PLIST Mon Aug 02 18:45:35 2021 +0000
+++ b/textproc/py-pyphen/PLIST Mon Aug 02 20:30:24 2021 +0000
@@ -1,13 +1,14 @@
-@comment $NetBSD: PLIST,v 1.5 2021/04/27 04:53:45 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/08/02 20:30:24 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pyphen/__init__.py
${PYSITELIB}/pyphen/__init__.pyc
${PYSITELIB}/pyphen/__init__.pyo
${PYSITELIB}/pyphen/dictionaries/hyph_af_ZA.dic
+${PYSITELIB}/pyphen/dictionaries/hyph_be_BY.dic
${PYSITELIB}/pyphen/dictionaries/hyph_bg_BG.dic
${PYSITELIB}/pyphen/dictionaries/hyph_cs_CZ.dic
${PYSITELIB}/pyphen/dictionaries/hyph_da_DK.dic
@@ -17,6 +18,7 @@
${PYSITELIB}/pyphen/dictionaries/hyph_el_GR.dic
${PYSITELIB}/pyphen/dictionaries/hyph_en_GB.dic
${PYSITELIB}/pyphen/dictionaries/hyph_en_US.dic
+${PYSITELIB}/pyphen/dictionaries/hyph_eo.dic
${PYSITELIB}/pyphen/dictionaries/hyph_es.dic
${PYSITELIB}/pyphen/dictionaries/hyph_et_EE.dic
${PYSITELIB}/pyphen/dictionaries/hyph_fr.dic
@@ -28,6 +30,7 @@
${PYSITELIB}/pyphen/dictionaries/hyph_it_IT.dic
${PYSITELIB}/pyphen/dictionaries/hyph_lt.dic
${PYSITELIB}/pyphen/dictionaries/hyph_lv_LV.dic
+${PYSITELIB}/pyphen/dictionaries/hyph_mn_MN.dic
${PYSITELIB}/pyphen/dictionaries/hyph_nb_NO.dic
${PYSITELIB}/pyphen/dictionaries/hyph_nl_NL.dic
${PYSITELIB}/pyphen/dictionaries/hyph_nn_NO.dic
@@ -38,6 +41,7 @@
${PYSITELIB}/pyphen/dictionaries/hyph_ru_RU.dic
${PYSITELIB}/pyphen/dictionaries/hyph_sk_SK.dic
${PYSITELIB}/pyphen/dictionaries/hyph_sl_SI.dic
+${PYSITELIB}/pyphen/dictionaries/hyph_sq_AL.dic
${PYSITELIB}/pyphen/dictionaries/hyph_sr.dic
${PYSITELIB}/pyphen/dictionaries/hyph_sr_Latn.dic
${PYSITELIB}/pyphen/dictionaries/hyph_sv.dic
diff -r 2f8634e1817f -r 8f462ac39746 textproc/py-pyphen/distinfo
--- a/textproc/py-pyphen/distinfo Mon Aug 02 18:45:35 2021 +0000
+++ b/textproc/py-pyphen/distinfo Mon Aug 02 20:30:24 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2021/04/27 04:53:45 adam Exp $
+$NetBSD: distinfo,v 1.7 2021/08/02 20:30:24 adam Exp $
-SHA1 (Pyphen-0.10.0.tar.gz) = 35bdb4731ade8d59893aa3fd240f82832d1ff1ad
-RMD160 (Pyphen-0.10.0.tar.gz) = e90457be5b5684207e33b30510314d20dadf8e38
-SHA512 (Pyphen-0.10.0.tar.gz) = e7d5676fbf10282fa84a53a3a28bf9fb4a4e45bb16ef4fca9daabbd3fa24d18ef6d172f1555256ebff10ecbcc1a759cfd66f0c34b6f81d9ed1926c7ec655b8d4
-Size (Pyphen-0.10.0.tar.gz) = 1886814 bytes
+SHA1 (pyphen-0.11.0.tar.gz) = 471d6f52829badf7b2184eafbde0a01cebe6fb31
+RMD160 (pyphen-0.11.0.tar.gz) = ebdd64f0345cf072be9296d24f14fff8de2adb4d
+SHA512 (pyphen-0.11.0.tar.gz) = 49f510cdc00af479054c64380de8fb5722e2c99a3cf0f882c4b78b82c80300b6cb28c53c593a091e358eae662b28a50ac6e63afb8d57f2adf5c03e5a7f879c68
+Size (pyphen-0.11.0.tar.gz) = 1954944 bytes
+SHA1 (patch-setup.py) = bd47141df7bfd0cedd47d58a1ed8637c748ca345
diff -r 2f8634e1817f -r 8f462ac39746 textproc/py-pyphen/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-pyphen/patches/patch-setup.py Mon Aug 02 20:30:24 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.3 2021/08/02 20:30:24 adam Exp $
+
+Use setuptools.
+
+--- setup.py.orig 2021-08-02 20:14:20.000000000 +0000
++++ setup.py
+@@ -1,7 +1,7 @@
+ #!/usr/bin/env python
+ # setup.py generated by flit for tools that don't yet use PEP 517
+
+-from distutils.core import setup
++from setuptools import setup
+
+ packages = \
+ ['pyphen']
Home |
Main Index |
Thread Index |
Old Index