mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Add py-pep517 0.8.1
PEP 517 specifies a standard API for systems which build Python packages. This package contains wrappers around the hooks specified by PEP 517. It provides: - A mechanism to call the hooks in a subprocess, so they are isolated from the current process. - Fallbacks for the optional hooks, so that frontends can call the hooks without checking which are defined. - Higher-level functions which install the build dependencies into a temporary environment and build a wheel/sdist using them. WWW: https://github.com/pypa/pep517
This commit is contained in:
parent
a1234f77d7
commit
e3e7c48e93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527187
@ -4703,6 +4703,7 @@
|
||||
SUBDIR += py-pebble
|
||||
SUBDIR += py-pefile
|
||||
SUBDIR += py-pendulum
|
||||
SUBDIR += py-pep517
|
||||
SUBDIR += py-pep8-naming
|
||||
SUBDIR += py-period
|
||||
SUBDIR += py-petname
|
||||
|
30
devel/py-pep517/Makefile
Normal file
30
devel/py-pep517/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pep517
|
||||
PORTVERSION= 0.8.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Wrappers to build Python packages using PEP 517 hooks
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3800
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}zipp>=0:devel/py-zipp@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
devel/py-pep517/distinfo
Normal file
3
devel/py-pep517/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1582733351
|
||||
SHA256 (pep517-0.8.1.tar.gz) = 5ce351f3be71d01bb094d63253854b6139931fcaba8e2f380c02102136c51e40
|
||||
SIZE (pep517-0.8.1.tar.gz) = 20416
|
12
devel/py-pep517/pkg-descr
Normal file
12
devel/py-pep517/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
PEP 517 specifies a standard API for systems which build Python packages.
|
||||
|
||||
This package contains wrappers around the hooks specified by PEP 517. It
|
||||
provides:
|
||||
- A mechanism to call the hooks in a subprocess, so they are isolated from the
|
||||
current process.
|
||||
- Fallbacks for the optional hooks, so that frontends can call the hooks without
|
||||
checking which are defined.
|
||||
- Higher-level functions which install the build dependencies into a temporary
|
||||
environment and build a wheel/sdist using them.
|
||||
|
||||
WWW: https://github.com/pypa/pep517
|
Loading…
Reference in New Issue
Block a user