c3aa699f5b
3.4.0: The main change is to add a tree-transformation phase. This simplifies the code a little and allows us to turn if ...: raise AssertionError into assert, and many if ..: else if ... into if ... elif .. Use options --show=before and --show=after to see the before the tree transformation phase and after the tree transformation phase.
24 lines
737 B
Makefile
24 lines
737 B
Makefile
# $NetBSD: Makefile,v 1.12 2019/08/26 06:55:16 adam Exp $
|
|
|
|
DISTNAME= uncompyle6-3.4.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= lang python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=u/uncompyle6/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/rocky/python-uncompyle6
|
|
COMMENT= Python cross-version byte-code decompiler
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-spark-parser>=1.8.9:../../lang/py-spark-parser
|
|
DEPENDS+= ${PYPKGPREFIX}-xdis>=4.0.3:../../devel/py-xdis
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pydisassemble pydisassemble-${PYVERSSUFFIX} && \
|
|
${MV} uncompyle6 uncompyle6-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|