From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C993C1397F3 for ; Thu, 20 Aug 2015 12:30:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 618181419B; Thu, 20 Aug 2015 12:30:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BC07141B8 for ; Thu, 20 Aug 2015 12:30:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 924DD3409D7 for ; Thu, 20 Aug 2015 12:30:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E2CB163 for ; Thu, 20 Aug 2015 12:30:32 +0000 (UTC) From: "Heather Cynede" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Heather Cynede" Message-ID: <1439981542.106d8e45d1f15cdc22aa87f7945369f79f5f5641.cynede@gentoo> Subject: [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/nunit/files/, dev-dotnet/nunit/ X-VCS-Repository: proj/dotnet X-VCS-Files: dev-dotnet/nunit/files/nunit.linux.sln.nuspec dev-dotnet/nunit/files/nunit.nuspec dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild X-VCS-Directories: dev-dotnet/nunit/files/ dev-dotnet/nunit/ X-VCS-Committer: cynede X-VCS-Committer-Name: Heather Cynede X-VCS-Revision: 106d8e45d1f15cdc22aa87f7945369f79f5f5641 X-VCS-Branch: master Date: Thu, 20 Aug 2015 12:30:32 +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: b9829479-88fc-42c6-a435-6ceace287bbe X-Archives-Hash: 55640a472d7011c9421dd326bf98f587 commit: 106d8e45d1f15cdc22aa87f7945369f79f5f5641 Author: ArsenShnurkov gmail com> AuthorDate: Wed Aug 19 10:48:34 2015 +0000 Commit: Heather Cynede gentoo org> CommitDate: Wed Aug 19 10:52:22 2015 +0000 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=106d8e45 some changes from comments .../files/{nunit.linux.sln.nuspec => nunit.nuspec} | 0 .../nunit/nunit-3.0.0_beta3-r201508190.ebuild | 39 ++++++++++++++++------ 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/dev-dotnet/nunit/files/nunit.linux.sln.nuspec b/dev-dotnet/nunit/files/nunit.nuspec similarity index 100% rename from dev-dotnet/nunit/files/nunit.linux.sln.nuspec rename to dev-dotnet/nunit/files/nunit.nuspec diff --git a/dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild b/dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild index 56111fe..bd40d60 100644 --- a/dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild +++ b/dev-dotnet/nunit/nunit-3.0.0_beta3-r201508190.ebuild @@ -8,16 +8,19 @@ inherit mono-env nuget dotnet NAME="nunit" HOMEPAGE="https://github.com/nunit/${NAME}" -EGIT_COMMIT="1a9cf07e4010f81ba3242cd19f40c73884a19ff4" +EGIT_COMMIT="f8fe36f7aa806016a0d26e370774c7f5bb79d647" SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.zip -> ${PF}.zip" S="${WORKDIR}/${NAME}-${EGIT_COMMIT}" -SLOT="0" +SLOT="3" DESCRIPTION="NUnit test suite for mono applications" LICENSE="MIT" # https://github.com/nunit/nunit/blob/master/LICENSE.txt KEYWORDS="~amd64 ~ppc ~x86" -IUSE="developer nupkg debug" +#USE_DOTNET="net20 net40 net45" +USE_DOTNET="net45" +IUSE="developer nupkg debug doc net45" +USE="${USE} net45" # force FRAMEWORK=4.5 RDEPEND=">=dev-lang/mono-4.0.2.5 dev-dotnet/nant[nupkg] @@ -25,11 +28,9 @@ RDEPEND=">=dev-lang/mono-4.0.2.5 DEPEND="${RDEPEND} " -FRAMEWORK=4.5 - S="${WORKDIR}/${NAME}-${EGIT_COMMIT}" -SLN_FILE=nunit.linux.sln -METAFILETOBUILD="${S}/${SLN_FILE}" +FILE_TO_BUILD=NUnit.proj +METAFILETOBUILD="${S}/${FILE_TO_BUILD}" src_prepare() { chmod -R +rw "${S}" || die @@ -40,7 +41,8 @@ src_prepare() { src_compile() { exbuild "${METAFILETOBUILD}" - enuspec "${FILESDIR}/${SLN_FILE}.nuspec" + enuspec "${FILESDIR}/${PN}.nuspec" + # PN = Package name, for example vim. } src_install() { @@ -51,10 +53,25 @@ src_install() { DIR="Release" fi - insinto "/usr/share/nunit/" - doins bin/${DIR}/* + SLOTTEDDIR="/usr/share/nunit-${SLOT}/" + insinto "${SLOTTEDDIR}" + doins bin/${DIR}/*.{config,dll,exe} + # install: cannot stat 'bin/Release/*.mdb': No such file or directory + if use developer; then + doins bin/${DIR}/*.{mdb} + fi + +# into /usr +# dobin ${FILESDIR}/nunit-console + make_wrapper nunit "mono ${SLOTTEDDIR}/nunit-console.exe" - make_wrapper nunit "mono /usr/share/nunit/NUnit.exe" + if use doc; then +# dodoc ${WORKDIR}/doc/*.txt +# dohtml ${WORKDIR}/doc/*.html +# insinto /usr/share/${P}/samples +# doins -r ${WORKDIR}/samples/* + dodoc LICENSE.txt NOTICES.txt CHANGES.txt + fi enupkg "${WORKDIR}/NUnit.3.0.0.nupkg" }