Tuesday, August 10, 2021

Re: update: audio/ffmpeg-normalize: 1.20.0 -> 1.22.1

On Tue, Aug 10, 2021 at 10:02:49AM +0100, Stuart Henderson wrote:

> Missing ${MODPY_FLAVOR}

> > devel/py-tqdm${MODPY_FLAVOR} \
> > graphics/ffmpeg

> > +TEST_DEPENDS = devel/py3-test

> Missing ${MODPY_FLAVOR}, and there is no port devel/py3-test, it is devel/py-test

> > do-test:
> > cd ${WRKSRC} && ${MODPY_BIN} test/test.py

Here's a version that fixes those issues and gets rid of the custom py-test
stuff since MODPY_PYTEST was created to _not_ do that sort of thing.

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/ffmpeg-normalize/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile 23 Feb 2021 19:39:09 -0000 1.2
+++ Makefile 11 Aug 2021 03:43:55 -0000
@@ -2,7 +2,7 @@

COMMENT = audio normalization

-MODPY_EGG_VERSION = 1.20.0
+MODPY_EGG_VERSION = 1.22.1
DISTNAME = ffmpeg-normalize-${MODPY_EGG_VERSION}

CATEGORIES = audio
@@ -16,12 +16,12 @@ MODULES = lang/python

MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
+MODPY_PYTEST = Yes
+MODPY_PYTEST_ARGS = test/test.py

RUN_DEPENDS = devel/py-colorama${MODPY_FLAVOR} \
+ multimedia/py-ffmpeg-progress-yield${MODPY_FLAVOR} \
devel/py-tqdm${MODPY_FLAVOR} \
graphics/ffmpeg
-
-do-test:
- cd ${WRKSRC} && ${MODPY_BIN} test/test.py

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/ffmpeg-normalize/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 15 Jul 2020 20:39:52 -0000 1.1.1.1
+++ distinfo 11 Aug 2021 03:43:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (ffmpeg-normalize-1.20.0.tar.gz) = jMQ1HOBupKbuTHXzzV7jUhunxn1009elFlScOIbIFmM=
-SIZE (ffmpeg-normalize-1.20.0.tar.gz) = 1961421
+SHA256 (ffmpeg-normalize-1.22.1.tar.gz) = 34JgUyEtVAqxu+mBlYf8vzYWL4wlNa6FuIslLkfW1jI=
+SIZE (ffmpeg-normalize-1.22.1.tar.gz) = 1965311

No comments:

Post a Comment