Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-xasm Python cross-version byte-code assembler
1.2.2_1 devel Σ=0 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.2_1Version 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: 2026-09-29 19:24:57
Commit Hash: 07d6a58
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 py312-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 py312-xasm listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-xasm
Package flavors (<flavor>: <package>) #
  • py312: py312-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
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---1.2.0-
FreeBSD:14:quarterly---1.2.0-
FreeBSD:15:latest--n/a1.2.0n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-xasm
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.2_11.2.2_1--1.2.2_1
FreeBSD:14:quarterly1.2.2_11.2.2_1--1.2.2_1
FreeBSD:15:latest1.2.2_11.2.2_1n/a-n/a
FreeBSD:15:quarterly1.2.2_11.2.2_1n/a-n/a
FreeBSD:16:latest1.2.2_11.2.2_1n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>=0 : devel/py-setuptools@py312
  2. py312-wheel>=0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-click>=0 : devel/py-click@py312
  2. py312-xdis>=6.3.0 : devel/py-xdis@py312
  3. python3.12 : lang/python312
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
devel_py-xasm
USES: #
python
pkg-message: #
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: 3 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.2.2_1
29 Sep 2026 19:24:57
commit hash: 07d6a589ebef33902ea979f888e563f5d2e794dacommit hash: 07d6a589ebef33902ea979f888e563f5d2e794dacommit hash: 07d6a589ebef33902ea979f888e563f5d2e794dacommit hash: 07d6a589ebef33902ea979f888e563f5d2e794da files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
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: 3