1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

misc/py-uhi: New port: Universal Histogram Interface

This commit is contained in:
Yuri Victorovich 2022-08-07 00:13:05 -07:00
parent 17dc1dd874
commit 8e495468ab
4 changed files with 38 additions and 0 deletions

View File

@ -425,6 +425,7 @@
SUBDIR += py-toil
SUBDIR += py-tqdm
SUBDIR += py-tvm
SUBDIR += py-uhi
SUBDIR += py-wurlitzer
SUBDIR += py-xgboost
SUBDIR += pyobd

28
misc/py-uhi/Makefile Normal file
View File

@ -0,0 +1,28 @@
PORTNAME= uhi
DISTVERSION= 0.3.1
CATEGORIES= misc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Universal Histogram Interface
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-histogram>=1.0:misc/py-boost-histogram@${PY_FLAVOR}
USES= compiler:c++14-lang python:3.8+
USE_PYTHON= distutils autoplist pytest
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
pre-configure: # uhi is officially built with "build" (https://github.com/pypa/build), but this is easily circumvented with this simple setup.py
@( \
${ECHO} "from setuptools import setup" && \
${ECHO} "setup()" \
) > ${WRKSRC}/setup.py
.include <bsd.port.mk>

3
misc/py-uhi/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1659855534
SHA256 (uhi-0.3.1.tar.gz) = 6f1ebcadd1d0628337a30b012184325618047abc01c3539538b1655c69101d91
SIZE (uhi-0.3.1.tar.gz) = 11158

6
misc/py-uhi/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
UHI is a library that helps connect other Histogramming libraries. It is
primarily indented to be a guide and static type check helper; you do not need
an runtime dependency on UHI.
WWW: https://uhi.readthedocs.io/en/latest/
WWW: https://github.com/Scikit-HEP/uhi