Had some issues with py-yaml since it's a RUN_DEPEND for another port
I'm working on, so updated.
Diff attached.
* bumped to 6.0 and dropped REVISION
* dropped ${MODPY_WANTLIB} from WANTLIB as per `make
port-lib-depends-check` output
* fixed for default python3
* removed whitespace in pkg/DESCR that portcheck barked about
It's a DEPEND for a bunch of other ports, but didn't check those (yet).
Thanks
g
Index: py-yaml//Makefile
===================================================================
RCS file: /cvs/ports/textproc/py-yaml/Makefile,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile
--- py-yaml//Makefile 11 Mar 2022 20:03:25 -0000 1.27
+++ py-yaml//Makefile 5 May 2022 22:24:13 -0000
@@ -1,9 +1,8 @@
COMMENT= YAML parser and emitter in Python
-MODPY_EGG_VERSION=5.4.1
+MODPY_EGG_VERSION= 6.0
DISTNAME= PyYAML-${MODPY_EGG_VERSION}
PKGNAME= py-yaml-${MODPY_EGG_VERSION}
-REVISION= 0
CATEGORIES= textproc
@@ -14,10 +13,10 @@ MAINTAINER= Pierre-Emmanuel Andre <pea@o
# BSD
PERMIT_PACKAGE= Yes
-WANTLIB+= pthread yaml-0 ${MODPY_WANTLIB}
+WANTLIB+= pthread yaml-0
+FLAVOR= python3
FLAVORS= python3
-FLAVOR?=
MODULES= lang/python
MODPY_PI= Yes
Index: py-yaml//distinfo
===================================================================
RCS file: /cvs/ports/textproc/py-yaml/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- py-yaml//distinfo 1 Feb 2022 18:30:27 -0000 1.9
+++ py-yaml//distinfo 5 May 2022 22:24:13 -0000
@@ -1,2 +1,2 @@
-SHA256 (PyYAML-5.4.1.tar.gz) = YHd0y7oocyv6gCtUuqdIQhX1MJkQVbtWLvvtWy8gpF4=
-SIZE (PyYAML-5.4.1.tar.gz) = 175147
+SHA256 (PyYAML-6.0.tar.gz) = aPtRnBQwb+yXIKKltFvJ8MjRuccq30XDe67fzZScNaI=
+SIZE (PyYAML-6.0.tar.gz) = 124996
Index: py-yaml//pkg/DESCR
===================================================================
RCS file: /cvs/ports/textproc/py-yaml/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- py-yaml//pkg/DESCR 18 Oct 2008 10:54:52 -0000 1.1.1.1
+++ py-yaml//pkg/DESCR 5 May 2022 22:24:13 -0000
@@ -4,12 +4,12 @@ PyYAML features
* a complete YAML 1.1 parser. In particular, PyYAML can parse all
examples from the specification. The parsing algorithm is simple
- enough to be a reference for YAML parser implementors.
- * Unicode support including UTF-8/UTF-16 input/output and \u escape
+ enough to be a reference for YAML parser implementors.
+ * Unicode support including UTF-8/UTF-16 input/output and \u escape
sequences.
- * low-level event-based parser and emitter API (like SAX).
+ * low-level event-based parser and emitter API (like SAX).
* high-level API for serializing and deserializing native Python
- objects (like DOM or pickle).
- * support for all types from the YAML types repository. A simple
- extension API is provided.
+ objects (like DOM or pickle).
+ * support for all types from the YAML types repository. A simple
+ extension API is provided.
* relatively sensible error messages.