Re: [UPDATE] textproc/py-yaml

2019-04-03 Thread Stuart Henderson
On 2019/03/14 13:44, Remi Pointel wrote:
> Hi,
> 
> this is the diff to update py-yaml to latest release.
> 
> Ok?
> 
> Cheers,
> 
> Remi.


Looks like https://pyyaml.org/wiki/PyYAML is a better HOMEPAGE.
Patches need updating, and the changelog mentions incompatible changes:

#257 – Deprecate yaml.load and add FullLoader and UnsafeLoader classes
#256 – Make default_flow_style=False

I think probably post-unlock for this as well.



[UPDATE] textproc/py-yaml

2019-03-14 Thread Remi Pointel

Hi,

this is the diff to update py-yaml to latest release.

Ok?

Cheers,

Remi.
Index: Makefile
===
RCS file: /cvs/ports/textproc/py-yaml/Makefile,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 Makefile
--- Makefile	9 Jul 2018 06:37:46 -	1.18
+++ Makefile	14 Mar 2019 12:40:56 -
@@ -2,7 +2,7 @@
 
 COMMENT=	YAML parser and emitter in Python
 
-MODPY_EGG_VERSION=3.13
+MODPY_EGG_VERSION=5.1
 DISTNAME=	PyYAML-${MODPY_EGG_VERSION}
 PKGNAME=	py-yaml-${MODPY_EGG_VERSION}
 CATEGORIES=	textproc
@@ -14,11 +14,10 @@ MAINTAINER=	Pierre-Emmanuel Andre https://pyyaml.org/download/pyyaml/
-
 WANTLIB+=	pthread yaml ${MODPY_WANTLIB}
 
 MODULES=	lang/python
+MODPY_PI =	Yes
 
 FLAVORS =	python3
 FLAVOR ?=
Index: distinfo
===
RCS file: /cvs/ports/textproc/py-yaml/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo	9 Jul 2018 06:37:46 -	1.6
+++ distinfo	14 Mar 2019 12:40:56 -
@@ -1,2 +1,2 @@
-SHA256 (PyYAML-3.13.tar.gz) = PvMJIUXptw493Sx61ZvdAlKpTf45SXIWM+QTRN4Apr8=
-SIZE (PyYAML-3.13.tar.gz) = 270607
+SHA256 (PyYAML-5.1.tar.gz) = Q2vHdOz3wQOBQJgVn7uEwnFdJZgBdSksZI8toUOQn5U=
+SIZE (PyYAML-5.1.tar.gz) = 274244


Re: [UPDATE] textproc/py-yaml

2018-07-08 Thread Alexandr Shadchin
On Sat, Jul 07, 2018 at 07:48:12AM +0200, Remi Pointel wrote:
> Hi,
> 
> attached is the diff to update py-yaml.
> 
> Ok?
> 
> Cheers,
> 
> Remi.

ok shadchin@

> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/py-yaml/Makefile,v
> retrieving revision 1.17
> diff -u -p -u -p -r1.17 Makefile
> --- Makefile  4 Nov 2017 17:28:39 -   1.17
> +++ Makefile  7 Jul 2018 05:46:43 -
> @@ -2,11 +2,10 @@
>  
>  COMMENT= YAML parser and emitter in Python
>  
> -MODPY_EGG_VERSION=3.12
> +MODPY_EGG_VERSION=3.13
>  DISTNAME=PyYAML-${MODPY_EGG_VERSION}
>  PKGNAME= py-yaml-${MODPY_EGG_VERSION}
>  CATEGORIES=  textproc
> -REVISION=1
>  
>  HOMEPAGE=https://pyyaml.org/wiki/PyYAML
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/py-yaml/distinfo,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 distinfo
> --- distinfo  14 Nov 2016 01:57:57 -  1.5
> +++ distinfo  7 Jul 2018 05:46:43 -
> @@ -1,2 +1,2 @@
> -SHA256 (PyYAML-3.12.tar.gz) = WSdmxjAyB6IO/ERVh3eDItf3OxYb2ZTyJ62qNBuiEqs=
> -SIZE (PyYAML-3.12.tar.gz) = 253011
> +SHA256 (PyYAML-3.13.tar.gz) = PvMJIUXptw493Sx61ZvdAlKpTf45SXIWM+QTRN4Apr8=
> +SIZE (PyYAML-3.13.tar.gz) = 270607



[UPDATE] textproc/py-yaml

