Update to 3.0.4

PR:		203997
Approved by:	maintainer
This commit is contained in:
Antoine Brodin 2015-11-15 13:26:52 +00:00
parent cf0becfc3b
commit 05260319d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401705
3 changed files with 28 additions and 5 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= capstone PORTNAME= capstone
PORTVERSION= 2.1 PORTVERSION= 3.0.4
CATEGORIES= devel python CATEGORIES= devel python
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,10 +12,11 @@ MAINTAINER= koobs@FreeBSD.org
COMMENT= Python bindings for the Capstone Disassembly Engine COMMENT= Python bindings for the Capstone Disassembly Engine
LICENSE= BSD3CLAUSE LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
LIB_DEPENDS= libcapstone.so:${PORTSDIR}/devel/capstone LIB_DEPENDS= libcapstone.so:${PORTSDIR}/devel/capstone
USES= python:2 USES= python
USE_PYTHON= distutils autoplist USE_PYTHON= autoplist distutils
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (python/capstone-2.1.tar.gz) = b86ba2b9189fe60e286341da75d0ac24322014303f72ab3d6ba3d800f3af7864 SHA256 (python/capstone-3.0.4.tar.gz) = 945d3b8c3646a1c3914824c416439e2cf2df8969dd722c8979cdcc23b40ad225
SIZE (python/capstone-2.1.tar.gz) = 31720 SIZE (python/capstone-3.0.4.tar.gz) = 3175587

View file

@ -0,0 +1,22 @@
# Do not bundle libcapstone.so
--- setup.py.orig 2015-07-15 07:43:18 UTC
+++ setup.py
@@ -175,17 +175,4 @@ setup(
'Programming Language :: Python :: 3',
],
requires=['ctypes'],
- cmdclass=dict(
- build_clib=custom_build_clib,
- sdist=custom_sdist,
- ),
-
- libraries=[(
- 'capstone', dict(
- package='capstone',
- sources=dummy_src()
- ),
- )],
-
- data_files=[(SITE_PACKAGES, SETUP_DATA_FILES)],
)