git: 9ee86d491bf8 - main - devel/py-ctypesgen: Update to 1.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 08:17:14 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ee86d491bf895f1a55d9e0a31ae58ff87ae68b7

commit 9ee86d491bf895f1a55d9e0a31ae58ff87ae68b7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-11-19 08:11:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-11-19 08:11:58 +0000

    devel/py-ctypesgen: Update to 1.1.0
    
    - Change MASTER_SITES from GitHub to CHEESESHOP
    - Update WWW
    
    Changes:        https://github.com/ctypesgen/ctypesgen/releases
---
 devel/py-ctypesgen/Makefile              | 15 +++++++--------
 devel/py-ctypesgen/distinfo              |  6 +++---
 devel/py-ctypesgen/files/patch-setup.cfg | 11 +++++++++++
 3 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/devel/py-ctypesgen/Makefile b/devel/py-ctypesgen/Makefile
index 8a68750dcab4..2b94e17e1f85 100644
--- a/devel/py-ctypesgen/Makefile
+++ b/devel/py-ctypesgen/Makefile
@@ -1,24 +1,23 @@
 PORTNAME=	ctypesgen
-PORTVERSION=	1.0.2
-DISTVERSIONPREFIX=	ctypesgen-
+PORTVERSION=	1.1.0
 CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python wrapper generator for ctypes
-WWW=		https://github.com/davidjamesca/ctypesgen
+WWW=		https://github.com/ctypesgen/ctypesgen
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		python:3.6+ shebangfix
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.3:devel/py-setuptools_scm@${PY_FLAVOR}
+
+USES=		python:3.7+ shebangfix
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	davidjamesca
-
-SHEBANG_FILES=	ctypesgen/test/testsuite.py
+SHEBANG_FILES=	tests/testsuite.py
 
 .include <bsd.port.mk>
diff --git a/devel/py-ctypesgen/distinfo b/devel/py-ctypesgen/distinfo
index 18ea922e35bc..5e800b6978cb 100644
--- a/devel/py-ctypesgen/distinfo
+++ b/devel/py-ctypesgen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1624189673
-SHA256 (davidjamesca-ctypesgen-ctypesgen-1.0.2_GH0.tar.gz) = 409ff3984ecf2aef09008045a713d61031990e95834074bff27957430223b729
-SIZE (davidjamesca-ctypesgen-ctypesgen-1.0.2_GH0.tar.gz) = 119413
+TIMESTAMP = 1665647247
+SHA256 (ctypesgen-1.1.0.tar.gz) = 4dcad3b0b9cf645004c14c6a7a074c372b752a6dd516d5aba555a12192c3f3af
+SIZE (ctypesgen-1.1.0.tar.gz) = 142907
diff --git a/devel/py-ctypesgen/files/patch-setup.cfg b/devel/py-ctypesgen/files/patch-setup.cfg
new file mode 100644
index 000000000000..61c45e5885df
--- /dev/null
+++ b/devel/py-ctypesgen/files/patch-setup.cfg
@@ -0,0 +1,11 @@
+--- setup.cfg.orig	2022-10-12 09:48:48 UTC
++++ setup.cfg
+@@ -25,7 +25,7 @@ classifiers = 
+ packages = find:
+ package_dir = 
+ include_package_data = True
+-setup_requires = setuptools>=44; wheel; toml; setuptools_scm>=3.4.3
++setup_requires = setuptools>=44; setuptools_scm>=3.4.3
+ python_requires = >=3.7
+ 
+ [options.packages.find]