textproc/py-tomli: import py-tomli-1.2.2

Tomli is a Python library for parsing TOML. Tomli is fully compatible
with TOML v1.0.0.
This commit is contained in:
wiz 2021-11-25 21:24:09 +00:00
parent 0461842c79
commit 6aa64d9cc0
5 changed files with 54 additions and 0 deletions

2
textproc/py-tomli/DESCR Normal file
View file

@ -0,0 +1,2 @@
Tomli is a Python library for parsing TOML. Tomli is fully compatible
with TOML v1.0.0.

View file

@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.1 2021/11/25 21:24:09 wiz Exp $
DISTNAME= tomli-1.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tomli/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/hukkin/tomli
COMMENT= Lil' TOML parser
LICENSE= mit
# 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}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

18
textproc/py-tomli/PLIST Normal file
View file

@ -0,0 +1,18 @@
@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
${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

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2021/11/25 21:24:09 wiz 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

View file

@ -0,0 +1,2 @@
from setuptools import setup
setup(name="tomli", version="@PKGVERSION_NOREV@", packages=["tomli"], package_data={"": ["*"]})