Date: Mon, 2 Mar 2020 14:24:01 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r527634 - head/devel/py-capstone Message-ID: <202003021424.022EO1NN048445@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003021424.022EO1NN048445>