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.0 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-08-04 17:24:31
Last Update: 2024-08-04 17:13:52
Commit Hash: a9619e5
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-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.
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 = 1722711125 SHA256 (xasm-1.2.0.tar.gz) = 800ed4d0e2b582fa85c39362ea2958020b8fe48e96d13c2f0895c7f7b1f5f81f SIZE (xasm-1.2.0.tar.gz) = 39887

Packages (timestamps in pop-ups are UTC):
py311-xasm
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.2.01.2.0-1.2.01.2.0---
FreeBSD:13:quarterly--------
FreeBSD:14:latest1.2.01.2.0-1.2.01.2.0---
FreeBSD:14:quarterly--------
FreeBSD:15:latest1.2.01.2.0n/a1.2.0n/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. py311-six>=1.10.0 : devel/py-six@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-xdis>=6.0.3 : devel/py-xdis@py311
  2. 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.0/
  3. https://pypi.org/packages/source/x/xasm/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 1