git: 0d231ec121ae - main - devel/py-pyscaffold: Install missing template files

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 07 Oct 2024 14:58:56 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d231ec121aee06a694a5024fafc35622d90263d

commit 0d231ec121aee06a694a5024fafc35622d90263d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-07 14:56:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-07 14:58:46 +0000

    devel/py-pyscaffold: Install missing template files
    
    - Bump PORTREVISION for package change
    
    PR:             281745
    Reported by:    Yusuf Yaman <nxjoseph@protonmail.com>
---
 devel/py-pyscaffold/Makefile              |  1 +
 devel/py-pyscaffold/files/patch-setup.cfg | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/devel/py-pyscaffold/Makefile b/devel/py-pyscaffold/Makefile
index 95c3cd7252b1..cf7e9e68ebd0 100644
--- a/devel/py-pyscaffold/Makefile
+++ b/devel/py-pyscaffold/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyscaffold
 PORTVERSION=	4.6
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pyscaffold/files/patch-setup.cfg b/devel/py-pyscaffold/files/patch-setup.cfg
index 743b0bcfca8c..7cef49de7cc7 100644
--- a/devel/py-pyscaffold/files/patch-setup.cfg
+++ b/devel/py-pyscaffold/files/patch-setup.cfg
@@ -7,3 +7,14 @@
  description = Template tool for putting up the scaffold of a Python project
  author = Florian Wilhelm
  author_email = Florian.Wilhelm@gmail.com
+@@ -46,6 +46,10 @@ install_requires = 
+ 	tomlkit>=0.7.0,<2
+ 	packaging>=20.7
+ 	colorama>=0.4.4; sys_platform == "win32"
++
++[options.package_data]
++pyscaffold.templates =
++	*.template
+ 
+ [options.packages.find]
+ where = src