openbsd-ports/devel/py-bytecodeassembler/Makefile
martynas 4ed03e8481 import py-bytecodeassembler-0.5.1
peak.util.assembler is a simple bytecode assembler module that
handles most low-level bytecode generation details like jump offsets,
stack size tracking, line number table generation, constant and
variable name index tracking, etc. That way, you can focus your
attention on the desired semantics of your bytecode instead of on
these mechanical issues.

input, ok fgs@
2009-04-05 00:51:26 +00:00

41 lines
991 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/04/05 00:51:26 martynas Exp $
COMMENT = python bytecode assembler
MODPY_EGG_VERSION = 0.5.1
DISTNAME = BytecodeAssembler-${MODPY_EGG_VERSION}
PKGNAME = py-bytecodeassembler-${MODPY_EGG_VERSION}
CATEGORIES = devel
HOMEPAGE = http://peak.telecommunity.com/DevCenter/BytecodeAssembler
MAINTAINER = Martynas Venckus <martynas@openbsd.org>
# PSF
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=B/BytecodeAssembler/}
EXTRACT_SUFX = .zip
UNZIP = unzip -a
MODULES = lang/python
RUN_DEPENDS = ::devel/py-decoratortools \
::devel/py-symboltype
BUILD_DEPENDS = ${RUN_DEPENDS}
MODPY_SETUPTOOLS = Yes
post-extract:
@find ${WRKSRC} -type f -exec chmod 644 {} \;
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-bytecodeassembler
${INSTALL_DATA} ${WRKSRC}/README.txt \
${PREFIX}/share/doc/py-bytecodeassembler/
.include <bsd.port.mk>