From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4BD7F139694 for ; Thu, 23 Mar 2017 08:52:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43C9521C028; Thu, 23 Mar 2017 08:52:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 108E021C028 for ; Thu, 23 Mar 2017 08:52:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E0BC33D3CE for ; Thu, 23 Mar 2017 08:52:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D688471FD for ; Thu, 23 Mar 2017 08:52:46 +0000 (UTC) From: "Michael Haubenwallner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Haubenwallner" Message-ID: <1490259146.b6786c0f2925aa575ed4fd741c112f2b65b7ab65.haubi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/parity/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/parity/parity-9999.ebuild X-VCS-Directories: sys-devel/parity/ X-VCS-Committer: haubi X-VCS-Committer-Name: Michael Haubenwallner X-VCS-Revision: b6786c0f2925aa575ed4fd741c112f2b65b7ab65 X-VCS-Branch: master Date: Thu, 23 Mar 2017 08:52:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 989ac4a0-d7e2-4235-99b1-b4590e708cfc X-Archives-Hash: bb936129a5cb5095edd997cfc273911f commit: b6786c0f2925aa575ed4fd741c112f2b65b7ab65 Author: Michael Haubenwallner gentoo org> AuthorDate: Thu Mar 23 08:52:26 2017 +0000 Commit: Michael Haubenwallner gentoo org> CommitDate: Thu Mar 23 08:52:26 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6786c0f sys-devel/parity: switch live repo to haubi at github Package-Manager: portage-2.3.3 sys-devel/parity/parity-9999.ebuild | 38 +++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/sys-devel/parity/parity-9999.ebuild b/sys-devel/parity/parity-9999.ebuild index 5bb3cbeee83..2ac346e6826 100644 --- a/sys-devel/parity/parity-9999.ebuild +++ b/sys-devel/parity/parity-9999.ebuild @@ -1,22 +1,18 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=6 if [[ ${PV} == 9999 ]]; then - inherit subversion - ESVN_REPO_URI="https://svn.code.sf.net/p/parity/code/trunk" - ESVN_BOOTSTRAP="confix --bootstrap" - ESVN_PROJECT="${PN}" - : ${KEYWORDS=""} - + inherit git-r3 + EGIT_REPO_URI="git@github.com:haubi/parity.git https://github.com/haubi/parity.git" DEPEND="dev-util/confix" else SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" KEYWORDS="" fi -DESCRIPTION="An Interix to native Win32 Cross-Compiler Tool (requires Visual Studio)" -HOMEPAGE="http://www.sourceforge.net/projects/parity/" +DESCRIPTION="A POSIX to native Win32 Cross-Compiler Tool (requires Visual Studio)" +HOMEPAGE="https://github.com/haubi/parity" LICENSE="LGPL-3" SLOT="0" @@ -35,19 +31,29 @@ pkg_setup() { fi } +if [[ ${PV} == 9999 ]]; then + src_prepare() { + confix --bootstrap || die + default + } +fi + src_install() { emake DESTDIR="${D}" install || die "emake install failed" - # create i586-pc-winnt*-g[++|cc|..] links.. + # create i586-pc-winnt-g[++|cc|..] links.. local exeext= - [[ -f ${ED}/usr/bin/parity.gnu.gcc.exe ]] && exeext=.exe + [[ -f ${ED}usr/bin/parity.gnu.gcc.exe ]] && exeext=.exe - # create cross compiler syms - dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-gcc - dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-c++ - dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt$(uname -r)-g++ - dosym /usr/bin/parity.gnu.ld${exeext} /usr/bin/i586-pc-winnt$(uname -r)-ld + # create cross compiler syms, also for former versioned winnt profiles + local v + for v in "" 5.2 6.1; do + dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-gcc + dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-c++ + dosym /usr/bin/parity.gnu.gcc${exeext} /usr/bin/i586-pc-winnt${v}-g++ + dosym /usr/bin/parity.gnu.ld${exeext} /usr/bin/i586-pc-winnt${v}-ld + done # we don't need the header files installed by parity... private # header files are supported with a patch from 2.1.0-r1 onwards,