1 |
commit: 119a2ddba9b5bdfb0554839b965f3cb150d890ab |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Thu Jun 23 18:18:04 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 13:06:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=119a2ddb |
7 |
|
8 |
sys-devel/parity: remove live ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
13 |
|
14 |
sys-devel/parity/parity-9999.ebuild | 77 ------------------------------------- |
15 |
1 file changed, 77 deletions(-) |
16 |
|
17 |
diff --git a/sys-devel/parity/parity-9999.ebuild b/sys-devel/parity/parity-9999.ebuild |
18 |
deleted file mode 100644 |
19 |
index 3de370518ab4..000000000000 |
20 |
--- a/sys-devel/parity/parity-9999.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,77 +0,0 @@ |
23 |
-# Copyright 1999-2022 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
- |
28 |
-if [[ ${PV} == 9999 ]]; then |
29 |
- inherit autotools git-r3 |
30 |
- EGIT_REPO_URI="git@××××××.com:ssi-schaefer/parity.git https://github.com/ssi-schaefer/parity.git" |
31 |
- BDEPEND="dev-util/confix" |
32 |
-else |
33 |
- SRC_URI="https://github.com/ssi-schaefer/${PN}/releases/download/${PV}/${P}.tar.bz2" |
34 |
- KEYWORDS="~x64-cygwin" |
35 |
-fi |
36 |
-DESCRIPTION="A POSIX to native Win32 Cross-Compiler Tool (requires Visual Studio)" |
37 |
-HOMEPAGE="https://github.com/ssi-schaefer/parity" |
38 |
- |
39 |
-parity-vcarchs() { echo x64=x86_64 x86=i686 ; } |
40 |
-parity-vcvers-legacy() { echo 8_0 9_0 ; } |
41 |
-parity-vcvers-current() { echo 10_0 11_0 12_0 14_0 15 16 ; } |
42 |
-parity-vcvers() { |
43 |
- parity-vcvers-legacy |
44 |
- parity-vcvers-current |
45 |
-} |
46 |
- |
47 |
-LICENSE="LGPL-3" |
48 |
-SLOT="0" |
49 |
-IUSE="$( |
50 |
- for a in $(parity-vcarchs); do echo "+vc${a%=*}"; done |
51 |
- for v in $(parity-vcvers-legacy); do echo "vc${v}"; done |
52 |
- for v in $(parity-vcvers-current); do echo "+vc${v}"; done |
53 |
-)" |
54 |
- |
55 |
-if [[ ${PV} == 9999 ]]; then |
56 |
- src_prepare() { |
57 |
- default |
58 |
- confix --output || die |
59 |
- eautoreconf |
60 |
- } |
61 |
-fi |
62 |
- |
63 |
-parity-enabled-vcarchs() { |
64 |
- local enabled= a |
65 |
- for a in $(parity-vcarchs) ; do |
66 |
- if use vc${a%=*} ; then |
67 |
- enabled+=",${a#*=}" |
68 |
- fi |
69 |
- done |
70 |
- echo ${enabled#,} |
71 |
-} |
72 |
- |
73 |
-parity-enabled-vcvers() { |
74 |
- local enabled= v |
75 |
- for v in $(parity-vcvers) ; do |
76 |
- if use vc${v} ; then |
77 |
- enabled+=",${v/_/.}" |
78 |
- fi |
79 |
- done |
80 |
- echo ${enabled#,} |
81 |
-} |
82 |
- |
83 |
-src_configure() { |
84 |
- local myconf=( |
85 |
- --enable-msvc-archs="$(parity-enabled-vcarchs)" |
86 |
- --enable-msvc-versions="$(parity-enabled-vcvers)" |
87 |
- --disable-default-msvc-version |
88 |
- ) |
89 |
- econf "${myconf[@]}" |
90 |
-} |
91 |
- |
92 |
-pkg_postinst() { |
93 |
- if [[ -n ${ROOT} ]] ; then |
94 |
- einfo "To enable all available MSVC versions, on the target machine please run:" |
95 |
- einfo " '${EPREFIX}/usr/bin/parity-setup' --enable-all" |
96 |
- else |
97 |
- "${EPREFIX}"/usr/bin/parity-setup --enable-all |
98 |
- fi |
99 |
-} |