git: d08ac4d23137 - main - devel/py-ruamel.yaml.clib: Update to 0.2.8

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 05 Oct 2023 02:01:52 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d08ac4d23137c1e2d87906b4e5fbe2c17a0d47c3

commit d08ac4d23137c1e2d87906b4e5fbe2c17a0d47c3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-05 01:56:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-05 02:00:21 +0000

    devel/py-ruamel.yaml.clib: Update to 0.2.8
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://sourceforge.net/p/ruamel-yaml-clib/code/ci/default/log/
---
 devel/py-ruamel.yaml.clib/Makefile            | 10 +++----
 devel/py-ruamel.yaml.clib/distinfo            |  6 ++--
 devel/py-ruamel.yaml.clib/files/patch-clang16 | 40 +++++++++++++--------------
 3 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/devel/py-ruamel.yaml.clib/Makefile b/devel/py-ruamel.yaml.clib/Makefile
index 1db76a9e3fd5..32be1577c54c 100644
--- a/devel/py-ruamel.yaml.clib/Makefile
+++ b/devel/py-ruamel.yaml.clib/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	ruamel.yaml.clib
-PORTVERSION=	0.2.7
-PORTREVISION=	1
+PORTVERSION=	0.2.8
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +11,13 @@ WWW=		https://sourceforge.net/projects/ruamel-yaml-clib/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
-	${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/ruamel
-	${REINPLACE_CMD} -e '/LICENSE/d; /__init__/d' ${_PYTHONPKGLIST}
 
 .include <bsd.port.mk>
diff --git a/devel/py-ruamel.yaml.clib/distinfo b/devel/py-ruamel.yaml.clib/distinfo
index 768233d8e3c5..821964cdeb8c 100644
--- a/devel/py-ruamel.yaml.clib/distinfo
+++ b/devel/py-ruamel.yaml.clib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669057859
-SHA256 (ruamel.yaml.clib-0.2.7.tar.gz) = 1f08fd5a2bea9c4180db71678e850b995d2a5f4537be0e94557668cf0f5f9497
-SIZE (ruamel.yaml.clib-0.2.7.tar.gz) = 182535
+TIMESTAMP = 1696432938
+SHA256 (ruamel.yaml.clib-0.2.8.tar.gz) = beb2e0404003de9a4cab9753a8805a8fe9320ee6673136ed7f04255fe60bb512
+SIZE (ruamel.yaml.clib-0.2.8.tar.gz) = 213824
diff --git a/devel/py-ruamel.yaml.clib/files/patch-clang16 b/devel/py-ruamel.yaml.clib/files/patch-clang16
index c004325bd508..5bf6996e2eeb 100644
--- a/devel/py-ruamel.yaml.clib/files/patch-clang16
+++ b/devel/py-ruamel.yaml.clib/files/patch-clang16
@@ -1,31 +1,31 @@
---- _ruamel_yaml.c.orig	2022-10-20 06:59:47 UTC
+--- _ruamel_yaml.c.orig	2023-10-03 06:54:38 UTC
 +++ _ruamel_yaml.c
-@@ -1553,8 +1553,8 @@ static PyTypeObject *__pyx_ptype_12_ruamel_yaml_CEmitt
- static PyTypeObject *__pyx_ptype_12_ruamel_yaml_Mark = 0;
- static PyTypeObject *__pyx_ptype_12_ruamel_yaml_CParser = 0;
- static PyTypeObject *__pyx_ptype_12_ruamel_yaml_CEmitter = 0;
--static int __pyx_f_12_ruamel_yaml_input_handler(void *, char *, int, int *); /*proto*/
--static int __pyx_f_12_ruamel_yaml_output_handler(void *, char *, int); /*proto*/
-+static int __pyx_f_12_ruamel_yaml_input_handler(void *, unsigned char *, size_t, size_t *); /*proto*/
-+static int __pyx_f_12_ruamel_yaml_output_handler(void *, unsigned char *, size_t); /*proto*/
- static PyObject *__pyx_f_12_ruamel_yaml___pyx_unpickle_Mark__set_state(struct __pyx_obj_12_ruamel_yaml_Mark *, PyObject *); /*proto*/
- #define __Pyx_MODULE_NAME "_ruamel_yaml"
- extern int __pyx_module_is_main__ruamel_yaml;
-@@ -14551,7 +14551,7 @@ static PyObject *__pyx_pf_12_ruamel_yaml_7CParser_30__
+@@ -2272,8 +2272,8 @@ static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_
+ static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_8CEmitter__serialize_node(struct __pyx_obj_6ruamel_4yaml_4clib_12_ruamel_yaml_CEmitter *__pyx_v_self, PyObject *__pyx_v_node, PyObject *__pyx_v_parent, PyObject *__pyx_v_index); /* proto*/
+ 
+ /* Module declarations from "ruamel.yaml.clib._ruamel_yaml" */
+-static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_input_handler(void *, char *, int, int *); /*proto*/
+-static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_output_handler(void *, char *, int); /*proto*/
++static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_input_handler(void *, unsigned char *, size_t, size_t *); /*proto*/
++static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_output_handler(void *, unsigned char *, size_t); /*proto*/
+ static PyObject *__pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml___pyx_unpickle_Mark__set_state(struct __pyx_obj_6ruamel_4yaml_4clib_12_ruamel_yaml_Mark *, PyObject *); /*proto*/
+ /* #### Code section: typeinfo ### */
+ /* #### Code section: before_global_var ### */
+@@ -16092,7 +16092,7 @@ static PyObject *__pyx_pf_6ruamel_4yaml_4clib_12_ruame
   *     parser = <CParser>data
   */
  
--static int __pyx_f_12_ruamel_yaml_input_handler(void *__pyx_v_data, char *__pyx_v_buffer, int __pyx_v_size, int *__pyx_v_read) {
-+static int __pyx_f_12_ruamel_yaml_input_handler(void *__pyx_v_data, unsigned char *__pyx_v_buffer, size_t __pyx_v_size, size_t *__pyx_v_read) {
-   struct __pyx_obj_12_ruamel_yaml_CParser *__pyx_v_parser = 0;
+-static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_input_handler(void *__pyx_v_data, char *__pyx_v_buffer, int __pyx_v_size, int *__pyx_v_read) {
++static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_input_handler(void *__pyx_v_data, unsigned char *__pyx_v_buffer, size_t __pyx_v_size, size_t *__pyx_v_read) {
+   struct __pyx_obj_6ruamel_4yaml_4clib_12_ruamel_yaml_CParser *__pyx_v_parser = 0;
    PyObject *__pyx_v_value = NULL;
    int __pyx_r;
-@@ -23430,7 +23430,7 @@ static PyObject *__pyx_pf_12_ruamel_yaml_8CEmitter_16_
+@@ -25321,7 +25321,7 @@ static PyObject *__pyx_pf_6ruamel_4yaml_4clib_12_ruame
   *     emitter = <CEmitter>data
   */
  
--static int __pyx_f_12_ruamel_yaml_output_handler(void *__pyx_v_data, char *__pyx_v_buffer, int __pyx_v_size) {
-+static int __pyx_f_12_ruamel_yaml_output_handler(void *__pyx_v_data, unsigned char *__pyx_v_buffer, size_t __pyx_v_size) {
-   struct __pyx_obj_12_ruamel_yaml_CEmitter *__pyx_v_emitter = 0;
+-static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_output_handler(void *__pyx_v_data, char *__pyx_v_buffer, int __pyx_v_size) {
++static int __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_output_handler(void *__pyx_v_data, unsigned char *__pyx_v_buffer, size_t __pyx_v_size) {
+   struct __pyx_obj_6ruamel_4yaml_4clib_12_ruamel_yaml_CEmitter *__pyx_v_emitter = 0;
    PyObject *__pyx_v_value = NULL;
    int __pyx_r;