Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-hunter: New port: Flexible code tracing toolkit
- Loading branch information
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
PORTNAME= hunter | ||
DISTVERSION= 3.5.1 | ||
CATEGORIES= devel python | ||
MASTER_SITES= PYPI | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= yuri@FreeBSD.org | ||
COMMENT= Flexible code tracing toolkit | ||
WWW= https://github.com/ionelmc/python-hunter | ||
|
||
LICENSE= BSD2CLAUSE | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=30.3.0:devel/py-setuptools@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.3.1:devel/py-setuptools_scm@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} | ||
|
||
USES= python:3.6+ | ||
USE_PYTHON= pep517 cython autoplist pytest # tests fail to run, see https://github.com/ionelmc/python-hunter/issues/114 | ||
|
||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} | ||
|
||
post-install: | ||
@${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1675631477 | ||
SHA256 (hunter-3.5.1.tar.gz) = cdf094a5f3c85b1f95bb9d4f508d505225984ae03fc1ad9c364866584b1dbc95 | ||
SIZE (hunter-3.5.1.tar.gz) = 561530 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Hunter is a flexible code tracing toolkit, not for measuring coverage, but for | ||
debugging, logging, inspection and other nefarious purposes. It has a simple | ||
Python API, a convenient terminal API and a CLI tool to attach to processes. |