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:   wiz
Date:           Thu Nov 25 21:24:09 UTC 2021

Added Files:
        pkgsrc/textproc/py-tomli: DESCR Makefile PLIST distinfo
        pkgsrc/textproc/py-tomli/files: setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-tomli/DESCR \
    pkgsrc/textproc/py-tomli/Makefile pkgsrc/textproc/py-tomli/PLIST \
    pkgsrc/textproc/py-tomli/distinfo
cvs rdiff -u -r0 -r1.1 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.

Added files:

Index: pkgsrc/textproc/py-tomli/DESCR
diff -u /dev/null pkgsrc/textproc/py-tomli/DESCR:1.1
--- /dev/null   Thu Nov 25 21:24:09 2021
+++ pkgsrc/textproc/py-tomli/DESCR      Thu Nov 25 21:24:09 2021
@@ -0,0 +1,2 @@
+Tomli is a Python library for parsing TOML. Tomli is fully compatible
+with TOML v1.0.0.
Index: pkgsrc/textproc/py-tomli/Makefile
diff -u /dev/null pkgsrc/textproc/py-tomli/Makefile:1.1
--- /dev/null   Thu Nov 25 21:24:09 2021
+++ pkgsrc/textproc/py-tomli/Makefile   Thu Nov 25 21:24:09 2021
@@ -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"
Index: pkgsrc/textproc/py-tomli/PLIST
diff -u /dev/null pkgsrc/textproc/py-tomli/PLIST:1.1
--- /dev/null   Thu Nov 25 21:24:09 2021
+++ pkgsrc/textproc/py-tomli/PLIST      Thu Nov 25 21:24:09 2021
@@ -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
Index: pkgsrc/textproc/py-tomli/distinfo
diff -u /dev/null pkgsrc/textproc/py-tomli/distinfo:1.1
--- /dev/null   Thu Nov 25 21:24:09 2021
+++ pkgsrc/textproc/py-tomli/distinfo   Thu Nov 25 21:24:09 2021
@@ -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

Index: pkgsrc/textproc/py-tomli/files/setup.py
diff -u /dev/null pkgsrc/textproc/py-tomli/files/setup.py:1.1
--- /dev/null   Thu Nov 25 21:24:09 2021
+++ pkgsrc/textproc/py-tomli/files/setup.py     Thu Nov 25 21:24:09 2021
@@ -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