pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-tomli
Module Name: pkgsrc
Committed By: adam
Date: Fri Jan 7 16:33:21 UTC 2022
Modified Files:
pkgsrc/textproc/py-tomli: Makefile distinfo
Removed Files:
pkgsrc/textproc/py-tomli/files: setup.py
Log Message:
py-tomli: updated to 2.0.0
2.0.0
Removed
Python 3.6 support
Support for text file objects as load input. Use binary file objects instead.
First argument of load and loads can no longer be passed by keyword.
Fixed
Allow lower case "t" and "z" in datetimes
Improved
Raise an error when dotted keys define values outside the "current table". Technically speaking TOML v1.0.0 does allow such assignments but that isn't intended by specification writers, and will
change in a future specification version (see the pull request).
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-tomli/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-tomli/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/textproc/py-tomli/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/textproc/py-tomli/Makefile
diff -u pkgsrc/textproc/py-tomli/Makefile:1.3 pkgsrc/textproc/py-tomli/Makefile:1.4
--- pkgsrc/textproc/py-tomli/Makefile:1.3 Tue Jan 4 20:55:08 2022
+++ pkgsrc/textproc/py-tomli/Makefile Fri Jan 7 16:33:21 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:55:08 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/07 16:33:21 adam Exp $
-DISTNAME= tomli-1.2.2
+DISTNAME= tomli-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tomli/}
@@ -11,20 +10,13 @@ HOMEPAGE= https://github.com/hukkin/toml
COMMENT= Lil' TOML parser
LICENSE= mit
-# it is possible to install this using flit_core, see
+# It is possible to install this using flit_core, see
# https://github.com/takluyver/flit/pull/441/files
# for details. For now we keep using setuptools.
-SUBST_CLASSES+= version
-SUBST_FILES.version+= setup.py
-SUBST_VARS.version+= PKGVERSION_NOREV
-SUBST_STAGE.version= pre-configure
-SUBST_MESSAGE.version= Setting version.
-
-post-extract:
- ${CP} ${FILESDIR}/setup.py ${WRKSRC}
-
PYTHON_VERSIONS_INCOMPATIBLE= 27
+PYSETUP= -c 'from setuptools import setup; setup(name="tomli", version="${PKGVERSION_NOREV}", packages=["tomli"], package_data={"": ["*"]})'
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-tomli/distinfo
diff -u pkgsrc/textproc/py-tomli/distinfo:1.1 pkgsrc/textproc/py-tomli/distinfo:1.2
--- pkgsrc/textproc/py-tomli/distinfo:1.1 Thu Nov 25 21:24:09 2021
+++ pkgsrc/textproc/py-tomli/distinfo Fri Jan 7 16:33:21 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2021/11/25 21:24:09 wiz Exp $
+$NetBSD: distinfo,v 1.2 2022/01/07 16:33:21 adam Exp $
-BLAKE2s (tomli-1.2.2.tar.gz) = eb4dab01e76aa84dc45cbe58c99f6a0316266f1f71f606cf10f606bb25b27d42
-SHA512 (tomli-1.2.2.tar.gz) = 54de8835aaf35d66e99ddad2a05e784b6b6113ee8acde9d3090f38e01b6b2c8960289460038060230c0fdff5dbfbf4aa0f2462040db60e4d19af9cbb1e3feccd
-Size (tomli-1.2.2.tar.gz) = 15091 bytes
+BLAKE2s (tomli-2.0.0.tar.gz) = b8105f0a62cc43314e07a07e04e64dea5ef1f6e6066a3ec902415b1e922ee8ae
+SHA512 (tomli-2.0.0.tar.gz) = f10596ac3daa6dbffe1592eec7d6f85cf2e21b9eb4c570cb398b2729a767fc54eb42a8ed0f5dd75b0bf4d35b91da6df7080f90930b1bba44506240d39a5e5c1d
+Size (tomli-2.0.0.tar.gz) = 15037 bytes
Home |
Main Index |
Thread Index |
Old Index