sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

34 lines
654 B
Makefile

# $OpenBSD: Makefile,v 1.3 2019/04/28 20:51:39 sthen Exp $
COMMENT = python bytecode disassembler and decompiler
DISTNAME = pycdc-0.0.20180428
REVISION = 1
GH_ACCOUNT = zrax
GH_PROJECT = pycdc
GH_COMMIT = 1c01ca7ee626f6794b879c5690eb741a64711625
CATEGORIES = devel
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
MODULES = devel/cmake \
lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
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>