From nobody Sun Aug 07 09:01:58 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M0tck5CnGz4YGfZ; Sun, 7 Aug 2022 09:01:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M0tck4Kq5z44C8; Sun, 7 Aug 2022 09:01:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659862918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zPijiXsXYZFtpcCfzU0vesoYpAQKIc7AlNIRicn45Zo=; b=BXcEyRRk1AExNSkf59MJm4eJgJLgviscQuRaCe66Sqcc2XmMib77XEFeP98iygLi3xSkGw nJfqbGCOc9L0i0ZXD+VxzRA+iDXIElVXFZNXQNkZ3vK/P+kQqnoirEaKkg//dnj1nxsPp3 H5aSF3LGpbVAHVdlDSWA8o2qocygVOSdicymmMcqniP2wuvY8ffvIjyk4gAd5hDNM6WRmx 8UwMX6yoQwhzr98b3M794mmIBihw9QwpjtC28wzZqsPrwtdS3XfWf9aZA6jRr3qeC9uP64 +uNNRcS+DkhL/HRxvWz2Xy2SUlaeR3WQ/vub7VEOmmAIktdmdPz/45js7OrXMA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M0tck3PNwz16N5; Sun, 7 Aug 2022 09:01:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27791wsj026430; Sun, 7 Aug 2022 09:01:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27791w0f026429; Sun, 7 Aug 2022 09:01:58 GMT (envelope-from git) Date: Sun, 7 Aug 2022 09:01:58 GMT Message-Id: <202208070901.27791w0f026429@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 8e495468ab83 - main - misc/py-uhi: New port: Universal Histogram Interface List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8e495468ab83b5d30e6cca138c06d7b8c4db5a45 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659862918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zPijiXsXYZFtpcCfzU0vesoYpAQKIc7AlNIRicn45Zo=; b=gaB2CoDhGWpNMv0MLmkdF2n3SxSk3nliRLsPIgt9aaDT4ops6UDaDwSTueI5dufXWTSPjF KDOB4VAtaUiSIixM1leMNCnrDuKSdKavP26YKVJO1J21e3LwYB5woAuhtgwq7XbFRxi3CF qzsolgeIpsEbwZYhW0uf9h2IAY7Z9nTkUABWmE+48sr33lPwy5E2wQ2voa90LBPbQBLoNa Wk1oxnwEZPY2NHwMwy56uT3zp2B5bZFH47Okwr4/RjB/kJHqNSgr/tBAdDOfZujFDxmTKL 7FQvXI9ymE2Uk6GOEwBhemXMHH7z97UqPFyFyDOnHAj+rynMloVQXvDgK4QT0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659862918; a=rsa-sha256; cv=none; b=JnGymNTOL8gH6f5RmPtXXwuNjTeMLHFiT0L9LhzD39KS1vEiu8UIb018vKER41SGpwSaqR 64ABdh6ranLvXYCuTP9MltKs3ZCaGxqN8IMHzm3CUE+6Su16LXlfodpbbtDrNUe5lzvJs4 QCzTnbD/eQdgd83dHjQ0tEQTGKx1/++KlTnlzDoKOLjWtwqgM7p+wi2aFuLiCGUmHejeh7 OjWUGmqwQAN6BQtcHinXnBL7n9Ka5dpYQQFAV8lFxAlL1cIvlFSA066qMt+oQep568ixjX IZTEXF+0eRi4cE8mG2rwumwqPszNjvOB/3qJHlFW988hW1eGShckcioW1LiQAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=8e495468ab83b5d30e6cca138c06d7b8c4db5a45 commit 8e495468ab83b5d30e6cca138c06d7b8c4db5a45 Author: Yuri Victorovich AuthorDate: 2022-08-07 07:13:05 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-07 09:01:56 +0000 misc/py-uhi: New port: Universal Histogram Interface --- misc/Makefile | 1 + misc/py-uhi/Makefile | 28 ++++++++++++++++++++++++++++ misc/py-uhi/distinfo | 3 +++ misc/py-uhi/pkg-descr | 6 ++++++ 4 files changed, 38 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 113fc9cf8b6d..95c2ec66f9ae 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -425,6 +425,7 @@ SUBDIR += py-toil SUBDIR += py-tqdm SUBDIR += py-tvm + SUBDIR += py-uhi SUBDIR += py-wurlitzer SUBDIR += py-xgboost SUBDIR += pyobd diff --git a/misc/py-uhi/Makefile b/misc/py-uhi/Makefile new file mode 100644 index 000000000000..6877d59ce0dc --- /dev/null +++ b/misc/py-uhi/Makefile @@ -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 diff --git a/misc/py-uhi/distinfo b/misc/py-uhi/distinfo new file mode 100644 index 000000000000..6ecc831e33fc --- /dev/null +++ b/misc/py-uhi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659855534 +SHA256 (uhi-0.3.1.tar.gz) = 6f1ebcadd1d0628337a30b012184325618047abc01c3539538b1655c69101d91 +SIZE (uhi-0.3.1.tar.gz) = 11158 diff --git a/misc/py-uhi/pkg-descr b/misc/py-uhi/pkg-descr new file mode 100644 index 000000000000..ce461cbd87f9 --- /dev/null +++ b/misc/py-uhi/pkg-descr @@ -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