From nobody Mon Jan 30 23:51:52 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P5Q2K0WySz3bVK2; Mon, 30 Jan 2023 23:51:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P5Q2J70RRz4QHl; Mon, 30 Jan 2023 23:51:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675122713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kQ5iX+C6g3Du8/ciWsC8/hW1Sc7S8LmeQ2OCG0tmZqo=; b=fdug7pWCVLfrmvwxwtXZC1Pdb+TLNqC6RyT769+uGpxuVjjottJiDyn1ua74yIDelZrDOB Zo6DF3lwp0uIT+8Q/+cFNz0Iby0ZhXMTwCIwQ1bH/bjuDO8neKHCWBUfjvUBjXpbiL1RHp VyLos9zz0B928krA5G2Hkm/v3g41iNYmUTZ1qajR45IlsJjYrH8H2HJQNtBzkoycqGpCEA LoyMrjBXh2LJrLuf1cIvsLHNxFII+jCqjo8tZ+DAGKSbtsWVsq9csNMOQEc8VPFiIe8knu Xzsi/qqh5Or/6MPROl3jqACuy25/T4t9UzrF7O0ssMtEEoHaRMNUqlVB3TBv3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675122713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kQ5iX+C6g3Du8/ciWsC8/hW1Sc7S8LmeQ2OCG0tmZqo=; b=jE5anBniiuFGd2etO71ejbPUcTn6vSdWtgu2V+o9c6Iu1cqv2rcZXIJDKBYb0iD/WKdKGQ arcQttN2t5EPUDKPIXS2rrbkJTKpyEs5jmnoNq1oLnWEHVqYd/l2M6WeiH+9QOaC0aFntg BPMq/FY92B64n2D/aD741OcDIv4Ow6N9RPdCY6GEs6MHkr9WsXhvJrFKuZrGQ0pK4d9fSq xbTxW0/fT7lwJHZTurtt9c2sujWToZa0hA+R4hRwqDbsersnCIuOmcOLUE0dgWXbc8n7tI us1KgVqqxkVJNaneN2WLeqpOw7NN4M7ypZdTlVAS4INKfBgkmyyPc5vaIaetCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675122713; a=rsa-sha256; cv=none; b=RFfJxh/Lb37baQpYwOhrXrp0XeqnGYqeoNLX21j/h0s5KWHm9p6dQG7wBoSD1LMgqeQokS nyEiFKhS/VLgU+ambYX768jTj92kaJ3/kmcENjeAAuK0k48r5PQqRjorRUnJVSrsP4KkA4 WZWgZw4SwO49uG19caRMzKlUpgigYh0sRrOkAzStb/eTJsNpPG+XHGLpGhLgqtM0slZAQd iOaH3hLjAZyXkr+c3y3gx0CRSFD+/Eifn6CQq37Fy1hGMC/3VEnZpQlZKFTgqSLcvVJovc nhwTqP/e9/1kCJvCb8D7qKdEOPdoDDzI2pjzFp4ezjsgnkm0BosawP2pGtZrdQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P5Q2J63QQzS3D; Mon, 30 Jan 2023 23:51:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30UNpqb4001348; Mon, 30 Jan 2023 23:51:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UNpqXb001347; Mon, 30 Jan 2023 23:51:52 GMT (envelope-from git) Date: Mon, 30 Jan 2023 23:51:52 GMT Message-Id: <202301302351.30UNpqXb001347@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 439898268332 - main - devel/py-pyyaml5: Add py-pyyaml5 5.4.1 (copied from py-yaml) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 439898268332f576dc7bbbb9351a01d5eca562c3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=439898268332f576dc7bbbb9351a01d5eca562c3 commit 439898268332f576dc7bbbb9351a01d5eca562c3 Author: Po-Chuan Hsieh AuthorDate: 2023-01-30 23:48:59 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-01-30 23:51:42 +0000 devel/py-pyyaml5: Add py-pyyaml5 5.4.1 (copied from py-yaml) - Add CONFLICTS_INSTALL - Add PORTSCOUT --- devel/Makefile | 1 + devel/py-pyyaml5/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++++++++ devel/py-pyyaml5/distinfo | 3 +++ devel/py-pyyaml5/pkg-descr | 14 +++++++++++++ devel/py-pyyaml5/pkg-plist | 4 ++++ 5 files changed, 72 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index eb7f0be7bc1f..766a34cbc10b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5287,6 +5287,7 @@ SUBDIR += py-pyvisa-py SUBDIR += py-pyxb 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 new file mode 100644 index 000000000000..5a2c75dde5d3 --- /dev/null +++ b/devel/py-pyyaml5/Makefile @@ -0,0 +1,50 @@ +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:3.6+ +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 + +.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 + +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 diff --git a/devel/py-pyyaml5/distinfo b/devel/py-pyyaml5/distinfo new file mode 100644 index 000000000000..d2b4d347de18 --- /dev/null +++ b/devel/py-pyyaml5/distinfo @@ -0,0 +1,3 @@ +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 new file mode 100644 index 000000000000..aa8457b69545 --- /dev/null +++ b/devel/py-pyyaml5/pkg-descr @@ -0,0 +1,14 @@ +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 new file mode 100644 index 000000000000..e66ce5f13c7a --- /dev/null +++ b/devel/py-pyyaml5/pkg-plist @@ -0,0 +1,4 @@ +%%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