1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

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)
This commit is contained in:
Ruslan Makhmatkhanov 2024-06-11 08:03:51 +03:00
parent 1027b9ccc4
commit 7f25c88630
3 changed files with 20 additions and 6 deletions

View File

@ -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>

View File

@ -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

View File

@ -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]