diff --git a/sys-cluster/codipack/Manifest b/sys-cluster/codipack/Manifest new file mode 100644 index 0000000000000..a9570935f842f --- /dev/null +++ b/sys-cluster/codipack/Manifest @@ -0,0 +1 @@ +DIST codipack-3.1.0.tar.gz 679346 BLAKE2B cb3a48aae839480ff54898b05f3a4c954534ea5ab008a8562c5878b9870a84b5a05d4351c08dbf3a7c4b92841da2537e530a85fdce27455881007d19be883f8c SHA512 58f3a8fc7a98a4d8e4cc49075336e0fb0c28a06eaa41e6faeaa9c84533ee8a4b545d8047138df9acf7796900e0e4ab6b97ac694ae990dbed7088b8a991425ae4 diff --git a/sys-cluster/codipack/codipack-3.1.0.ebuild b/sys-cluster/codipack/codipack-3.1.0.ebuild new file mode 100644 index 0000000000000..2265f13918e7b --- /dev/null +++ b/sys-cluster/codipack/codipack-3.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PN="CoDiPack" + +DESCRIPTION="Fast gradient evaluation in C++ based on Expression Templates" +HOMEPAGE="https://scicomp.rptu.de/software/codi/ https://github.com/SciCompKL/CoDiPack" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SciCompKL/${MY_PN}.git" +else + SRC_URI=" + https://github.com/SciCompKL/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + " + S="${WORKDIR}/${MY_PN}-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +RESTRICT="test" diff --git a/sys-cluster/codipack/codipack-9999.ebuild b/sys-cluster/codipack/codipack-9999.ebuild new file mode 100644 index 0000000000000..2265f13918e7b --- /dev/null +++ b/sys-cluster/codipack/codipack-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PN="CoDiPack" + +DESCRIPTION="Fast gradient evaluation in C++ based on Expression Templates" +HOMEPAGE="https://scicomp.rptu.de/software/codi/ https://github.com/SciCompKL/CoDiPack" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SciCompKL/${MY_PN}.git" +else + SRC_URI=" + https://github.com/SciCompKL/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + " + S="${WORKDIR}/${MY_PN}-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +RESTRICT="test" diff --git a/sys-cluster/codipack/metadata.xml b/sys-cluster/codipack/metadata.xml new file mode 100644 index 0000000000000..365b6c1496d27 --- /dev/null +++ b/sys-cluster/codipack/metadata.xml @@ -0,0 +1,11 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + SciCompKL/CoDiPack + +