svn commit: r527187 - in head/devel: . py-pep517
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Feb 26 20:46:19 UTC 2020
Author: sunpoet
Date: Wed Feb 26 20:46:16 2020
New Revision: 527187
URL: https://svnweb.freebsd.org/changeset/ports/527187
Log:
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
Added:
head/devel/py-pep517/
head/devel/py-pep517/Makefile (contents, props changed)
head/devel/py-pep517/distinfo (contents, props changed)
head/devel/py-pep517/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Feb 26 20:37:25 2020 (r527186)
+++ head/devel/Makefile Wed Feb 26 20:46:16 2020 (r527187)
@@ -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
Added: head/devel/py-pep517/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pep517/Makefile Wed Feb 26 20:46:16 2020 (r527187)
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pep517
+PORTVERSION= 0.8.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at 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>
Added: head/devel/py-pep517/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pep517/distinfo Wed Feb 26 20:46:16 2020 (r527187)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1582733351
+SHA256 (pep517-0.8.1.tar.gz) = 5ce351f3be71d01bb094d63253854b6139931fcaba8e2f380c02102136c51e40
+SIZE (pep517-0.8.1.tar.gz) = 20416
Added: head/devel/py-pep517/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pep517/pkg-descr Wed Feb 26 20:46:16 2020 (r527187)
@@ -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
More information about the svn-ports-head
mailing list