commit:     6c29cd9bbc6ab31e0eee3a10316aeaf00014e5c7
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Fri Feb 16 19:48:00 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
CommitDate: Fri Feb 16 19:48:00 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6c29cd9b

sys-cluster/easybuild-easyblocks: add 4.9.0, 9999

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 .../easybuild-easyblocks-4.9.0.ebuild              | 36 +++++++++++++++++++++
 .../easybuild-easyblocks-9999.ebuild               | 37 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-4.9.0.ebuild 
b/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-4.9.0.ebuild
new file mode 100644
index 000000000..d97f48696
--- /dev/null
+++ b/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-4.9.0.ebuild
@@ -0,0 +1,36 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+
+inherit distutils-r1
+
+SUB_P=$(ver_cut 1)
+
+DESCRIPTION="Provides a collection of easyblocks for EasyBuild."
+HOMEPAGE="
+       https://easybuild.io/
+       https://github.com/easybuilders/easybuild-easyblocks
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/easybuilders/easybuild-easyblocks";
+else
+       inherit pypi
+       KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+       >=sys-cluster/easybuild-framework-${SUB_P}[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+src_prepare() {
+       # already there from easybuild_framework
+       rm easybuild/__init__.py || die
+       default
+}

diff --git a/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-9999.ebuild 
b/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-9999.ebuild
new file mode 100644
index 000000000..6796cf683
--- /dev/null
+++ b/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-9999.ebuild
@@ -0,0 +1,37 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+
+inherit distutils-r1
+
+SUB_P=$(ver_cut 1)
+
+DESCRIPTION="Provides a collection of easyblocks for EasyBuild."
+HOMEPAGE="
+       https://easybuild.io/
+       https://github.com/easybuilders/easybuild-easyblocks
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/easybuilders/easybuild-easyblocks";
+       SUB_P=9999
+else
+       inherit pypi
+       KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+       >=sys-cluster/easybuild-framework-${SUB_P}[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+src_prepare() {
+       # already there from easybuild_framework
+       rm easybuild/__init__.py || die
+       default
+}

Reply via email to