git: 19a5e689c3f1 - main - textproc/py-tomli: Update to 1.2.1

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Aug 8 22:04:57 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19a5e689c3f1b799a69af5326d270699c0bea279

commit 19a5e689c3f1b799a69af5326d270699c0bea279
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-08-08 21:37:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-08-08 21:44:07 +0000

    textproc/py-tomli: Update to 1.2.1
    
    Changes:        https://github.com/hukkin/tomli/blob/master/CHANGELOG.md
---
 textproc/py-tomli/Makefile       |  5 ++++-
 textproc/py-tomli/distinfo       |  6 +++---
 textproc/py-tomli/files/setup.py | 21 +++++++++++++++++++++
 3 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/textproc/py-tomli/Makefile b/textproc/py-tomli/Makefile
index f290f34e6cdd..c556a3990479 100644
--- a/textproc/py-tomli/Makefile
+++ b/textproc/py-tomli/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
 
 PORTNAME=	tomli
-PORTVERSION=	1.2.0
+PORTVERSION=	1.2.1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,4 +17,7 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+post-patch:
+	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
 .include <bsd.port.mk>
diff --git a/textproc/py-tomli/distinfo b/textproc/py-tomli/distinfo
index e89b32313bc8..d34b300de5dd 100644
--- a/textproc/py-tomli/distinfo
+++ b/textproc/py-tomli/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1628103162
-SHA256 (tomli-1.2.0.tar.gz) = d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2
-SIZE (tomli-1.2.0.tar.gz) = 12213
+TIMESTAMP = 1628439068
+SHA256 (tomli-1.2.1.tar.gz) = a5b75cb6f3968abb47af1b40c1819dc519ea82bcc065776a866e8d74c5ca9442
+SIZE (tomli-1.2.1.tar.gz) = 14945
diff --git a/textproc/py-tomli/files/setup.py b/textproc/py-tomli/files/setup.py
new file mode 100644
index 000000000000..49d46c56224a
--- /dev/null
+++ b/textproc/py-tomli/files/setup.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+# setup.py generated by flit for tools that don't yet use PEP 517
+
+from distutils.core import setup
+
+packages = \
+['tomli']
+
+package_data = \
+{'': ['*']}
+
+setup(name='tomli',
+      version='1.2.1',
+      description="A lil' TOML parser",
+      author=None,
+      author_email='Taneli Hukkinen <hukkin at users.noreply.github.com>',
+      url=None,
+      packages=packages,
+      package_data=package_data,
+      python_requires='>=3.6',
+     )


More information about the dev-commits-ports-main mailing list