Hi, ports@

    Here is a patch for textproc/py-pyaml:
    i) Update to 20.4.0
    ii) Switch to python3
    iii) Add new RUN_D

    It build well and pass all tests on amd64-6.9 system.
    No other ports depends on it.

wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/py-pyaml/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile    21 May 2021 19:50:37 -0000      1.4
+++ Makefile    11 Jun 2021 07:01:00 -0000
@@ -2,8 +2,7 @@
 
 COMMENT =              module to produce pretty and readable YAML
 
-MODPY_EGG_VERSION =    19.4.1
-REVISION =             2
+MODPY_EGG_VERSION =    20.4.0
 
 DISTNAME =             pyaml-${MODPY_EGG_VERSION}
 PKGNAME =              py-${DISTNAME}
@@ -23,7 +22,9 @@ MODPY_PYTEST =                Yes
 MODPY_PYTEST_ARGS =    pyaml/tests/dump.py
 
 FLAVORS =              python3
-FLAVOR ?=
+FLAVOR ?=              python3
+
+RUN_DEPENDS =          textproc/py-yaml${MODPY_FLAVOR}
 
 TEST_DEPENDS =         textproc/py-unidecode${MODPY_FLAVOR}
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/py-pyaml/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    27 Dec 2019 05:13:29 -0000      1.1.1.1
+++ distinfo    11 Jun 2021 07:01:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (pyaml-19.4.1.tar.gz) = x5rpjs7NoTagNBFcoXjui/OqffI2xIjC9V0S8Xe4jx4=
-SIZE (pyaml-19.4.1.tar.gz) = 20078
+SHA256 (pyaml-20.4.0.tar.gz) = KaXCpoZgp5kQPWlJFnvWx5U9AxRJ0IgCOGNy3h22rXE=
+SIZE (pyaml-20.4.0.tar.gz) = 21176

Reply via email to