pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb 14 17:42:54 UTC 2023

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/py-pyproject_hooks: DESCR Makefile PLIST distinfo
        pkgsrc/devel/py-pyproject_hooks/files: setup.py

Log Message:
py-pyproject_hooks: added version 1.0.0

This is a low-level library for calling build-backends in pyproject.toml-based
project. It provides the basic functionality to help write tooling that
generates distribution files from Python projects.


To generate a diff of this commit:
cvs rdiff -u -r1.3920 -r1.3921 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pyproject_hooks/DESCR \
    pkgsrc/devel/py-pyproject_hooks/Makefile \
    pkgsrc/devel/py-pyproject_hooks/PLIST \
    pkgsrc/devel/py-pyproject_hooks/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pyproject_hooks/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/Makefile
diff -u pkgsrc/devel/Makefile:1.3920 pkgsrc/devel/Makefile:1.3921
--- pkgsrc/devel/Makefile:1.3920        Sun Feb 12 10:59:08 2023
+++ pkgsrc/devel/Makefile       Tue Feb 14 17:42:54 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3920 2023/02/12 10:59:08 tnn Exp $
+# $NetBSD: Makefile,v 1.3921 2023/02/14 17:42:54 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2851,6 +2851,7 @@ SUBDIR+=  py-pyobjc-framework-iTunesLibra
 SUBDIR+=       py-pyobjc-framework-libdispatch
 SUBDIR+=       py-pyparsing
 SUBDIR+=       py-pyparsing2
+SUBDIR+=       py-pyproject_hooks
 SUBDIR+=       py-pyrsistent
 SUBDIR+=       py-pysha3
 SUBDIR+=       py-pysvn

Added files:

Index: pkgsrc/devel/py-pyproject_hooks/DESCR
diff -u /dev/null pkgsrc/devel/py-pyproject_hooks/DESCR:1.1
--- /dev/null   Tue Feb 14 17:42:54 2023
+++ pkgsrc/devel/py-pyproject_hooks/DESCR       Tue Feb 14 17:42:54 2023
@@ -0,0 +1,3 @@
+This is a low-level library for calling build-backends in pyproject.toml-based
+project. It provides the basic functionality to help write tooling that
+generates distribution files from Python projects.
Index: pkgsrc/devel/py-pyproject_hooks/Makefile
diff -u /dev/null pkgsrc/devel/py-pyproject_hooks/Makefile:1.1
--- /dev/null   Tue Feb 14 17:42:54 2023
+++ pkgsrc/devel/py-pyproject_hooks/Makefile    Tue Feb 14 17:42:54 2023
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2023/02/14 17:42:54 adam Exp $
+
+DISTNAME=      pyproject_hooks-1.0.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyproject_hooks/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pyproject-hooks.readthedocs.io/
+COMMENT=       Wrappers to call pyproject.toml-based build backend hooks
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+USE_PKG_RESOURCES=     yes
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} != 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
+.endif
+
+# Generated setup.py; don't use wheel.mk as py-build depends on this package.
+pre-configure:
+       ${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-pyproject_hooks/PLIST
diff -u /dev/null pkgsrc/devel/py-pyproject_hooks/PLIST:1.1
--- /dev/null   Tue Feb 14 17:42:54 2023
+++ pkgsrc/devel/py-pyproject_hooks/PLIST       Tue Feb 14 17:42:54 2023
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2023/02/14 17:42:54 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pyproject_hooks/__init__.py
+${PYSITELIB}/pyproject_hooks/__init__.pyc
+${PYSITELIB}/pyproject_hooks/__init__.pyo
+${PYSITELIB}/pyproject_hooks/_compat.py
+${PYSITELIB}/pyproject_hooks/_compat.pyc
+${PYSITELIB}/pyproject_hooks/_compat.pyo
+${PYSITELIB}/pyproject_hooks/_impl.py
+${PYSITELIB}/pyproject_hooks/_impl.pyc
+${PYSITELIB}/pyproject_hooks/_impl.pyo
+${PYSITELIB}/pyproject_hooks/_in_process/__init__.py
+${PYSITELIB}/pyproject_hooks/_in_process/__init__.pyc
+${PYSITELIB}/pyproject_hooks/_in_process/__init__.pyo
+${PYSITELIB}/pyproject_hooks/_in_process/_in_process.py
+${PYSITELIB}/pyproject_hooks/_in_process/_in_process.pyc
+${PYSITELIB}/pyproject_hooks/_in_process/_in_process.pyo
Index: pkgsrc/devel/py-pyproject_hooks/distinfo
diff -u /dev/null pkgsrc/devel/py-pyproject_hooks/distinfo:1.1
--- /dev/null   Tue Feb 14 17:42:54 2023
+++ pkgsrc/devel/py-pyproject_hooks/distinfo    Tue Feb 14 17:42:54 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/02/14 17:42:54 adam Exp $
+
+BLAKE2s (pyproject_hooks-1.0.0.tar.gz) = 1c4f2e6b2e201d34d6fc6dce51980e00981d945075003f07959999d06b8bcd14
+SHA512 (pyproject_hooks-1.0.0.tar.gz) = 53e286cfcf8b286560cfebafe44e2162360bc1b567df2ed9019376128e14fffaafa3964f77b18487f5023aa092ede628ba5115301de42e101595f41c091d90c9
+Size (pyproject_hooks-1.0.0.tar.gz) = 16901 bytes

Index: pkgsrc/devel/py-pyproject_hooks/files/setup.py
diff -u /dev/null pkgsrc/devel/py-pyproject_hooks/files/setup.py:1.1
--- /dev/null   Tue Feb 14 17:42:54 2023
+++ pkgsrc/devel/py-pyproject_hooks/files/setup.py      Tue Feb 14 17:42:54 2023
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+
+from setuptools import setup
+
+packages = \
+['pyproject_hooks', 'pyproject_hooks._in_process']
+
+package_data = \
+{'': ['*']}
+
+package_dir = \
+{'': 'src'}
+
+extras_require = \
+{":python_version<'3.11'": ['tomli >=1.1.0 ']}
+
+setup(name='pyproject_hooks',
+      version='1.0.0',
+      description='Wrappers to call pyproject.toml-based build backend hooks.',
+      author=None,
+      author_email='Thomas Kluyver <thomas%kluyver.me.uk@localhost>',
+      url=None,
+      packages=packages,
+      package_data=package_data,
+      package_dir=package_dir,
+      extras_require=extras_require,
+      python_requires='>=3.7',
+     )



Home | Main Index | Thread Index | Old Index