Date: Fri, 6 Mar 2020 22:41:09 +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: r527898 - head/devel/py-cle Message-ID: <202003062241.026MfAQN019671@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp Date: Fri Mar 6 22:41:09 2020 New Revision: 527898 URL: https://svnweb.freebsd.org/changeset/ports/527898 Log: Add tests for more robustness Also while here: - Be very strict about the version of dependencies coming from the Angr project (security/py-pyvex in this cae). All Angr-related ports must be kept in sync with their versions. Suggested by: koobs Modified: head/devel/py-cle/Makefile head/devel/py-cle/distinfo Modified: head/devel/py-cle/Makefile ============================================================================== --- head/devel/py-cle/Makefile Fri Mar 6 22:11:55 2020 (r527897) +++ head/devel/py-cle/Makefile Fri Mar 6 22:41:09 2020 (r527898) @@ -2,9 +2,11 @@ PORTNAME= cle DISTVERSION= 8.20.1.7 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= 0mp@FreeBSD.org COMMENT= Pythonic interface to analyze binary formats @@ -16,12 +18,23 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cf ${PYTHON_PKGNAMEPREFIX}minidump>0:devel/py-minidump@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pefile>0:devel/py-pefile@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyelftools>0:devel/py-pyelftools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyvex>0:security/py-pyvex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyvex==${DISTVERSION}}:security/py-pyvex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.0:devel/py-sortedcontainers@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} USES= python:3.6+ +USE_GITHUB= nodefault +GH_TUPLE= angr:${PORTNAME}:18f073190e37310737ee2d79ba52f72a481b4a9f:tests \ + angr:binaries:f2de6d7a0474d22130ffadd042327536a6fda114:binaries USE_PYTHON= autoplist distutils NO_ARCH= yes + +pre-test: + @${LN} -s ${WRKSRC_tests}/tests ${WRKSRC}/tests + @${LN} -s ${WRKSRC_binaries} ${WRKDIR}/binaries + +do-test: + @(cd ${TEST_WRKSRC} && nosetests-${PYTHON_VER} tests/*) .include <bsd.port.mk> Modified: head/devel/py-cle/distinfo ============================================================================== --- head/devel/py-cle/distinfo Fri Mar 6 22:11:55 2020 (r527897) +++ head/devel/py-cle/distinfo Fri Mar 6 22:41:09 2020 (r527898) @@ -1,3 +1,7 @@ -TIMESTAMP = 1583415399 +TIMESTAMP = 1583533671 SHA256 (cle-8.20.1.7.tar.gz) = 56909340143c929c1388f10bf6ca8b8ac731d586a679e0a9a75edad84af86e06 SIZE (cle-8.20.1.7.tar.gz) = 94407 +SHA256 (angr-cle-18f073190e37310737ee2d79ba52f72a481b4a9f_GH0.tar.gz) = 4d60da85f6793f8ffe7c7f43508774fc904843f62303db452c6e6f9c3b593f16 +SIZE (angr-cle-18f073190e37310737ee2d79ba52f72a481b4a9f_GH0.tar.gz) = 110973 +SHA256 (angr-binaries-f2de6d7a0474d22130ffadd042327536a6fda114_GH0.tar.gz) = 7bdc710d10db37d3105038eb4efda1b39e9d1149ecfaf35b1157381fe7275a4a +SIZE (angr-binaries-f2de6d7a0474d22130ffadd042327536a6fda114_GH0.tar.gz) = 56385140
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003062241.026MfAQN019671>