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 BDECD1396DA for ; Fri, 10 Nov 2017 06:48:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDF18E0BE9; Fri, 10 Nov 2017 06:48:40 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AB657E0BE9 for ; Fri, 10 Nov 2017 06:48:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 0099233BEB4 for ; Fri, 10 Nov 2017 06:48:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84CBE9868 for ; Fri, 10 Nov 2017 06:48:37 +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: <1509436922.0dcc8d6b70493cb20261a79215463210d681b98c.cynede@gentoo> Subject: [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/castle-dynamicproxy/ X-VCS-Repository: proj/dotnet X-VCS-Files: dev-dotnet/castle-dynamicproxy/castle-dynamicproxy-2.1.0.0.ebuild dev-dotnet/castle-dynamicproxy/metadata.xml X-VCS-Directories: dev-dotnet/castle-dynamicproxy/ X-VCS-Committer: cynede X-VCS-Committer-Name: Mikhail Pukhlikov X-VCS-Revision: 0dcc8d6b70493cb20261a79215463210d681b98c X-VCS-Branch: master Date: Fri, 10 Nov 2017 06:48:37 +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: e9c88e5b-e946-4975-8f9e-0803a48e6a86 X-Archives-Hash: 52e6f112800375092a5db0f4c1d2489b commit: 0dcc8d6b70493cb20261a79215463210d681b98c Author: ArsenShnurkov users noreply github com> AuthorDate: Tue Oct 31 08:02:02 2017 +0000 Commit: Mikhail Pukhlikov gentoo org> CommitDate: Tue Oct 31 08:02:02 2017 +0000 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=0dcc8d6b initial version of code added .../castle-dynamicproxy-2.1.0.0.ebuild | 88 ++++++++++++++++++++++ dev-dotnet/castle-dynamicproxy/metadata.xml | 14 ++++ 2 files changed, 102 insertions(+) diff --git a/dev-dotnet/castle-dynamicproxy/castle-dynamicproxy-2.1.0.0.ebuild b/dev-dotnet/castle-dynamicproxy/castle-dynamicproxy-2.1.0.0.ebuild new file mode 100644 index 0000000..f651d07 --- /dev/null +++ b/dev-dotnet/castle-dynamicproxy/castle-dynamicproxy-2.1.0.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +KEYWORDS="~amd64 ~x86" + +RESTRICT="mirror" + +SLOT="0" + +USE_DOTNET="net45" +inherit msbuild gac +IUSE="+${USE_DOTNET}" + +NAME="Core" +HOMEPAGE="http://www.castleproject.org" + +EGIT_COMMIT="9a033d8a69535e9078a3344e1ceddf18b60f9324" +SRC_URI="https://github.com/castleproject/${NAME}/archive/${EGIT_COMMIT}.tar.gz -> ${PF}.tar.gz + https://github.com/mono/mono/raw/master/mcs/class/mono.snk" +S="${WORKDIR}/${NAME}-${EGIT_COMMIT}" + +DESCRIPTION="simple set of tools to speed up the development" +LICENSE="Apache-2.0" # https://github.com/castleproject/Core/blob/master/LICENSE + +CDEPEND="|| ( >=dev-lang/mono-5.4.0.167 "${S}/Core/Castle.Core/AssemblyInfo.cs" || die + [assembly: System.Reflection.AssemblyVersion("2.1.0.0")] + METADATA + eapply_user +} + +src_compile() { + emsbuild /p:RootNamespace=Irony /p:SignAssembly=true /p:PublicSign=true "/p:AssemblyOriginatorKeyFile=${KEY2}" "/p:OutputName=${PROJECT_OUT}" "/p:OutputType=Library" "/p:VersionNumber=${ASSEMBLY_VERSION}" "${S}/${PROJECT_PATH}/${PROJECT_NAME}.csproj" + sn -R "$(output_filename)" "${KEY2}" || die +} + +src_install() { + insinto "/gac" + doins "$(output_filename)" +} + +pkg_preinst() +{ + echo mv "${D}/gac/${PROJECT_OUT}.dll" "${T}/${PROJECT_OUT}.dll" + mv "${D}/gac/${PROJECT_OUT}.dll" "${T}/${PROJECT_OUT}.dll" || die + echo rm -rf "${D}/gac" + rm -rf "${D}/gac" || die +} + +pkg_postinst() +{ + egacadd "${T}/${PROJECT_OUT}.dll" + rm "${T}/${PROJECT_OUT}.dll" || die +} + +pkg_prerm() +{ + egacdel "${PROJECT_OUT}, Version=${ASSEMBLY_VERSION}, Culture=neutral, PublicKeyToken=0738eb9f132ed756" +} diff --git a/dev-dotnet/castle-dynamicproxy/metadata.xml b/dev-dotnet/castle-dynamicproxy/metadata.xml new file mode 100644 index 0000000..1d64acf --- /dev/null +++ b/dev-dotnet/castle-dynamicproxy/metadata.xml @@ -0,0 +1,14 @@ + + + + + dotnet@gentoo.org + Gentoo Dotnet Project + + + simple set of tools to speed up the development + + + набор утилит для упрощения процесса разработки + +