From cdfd4f0c915964d401cba19362c7dea8e89ad1da Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 23 Aug 2022 14:44:46 +0100 Subject: gentoo auto-resync : 23:08:2022 - 14:44:46 --- sci-physics/yoda/Manifest | 2 ++ sci-physics/yoda/yoda-1.9.6.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 sci-physics/yoda/yoda-1.9.6.ebuild (limited to 'sci-physics/yoda') diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest index 7487092ffa3e..270df5a16710 100644 --- a/sci-physics/yoda/Manifest +++ b/sci-physics/yoda/Manifest @@ -1,5 +1,7 @@ DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189 SHA512 eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71 DIST YODA-1.9.5.tar.bz2 1077442 BLAKE2B 010ab725c57dfab8160e0304d461dc44c140d1ce234f3b70834ee58b8f269159529122095a94e6b79ef752612a6659a17e1874fda2941cfbcec1f53802916b6a SHA512 46e30b33d369f5d28ec228b71eaa298f3010cc06fe568785c74bbaf3d7468c26738cc2ee40da9bcc54d978f394187a2ee9289197283c86a3358583a3c0ecd247 +DIST YODA-1.9.6.tar.bz2 1069530 BLAKE2B 23d782723c5b2429e9e9a70abe8dbf3d58a2204437a46b6e2e196cacc9b6ce55464d5600dd53492f43801866fc7da0e82d1e765cc04c493f40b2da95413aba25 SHA512 2433f2d685ccc97aa41e5f44e0c7ca560de01e3b746f2e4837ee6259cd142106e9aa0066aaa106e5298f8d4d9df3a09f5a2d058d6b1593792c9afe06b65d1a22 EBUILD yoda-1.9.0.ebuild 843 BLAKE2B 94946e19f1b8f36dd4151592207d99ccf0c0d4a46e29323d3cce470dcfcb2f07fe050ce712726a12394f4388de43c5af1ccab56cbf8d4d2f861725d70c8c1634 SHA512 8aa5189d75b21b1d88b56952557c1be48ffa9b81e2ba0d292a99fbbab47f792bbcb89454c055d0c0319fe31b43243a369e6b0d88fdab792e36f15d401d49a0d5 EBUILD yoda-1.9.5.ebuild 884 BLAKE2B 04511d2040cc8c22d994d51653b7c0f3bc9bb38097eaa770cf28f2dcc2a365a770e3bcbc89840415ab9e13d6975f9cca474b292dd47f24f3ff917259aa0340cf SHA512 17bc971c8b57cdb7dd0823f74a5dcc24206e2ebb2c5e93e445b1babfa459c18803944a516fa01bd20cd55003710d50192a51b94721933dd26098ffe23a6194da +EBUILD yoda-1.9.6.ebuild 1241 BLAKE2B ab57ce63de3822e0a089cb2c1f8a357c104a5f4064e33c815b98fda5adb6dd6525265349174885547eb195b363483dbb7f950e9527fb8b33513be304df6634b2 SHA512 3ac73e1e8591e9cf46612d34cf3043c2cc6f59af7caa25084f8cc383e7f21af87515bb3d8606acd9707365aad4d1e8f56963d9ac211fce8b3fd954c7dda3cc57 MISC metadata.xml 660 BLAKE2B 7bc7ad4089af06b0a7b80028e99a551c8adf18c7066f4b9743e74bbcdb8b831b47917faa98f6183e6fd70856f385c2a45a84366cdb5b9f25ec3881efecb4a723 SHA512 64002092f2032d225f2bd4dcc4668c00cc23b9e60b58052b93a0618794f4e17104ab11a0982428ad956ca6b894e93e230523b52918bc9d41d2c01d22abe18e90 diff --git a/sci-physics/yoda/yoda-1.9.6.ebuild b/sci-physics/yoda/yoda-1.9.6.ebuild new file mode 100644 index 000000000000..5802ef26d25b --- /dev/null +++ b/sci-physics/yoda/yoda-1.9.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit bash-completion-r1 autotools python-single-r1 + +DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis" +HOMEPAGE="https://yoda.hepforge.org/" +SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2" +S="${WORKDIR}/${P^^}" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="root python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) root? ( python )" + +RDEPEND=" + root? ( sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + # reconf due to python3_10 patch + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable root) \ + $(use_enable python pyext) +} + +src_test() { + # PYTESTS and SHTESTS both require python tools to be installed already + emake check PYTESTS= SHTESTS= +} + +src_install() { + # prevent double installation of python library + emake install DESTDIR="${ED}" + find "${ED}" -name '*.la' -delete || die + newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion yoda + python_optimize + rm "${ED}"/etc/bash_completion.d/${PN}-completion || die +} -- cgit v1.2.3