2018-07-06 Thread Remi Pointel

Hi,

attached is the diff to update py-yaml.

Ok?

Cheers,

Remi.
Index: Makefile
===
RCS file: /cvs/ports/textproc/py-yaml/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile	4 Nov 2017 17:28:39 -	1.17
+++ Makefile	7 Jul 2018 05:46:43 -
@@ -2,11 +2,10 @@
 
 COMMENT=	YAML parser and emitter in Python
 
-MODPY_EGG_VERSION=3.12
+MODPY_EGG_VERSION=3.13
 DISTNAME=	PyYAML-${MODPY_EGG_VERSION}
 PKGNAME=	py-yaml-${MODPY_EGG_VERSION}
 CATEGORIES=	textproc
-REVISION=	1
 
 HOMEPAGE=	https://pyyaml.org/wiki/PyYAML
 
Index: distinfo
===
RCS file: /cvs/ports/textproc/py-yaml/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo	14 Nov 2016 01:57:57 -	1.5
+++ distinfo	7 Jul 2018 05:46:43 -
@@ -1,2 +1,2 @@
-SHA256 (PyYAML-3.12.tar.gz) = WSdmxjAyB6IO/ERVh3eDItf3OxYb2ZTyJ62qNBuiEqs=
-SIZE (PyYAML-3.12.tar.gz) = 253011
+SHA256 (PyYAML-3.13.tar.gz) = PvMJIUXptw493Sx61ZvdAlKpTf45SXIWM+QTRN4Apr8=
+SIZE (PyYAML-3.13.tar.gz) = 270607


Re: UPDATE: textproc/py-yaml 3.12

2016-11-13 Thread Pierre-Emmanuel André
On Sun, Nov 13, 2016 at 04:33:18PM +1100, Jonathan Gray wrote:
> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/py-yaml/Makefile,v
> retrieving revision 1.14
> diff -u -p -r1.14 Makefile
> --- Makefile  9 Dec 2015 18:26:47 -   1.14
> +++ Makefile  13 Nov 2016 05:15:05 -
> @@ -2,10 +2,9 @@
>  
>  COMMENT= YAML parser and emitter in Python
>  
> -MODPY_EGG_VERSION=3.11
> +MODPY_EGG_VERSION=3.12
>  DISTNAME=PyYAML-${MODPY_EGG_VERSION}
>  PKGNAME= py-yaml-${MODPY_EGG_VERSION}
> -REVISION=1
>  CATEGORIES=  textproc
>  
>  HOMEPAGE=http://pyyaml.org/wiki/PyYAML
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/py-yaml/distinfo,v
> retrieving revision 1.4
> diff -u -p -r1.4 distinfo
> --- distinfo  19 Aug 2014 14:25:11 -  1.4
> +++ distinfo  13 Nov 2016 05:15:12 -
> @@ -1,2 +1,2 @@
> -SHA256 (PyYAML-3.11.tar.gz) = w2yTiocuX/SUk4szsUqqFWy0OexnVI/Ks1Nbt4sIRug=
> -SIZE (PyYAML-3.11.tar.gz) = 248685
> +SHA256 (PyYAML-3.12.tar.gz) = WSdmxjAyB6IO/ERVh3eDItf3OxYb2ZTyJ62qNBuiEqs=
> +SIZE (PyYAML-3.12.tar.gz) = 253011
> Index: patches/patch-lib3_yaml_scanner_py
> ===
> RCS file: patches/patch-lib3_yaml_scanner_py
> diff -N patches/patch-lib3_yaml_scanner_py
> --- patches/patch-lib3_yaml_scanner_py1 Dec 2014 09:24:46 -   
> 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,17 +0,0 @@
> -$OpenBSD: patch-lib3_yaml_scanner_py,v 1.1 2014/12/01 09:24:46 jasper Exp $
> -
> -Security fix for CVE-2014-9130
> -http://marc.info/?l=oss-security=141720508007010=2
> -
>  lib3/yaml/scanner.py.origMon Dec  1 10:14:54 2014
> -+++ lib3/yaml/scanner.py Mon Dec  1 10:15:21 2014
> -@@ -299,7 +299,8 @@ class Scanner:
> - 
> - # A simple key is required only if it is the first token in the 
> current
> - # line. Therefore it is always allowed.
> --assert self.allow_simple_key or not required
> -+# http://marc.info/?l=oss-security=141720508007010=2
> -+#assert self.allow_simple_key or not required
> - 
> - # The next token might be a simple key. Let's save it's number and
> - # position.
> Index: patches/patch-lib_yaml_scanner_py
> ===
> RCS file: patches/patch-lib_yaml_scanner_py
> diff -N patches/patch-lib_yaml_scanner_py
> --- patches/patch-lib_yaml_scanner_py 1 Dec 2014 09:24:46 -   1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,17 +0,0 @@
> -$OpenBSD: patch-lib_yaml_scanner_py,v 1.1 2014/12/01 09:24:46 jasper Exp $
> -
> -Security fix for CVE-2014-9130
> -http://marc.info/?l=oss-security=141720508007010=2
> -
>  lib/yaml/scanner.py.orig Wed Mar 26 19:54:13 2014
> -+++ lib/yaml/scanner.py  Mon Dec  1 10:15:36 2014
> -@@ -299,7 +299,8 @@ class Scanner(object):
> - 
> - # A simple key is required only if it is the first token in the 
> current
> - # line. Therefore it is always allowed.
> --assert self.allow_simple_key or not required
> -+# http://marc.info/?l=oss-security=141720508007010=2
> -+#assert self.allow_simple_key or not required
> - 
> - # The next token might be a simple key. Let's save it's number and
> - # position.


