git: 11e69da5b5f1 - main - textproc/py-tomli: Update to 2.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 30 Mar 2022 22:24:24 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=11e69da5b5f1cc4d73213fb5052af6f7a2511f78

commit 11e69da5b5f1cc4d73213fb5052af6f7a2511f78
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-30 22:07:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-30 22:21:20 +0000

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

diff --git a/textproc/py-tomli/Makefile b/textproc/py-tomli/Makefile
index 87b85c345285..fd69cc77a2a6 100644
--- a/textproc/py-tomli/Makefile
+++ b/textproc/py-tomli/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	tomli
-PORTVERSION=	1.2.3
+PORTVERSION=	2.0.1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ COMMENT=	Lil' TOML parser
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
diff --git a/textproc/py-tomli/distinfo b/textproc/py-tomli/distinfo
index 31a334c65650..19f18d4d2949 100644
--- a/textproc/py-tomli/distinfo
+++ b/textproc/py-tomli/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641046010
-SHA256 (tomli-1.2.3.tar.gz) = 05b6166bff487dc068d322585c7ea4ef78deed501cc124060e0f238e89a9231f
-SIZE (tomli-1.2.3.tar.gz) = 15094
+TIMESTAMP = 1648248992
+SHA256 (tomli-2.0.1.tar.gz) = de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
+SIZE (tomli-2.0.1.tar.gz) = 15164
diff --git a/textproc/py-tomli/files/setup.py b/textproc/py-tomli/files/setup.py
index 0a76d4154c5a..3a7a2820c9a8 100644
--- a/textproc/py-tomli/files/setup.py
+++ b/textproc/py-tomli/files/setup.py
@@ -9,6 +9,9 @@ packages = \
 package_data = \
 {'': ['*']}
 
+package_dir = \
+{'': 'src'}
+
 setup(name='tomli',
       version='%%PORTVERSION%%',
       description="A lil' TOML parser",
@@ -17,5 +20,6 @@ setup(name='tomli',
       url=None,
       packages=packages,
       package_data=package_data,
-      python_requires='>=3.6',
+      package_dir=package_dir,
+      python_requires='>=3.7',
      )