3.7.4: Fragment parsing was borked. This means deparsing in trepan2/trepan3k was broken 3.7+: narrow precedence for call tatement del_stmt -> delete to better match Python AST 3.8+ Add another forelsestmt (found only in a loop) 3.8+ Add precedence on walrus operator More files blackened bump min xdis version 3.7.3: Mostly small miscellaneous bug fixes __doc__ = DocDescr() from test_descr.py was getting confused as a docstring. detect 2.7 exchandler range better Add for .. else reduction checks on 2.6 and before Add reduce check for 2.7 augmented assign Add VERSION in a pydoc-friendly way 3.7.2: Use newer xdis Docstrings (again) which were broken again on earlier Python Fix 2.6 and 2.7 decompilation bug in handling "list if" comprehensions
30 lines
891 B
Makefile
30 lines
891 B
Makefile
# $NetBSD: Makefile,v 1.26 2020/09/10 09:27:26 adam Exp $
|
|
|
|
DISTNAME= uncompyle6-3.7.4
|
|
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>=5.0.4:../../devel/py-xdis
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pydisassemble pydisassemble-${PYVERSSUFFIX} && \
|
|
${MV} uncompyle6 uncompyle6-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/pytest && pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|