1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

devel/py-pdm-backend: Add py-pdm-backend 2.0.5

This is the backend for PDM projects that is fully-compatible with PEP 517 spec,
but you can also use it alone. It reads the metadata of PEP 621 format and
coverts it to Core metadata.
This commit is contained in:
Po-Chuan Hsieh 2023-04-06 01:07:26 +08:00
parent d2025bc3c4
commit 5c7ee226ff
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 35 additions and 0 deletions

View File

@ -5035,6 +5035,7 @@
SUBDIR += py-pbr
SUBDIR += py-pcodedmp
SUBDIR += py-pdm
SUBDIR += py-pdm-backend
SUBDIR += py-pdm-pep517
SUBDIR += py-pebble
SUBDIR += py-pefile

View File

@ -0,0 +1,28 @@
PORTNAME= pdm-backend
PORTVERSION= 2.0.5
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pdm_backend-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Build backend used by PDM that supports latest packaging standards
WWW= https://github.com/pdm-project/pdm-backend
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.7+
USE_PYTHON= autoplist concurrent pep517
MAKE_ENV= PYTHONPATH=${WRKSRC}/src
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31000
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1679498496
SHA256 (pdm_backend-2.0.5.tar.gz) = 7bb85061dc185ec0c8c72370475899fb91baea07fcc0311ce0b23d525e565ce5
SIZE (pdm_backend-2.0.5.tar.gz) = 142097

View File

@ -0,0 +1,3 @@
This is the backend for PDM projects that is fully-compatible with PEP 517 spec,
but you can also use it alone. It reads the metadata of PEP 621 format and
coverts it to Core metadata.