On Tue, Aug 10, 2021 at 11:51:41PM +0000, Yifei Zhan wrote:
> Thanks for the feedbacks!
> Here is a tweaked version:
> - comment and pkg/DESCR is changed to 'Python FFmpeg progress wrapper'
> I agree this is a more discoverable line.
> - MODPY_VERSION is replaced with FLAVORS=python3
You need both FLAVORS=python3 and FLAVOR=python3.
Here's a version that does that and also gets the tests working.
--Kurt
# $OpenBSD$
COMMENT = Python FFmpeg progress wrapper
MODPY_EGG_VERSION = 0.1.1
DISTNAME = ffmpeg-progress-yield-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = multimedia
HOMEPAGE = https://github.com/slhck/ffmpeg-progress-yield
# MIT
PERMIT_PACKAGE = Yes
RUN_DEPENDS = graphics/ffmpeg
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = test/test.py
FLAVORS = python3
FLAVOR = python3
.include <bsd.port.mk>
No comments:
Post a Comment