ok pea@
Thanks.



Re: UPDATE: textproc/py-yaml 3.12

2016-11-13 Thread Remi Pointel

On 11/13/16 06:33, Jonathan Gray wrote:

Index: Makefile
===
RCS file: /cvs/ports/textproc/py-yaml/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile9 Dec 2015 18:26:47 -   1.14
+++ Makefile13 Nov 2016 05:15:05 -
@@ -2,10 +2,9 @@

 COMMENT=   YAML parser and emitter in Python

-MODPY_EGG_VERSION=3.11
+MODPY_EGG_VERSION=3.12
 DISTNAME=  PyYAML-${MODPY_EGG_VERSION}
 PKGNAME=   py-yaml-${MODPY_EGG_VERSION}
-REVISION=  1
 CATEGORIES=textproc

 HOMEPAGE=  http://pyyaml.org/wiki/PyYAML
Index: distinfo
===
RCS file: /cvs/ports/textproc/py-yaml/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo19 Aug 2014 14:25:11 -  1.4
+++ distinfo13 Nov 2016 05:15:12 -
@@ -1,2 +1,2 @@
-SHA256 (PyYAML-3.11.tar.gz) = w2yTiocuX/SUk4szsUqqFWy0OexnVI/Ks1Nbt4sIRug=
-SIZE (PyYAML-3.11.tar.gz) = 248685
+SHA256 (PyYAML-3.12.tar.gz) = WSdmxjAyB6IO/ERVh3eDItf3OxYb2ZTyJ62qNBuiEqs=
+SIZE (PyYAML-3.12.tar.gz) = 253011
Index: patches/patch-lib3_yaml_scanner_py
===
RCS file: patches/patch-lib3_yaml_scanner_py
diff -N patches/patch-lib3_yaml_scanner_py
--- patches/patch-lib3_yaml_scanner_py  1 Dec 2014 09:24:46 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,17 +0,0 @@
-$OpenBSD: patch-lib3_yaml_scanner_py,v 1.1 2014/12/01 09:24:46 jasper Exp $
-
-Security fix for CVE-2014-9130
-http://marc.info/?l=oss-security=141720508007010=2
-
 lib3/yaml/scanner.py.orig  Mon Dec  1 10:14:54 2014
-+++ lib3/yaml/scanner.py   Mon Dec  1 10:15:21 2014
-@@ -299,7 +299,8 @@ class Scanner:
-
- # A simple key is required only if it is the first token in the 
current
- # line. Therefore it is always allowed.
--assert self.allow_simple_key or not required
-+# http://marc.info/?l=oss-security=141720508007010=2
-+#assert self.allow_simple_key or not required
-
- # The next token might be a simple key. Let's save it's number and
- # position.
Index: patches/patch-lib_yaml_scanner_py
===
RCS file: patches/patch-lib_yaml_scanner_py
diff -N patches/patch-lib_yaml_scanner_py
--- patches/patch-lib_yaml_scanner_py   1 Dec 2014 09:24:46 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,17 +0,0 @@
-$OpenBSD: patch-lib_yaml_scanner_py,v 1.1 2014/12/01 09:24:46 jasper Exp $
-
-Security fix for CVE-2014-9130
-http://marc.info/?l=oss-security=141720508007010=2
-
 lib/yaml/scanner.py.orig   Wed Mar 26 19:54:13 2014
