Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2023 13:08:20 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c35b44ac7fdb - main - devel/py-build: Update to 0.10.0
Message-ID:  <202301301308.30UD8KQw056283@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c35b44ac7fdb9b27ae0d6b49380ec3cefef7699d

commit c35b44ac7fdb9b27ae0d6b49380ec3cefef7699d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:30:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:39 +0000

    devel/py-build: Update to 0.10.0
    
    Changes:        https://github.com/pypa/build/blob/main/CHANGELOG.rst
---
 devel/py-build/Makefile       | 11 +++++---
 devel/py-build/distinfo       |  6 ++---
 devel/py-build/files/setup.py | 59 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 69 insertions(+), 7 deletions(-)

diff --git a/devel/py-build/Makefile b/devel/py-build/Makefile
index 970178b053e5..3f83236c3cdb 100644
--- a/devel/py-build/Makefile
+++ b/devel/py-build/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	build
-PORTVERSION=	0.9.0
+PORTVERSION=	0.10.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,9 +12,9 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=19.0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pep517>=0.9.1:devel/py-pep517@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pyproject_hooks>=0:devel/py-pyproject_hooks@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
@@ -26,7 +26,10 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.22:devel/py-importlib
 .endif
 
 .if ${PYTHON_REL} < 31100
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR}
 .endif
 
+post-patch:
+	@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
+
 .include <bsd.port.post.mk>
diff --git a/devel/py-build/distinfo b/devel/py-build/distinfo
index e9d7947da263..cf663b7225d6 100644
--- a/devel/py-build/distinfo
+++ b/devel/py-build/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669057691
-SHA256 (build-0.9.0.tar.gz) = 1a07724e891cbd898923145eb7752ee7653674c511378eb9c7691aab1612bc3c
-SIZE (build-0.9.0.tar.gz) = 17450
+TIMESTAMP = 1674589742
+SHA256 (build-0.10.0.tar.gz) = d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269
+SIZE (build-0.10.0.tar.gz) = 16465
diff --git a/devel/py-build/files/setup.py b/devel/py-build/files/setup.py
new file mode 100644
index 000000000000..0fe44296b904
--- /dev/null
+++ b/devel/py-build/files/setup.py
@@ -0,0 +1,59 @@
+#!/usr/bin/env python
+# setup.py generated by flit for tools that don't yet use PEP 517
+
+from distutils.core import setup
+
+packages = \
+['build']
+
+package_data = \
+{'': ['*']}
+
+package_dir = \
+{'': 'src'}
+
+install_requires = \
+['packaging >= 19.0', 'pyproject_hooks']
+
+extras_require = \
+{':os_name == "nt"': ['colorama'],
+ ':python_version < "3.11"': ['tomli >= 1.1.0'],
+ ':python_version < "3.8"': ['importlib-metadata >= 0.22'],
+ 'docs': ['furo >= 2021.08.31',
+          'sphinx ~= 4.0',
+          'sphinx-argparse-cli >= 1.5',
+          'sphinx-autodoc-typehints >= 1.10'],
+ 'test': ['filelock >= 3',
+          'pytest >= 6.2.4',
+          'pytest-cov >= 2.12',
+          'pytest-mock >= 2',
+          'pytest-rerunfailures >= 9.1',
+          'pytest-xdist >= 1.34',
+          'toml >= 0.10.0',
+          'wheel >= 0.36.0'],
+ 'test:python_version < "3.10"': ['setuptools >= 42.0.0'],
+ 'test:python_version >= "3.10"': ['setuptools >= 56.0.0'],
+ 'typing': ['importlib-metadata >= 5.1',
+            'mypy == 0.991',
+            'tomli',
+            'typing-extensions >= 3.7.4.3'],
+ 'virtualenv': ['virtualenv >= 20.0.35']}
+
+entry_points = \
+{'console_scripts': ['pyproject-build = build.__main__:entrypoint'],
+ 'pipx.run': ['build = build.__main__:entrypoint']}
+
+setup(name='build',
+      version='%%PORTVERSION%%',
+      description='A simple, correct Python build frontend',
+      author=None,
+      author_email='Filipe Laíns <lains@riseup.net>, Bernát Gábor <gaborjbernat@gmail.com>, layday <layday@protonmail.com>, Henry Schreiner <henryschreineriii@gmail.com>',
+      url=None,
+      packages=packages,
+      package_data=package_data,
+      package_dir=package_dir,
+      install_requires=install_requires,
+      extras_require=extras_require,
+      entry_points=entry_points,
+      python_requires='>= 3.7',
+     )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301301308.30UD8KQw056283>