Date: Mon, 11 Jul 2022 13:52:56 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ac363c143722 - main - devel/py-pyproject-metadata: Add py-pyproject-metadata 0.6.1 Message-ID: <202207111352.26BDquBA011940@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ac363c143722dccc65e4acf955dc6859dfc34cad commit ac363c143722dccc65e4acf955dc6859dfc34cad Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-07-11 13:48:48 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-11 13:48:48 +0000 devel/py-pyproject-metadata: Add py-pyproject-metadata 0.6.1 pyproject-metadata provides dataclass for PEP 621 metadata with support for core metadata generation. This project does not implement the parsing of pyproject.toml containing PEP 621 metadata. Instead, given a Python data structure representing PEP 621 metadata (already parsed), it will validate this input and generate a PEP 643-compliant metadata file (e.g. PKG-INFO). WWW: https://github.com/FFY00/python-pyproject-metadata --- devel/Makefile | 1 + devel/py-pyproject-metadata/Makefile | 25 +++++++++++++++++++++++++ devel/py-pyproject-metadata/distinfo | 3 +++ devel/py-pyproject-metadata/files/setup.py | 3 +++ devel/py-pyproject-metadata/pkg-descr | 11 +++++++++++ 5 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 347cb84158ee..ecb3bd54b9bd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5031,6 +5031,7 @@ SUBDIR += py-pyperf SUBDIR += py-pyplusplus SUBDIR += py-pyproject-fmt + SUBDIR += py-pyproject-metadata SUBDIR += py-pypugjs SUBDIR += py-pyqtree SUBDIR += py-pyquery diff --git a/devel/py-pyproject-metadata/Makefile b/devel/py-pyproject-metadata/Makefile new file mode 100644 index 000000000000..4b0d8882c5a1 --- /dev/null +++ b/devel/py-pyproject-metadata/Makefile @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= pyproject-metadata +PORTVERSION= 0.6.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= PEP 621 metadata parsing + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=19.0:devel/py-packaging@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + +.include <bsd.port.mk> diff --git a/devel/py-pyproject-metadata/distinfo b/devel/py-pyproject-metadata/distinfo new file mode 100644 index 000000000000..96afa60f4bd6 --- /dev/null +++ b/devel/py-pyproject-metadata/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1657292470 +SHA256 (pyproject-metadata-0.6.1.tar.gz) = b5fb09543a64a91165dfe85796759f9e415edc296beb4db33d1ecf7866a862bd +SIZE (pyproject-metadata-0.6.1.tar.gz) = 7355 diff --git a/devel/py-pyproject-metadata/files/setup.py b/devel/py-pyproject-metadata/files/setup.py new file mode 100644 index 000000000000..606849326a40 --- /dev/null +++ b/devel/py-pyproject-metadata/files/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup() diff --git a/devel/py-pyproject-metadata/pkg-descr b/devel/py-pyproject-metadata/pkg-descr new file mode 100644 index 000000000000..7b617116ac01 --- /dev/null +++ b/devel/py-pyproject-metadata/pkg-descr @@ -0,0 +1,11 @@ +pyproject-metadata provides dataclass for PEP 621 metadata with support for core +metadata generation. + +This project does not implement the parsing of pyproject.toml containing PEP 621 +metadata. + +Instead, given a Python data structure representing PEP 621 metadata (already +parsed), it will validate this input and generate a PEP 643-compliant metadata +file (e.g. PKG-INFO). + +WWW: https://github.com/FFY00/python-pyproject-metadata
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207111352.26BDquBA011940>