pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-build



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb 14 16:10:02 UTC 2023

Modified Files:
        pkgsrc/devel/py-build: Makefile distinfo
Added Files:
        pkgsrc/devel/py-build/files: setup.py

Log Message:
py-build: updated to 0.10.0

0.10.0 (2023-01-11)

Replace pep517 dependency with pyproject_hooks, into which pep517 has been renamed
Change build backend from setuptools to flit
Dropped support for Python 3.6


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-build/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-build/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-build/files/setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-build/Makefile
diff -u pkgsrc/devel/py-build/Makefile:1.11 pkgsrc/devel/py-build/Makefile:1.12
--- pkgsrc/devel/py-build/Makefile:1.11 Wed Nov  9 07:54:20 2022
+++ pkgsrc/devel/py-build/Makefile      Tue Feb 14 16:10:02 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2022/11/09 07:54:20 adam Exp $
+# $NetBSD: Makefile,v 1.12 2023/02/14 16:10:02 adam Exp $
 
-DISTNAME=      build-0.9.0
+DISTNAME=      build-0.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/build/}
@@ -11,6 +11,7 @@ COMMENT=      Simple, correct PEP517 package 
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=19.0:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-pyproject_hooks-[0-9]*:../../devel/py-pyproject_hooks
 DEPENDS+=      ${PYPKGPREFIX}-pep517>=0.9.1:../../devel/py-pep517
 
 USE_LANGUAGES= # none
@@ -20,10 +21,14 @@ USE_PKG_RESOURCES=  yes
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 311
+.if ${_PYTHON_VERSION} != 311
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
 .endif
 
+# Generated setup.py; don't use wheel.mk as it depends on py-build.
+pre-configure:
+       ${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} pyproject-build pyproject-build-${PYVERSSUFFIX} || ${TRUE}

Index: pkgsrc/devel/py-build/distinfo
diff -u pkgsrc/devel/py-build/distinfo:1.3 pkgsrc/devel/py-build/distinfo:1.4
--- pkgsrc/devel/py-build/distinfo:1.3  Fri Oct 28 09:46:23 2022
+++ pkgsrc/devel/py-build/distinfo      Tue Feb 14 16:10:02 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2022/10/28 09:46:23 adam Exp $
+$NetBSD: distinfo,v 1.4 2023/02/14 16:10:02 adam Exp $
 
-BLAKE2s (build-0.9.0.tar.gz) = 7e6eedbf7f278f9e855e535082ca9803bf243ff1310b04ddd73ce75516920744
-SHA512 (build-0.9.0.tar.gz) = d1e8d0050c826e0faa39354be6083d8a890950b0b05922a86f3c69ad632a499076b82d83642557242ace1418cb0ef6e22842f982dc8efa24964ca28d98b37cca
-Size (build-0.9.0.tar.gz) = 17450 bytes
+BLAKE2s (build-0.10.0.tar.gz) = 77fc4e90045a4533c0fb4468ea13a93691939162e185474c7e2726d57b598081
+SHA512 (build-0.10.0.tar.gz) = 7278b570fa1e1eb6e6d4c04298eee2917311a29f0d6e1497945f00b7d1028c4d932b3d74a533ef6aaa46d7d3f140dd7e5b3781c5fd62f5f828ed227d5ff77565
+Size (build-0.10.0.tar.gz) = 16465 bytes

Added files:

Index: pkgsrc/devel/py-build/files/setup.py
diff -u /dev/null pkgsrc/devel/py-build/files/setup.py:1.1
--- /dev/null   Tue Feb 14 16:10:02 2023
+++ pkgsrc/devel/py-build/files/setup.py        Tue Feb 14 16:10:02 2023
@@ -0,0 +1,58 @@
+#!/usr/bin/env python
+
+from setuptools 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='0.10.0',
+      description='A simple, correct Python build frontend',
+      author=None,
+      author_email='Filipe Laíns <lains%riseup.net@localhost>, Bernát Gábor <gaborjbernat%gmail.com@localhost>, layday <layday%protonmail.com@localhost>, Henry Schreiner 
<henryschreineriii%gmail.com@localhost>',
+      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',
+     )



Home | Main Index | Thread Index | Old Index