BSD Ports

devel/py-xasm 1.2.2_1 FreeBSD

Python cross-version byte-code assembler

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
07d6a589eb
License
GPLv2
Categories
devel, python
Package size
42.0 KiB, 173.5 KiB installed

Description

The Python xasm module has routines for assembly, and has a command to assemble bytecode for several different versions of Python.

Here are some potential uses:

  • Make small changes to existing Python bytecode when you don't have source
  • Craft custom and efficient bytecode
  • Write an instruction-level optimizing compiler
  • Experiment with and learn about Python bytecode
  • Foil decompilers like uncompyle6 so that they can't disassemble bytecode (at least for now)

This support the same kinds of bytecode that xdis supports. This is pretty much all released bytecode, although we tend to lag behind the latest Python releases.

In the other systems

SystemPortVersion
FreeBSDdevel/py-xasm1.2.2_1
DragonFlydevel/py-xasm1.2.0

Install

Binary package:

pkg install py312-xasm

From the ports tree:

cd /usr/ports/devel/py-xasm/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-xasm>0:devel/py-xasm

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.2_11.2.2_1-1.2.01.2.2_1
FreeBSD:14:quarterly1.2.2_11.2.2_1n/a1.2.01.2.2_1
FreeBSD:15:latest1.2.2_11.2.2_1n/a1.2.01.2.0
FreeBSD:15:quarterly1.2.2_11.2.2_1n/an/an/a
FreeBSD:16:latest1.2.2_11.2.2_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 10

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
xasm-1.2.2.tar.gz45153d809552faaec612d1173533702625ae617e656e6ee0484880f7cfd5831087380
Master sites 2
  • PYPI
  • https://github.com/rocky/python-xasm/releases/download/1.2.2/

Commit history 1

DateCommitCreditsLog message
07d6a589eb Po-Chuan Hsieh devel/py-xasm: Allow build with py-xdis 6.3.0+
- Bump PORTREVISION for package change Reference: https://github.com/rocky/python-xasm/commit/a6c9247571e21683181e76bcd191f1dfb14ddf16