mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
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
This commit is contained in:
parent
98af2f2376
commit
2992215dfe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527634
@ -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,12 +14,14 @@ COMMENT= Python bindings for the Capstone Disassembly Engine
|
||||
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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user