-+++ lib/yaml/scanner.pyMon Dec  1 10:15:36 2014
-@@ -299,7 +299,8 @@ class Scanner(object):
-
- # A simple key is required only if it is the first token in the 
current
- # line. Therefore it is always allowed.
--assert self.allow_simple_key or not required
-+# http://marc.info/?l=oss-security=141720508007010=2
-+#assert self.allow_simple_key or not required
-
- # The next token might be a simple key. Let's save it's number and
- # position.



ok rpointel@



UPDATE: textproc/py-yaml 3.12

2016-11-12 Thread Jonathan Gray
Index: Makefile
===
RCS file: /cvs/ports/textproc/py-yaml/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile9 Dec 2015 18:26:47 -   1.14
+++ Makefile13 Nov 2016 05:15:05 -
@@ -2,10 +2,9 @@
 
 COMMENT=   YAML parser and emitter in Python
 
-MODPY_EGG_VERSION=3.11
+MODPY_EGG_VERSION=3.12
 DISTNAME=  PyYAML-${MODPY_EGG_VERSION}
 PKGNAME=   py-yaml-${MODPY_EGG_VERSION}
-REVISION=  1
 CATEGORIES=textproc
 
 HOMEPAGE=  http://pyyaml.org/wiki/PyYAML
Index: distinfo
===
RCS file: /cvs/ports/textproc/py-yaml/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo19 Aug 2014 14:25:11 -  1.4
+++ distinfo13 Nov 2016 05:15:12 -
@@ -1,2 +1,2 @@
-SHA256 (PyYAML-3.11.tar.gz) = w2yTiocuX/SUk4szsUqqFWy0OexnVI/Ks1Nbt4sIRug=
-SIZE (PyYAML-3.11.tar.gz) = 248685
+SHA256 (PyYAML-3.12.tar.gz) = WSdmxjAyB6IO/ERVh3eDItf3OxYb2ZTyJ62qNBuiEqs=
+SIZE (PyYAML-3.12.tar.gz) = 253011
Index: patches/patch-lib3_yaml_scanner_py
===
RCS file: patches/patch-lib3_yaml_scanner_py
diff -N patches/patch-lib3_yaml_scanner_py
--- patches/patch-lib3_yaml_scanner_py  1 Dec 2014 09:24:46 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,17 +0,0 @@
-$OpenBSD: patch-lib3_yaml_scanner_py,v 1.1 2014/12/01 09:24:46 jasper Exp $
-
-Security fix for CVE-2014-9130
-http://marc.info/?l=oss-security=141720508007010=2
-
 lib3/yaml/scanner.py.orig  Mon Dec  1 10:14:54 2014
-+++ lib3/yaml/scanner.py   Mon Dec  1 10:15:21 2014
-@@ -299,7 +299,8 @@ class Scanner:
- 
- # A simple key is required only if it is the first token in the 
current
- # line. Therefore it is always allowed.
--assert self.allow_simple_key or not required
-+# http://marc.info/?l=oss-security=141720508007010=2
-+#assert self.allow_simple_key or not required
- 
- # The next token might be a simple key. Let's save it's number and
- # position.
Index: patches/patch-lib_yaml_scanner_py
===
RCS file: patches/patch-lib_yaml_scanner_py
diff -N patches/patch-lib_yaml_scanner_py
--- patches/patch-lib_yaml_scanner_py   1 Dec 2014 09:24:46 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,17 +0,0 @@
-$OpenBSD: patch-lib_yaml_scanner_py,v 1.1 2014/12/01 09:24:46 jasper Exp $
-
-Security fix for CVE-2014-9130
-http://marc.info/?l=oss-security=141720508007010=2
-
 lib/yaml/scanner.py.orig   Wed Mar 26 19:54:13 2014
-+++ lib/yaml/scanner.pyMon Dec  1 10:15:36 2014
-@@ -299,7 +299,8 @@ class Scanner(object):
- 
- # A simple key is required only if it is the first token in the 
current
- # line. Therefore it is always allowed.
--assert self.allow_simple_key or not required
-+# http://marc.info/?l=oss-security=141720508007010=2
-+#assert self.allow_simple_key or not required
- 
- # The next token might be a simple key. Let's save it's number and
- # position.