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 3607D1382C5 for ; Tue, 23 Jan 2018 06:42:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EB09E095A; Tue, 23 Jan 2018 06:42:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2864E094B for ; Tue, 23 Jan 2018 06:42:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 29C13335C52 for ; Tue, 23 Jan 2018 06:42:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 669A11D4 for ; Tue, 23 Jan 2018 06:42:14 +0000 (UTC) From: "Mikhail Pukhlikov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikhail Pukhlikov" Message-ID: <1515857599.ab0cb6eabec5aaea2642e15ce1f209e851769173.cynede@gentoo> Subject: [gentoo-commits] proj/dotnet:master commit in: dev-util/nant/ X-VCS-Repository: proj/dotnet X-VCS-Files: dev-util/nant/nant-0.93.5019_p2016101703.ebuild X-VCS-Directories: dev-util/nant/ X-VCS-Committer: cynede X-VCS-Committer-Name: Mikhail Pukhlikov X-VCS-Revision: ab0cb6eabec5aaea2642e15ce1f209e851769173 X-VCS-Branch: master Date: Tue, 23 Jan 2018 06:42:14 +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: acee4f66-a9d9-4230-8547-40bb44056836 X-Archives-Hash: 9078fc6327306409284f8314a00ae200 commit: ab0cb6eabec5aaea2642e15ce1f209e851769173 Author: ArsenShnurkov users noreply github com> AuthorDate: Sat Jan 13 15:33:19 2018 +0000 Commit: Mikhail Pukhlikov gentoo org> CommitDate: Sat Jan 13 15:33:19 2018 +0000 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=ab0cb6ea change exbuild to emsbuild dev-util/nant/nant-0.93.5019_p2016101703.ebuild | 27 ++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/dev-util/nant/nant-0.93.5019_p2016101703.ebuild b/dev-util/nant/nant-0.93.5019_p2016101703.ebuild index e72f081..0ca7df2 100644 --- a/dev-util/nant/nant-0.93.5019_p2016101703.ebuild +++ b/dev-util/nant/nant-0.93.5019_p2016101703.ebuild @@ -2,11 +2,20 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=6 +EAPI="6" +KEYWORDS="~amd64 ~x86" RESTRICT="mirror" -inherit mono-env nupkg +SLOT="0" +if [ "${SLOT}" != "0" ]; then + APPENDIX="-${SLOT}" +fi + +USE_DOTNET="net45" +IUSE="+${USE_DOTNET} developer nupkg debug" + +inherit versionator msbuild nupkg HOMEPAGE="https://github.com/nant/${NAME}" DESCRIPTION=".NET build tool" @@ -22,12 +31,6 @@ GITHUB_ZIP="https://api.github.com/repos/${GITHUBACC}/${GITHUBREPO}/zipball/${EG SRC_URI="${GITHUB_ZIP}" S="${WORKDIR}/${GITFILENAME}" -SLOT="0" - -KEYWORDS="~amd64 ~x86" -IUSE="+net45 developer nupkg debug" -USE_DOTNET="net45" - RDEPEND=">=dev-lang/mono-4.4.0.40 !dev-dotnet/nant nupkg? ( dev-dotnet/nuget )" @@ -46,8 +49,14 @@ src_unpack() { mv "${WORKDIR}/${GITHUBACC}-${GITHUBREPO}-"* "${WORKDIR}/${GITFILENAME}" || die } +src_prepare() { + dotnet_pkg_setup + find ${S} -type f -iname "*.csproj" -exec sed -i "s/Microsoft.CSharp.Targets/Microsoft.CSharp.targets/g" {} \; || die + eapply_user +} + src_compile() { - exbuild "${METAFILETOBUILD}" + emsbuild "${METAFILETOBUILD}" enuspec "${FILESDIR}/${SLN_FILE}.nuspec" }