From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 17F84158042 for ; Tue, 22 Oct 2024 08:34:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FAC7E08C8; Tue, 22 Oct 2024 08:34:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 628B4E08C8 for ; Tue, 22 Oct 2024 08:34:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 082BD342FE4 for ; Tue, 22 Oct 2024 08:34:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 520912215 for ; Tue, 22 Oct 2024 08:34:28 +0000 (UTC) From: "Alexander Puck Neuwirth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Puck Neuwirth" Message-ID: <1729585945.0d0d5b2b489b01331e4239bdf9054c998cafa37a.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/pylhe/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/pylhe/pylhe-0.9.0.ebuild X-VCS-Directories: sci-physics/pylhe/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: 0d0d5b2b489b01331e4239bdf9054c998cafa37a X-VCS-Branch: master Date: Tue, 22 Oct 2024 08:34:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 869ebe9f-75d3-4566-8bc1-ff70fe8cbb14 X-Archives-Hash: 62934a997a10ce0a791c57c23d7055d1 commit: 0d0d5b2b489b01331e4239bdf9054c998cafa37a Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Sat Oct 19 11:45:57 2024 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Tue Oct 22 08:32:25 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0d0d5b2b sci-physics/pylhe: add 0.9.0 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> sci-physics/pylhe/pylhe-0.9.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/sci-physics/pylhe/pylhe-0.9.0.ebuild b/sci-physics/pylhe/pylhe-0.9.0.ebuild new file mode 100644 index 000000000..7f52fa1d9 --- /dev/null +++ b/sci-physics/pylhe/pylhe-0.9.0.ebuild @@ -0,0 +1,34 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 pypi + +DESCRIPTION="Lightweight Python interface to read Les Houches Event (LHE) files" +HOMEPAGE="https://github.com/scikit-hep/pylhe" +# pypi does not include tests +SRC_URI="https://github.com/scikit-hep/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +# export is needed here! +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/graphviz-0.12.0[${PYTHON_USEDEP}] + >=sci-physics/particle-0.16[${PYTHON_USEDEP}] + >=dev-python/awkward-1.2.0[${PYTHON_USEDEP}] + >=dev-python/vector-0.8.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=sci-physics/scikit-hep-testdata-0.4.36[${PYTHON_USEDEP}] + ) +" +PATCHES=( + "${FILESDIR}/${PN}"-0.7.0-coverage.patch +) + +distutils_enable_tests pytest