Date: Mon, 5 Jun 2023 18:51:55 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e76fa7f5705b - main - deskutils/py-send2trash: Convert to USE_PYTHON=pep517 Message-ID: <202306051851.355IpthM051000@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e76fa7f5705b21aa9bb7f749a4a0ee60d5a3f969 commit e76fa7f5705b21aa9bb7f749a4a0ee60d5a3f969 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-05 18:39:00 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-05 18:47:00 +0000 deskutils/py-send2trash: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- deskutils/py-send2trash/Makefile | 9 +++++---- deskutils/py-send2trash/files/patch-setup.cfg | 9 +++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/deskutils/py-send2trash/Makefile b/deskutils/py-send2trash/Makefile index 7d3c01c6d76c..f720d6ee93c2 100644 --- a/deskutils/py-send2trash/Makefile +++ b/deskutils/py-send2trash/Makefile @@ -1,5 +1,6 @@ PORTNAME= send2trash PORTVERSION= 1.8.2 +PORTREVISION= 1 CATEGORIES= deskutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,12 +12,12 @@ WWW= https://github.com/arsenetar/send2trash LICENSE= BSD3CLAUSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= dos2unix python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${PRINTF} "from setuptools import setup\n\nsetup()\n" > ${WRKSRC}/setup.py - .include <bsd.port.mk> diff --git a/deskutils/py-send2trash/files/patch-setup.cfg b/deskutils/py-send2trash/files/patch-setup.cfg new file mode 100644 index 000000000000..9a964e2c1c5c --- /dev/null +++ b/deskutils/py-send2trash/files/patch-setup.cfg @@ -0,0 +1,9 @@ +--- setup.cfg.orig 2023-04-27 05:30:25 UTC ++++ setup.cfg +@@ -1,5 +1,5 @@ + [metadata] +-name = Send2Trash ++name = send2trash + version = 1.8.2 + url = https://github.com/arsenetar/send2trash + project_urls =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306051851.355IpthM051000>