pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-pwntools: not for Python 2



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Fri May 5 12:12:29 2023 +0200
Changeset:	9e4d0698445e2ac490a0743c076e43328da00bc9

Modified Files:
	py-pwntools/Makefile

Log Message:
py-pwntools: not for Python 2

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9e4d0698445e2ac490a0743c076e43328da00bc9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pwntools/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diffs:
diff --git a/py-pwntools/Makefile b/py-pwntools/Makefile
index d3aabbe7ec..07d7fabc13 100644
--- a/py-pwntools/Makefile
+++ b/py-pwntools/Makefile
@@ -17,7 +17,9 @@ DEPENDS+=	${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
 DEPENDS+=	${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
 DEPENDS+=	${PYPKGPREFIX}-intervaltree>=3.0:../../devel/py-intervaltree
 DEPENDS+=	${PYPKGPREFIX}-mako>=1.0.0:../../devel/py-mako
+DEPENDS+=	${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
 DEPENDS+=	${PYPKGPREFIX}-paramiko>=1.15.2:../../security/py-paramiko
+DEPENDS+=	${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
 DEPENDS+=	${PYPKGPREFIX}-psutil>=3.3.0:../../sysutils/py-psutil
 DEPENDS+=	${PYPKGPREFIX}-pyelftools>=0.2.4:../../devel/py-pyelftools
 DEPENDS+=	${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments
@@ -29,7 +31,7 @@ DEPENDS+=	${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six
 DEPENDS+=	${PYPKGPREFIX}-sortedcontainers-[0-9]*:../../devel/py-sortedcontainers
 DEPENDS+=	${PYPKGPREFIX}-unicorn>=1.0.2:../../emulators/py-unicorn
 
-PYTHON_VERSIONED_DEPENDENCIES+=	packaging pip
+PYTHON_VERSIONS_INCOMPATIBLE=	27
 
 post-install:
 .for f in asm checksec common constgrep cyclic debug disablenx disasm elfdiff \
@@ -40,6 +42,5 @@ post-install:
 	${MV} ${DESTDIR}${PREFIX}/bin/pwn ${DESTDIR}${PREFIX}/bin/pwn${PYVERSSUFFIX}
 	${MV} ${DESTDIR}${PREFIX}/pwntools-doc ${DESTDIR}${PREFIX}/${PYSITELIB}
 
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index