Switch to python3 (only consumer is news/sabnzbd, which uses python3). Also add quirk for retirement of python2 version.
29 lines
536 B
Makefile
29 lines
536 B
Makefile
# $OpenBSD: Makefile,v 1.3 2020/08/01 19:07:19 bket Exp $
|
|
|
|
COMMENT = yEnc Module for Python modified for SABnzbd
|
|
|
|
MODPY_EGG_VERSION = 4.0.2
|
|
DISTNAME = sabyenc3-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-sabyenc-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = news
|
|
|
|
HOMEPAGE = https://github.com/sabnzbd/sabyenc
|
|
|
|
# LGPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${MODPY_WANTLIB} pthread
|
|
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR = python3
|
|
|
|
# No test suites in pypi tarball
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|