git: 7f25c88630da - main - misc/py-emoji: update to 2.12.1

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Tue, 11 Jun 2024 05:05:15 UTC
The branch main has been updated by rm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f25c88630da3ee7f39e1a7530a3e010a8bf366b

commit 7f25c88630da3ee7f39e1a7530a3e010a8bf366b
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-06-11 05:03:51 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-06-11 05:03:51 +0000

    misc/py-emoji: update to 2.12.1
    
    - update to 2.12.1
    - switch to pep517
    - allow package build with setuptools < 65
    - take up maintainership
    
    emoji > 2.7.0 is required for newer version of net-im/gajim
    
    PR:             279660
    Approved by:    kevans (maintainer)
---
 misc/py-emoji/Makefile                   | 11 ++++++++---
 misc/py-emoji/distinfo                   |  6 +++---
 misc/py-emoji/files/patch-pyproject.toml |  9 +++++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/misc/py-emoji/Makefile b/misc/py-emoji/Makefile
index d5e34c68772e..191c1930e262 100644
--- a/misc/py-emoji/Makefile
+++ b/misc/py-emoji/Makefile
@@ -1,18 +1,23 @@
 PORTNAME=	emoji
-PORTVERSION=	1.6.1
+PORTVERSION=	2.12.1
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	kevans@FreeBSD.org
+MAINTAINER=	rm@FreeBSD.org
 COMMENT=	Emoji support for Python
 WWW=		https://github.com/carpedm20/emoji
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/misc/py-emoji/distinfo b/misc/py-emoji/distinfo
index 3609251a1a7b..abf4a00891ab 100644
--- a/misc/py-emoji/distinfo
+++ b/misc/py-emoji/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634542901
-SHA256 (emoji-1.6.1.tar.gz) = 53d61a8e4c025f6c295ab99c842302c66d47952199c4fde66dd060dee3ad4324
-SIZE (emoji-1.6.1.tar.gz) = 170014
+TIMESTAMP = 1718058673
+SHA256 (emoji-2.12.1.tar.gz) = 4aa0488817691aa58d83764b6c209f8a27c0b3ab3f89d1b8dceca1a62e4973eb
+SIZE (emoji-2.12.1.tar.gz) = 442019
diff --git a/misc/py-emoji/files/patch-pyproject.toml b/misc/py-emoji/files/patch-pyproject.toml
new file mode 100644
index 000000000000..06b0c4f09e30
--- /dev/null
+++ b/misc/py-emoji/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2024-05-20 10:49:13 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=65.0.0"]
++requires = ["setuptools>=63.0.0"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]