git: 6b718a8d6e53 - main - sysutils/ohmu: remove scandir dependency

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Wed, 17 Jan 2024 08:09:17 UTC
The branch main has been updated by rm:

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

commit 6b718a8d6e53be30b41f31e9b763f892388b4a14
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-01-17 08:08:27 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-01-17 08:08:27 +0000

    sysutils/ohmu: remove scandir dependency
    
    drop dependency upon sysutils/ohmu - it is only required for python2
    
    Update WWW while here
---
 sysutils/ohmu/Makefile | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/sysutils/ohmu/Makefile b/sysutils/ohmu/Makefile
index ab5b3f3d7765..969c7aa07c5f 100644
--- a/sysutils/ohmu/Makefile
+++ b/sysutils/ohmu/Makefile
@@ -1,17 +1,16 @@
 PORTNAME=	ohmu
 PORTVERSION=	1.1.0
-PORTREVISION=	4
+PORTREVISION=	5
 DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Tool to view space usage in your terminal
-WWW=		https://github.com/paul-nechifor/ohmu
+WWW=		https://gitlab.com/paul-nechifor/ohmu
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}scandir>=1.3:sysutils/py-scandir@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR}
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	paul-nechifor
@@ -21,8 +20,7 @@ USE_PYTHON=	autoplist distutils concurrent optsuffix
 NO_ARCH=	yes
 
 pre-configure:
-	${REINPLACE_CMD} -e 's/scandir==1.3/scandir>=1.3/' \
-		-e 's/future==0.15.2/future>=0.15.2/' \
+	${REINPLACE_CMD} -e 's/future==0.15.2/future>=0.15.2/' \
 		${WRKSRC}/setup.py
 
 .include <bsd.port.mk>