Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:24:21 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 94ac6d9dd174 - main - textproc/py-xlmmacrodeobfuscator: Convert to USE_PYTHON=pep517
Message-ID:  <202405131424.44DEOL9g016226@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=94ac6d9dd174664984fb82195b1afd97a370c3cb

commit 94ac6d9dd174664984fb82195b1afd97a370c3cb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:11:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:11:13 +0000

    textproc/py-xlmmacrodeobfuscator: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 textproc/py-xlmmacrodeobfuscator/Makefile             |  5 ++++-
 textproc/py-xlmmacrodeobfuscator/files/patch-setup.py | 11 ++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/textproc/py-xlmmacrodeobfuscator/Makefile b/textproc/py-xlmmacrodeobfuscator/Makefile
index 9974f48b0a81..23135f886c55 100644
--- a/textproc/py-xlmmacrodeobfuscator/Makefile
+++ b/textproc/py-xlmmacrodeobfuscator/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xlmmacrodeobfuscator
 PORTVERSION=	0.2.7
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +13,8 @@ WWW=		https://github.com/DissectMalware/XLMMacroDeobfuscator
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lark>=0:devel/py-lark@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}msoffcrypto-tool>=0:security/py-msoffcrypto-tool@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyxlsb2>=0:textproc/py-pyxlsb2@${PY_FLAVOR} \
@@ -20,7 +23,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lark>=0:devel/py-lark@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xlrd2>=0:textproc/py-xlrd2@${PY_FLAVOR}
 
 USES=		dos2unix python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/textproc/py-xlmmacrodeobfuscator/files/patch-setup.py b/textproc/py-xlmmacrodeobfuscator/files/patch-setup.py
index 69c881c63e46..b31d4240b1a2 100644
--- a/textproc/py-xlmmacrodeobfuscator/files/patch-setup.py
+++ b/textproc/py-xlmmacrodeobfuscator/files/patch-setup.py
@@ -1,5 +1,14 @@
---- setup.py.orig	2022-10-03 07:48:40 UTC
+--- setup.py.orig	2024-05-13 02:14:33 UTC
 +++ setup.py
+@@ -18,7 +18,7 @@ setup(
+ }
+ 
+ setup(
+-    name="XLMMacroDeobfuscator",
++    name="xlmmacrodeobfuscator",
+     version=__version__,
+     author="Amirreza Niakanlahiji",
+     author_email="aniak2@uis.edu",
 @@ -35,9 +35,9 @@ setup(
      python_requires='>=3.4',
      install_requires=[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405131424.44DEOL9g016226>