pkgsrc/devel/py-xdis/Makefile
adam 4e0b292361 py-xdis: updated to 5.0.8
5.0.8:

Allow an alternate opmap - adds the capability to disassemble python bytecode that has
been frozen with a custom opcode mapping. This is particularly useful for disassembling
malware that uses custom opcode mappings in an attempt to hinder disassembly with standard
tools. The updates in this pull request are used by pydecipher, a tool to unfreeze and deob fuscate frozen python code.

Add Python versions 3.8.8 and 3.9.2
2021-03-14 08:25:02 +00:00

24 lines
744 B
Makefile

# $NetBSD: Makefile,v 1.30 2021/03/14 08:25:02 adam Exp $
DISTNAME= xdis-5.0.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=x/xdis/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/rocky/python-xdis
COMMENT= Python cross-version byte-code disassembler and marshal routines
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pydisasm pydisasm-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"