Skip to content

Commit

Permalink
sysutils/ohmu: remove scandir dependency
Browse files Browse the repository at this point in the history
drop dependency upon sysutils/ohmu - it is only required for python2

Update WWW while here
  • Loading branch information
mexicarne committed Jan 17, 2024
1 parent 000aa91 commit 6b718a8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions 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
Expand All @@ -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>

0 comments on commit 6b718a8

Please sign in to comment.