From nobody Sun Jun 23 10:59:39 2024 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 4W6Slv4pqCz5PJNC; Sun, 23 Jun 2024 10:59:39 +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 4W6Slv2byvz4TWR; Sun, 23 Jun 2024 10:59:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719140379; 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=7l8RUAHqf+taDovFxzwQ1U9RtzCwrhB5lr92IXqNeso=; b=EklC3lMgbTe5aTheta94qsa6RoI/9WWS+HRntWjw5cBbG4JDRiicWngtjL+tOS7J117LbJ 3xNrXZucM5TRraPJRr4sIm7vLkbYMFne0WBno6cPpvfXnY8EJLkv9PUEf1VV786SnhYcYU aBjYfjG5ITSZrni/f5PIbxEHjT7OiUhloDW/RFoTlr3GsMua1hI/XTqqcoFb606Bb6g5gz k84QphD8kWMSZxf0/+zNrt6RshmjbK5rQNisErvSHpj0J0zOxn5ZM0PSGti48/VxRxraw5 Mbagjx8wKDdneXAP2RoXTsVcmjUaAb4R+/xhV4/i1KFsUBF/rRqaPKQf0Z+/NQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719140379; a=rsa-sha256; cv=none; b=XSrRWM8oaTyWGgJ13Hu0DF/qW3zMnfFOPSl9wGCYWpWo2OX+Dq27pFvMP44n6RSfWNU4C1 V3QSUBau0agw7Q3sRZ2tijLJ6vHzlqhNdDU7qWyUbF4YDfNFGgoWq6hz7e5CuTfGcOv9nl ieYCvD/2AsAb5xvYFxGMxIJs8UEiFYjvewvBEh801+wjCBwBSWcBqoDEvyqdZJyuHLUAk6 Y970hgxU4qGs1R5ihcIG38MqUqhZB+WX8D1Bio0M8MT+csqaLascIJkgOphY+Rq04atnh9 c1SeeeLTbhzszVEsL5E8V2Jqa5U83x8mRg3UPY9ABSbOT3riy24U8Iq/zCwlNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719140379; 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=7l8RUAHqf+taDovFxzwQ1U9RtzCwrhB5lr92IXqNeso=; b=Y9Fo0XYTv9KpFIqmVQNCf1hszb/hRZJhPg0wTEDk8Cj0upybVzQm1daE8SHcycCYCICZMK sOckSfH1VYSMuJh0pOkPi4SqQzXz+MFPNft1Eh888IF0KdRduCBDFK5gfReq3b3CPHrcz2 GDtmVaNcBfXNcw/w3Tm5ZMBvShIYgOFF4gzOxaDImx7qSVCqJGwijb9PYBayIpb54QESp5 Ay6Ro2fF/xgf7zF57Vgli38wFhNrQGsHHgJrLEQT1NHhWPjQltzrcTNyAM8wgf7DHlQ8cW HPxSZjOx/11JZwAlxqhmiGNgjdd+FBtFdWmD2E9olcB2zLiW98FUF+Bs0mTTbw== 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 4W6Slv2BnDzXmm; Sun, 23 Jun 2024 10:59:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45NAxdol066460; Sun, 23 Jun 2024 10:59:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45NAxd5V066457; Sun, 23 Jun 2024 10:59:39 GMT (envelope-from git) Date: Sun, 23 Jun 2024 10:59:39 GMT Message-Id: <202406231059.45NAxd5V066457@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: 788eadd602c9 - main - science/py-mplhep: New port: Matplotlib styles for HEP 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 788eadd602c9e40c2422fde9342abbbc1f706fbe Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=788eadd602c9e40c2422fde9342abbbc1f706fbe commit 788eadd602c9e40c2422fde9342abbbc1f706fbe Author: Yuri Victorovich AuthorDate: 2024-06-23 10:51:51 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-23 10:54:13 +0000 science/py-mplhep: New port: Matplotlib styles for HEP --- science/Makefile | 1 + science/py-mplhep/Makefile | 29 +++++++++++++++++++++++++++++ science/py-mplhep/distinfo | 3 +++ science/py-mplhep/pkg-descr | 3 +++ 4 files changed, 36 insertions(+) diff --git a/science/Makefile b/science/Makefile index 8817e880bd1d..ddbfcac05382 100644 --- a/science/Makefile +++ b/science/Makefile @@ -368,6 +368,7 @@ SUBDIR += py-moltemplate SUBDIR += py-mp-api SUBDIR += py-mpcontribs-client + SUBDIR += py-mplhep SUBDIR += py-mplhep-data SUBDIR += py-mrchem SUBDIR += py-ncrystal diff --git a/science/py-mplhep/Makefile b/science/py-mplhep/Makefile new file mode 100644 index 000000000000..b55550701ea9 --- /dev/null +++ b/science/py-mplhep/Makefile @@ -0,0 +1,29 @@ +PORTNAME= mplhep +DISTVERSION= 0.3.49 +CATEGORIES= science python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Matplotlib styles for HEP +WWW= https://mplhep.readthedocs.io/en/latest/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cycler>0:devel/py-cycler@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mplhep-data>0:science/py-mplhep-data@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include diff --git a/science/py-mplhep/distinfo b/science/py-mplhep/distinfo new file mode 100644 index 000000000000..6f48ca520258 --- /dev/null +++ b/science/py-mplhep/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1719138020 +SHA256 (mplhep-0.3.49.tar.gz) = 1f1aa4d1e4843964a9a26ad2fef4dd255f7fd66290ff208940e0699bdb40beaa +SIZE (mplhep-0.3.49.tar.gz) = 1532306 diff --git a/science/py-mplhep/pkg-descr b/science/py-mplhep/pkg-descr new file mode 100644 index 000000000000..6f23acfaad10 --- /dev/null +++ b/science/py-mplhep/pkg-descr @@ -0,0 +1,3 @@ +mplhep is a set of helpers for matplotlib to more easily produce plots typically +needed in HEP as well as style them in way that's compatible with current +collaboration requirements (ROOT-like plots for CMS, ATLAS, LHCb, ALICE).