pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-tomli textproc/py-tomli: import py-tomli-1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c3d301e539e
branches:  trunk
changeset: 770152:7c3d301e539e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Nov 25 21:24:09 2021 +0000

description:
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.

diffstat:

 textproc/py-tomli/DESCR          |   2 ++
 textproc/py-tomli/Makefile       |  27 +++++++++++++++++++++++++++
 textproc/py-tomli/PLIST          |  18 ++++++++++++++++++
 textproc/py-tomli/distinfo       |   5 +++++
 textproc/py-tomli/files/setup.py |   2 ++
 5 files changed, 54 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r 6f8d3587f9c0 -r 7c3d301e539e textproc/py-tomli/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-tomli/DESCR   Thu Nov 25 21:24:09 2021 +0000
@@ -0,0 +1,2 @@
+Tomli is a Python library for parsing TOML. Tomli is fully compatible
+with TOML v1.0.0.
diff -r 6f8d3587f9c0 -r 7c3d301e539e textproc/py-tomli/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-tomli/Makefile        Thu Nov 25 21:24:09 2021 +0000
@@ -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@localhost
+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"
diff -r 6f8d3587f9c0 -r 7c3d301e539e textproc/py-tomli/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-tomli/PLIST   Thu Nov 25 21:24:09 2021 +0000
@@ -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
diff -r 6f8d3587f9c0 -r 7c3d301e539e textproc/py-tomli/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-tomli/distinfo        Thu Nov 25 21:24:09 2021 +0000
@@ -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
diff -r 6f8d3587f9c0 -r 7c3d301e539e textproc/py-tomli/files/setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-tomli/files/setup.py  Thu Nov 25 21:24:09 2021 +0000
@@ -0,0 +1,2 @@
+from setuptools import setup
+setup(name="tomli", version="@PKGVERSION_NOREV@", packages=["tomli"], package_data={"": ["*"]})



Home | Main Index | Thread Index | Old Index