d858b7cc2a
setuptools (it's used as a package locator but importlib.metadata in newer Python core or the external importlib_metadata are preferred). So drop the RDEP in that case (it's still kept for py27) and bump revisions.
36 lines
577 B
Makefile
36 lines
577 B
Makefile
COMMENT = library to instrument executable formats
|
|
|
|
MODPY_EGG_VERSION = 0.11.5
|
|
|
|
DISTNAME = lief-${MODPY_EGG_VERSION}
|
|
PKGNAME = ${MODPY_PY_PREFIX}${DISTNAME}
|
|
REVISION = 2
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://lief.quarkslab.com/
|
|
|
|
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
EXTRACT_SUFX = .zip
|
|
|
|
# C++
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} m
|
|
|
|
MODULES = lang/python
|
|
|
|
FLAVORS = python3
|
|
FLAVOR = python3
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
BUILD_DEPENDS = devel/cmake
|
|
|
|
.include <bsd.port.mk>
|