Verified Commit 708041a6 authored by sunpoet's avatar sunpoet
Browse files

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
parent 1a80ec7c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -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

devel/py-pyyaml5/Makefile

deleted100644 → 0
+0 −54
Original line number Diff line number Diff line
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>

devel/py-pyyaml5/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1622221237
SHA256 (PyYAML-5.4.1.tar.gz) = 607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e
SIZE (PyYAML-5.4.1.tar.gz) = 175147

devel/py-pyyaml5/pkg-descr

deleted100644 → 0
+0 −14
Original line number Diff line number Diff line
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.
Loading