Skip to content

Commit

Permalink
devel/py-pdm-backend: Add py-pdm-backend 2.0.5
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sunpoet committed Apr 5, 2023
1 parent d2025bc commit 5c7ee22
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions devel/py-pdm-backend/Makefile
@@ -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>
3 changes: 3 additions & 0 deletions devel/py-pdm-backend/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1679498496
SHA256 (pdm_backend-2.0.5.tar.gz) = 7bb85061dc185ec0c8c72370475899fb91baea07fcc0311ce0b23d525e565ce5
SIZE (pdm_backend-2.0.5.tar.gz) = 142097
3 changes: 3 additions & 0 deletions devel/py-pdm-backend/pkg-descr
@@ -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.

0 comments on commit 5c7ee22

Please sign in to comment.