git: 0ebd00131d61 - main - textproc/py-pyphen: Update 0.10.0 -> 0.12.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 10 May 2022 21:21:45 UTC
The branch main has been updated by yuri:

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

commit 0ebd00131d61000511c91c9497f4a32075d35405
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-10 21:05:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-10 21:21:40 +0000

    textproc/py-pyphen: Update 0.10.0 -> 0.12.0
---
 textproc/py-pyphen/Makefile | 10 ++++++++--
 textproc/py-pyphen/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/textproc/py-pyphen/Makefile b/textproc/py-pyphen/Makefile
index 0f74332d5899..e83712650df6 100644
--- a/textproc/py-pyphen/Makefile
+++ b/textproc/py-pyphen/Makefile
@@ -1,11 +1,10 @@
 # Created by: Yuri Victorovich <yuri@rawbw.com>
 
 PORTNAME=	pyphen
-PORTVERSION=	0.10.0
+PORTVERSION=	0.12.0
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	Pyphen-${PORTVERSION}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Module to hyphenate text based on Hunspell dictionaries
@@ -18,6 +17,13 @@ LICENSE_FILE_MPL11=	${WRKSRC}/COPYING.MPL
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
+
 NO_ARCH=	yes
 
+pre-configure:
+	@( \
+		${ECHO} "from setuptools import setup" && \
+		${ECHO} "setup()" \
+	) > ${WRKSRC}/setup.py
+
 .include <bsd.port.mk>
diff --git a/textproc/py-pyphen/distinfo b/textproc/py-pyphen/distinfo
index 17ac492ccb81..6294e15759be 100644
--- a/textproc/py-pyphen/distinfo
+++ b/textproc/py-pyphen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604135664
-SHA256 (Pyphen-0.10.0.tar.gz) = 719b21dfb4b04fbc11cc0f6112418535fe35474021120cccfffc43a25fe63128
-SIZE (Pyphen-0.10.0.tar.gz) = 1886814
+TIMESTAMP = 1652216508
+SHA256 (pyphen-0.12.0.tar.gz) = b7d3dfc24b6f2178cdb2b1757ace0bd5d222de3e62c28d22ac578c5f22a13e9b
+SIZE (pyphen-0.12.0.tar.gz) = 1958745