notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-xasm Python cross-version byte-code assembler
1.2.2 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.2.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-08-04 17:24:31
Last Update: 2025-10-27 15:32:40
Commit Hash: 52797b2
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
Also Listed In: python
License: GPLv2
WWW:
https://github.com/rocky/python-xasm
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}xasm>0:devel/py-xasm@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-xasm/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-xasm
  • pkg install py311-xasm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-xasm listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-xasm
Package flavors (<flavor>: <package>)
  • py311: py311-xasm
distinfo:
TIMESTAMP = 1761446718 SHA256 (xasm-1.2.2.tar.gz) = d809552faaec612d1173533702625ae617e656e6ee0484880f7cfd5831087380 SIZE (xasm-1.2.2.tar.gz) = 45153

Packages (timestamps in pop-ups are UTC):
py311-xasm
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.2.01.2.2-1.2.01.2.2n/an/an/a
FreeBSD:13:quarterly1.2.01.2.0-1.2.01.2.0n/an/an/a
FreeBSD:14:latest1.2.01.2.2-1.2.01.2.2---
FreeBSD:14:quarterly1.2.01.2.0-1.2.01.2.0---
FreeBSD:15:latest1.2.21.2.2n/a1.2.0n/an/a--
FreeBSD:15:quarterly1.2.01.2.0n/a-n/an/a--
FreeBSD:16:latest1.2.01.2.2n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-click>=0 : devel/py-click@py311
  2. py311-xdis>=6.1.8<6.3.0 : devel/py-xdis@py311
  3. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-xasm
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (3 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/x/xasm/
  2. https://github.com/rocky/python-xasm/releases/download/1.2.2/
  3. https://pypi.org/packages/source/x/xasm/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.2.2
27 Oct 2025 15:32:40
commit hash: 52797b23897a3a273b2b195b56843cbe7c0cf616commit hash: 52797b23897a3a273b2b195b56843cbe7c0cf616commit hash: 52797b23897a3a273b2b195b56843cbe7c0cf616commit hash: 52797b23897a3a273b2b195b56843cbe7c0cf616 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-xasm: Update to 1.2.2

Changes:	https://github.com/rocky/python-xasm/releases
1.2.0
04 Aug 2024 17:13:52
commit hash: a9619e5670cdccaa8f9930b955a5e191cabb45a0commit hash: a9619e5670cdccaa8f9930b955a5e191cabb45a0commit hash: a9619e5670cdccaa8f9930b955a5e191cabb45a0commit hash: a9619e5670cdccaa8f9930b955a5e191cabb45a0 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-xasm: Add py-xasm 1.2.0

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.

Number of commits found: 2