aboutsummaryrefslogtreecommitdiff
path: root/devel/py-xasm
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-xasm')
-rw-r--r--devel/py-xasm/Makefile6
-rw-r--r--devel/py-xasm/distinfo6
-rw-r--r--devel/py-xasm/files/patch-____pkginfo____.py17
-rw-r--r--devel/py-xasm/files/patch-pyproject.toml11
4 files changed, 17 insertions, 23 deletions
diff --git a/devel/py-xasm/Makefile b/devel/py-xasm/Makefile
index 34b250404ac4..aaa7ac1c1834 100644
--- a/devel/py-xasm/Makefile
+++ b/devel/py-xasm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xasm
-PORTVERSION= 1.2.0
+PORTVERSION= 1.2.2
CATEGORIES= devel python
MASTER_SITES= PYPI \
https://github.com/rocky/python-xasm/releases/download/${PORTVERSION}/
@@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.gpl2
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdis>=6.0.3:devel/py-xdis@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xdis>=6.1.8<6.3.0:devel/py-xdis@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
diff --git a/devel/py-xasm/distinfo b/devel/py-xasm/distinfo
index 3635d0d8e558..d60b0bfe25eb 100644
--- a/devel/py-xasm/distinfo
+++ b/devel/py-xasm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722711125
-SHA256 (xasm-1.2.0.tar.gz) = 800ed4d0e2b582fa85c39362ea2958020b8fe48e96d13c2f0895c7f7b1f5f81f
-SIZE (xasm-1.2.0.tar.gz) = 39887
+TIMESTAMP = 1761446718
+SHA256 (xasm-1.2.2.tar.gz) = d809552faaec612d1173533702625ae617e656e6ee0484880f7cfd5831087380
+SIZE (xasm-1.2.2.tar.gz) = 45153
diff --git a/devel/py-xasm/files/patch-____pkginfo____.py b/devel/py-xasm/files/patch-____pkginfo____.py
deleted file mode 100644
index b4e7591c79d0..000000000000
--- a/devel/py-xasm/files/patch-____pkginfo____.py
+++ /dev/null
@@ -1,17 +0,0 @@
---- __pkginfo__.py.orig 2021-11-07 21:37:38 UTC
-+++ __pkginfo__.py
-@@ -35,12 +35,12 @@ ftp_url = None
- author = "Rocky Bernstein"
- author_email = "rb@dustyfeet.com"
- ftp_url = None
--install_requires = [_six]
-+install_requires = ["xdis >= 6.0.3"]
- license = "GPL-2.0"
- mailing_list = "python-debugger@googlegroups.com"
- modname = "xasm"
- py_modules = None
--setup_requires = ["pytest-runner", "xdis >= 6.0.3, < 6.1.0"]
-+setup_requires = []
- # scripts = ['bin/pydisasm']
- short_desc = "Python cross-version byte-code assembler"
- tests_require = ["pytest", _six]
diff --git a/devel/py-xasm/files/patch-pyproject.toml b/devel/py-xasm/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f81ae23548e2
--- /dev/null
+++ b/devel/py-xasm/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2025-10-17 17:52:00 UTC
++++ pyproject.toml
+@@ -17,7 +17,7 @@ readme = "README.rst"
+ "xdis >= 6.1.8, < 6.3.0",
+ ]
+ readme = "README.rst"
+-license = "GPL-2.0"
++license = {text = "GPL-2.0"}
+ keywords = ["Python bytecode", "bytecode", "disassembler"]
+ classifiers = [
+ "Development Status :: 4 - Beta",