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).
This commit is contained in:
parent
a0a5c86b14
commit
a2fff4c5c0
3 changed files with 9 additions and 19 deletions
|
@ -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/tomli
|
|||
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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
from setuptools import setup
|
||||
setup(name="tomli", version="@PKGVERSION_NOREV@", packages=["tomli"], package_data={"": ["*"]})
|
Loading…
Reference in a new issue