git: 708041a64a32 - main - devel/py-pyyaml5: Remove obsoleted port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 07 Jul 2024 08:11:42 UTC
The branch main has been updated by sunpoet:

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

commit 708041a64a32d6182ef8b219e6a772dd3c252f23
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-07 08:11:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-07 08:11:26 +0000

    devel/py-pyyaml5: Remove obsoleted port
    
    Use devel/py-pyyaml instead.
    
    This port was added for devel/oci-cli which requires pyyaml < 6. The restriction was relaxed later.
    
    Reference:      https://cgit.freebsd.org/ports/commit/?id=af75775bb587e2e801b8aea4fbf62d02fee27d8e
---
 MOVED                      |  1 +
 devel/Makefile             |  1 -
 devel/py-pyyaml5/Makefile  | 54 ----------------------------------------------
 devel/py-pyyaml5/distinfo  |  3 ---
 devel/py-pyyaml5/pkg-descr | 14 ------------
 devel/py-pyyaml5/pkg-plist |  4 ----
 6 files changed, 1 insertion(+), 76 deletions(-)

diff --git a/MOVED b/MOVED
index 25a0a7c784bb..3332f8776ab0 100644
--- a/MOVED
+++ b/MOVED
@@ -3381,3 +3381,4 @@ security/bcrypt||2024-07-02|Has expired: Hasn't seen updates in 15 years, insecu
 devel/py-stackexchange|devel/py-py-stackexchange|2024-07-06|Move devel/py-stackexchange to devel/py-py-stackexchange
 devel/py-xcaplib|devel/py-python-xcaplib|2024-07-06|Move devel/py-xcaplib to devel/py-python-xcaplib
 devel/py-yaml|devel/py-pyyaml|2024-07-07|Move devel/py-yaml to devel/py-pyyaml
+devel/py-pyyaml5|devel/py-pyyaml|2024-07-07|Remove obsoleted port. Use devel/py-pyyaml instead
diff --git a/devel/Makefile b/devel/Makefile
index 49bd4ba785a2..fa0e63e43c94 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5621,7 +5621,6 @@
     SUBDIR += py-pyxb-x
     SUBDIR += py-pyyaml
     SUBDIR += py-pyyaml-include
-    SUBDIR += py-pyyaml5
     SUBDIR += py-pyyaml_env_tag
     SUBDIR += py-pyzipper
     SUBDIR += py-q
diff --git a/devel/py-pyyaml5/Makefile b/devel/py-pyyaml5/Makefile
deleted file mode 100644
index da0ea93fb036..000000000000
--- a/devel/py-pyyaml5/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-PORTNAME=	pyyaml
-PORTVERSION=	5.4.1
-CATEGORIES=	devel python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=	5
-DISTNAME=	PyYAML-${PORTVERSION}
-
-MAINTAINER=	python@FreeBSD.org
-COMMENT=	Python YAML parser
-WWW=		https://pyyaml.org/
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-USES=		python
-USE_PYTHON=	autoplist concurrent cython distutils
-
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}yaml
-
-PORTSCOUT=	limit:^5\.
-
-OPTIONS_DEFINE=	LIBYAML EXAMPLES
-OPTIONS_DEFAULT=LIBYAML
-LIBYAML_DESC=	Use textproc/libyaml for faster parsing
-
-LIBYAML_LIB_DEPENDS=	libyaml.so:textproc/libyaml
-
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MLIBYAML}
-PYDISTUTILS_SETUP+=		--with-libyaml
-PYDISTUTILS_BUILD_TARGET=	build_ext
-PYDISTUTILS_BUILDARGS+=		--include-dirs=${LOCALBASE}/include \
-				--library-dirs=${LOCALBASE}/lib
-.else
-PYDISTUTILS_SETUP+=		--without-libyaml
-NO_ARCH=			yes
-.endif
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
-CFLAGS+=	-Wno-error=incompatible-function-pointer-types
-.endif
-
-post-install-EXAMPLES-on:
-	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
-
-post-install-LIBYAML-on:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/yaml/_yaml*.so
-
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
-
-.include <bsd.port.post.mk>
diff --git a/devel/py-pyyaml5/distinfo b/devel/py-pyyaml5/distinfo
deleted file mode 100644
index d2b4d347de18..000000000000
--- a/devel/py-pyyaml5/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1622221237
-SHA256 (PyYAML-5.4.1.tar.gz) = 607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e
-SIZE (PyYAML-5.4.1.tar.gz) = 175147
diff --git a/devel/py-pyyaml5/pkg-descr b/devel/py-pyyaml5/pkg-descr
deleted file mode 100644
index aa8457b69545..000000000000
--- a/devel/py-pyyaml5/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-PyYAML is a YAML parser and emitter for the Python programming language.
-
-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
-     sequences.
-   * 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.
-   * relatively sensible error messages.
diff --git a/devel/py-pyyaml5/pkg-plist b/devel/py-pyyaml5/pkg-plist
deleted file mode 100644
index e66ce5f13c7a..000000000000
--- a/devel/py-pyyaml5/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pygments-lexer/example.yaml
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pygments-lexer/yaml.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yaml-highlight/yaml_hl.cfg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yaml-highlight/yaml_hl.py