pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-tomli make py-tomli use pep517 for building
details: https://anonhg.NetBSD.org/pkgsrc/rev/8034b4c015bb
branches: trunk
changeset: 371679:8034b4c015bb
user: nros <nros%pkgsrc.org@localhost>
date: Tue Jan 11 21:53:33 2022 +0000
description:
make py-tomli use pep517 for building
diffstat:
textproc/py-tomli/Makefile | 9 ++++-----
textproc/py-tomli/PLIST | 17 ++++++++---------
textproc/py-tomli/files/setup.py | 20 --------------------
3 files changed, 12 insertions(+), 34 deletions(-)
diffs (77 lines):
diff -r 1a413852b351 -r 8034b4c015bb textproc/py-tomli/Makefile
--- a/textproc/py-tomli/Makefile Tue Jan 11 21:49:03 2022 +0000
+++ b/textproc/py-tomli/Makefile Tue Jan 11 21:53:33 2022 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.5 2022/01/10 19:16:03 adam Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/11 21:53:33 nros Exp $
-# Important: Re-generate files/setup.py on update.
DISTNAME= tomli-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
@@ -15,8 +14,8 @@
PYTHON_VERSIONS_INCOMPATIBLE= 27
-pre-configure:
- ${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+BUILD_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 1a413852b351 -r 8034b4c015bb textproc/py-tomli/PLIST
--- a/textproc/py-tomli/PLIST Tue Jan 11 21:49:03 2022 +0000
+++ b/textproc/py-tomli/PLIST Tue Jan 11 21:53:33 2022 +0000
@@ -1,18 +1,17 @@
-@comment $NetBSD: PLIST,v 1.1 2021/11/25 21:24:09 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2022/01/11 21:53:33 nros Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
${PYSITELIB}/tomli/__init__.py
${PYSITELIB}/tomli/__init__.pyc
-${PYSITELIB}/tomli/__init__.pyo
${PYSITELIB}/tomli/_parser.py
${PYSITELIB}/tomli/_parser.pyc
-${PYSITELIB}/tomli/_parser.pyo
${PYSITELIB}/tomli/_re.py
${PYSITELIB}/tomli/_re.pyc
-${PYSITELIB}/tomli/_re.pyo
${PYSITELIB}/tomli/_types.py
${PYSITELIB}/tomli/_types.pyc
-${PYSITELIB}/tomli/_types.pyo
${PYSITELIB}/tomli/py.typed
diff -r 1a413852b351 -r 8034b4c015bb textproc/py-tomli/files/setup.py
--- a/textproc/py-tomli/files/setup.py Tue Jan 11 21:49:03 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#!/usr/bin/env python
-
-from setuptools import setup
-
-packages = \
-['tomli']
-
-package_data = \
-{'': ['*']}
-
-setup(name='tomli',
- version='2.0.0',
- description="A lil' TOML parser",
- author=None,
- author_email='Taneli Hukkinen <hukkin%users.noreply.github.com@localhost>',
- url=None,
- packages=packages,
- package_data=package_data,
- python_requires='>=3.7',
- )
Home |
Main Index |
Thread Index |
Old Index