git: b92cb5bd7d9a - main - deskutils/py-send2trash: Update to 1.8.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 04:26:27 UTC
The branch main has been updated by sunpoet:

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

commit b92cb5bd7d9aef067b2294441904063cf8a02a65
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:08:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:08:24 +0000

    deskutils/py-send2trash: Update to 1.8.2
    
    Changes:        https://github.com/arsenetar/send2trash/releases
---
 deskutils/py-send2trash/Makefile | 5 ++++-
 deskutils/py-send2trash/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/deskutils/py-send2trash/Makefile b/deskutils/py-send2trash/Makefile
index fdf49caa42b1..7d3c01c6d76c 100644
--- a/deskutils/py-send2trash/Makefile
+++ b/deskutils/py-send2trash/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	send2trash
-PORTVERSION=	1.8.0
+PORTVERSION=	1.8.2
 CATEGORIES=	deskutils python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,4 +16,7 @@ USE_PYTHON=	autoplist concurrent distutils
 
 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/distinfo b/deskutils/py-send2trash/distinfo
index 4a6f886e1533..d98ec209d323 100644
--- a/deskutils/py-send2trash/distinfo
+++ b/deskutils/py-send2trash/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632664326
-SHA256 (Send2Trash-1.8.0.tar.gz) = d2c24762fd3759860a0aff155e45871447ea58d2be6bdd39b5c8f966a0c99c2d
-SIZE (Send2Trash-1.8.0.tar.gz) = 13455
+TIMESTAMP = 1684104376
+SHA256 (Send2Trash-1.8.2.tar.gz) = c132d59fa44b9ca2b1699af5c86f57ce9f4c5eb56629d5d55fbb7a35f84e2312
+SIZE (Send2Trash-1.8.2.tar.gz) = 17487