if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
32 lines
604 B
Makefile
32 lines
604 B
Makefile
# $OpenBSD: Makefile,v 1.7 2021/02/23 19:39:20 sthen Exp $
|
|
|
|
COMMENT = python bytecode disassembler and decompiler
|
|
|
|
DISTNAME = pycdc-0.0.20180428
|
|
REVISION = 3
|
|
|
|
GH_ACCOUNT = zrax
|
|
GH_PROJECT = pycdc
|
|
GH_COMMIT = 1c01ca7ee626f6794b879c5690eb741a64711625
|
|
|
|
CATEGORIES = devel
|
|
|
|
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = devel/cmake \
|
|
lang/python
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} c m
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
pre-test:
|
|
sed -i "s|#!/bin/bash|#!\${LOCALBASE}/bin/bash|" ${WRKSRC}/pycdc_test.sh
|
|
|
|
TEST_DEPENDS = shells/bash
|
|
|
|
.include <bsd.port.mk>
|