svn commit: r527634 - head/devel/py-capstone
Mateusz Piotrowski
0mp at FreeBSD.org
Mon Mar 2 14:24:02 UTC 2020
Author: 0mp
Date: Mon Mar 2 14:24:00 2020
New Revision: 527634
URL: https://svnweb.freebsd.org/changeset/ports/527634
Log:
devel/py-capstone: Update to 4.0.1
devel/py-capstone has to be kept in sync with its Capstone library. At the
moment, there are two versions of the library in ports: devel/capstone3 and
devel/capstone4. The version 3 is an old version of the library so the
bindings should be updated to follow version 4, which is the newest major
version.
Currently, there is no need to introduce a port with Python bindings
compatible with Capstone 3 as there are no known ports dependant on version
3 of the bindings.
Some ports need to be updated so that they depend on devel/capstone4
instead of devel/capstone3 to avoid build problems. They will be updated in
subsequent commits.
Also, set NO_ARCH while here.
Approved by: koobs (maintainer)
Differential Revision: https://reviews.freebsd.org/D23751
Modified:
head/devel/py-capstone/Makefile
head/devel/py-capstone/distinfo
Modified: head/devel/py-capstone/Makefile
==============================================================================
--- head/devel/py-capstone/Makefile Mon Mar 2 14:14:21 2020 (r527633)
+++ head/devel/py-capstone/Makefile Mon Mar 2 14:24:00 2020 (r527634)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= capstone
-PORTVERSION= 3.0.5
+PORTVERSION= 4.0.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,11 +14,13 @@ COMMENT= Python bindings for the Capstone Disassembly
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
-LIB_DEPENDS= libcapstone.so:devel/capstone3
+LIB_DEPENDS= libcapstone.so:devel/capstone4
USES= python
USE_PYTHON= autoplist distutils
MAKE_ENV+= LIBCAPSTONE_PATH= # Prevent bundled libcapstone from being built
+
+NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/capstone/__init__.py
Modified: head/devel/py-capstone/distinfo
==============================================================================
--- head/devel/py-capstone/distinfo Mon Mar 2 14:14:21 2020 (r527633)
+++ head/devel/py-capstone/distinfo Mon Mar 2 14:24:00 2020 (r527634)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1533371042
-SHA256 (python/capstone-3.0.5.tar.gz) = 8d5f71b4c42d1552d2253bfd8e8366460de19f01236c3dc485bf24baffee60dd
-SIZE (python/capstone-3.0.5.tar.gz) = 1616487
+TIMESTAMP = 1582058113
+SHA256 (python/capstone-4.0.1.tar.gz) = 5857accc0de1e769b0ec0a0ca985715bfa96e5a66a2ebb3aaed43a8e3655377f
+SIZE (python/capstone-4.0.1.tar.gz) = 2045533
More information about the svn-ports-all
mailing list