1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

devel/py-pep621: Add py-pep621 0.4.0

pep621 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-pep621
This commit is contained in:
Po-Chuan Hsieh 2022-01-24 02:05:25 +08:00
parent 8ea039c2b9
commit 1e4d4f1d4f
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 43 additions and 0 deletions

View File

@ -4910,6 +4910,7 @@
SUBDIR += py-pendulum
SUBDIR += py-pep517
SUBDIR += py-pep562
SUBDIR += py-pep621
SUBDIR += py-pep8-naming
SUBDIR += py-period
SUBDIR += py-persistent

25
devel/py-pep621/Makefile Normal file
View File

@ -0,0 +1,25 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= pep621
PORTVERSION= 0.4.0
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>

3
devel/py-pep621/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1642102111
SHA256 (pep621-0.4.0.tar.gz) = 024271b42c3ce72fd4c57792da428c4a6c29fadee58c3580096e2a1a86131434
SIZE (pep621-0.4.0.tar.gz) = 6400

View File

@ -0,0 +1,3 @@
from setuptools import setup
setup()

11
devel/py-pep621/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
pep621 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-pep621