Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/spack/, sys-cluster/spack/files/
Date: Wed, 30 Dec 2020 21:56:05
Message-Id: 1609363224.393d7a2ee37af2cb83606384a3e4c6f5b466a52e.epsilon-0@gentoo
1 commit: 393d7a2ee37af2cb83606384a3e4c6f5b466a52e
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Wed Dec 30 21:20:24 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Wed Dec 30 21:20:24 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=393d7a2e
7
8 sys-cluster/spack: drop package, breaks too many things
9
10 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
11
12 sys-cluster/spack/files/99spack | 1 -
13 sys-cluster/spack/metadata.xml | 12 --------
14 sys-cluster/spack/spack-0.15.4.ebuild | 54 -----------------------------------
15 3 files changed, 67 deletions(-)
16
17 diff --git a/sys-cluster/spack/files/99spack b/sys-cluster/spack/files/99spack
18 deleted file mode 100644
19 index e3b3acdaa..000000000
20 --- a/sys-cluster/spack/files/99spack
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -SPACK_ROOT="/opt/spack"
24
25 diff --git a/sys-cluster/spack/metadata.xml b/sys-cluster/spack/metadata.xml
26 deleted file mode 100644
27 index 2f2c0b51c..000000000
28 --- a/sys-cluster/spack/metadata.xml
29 +++ /dev/null
30 @@ -1,12 +0,0 @@
31 -<?xml version="1.0" encoding="UTF-8"?>
32 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 -<pkgmetadata>
34 - <maintainer type="person">
35 - <email>gentoo@×××××.cc</email>
36 - <name>Aisha Tammy</name>
37 - </maintainer>
38 - <maintainer type="project">
39 - <email>sci@g.o</email>
40 - <name>Gentoo Science Project</name>
41 - </maintainer>
42 -</pkgmetadata>
43
44 diff --git a/sys-cluster/spack/spack-0.15.4.ebuild b/sys-cluster/spack/spack-0.15.4.ebuild
45 deleted file mode 100644
46 index 9346d9ec1..000000000
47 --- a/sys-cluster/spack/spack-0.15.4.ebuild
48 +++ /dev/null
49 @@ -1,54 +0,0 @@
50 -# Copyright 1999-2020 Gentoo Authors
51 -# Distributed under the terms of the GNU General Public License v2
52 -
53 -EAPI=7
54 -
55 -PYTHON_COMPAT=( python3_{6..9} )
56 -inherit python-single-r1 git-r3
57 -
58 -DESCRIPTION="flexible package manager supporting mutiple package version"
59 -HOMEPAGE="https://spack.io/"
60 -# we need the .git folder during runtime for command
61 -# $ spack pkg
62 -EGIT_REPO_URI="https://github.com/spack/spack"
63 -EGIT_COMMIT="v${PV}"
64 -
65 -LICENSE="MIT"
66 -SLOT="0"
67 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
68 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
69 -
70 -RDEPEND="${PYTHON_DEPS}
71 - dev-vcs/git
72 -"
73 -
74 -src_prepare() {
75 - sed -e "s:^#!/bin/sh:#!/usr/bin/env ${EPYTHON}:" \
76 - -i bin/spack || die
77 -
78 - default
79 -}
80 -
81 -src_test() {
82 - local -x SPACK_ROOT="${S}"
83 - local -x PATH="${S}/bin:${PATH}"
84 - ${EPYTHON} bin/spack test -k "not ci and \
85 - not compiler_bootstrap and \
86 - not test_prs_update_old_api and \
87 - not test_first_accessible_path and \
88 - not test_get_stage_root_in_spack" || \
89 - die "tests failed for ${EPYTHON}"
90 -}
91 -
92 -src_install() {
93 - dodir /opt/spack
94 - cp -r "${S}"/. "${ED}"/opt/spack || die
95 -
96 - doenvd "${FILESDIR}"/99spack
97 -}
98 -
99 -pkg_postinst() {
100 - elog "Spack has been installed to /opt/spack ."
101 - elog "To load spack into your environment, run"
102 - elog "\t . /opt/spack/share/spack/setup-env.sh"
103 -}