Gentoo Archives: gentoo-commits

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/parity/
Date: Fri, 23 Aug 2019 14:57:32
Message-Id: 1566572217.0385ac994786119ca0d166b59e0fc8c4fa446208.haubi@gentoo
1 commit: 0385ac994786119ca0d166b59e0fc8c4fa446208
2 Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 23 14:52:34 2019 +0000
4 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 23 14:56:57 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0385ac99
7
8 sys-devel/parity: support x64; no more legacy MSVC by default
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>
12
13 sys-devel/parity/metadata.xml | 1 +
14 sys-devel/parity/parity-9999.ebuild | 12 +++++++++---
15 2 files changed, 10 insertions(+), 3 deletions(-)
16
17 diff --git a/sys-devel/parity/metadata.xml b/sys-devel/parity/metadata.xml
18 index f6466ef21aa..b5ae82a3cc8 100644
19 --- a/sys-devel/parity/metadata.xml
20 +++ b/sys-devel/parity/metadata.xml
21 @@ -19,6 +19,7 @@
22 <flag name="vc14_0">Enable support for Visual Studio 2015</flag>
23 <flag name="vc15_0">Enable support for Visual Studio 2017</flag>
24 <flag name="vc16_2">Enable support for Visual Studio 2019</flag>
25 + <flag name="vc_x64">Enable support for 64bit Visual Studio compilers</flag>
26 <flag name="vc_x86">Enable support for 32bit Visual Studio compilers</flag>
27 </use>
28 </pkgmetadata>
29
30 diff --git a/sys-devel/parity/parity-9999.ebuild b/sys-devel/parity/parity-9999.ebuild
31 index 38577c8f86b..50ab4b1e491 100644
32 --- a/sys-devel/parity/parity-9999.ebuild
33 +++ b/sys-devel/parity/parity-9999.ebuild
34 @@ -14,14 +14,20 @@ fi
35 DESCRIPTION="A POSIX to native Win32 Cross-Compiler Tool (requires Visual Studio)"
36 HOMEPAGE="https://github.com/haubi/parity"
37
38 -parity-vcarchs() { echo x86 ; }
39 -parity-vcvers() { echo 7_0 7_1 8_0 9_0 10_0 11_0 12_0 14_0 15_0 16_2 ; }
40 +parity-vcarchs() { echo x64 x86 ; }
41 +parity-vcvers-legacy() { echo 7_0 7_1 8_0 9_0 ; }
42 +parity-vcvers-current() { echo 10_0 11_0 12_0 14_0 15_0 16_2 ; }
43 +parity-vcvers() {
44 + parity-vcvers-legacy
45 + parity-vcvers-current
46 +}
47
48 LICENSE="LGPL-3"
49 SLOT="0"
50 IUSE="$(
51 for a in $(parity-vcarchs); do echo "+vc_${a}"; done
52 - for v in $(parity-vcvers); do echo "+vc${v}"; done
53 + for v in $(parity-vcvers-legacy); do echo "vc${v}"; done
54 + for v in $(parity-vcvers-current); do echo "+vc${v}"; done
55 )"
56
57 if [[ ${PV} == 9999 ]]; then