public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/cecil/files/, dev-dotnet/cecil/
@ 2016-03-02  8:27 Heather Cynede
  0 siblings, 0 replies; 4+ messages in thread
From: Heather Cynede @ 2016-03-02  8:27 UTC (permalink / raw
  To: gentoo-commits

commit:     2fa6b592ca55b53ecceb6659a7f717135d308f27
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Mon Feb 22 16:03:07 2016 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 16:03:07 2016 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=2fa6b592

template copied from another ebuild

 dev-dotnet/cecil/cecil-0.9.6_p20160209.ebuild | 125 ++++++++++++++++++++++++++
 dev-dotnet/cecil/files/niget_icon_64x64.png   | Bin 0 -> 7553 bytes
 dev-dotnet/cecil/metadata.xml                 |  21 +++++
 3 files changed, 146 insertions(+)

diff --git a/dev-dotnet/cecil/cecil-0.9.6_p20160209.ebuild b/dev-dotnet/cecil/cecil-0.9.6_p20160209.ebuild
new file mode 100644
index 0000000..7726e0f
--- /dev/null
+++ b/dev-dotnet/cecil/cecil-0.9.6_p20160209.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit nupkg
+
+HOMEPAGE="http://cecil.pe/"
+DESCRIPTION="System.Reflection alternative to generate and inspect .NET executables/libraries"
+# https://github.com/jbevain/cecil/wiki/License
+# https://github.com/jbevain/cecil/blob/master/LICENSE.txt
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="net45 +gac +nupkg +pkg-config debug developer"
+USE_DOTNET="net45"
+
+COMMON_DEPEND=">=dev-lang/mono-4.0.2.5
+"
+
+RDEPEND="${COMMON_DEPEND}
+"
+
+DEPEND="${COMMON_DEPEND}
+	virtual/pkgconfig
+"
+
+NAME="cecil"
+REPOSITORY="https://github.com/jbevain/${NAME}"
+LICENSE_URL="${REPOSITORY}/blob/master/LICENSE"
+ICONMETA="https://github.com/lontivero/Open.NAT/tree/gh-pages/images/logos"
+ICON_URL="file://${FILESDIR}/nuget_icon_64x64.png"
+
+EGIT_BRANCH="master"
+EGIT_COMMIT="0e24ced7e3e9dd8320f450b6cb1d981bf9412cf8"
+SRC_URI="${REPOSITORY}/archive/${EGIT_BRANCH}/${EGIT_COMMIT}.zip -> ${PF}.zip
+	mirror://gentoo/mono.snk.bz2"
+#S="${WORKDIR}/${NAME}-${EGIT_COMMIT}"
+S="${WORKDIR}/${NAME}-${EGIT_BRANCH}"
+
+METAFILETOBUILD="./Mono.Cecil.sln"
+
+OUTPUT_DIR=Mono.Cecil/bin
+GAC_DLL_NAME=mono.cecil
+
+NUSPEC_FILE="${S}/Mono.Cecil.nuspec"
+NUSPEC_VERSION="${PVR//-r/.}"
+
+src_prepare() {
+	enuget_restore "${METAFILETOBUILD}"
+
+	patch_nuspec_file ${NUSPEC_FILE}
+}
+
+src_configure() {
+	:;
+}
+
+src_compile() {
+	exbuild /p:SignAssembly=true "/p:AssemblyOriginatorKeyFile=${WORKDIR}/mono.snk" "${METAFILETOBUILD}"
+
+	# run nuget_pack
+	enuspec -Prop version=${NUSPEC_VERSION} ${NUSPEC_FILE}
+}
+
+src_install() {
+	enupkg "${WORKDIR}/${NAME}.${NUSPEC_VERSION}.nupkg"
+
+	egacinstall "${OUTPUT_DIR}/${DIR}/${GAC_DLL_NAME}.dll"
+
+	install_pc_file
+}
+
+patch_nuspec_file()
+{
+	if use nupkg; then
+		if use debug; then
+			DIR="Debug"
+		else
+			DIR="Release"
+		fi
+		FILES_STRING=`cat <<-EOF || die "files at patch_nuspec_file()"
+		       <files> <!-- https://docs.nuget.org/create/nuspec-reference -->
+		               <file src="${OUTPUT_DIR}/${DIR}/*.dll" target="lib\net45\" />
+		               <file src="${OUTPUT_DIR}/${DIR}/*.mdb" target="lib\net45\" />
+		       </files>
+		EOF
+		`
+		einfo ${FILES_STRING}
+		replace "</package>" "${FILES_STRING}</package>" -- $1 || die "replace at patch_nuspec_file()"
+	fi
+}
+
+PC_FILE_NAME=${PN}
+
+install_pc_file()
+{
+	if use pkg-config; then
+		dodir /usr/$(get_libdir)/pkgconfig
+		ebegin "Installing ${PC_FILE_NAME}.pc file"
+		sed \
+			-e "s:@LIBDIR@:$(get_libdir):" \
+			-e "s:@PACKAGENAME@:${PC_FILE_NAME}:" \
+			-e "s:@DESCRIPTION@:${DESCRIPTION}:" \
+			-e "s:@VERSION@:${PV}:" \
+			-e 's;@LIBS@;-r:${libdir}'"/mono/${PC_FILE_NAME}/${GAC_DLL_NAME}.dll;" \
+			<<\EOF >"${D}/usr/$(get_libdir)/pkgconfig/${PC_FILE_NAME}.pc" || die
+prefix=${pcfiledir}/../..
+exec_prefix=${prefix}
+libdir=${exec_prefix}/@LIBDIR@
+
+Name: @PACKAGENAME@
+Description: @DESCRIPTION@
+Version: @VERSION@
+Libs: @LIBS@
+EOF
+# Package exported to: /var/tmp/portage/dev-dotnet/Open-NAT-1.0.0-r201510290/image//usr/lib64/mono/Open-NAT/Open.Nat.dll -> ../gac/Open.Nat/1.0.0.0__0738eb9f132ed756/Open.Nat.dll
+# Installed Open.Nat/bin/Release/Open.Nat.dll into the gac (/var/tmp/portage/dev-dotnet/Open-NAT-1.0.0-r201510290/image//usr/lib64/mono/gac)
+
+		einfo PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --exists "${PC_FILE_NAME}"
+		PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --exists "${PC_FILE_NAME}" || die ".pc file failed to validate."
+		eend $?
+	fi
+}

diff --git a/dev-dotnet/cecil/files/niget_icon_64x64.png b/dev-dotnet/cecil/files/niget_icon_64x64.png
new file mode 100644
index 0000000..2735bfe
Binary files /dev/null and b/dev-dotnet/cecil/files/niget_icon_64x64.png differ

diff --git a/dev-dotnet/cecil/metadata.xml b/dev-dotnet/cecil/metadata.xml
new file mode 100644
index 0000000..481fc5e
--- /dev/null
+++ b/dev-dotnet/cecil/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>dotnet@gentoo.org</email>
+		<description>Gentoo Dotnet Project</description>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/jbevain/cecil/issues/</bugs-to>
+		<remote-id type="github">jbevain/cecil</remote-id>
+	</upstream>
+	<use>
+		<flag name='pkg-config'>create .pc file(s) for .dll(s) installed to gac</flag>
+	</use>
+	<longdescription lang="en">
+		System.Reflection alternative to generate and inspect .NET executables and libraries (.NET over PE/COFF+)
+	</use>
+	<longdescription lang="ru">
+		Альтернатива библиотеке System.Reflection для создания и анализа .NET сборок (.NET поверх PE/COFF+)
+    </longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/cecil/files/, dev-dotnet/cecil/
@ 2016-03-02  8:27 Heather Cynede
  0 siblings, 0 replies; 4+ messages in thread
From: Heather Cynede @ 2016-03-02  8:27 UTC (permalink / raw
  To: gentoo-commits

commit:     e4e1b08e357416e2598af152c86bf0dce54b59b2
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 27 16:57:08 2016 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 16:57:08 2016 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=e4e1b08e

compiled for three versions of framework

 dev-dotnet/cecil/cecil-0.9.6_p20160209.ebuild | 78 ++++++++++++++++-----------
 dev-dotnet/cecil/files/nuspec.patch           | 34 ++++++++++++
 dev-dotnet/cecil/metadata.xml                 |  4 +-
 3 files changed, 84 insertions(+), 32 deletions(-)

diff --git a/dev-dotnet/cecil/cecil-0.9.6_p20160209.ebuild b/dev-dotnet/cecil/cecil-0.9.6_p20160209.ebuild
index 7726e0f..5ef6253 100644
--- a/dev-dotnet/cecil/cecil-0.9.6_p20160209.ebuild
+++ b/dev-dotnet/cecil/cecil-0.9.6_p20160209.ebuild
@@ -13,8 +13,8 @@ DESCRIPTION="System.Reflection alternative to generate and inspect .NET executab
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="net45 +gac +nupkg +pkg-config debug developer"
-USE_DOTNET="net45"
+USE_DOTNET="net35 net40 net45"
+IUSE="net35 net40 net45 +gac +nupkg +pkg-config debug developer"
 
 COMMON_DEPEND=">=dev-lang/mono-4.0.2.5
 "
@@ -41,16 +41,18 @@ S="${WORKDIR}/${NAME}-${EGIT_BRANCH}"
 
 METAFILETOBUILD="./Mono.Cecil.sln"
 
-OUTPUT_DIR=Mono.Cecil/bin
-GAC_DLL_NAME=mono.cecil
+GAC_DLL_NAME=Mono.Cecil
 
+NUSPEC_ID="Mono.Cecil"
 NUSPEC_FILE="${S}/Mono.Cecil.nuspec"
-NUSPEC_VERSION="${PVR//-r/.}"
+NUSPEC_VERSION="${PV//_p/.}"
 
 src_prepare() {
 	enuget_restore "${METAFILETOBUILD}"
 
-	patch_nuspec_file ${NUSPEC_FILE}
+	eapply "${FILESDIR}/nuspec.patch"
+
+	eapply_user
 }
 
 src_configure() {
@@ -58,40 +60,56 @@ src_configure() {
 }
 
 src_compile() {
-	exbuild /p:SignAssembly=true "/p:AssemblyOriginatorKeyFile=${WORKDIR}/mono.snk" "${METAFILETOBUILD}"
+	if [[ -z ${TOOLS_VERSION} ]]; then
+		TOOLS_VERSION=4.0
+	fi
+	PARAMETERS=" /tv:${TOOLS_VERSION}"
+	if use developer; then
+		SARGS=/p:DebugSymbols=True
+	else
+		SARGS=/p:DebugSymbols=False
+	fi
+	PARAMETERS+=" ${SARGS}"
+	PARAMETERS+=" /p:SignAssembly=true"
+	PARAMETERS+=" /p:AssemblyOriginatorKeyFile=${WORKDIR}/mono.snk"
+	PARAMETERS+=" /v:detailed"
+
+
+	for x in ${USE_DOTNET} ; do
+		FW_UPPER=${x:3:1}
+		FW_LOWER=${x:4:1}
+		PARAMETERS_2=" /p:TargetFrameworkVersion=v${FW_UPPER}.${FW_LOWER}"
+		if use debug; then
+			CARGS=/p:Configuration=net_${FW_UPPER}_${FW_LOWER}_Debug
+		else
+			CARGS=/p:Configuration=net_${FW_UPPER}_${FW_LOWER}_Release
+		fi
+		PARAMETERS_2+=" ${CARGS}"
+		exbuild_raw ${PARAMETERS} ${PARAMETERS_2} "${METAFILETOBUILD}"
+	done
 
 	# run nuget_pack
-	enuspec -Prop version=${NUSPEC_VERSION} ${NUSPEC_FILE}
+	enuspec -Prop "id=${NUSPEC_ID};version=${NUSPEC_VERSION}" ${NUSPEC_FILE}
 }
 
 src_install() {
-	enupkg "${WORKDIR}/${NAME}.${NUSPEC_VERSION}.nupkg"
+	enupkg "${WORKDIR}/${NUSPEC_ID}.${NUSPEC_VERSION}.nupkg"
+	
+	if use debug; then
+		DIR=Debug
+	else
+		DIR=Release
+	fi
 
-	egacinstall "${OUTPUT_DIR}/${DIR}/${GAC_DLL_NAME}.dll"
+	for x in ${USE_DOTNET} ; do
+		FW_UPPER=${x:3:1}
+		FW_LOWER=${x:4:1}
+		egacinstall "bin/net_${FW_UPPER}_${FW_LOWER}_${DIR}/${GAC_DLL_NAME}.dll"
+	done
 
 	install_pc_file
 }
 
-patch_nuspec_file()
-{
-	if use nupkg; then
-		if use debug; then
-			DIR="Debug"
-		else
-			DIR="Release"
-		fi
-		FILES_STRING=`cat <<-EOF || die "files at patch_nuspec_file()"
-		       <files> <!-- https://docs.nuget.org/create/nuspec-reference -->
-		               <file src="${OUTPUT_DIR}/${DIR}/*.dll" target="lib\net45\" />
-		               <file src="${OUTPUT_DIR}/${DIR}/*.mdb" target="lib\net45\" />
-		       </files>
-		EOF
-		`
-		einfo ${FILES_STRING}
-		replace "</package>" "${FILES_STRING}</package>" -- $1 || die "replace at patch_nuspec_file()"
-	fi
-}
-
 PC_FILE_NAME=${PN}
 
 install_pc_file()

diff --git a/dev-dotnet/cecil/files/nuspec.patch b/dev-dotnet/cecil/files/nuspec.patch
new file mode 100644
index 0000000..39ce752
--- /dev/null
+++ b/dev-dotnet/cecil/files/nuspec.patch
@@ -0,0 +1,34 @@
+diff --git a/Mono.Cecil.nuspec b/Mono.Cecil.nuspec
+index e01234e..f7c2372 100644
+--- a/Mono.Cecil.nuspec
++++ b/Mono.Cecil.nuspec
+@@ -1,23 +1,23 @@
+ <?xml version="1.0"?>
+ <package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+   <metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
+-    <id>Mono.Cecil</id>
+-    <version>0.9.6.0</version>
++    <id>$id$</id>
++    <version>$version$</version>
+     <title>Mono.Cecil</title>
+     <authors>Jb Evain</authors>
+     <owners>Jb Evain</owners>
+     <licenseUrl>http://opensource.org/licenses/mit-license.php</licenseUrl>
+     <requireLicenseAcceptance>false</requireLicenseAcceptance>
+     <projectUrl>http://github.com/jbevain/cecil/</projectUrl>
++    <iconUrl>file:///var/lib/layman/dotnet/dev-dotnet/cecil/files/niget_icon_64x64.png</iconUrl>
+     <summary>Cecil is a library written by Jb Evain to generate and inspect programs and libraries in the ECMA CIL format.</summary>
+     <description>Cecil is a library written by Jb Evain to generate and inspect programs and libraries in the ECMA CIL format. It has full support for generics, and support some debugging symbol format. In simple English, with Cecil, you can load existing managed assemblies, browse all the contained types, modify them on the fly and save back to the disk the modified assembly.</description>
+     <language>en-US</language>
+     <tags>assembly assemblies module modules il cil msil bytecode reflection injection cecil mono aop</tags>
+   </metadata>
+   <files>
+-    <file src="bin\net_3_5_Release\*.dll" target="lib/net35" />
+-    <file src="bin\net_4_0_Release\*.dll" target="lib/net40" />
+-    <file src="bin\net_4_5_Release\*.dll" target="lib/net45" />
+-    <file src="bin\pcl_Release\*.dll" target="lib/portable-net40+sl5+win8+wp8+wpa" />
++    <file src="bin/net_3_5_$configuration$/*.dll" target="lib/net35" />
++    <file src="bin/net_4_0_$configuration$/*.dll" target="lib/net40" />
++    <file src="bin/net_4_5_$configuration$/*.dll" target="lib/net45" />
+   </files>
+ </package>

diff --git a/dev-dotnet/cecil/metadata.xml b/dev-dotnet/cecil/metadata.xml
index 481fc5e..c006382 100644
--- a/dev-dotnet/cecil/metadata.xml
+++ b/dev-dotnet/cecil/metadata.xml
@@ -14,8 +14,8 @@
 	</use>
 	<longdescription lang="en">
 		System.Reflection alternative to generate and inspect .NET executables and libraries (.NET over PE/COFF+)
-	</use>
+	</longdescription>
 	<longdescription lang="ru">
 		Альтернатива библиотеке System.Reflection для создания и анализа .NET сборок (.NET поверх PE/COFF+)
-    </longdescription>
+	</longdescription>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/cecil/files/, dev-dotnet/cecil/
@ 2016-11-24 11:42 Mikhail Pukhlikov
  0 siblings, 0 replies; 4+ messages in thread
From: Mikhail Pukhlikov @ 2016-11-24 11:42 UTC (permalink / raw
  To: gentoo-commits

commit:     e2d3de118d0601f504821f7e0dc81c63dc1fe42f
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Sun Nov 20 14:23:55 2016 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 14:23:55 2016 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=e2d3de11

version bump + more dlls installed (for dockpanelsuite)

 .../cecil/cecil-0.10_beta1_p2016111002.ebuild      | 117 ++++++++++++++++++++
 .../files/nuspec-0.10_beta1_p2016111002.patch      |  46 ++++++++
 .../cecil/files/sln-0.10_beta1_p2016111002.patch   | 123 +++++++++++++++++++++
 3 files changed, 286 insertions(+)

diff --git a/dev-dotnet/cecil/cecil-0.10_beta1_p2016111002.ebuild b/dev-dotnet/cecil/cecil-0.10_beta1_p2016111002.ebuild
new file mode 100644
index 0000000..ce41495
--- /dev/null
+++ b/dev-dotnet/cecil/cecil-0.10_beta1_p2016111002.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+KEYWORDS="~amd64 ~x86"
+RESTRICT+=" mirror"
+
+USE_DOTNET="net45 net35"
+IUSE="+${USE_DOTNET} +gac +nupkg +pkg-config +debug +developer"
+
+inherit gac nupkg
+
+HOMEPAGE="http://cecil.pe/"
+DESCRIPTION="System.Reflection alternative to generate and inspect .NET executables/libraries"
+# https://github.com/jbevain/cecil/wiki/License
+# https://github.com/jbevain/cecil/blob/master/LICENSE.txt
+LICENSE="MIT"
+SLOT="0"
+
+COMMON_DEPEND=">=dev-lang/mono-4.0.2.5
+"
+
+DEPEND="${COMMON_DEPEND}
+	virtual/pkgconfig
+"
+
+RDEPEND="${COMMON_DEPEND}
+"
+
+NAME="cecil"
+REPOSITORY="https://github.com/jbevain/${NAME}"
+LICENSE_URL="${REPOSITORY}/blob/master/LICENSE"
+ICONMETA="http://www.iconeasy.com/icon/ico/Movie%20%26%20TV/Looney%20Tunes/Cecil%20Turtle%20no%20shell.ico"
+ICON_URL="file://${FILESDIR}/Cecil Turtle no shell.png"
+
+EGIT_BRANCH="master"
+EGIT_COMMIT="045b0f9729905dd456d46e33436a2dadc9e2a52d"
+SRC_URI="${REPOSITORY}/archive/${EGIT_BRANCH}/${EGIT_COMMIT}.zip -> ${PF}.zip
+	mirror://gentoo/mono.snk.bz2"
+RESTRICT+=" test"
+S="${WORKDIR}/${NAME}-${EGIT_BRANCH}"
+
+METAFILETOBUILD="./Mono.Cecil.sln"
+
+GAC_DLL_NAMES="Mono.Cecil Mono.Cecil.Mdb Mono.Cecil.Pdb Mono.Cecil.Rocks"
+
+NUSPEC_ID="Mono.Cecil"
+NUSPEC_FILE="${S}/Mono.Cecil.nuspec"
+NUSPEC_VERSION="0.10.0.2016111002"
+
+src_prepare() {
+	enuget_restore "${METAFILETOBUILD}"
+
+	eapply "${FILESDIR}/nuspec-${PV}.patch"
+	eapply "${FILESDIR}/sln-${PV}.patch"
+	#eapply "${FILESDIR}/csproj-${PV}.patch"
+
+	eapply_user
+}
+
+src_configure() {
+	:;
+}
+
+src_compile() {
+	if [[ -z ${TOOLS_VERSION} ]]; then
+		TOOLS_VERSION=4.0
+	fi
+	PARAMETERS=" /tv:${TOOLS_VERSION}"
+	if use developer; then
+		SARGS=/p:DebugSymbols=True
+	else
+		SARGS=/p:DebugSymbols=False
+	fi
+	PARAMETERS+=" ${SARGS}"
+	PARAMETERS+=" /p:SignAssembly=true"
+	PARAMETERS+=" /p:AssemblyOriginatorKeyFile=${WORKDIR}/mono.snk"
+	PARAMETERS+=" /v:detailed"
+
+	for x in ${USE_DOTNET} ; do
+		FW_UPPER=${x:3:1}
+		FW_LOWER=${x:4:1}
+		P_FW_VERSION="/p:TargetFrameworkVersion=v${FW_UPPER}.${FW_LOWER}"
+		local CONFIGURATION=""
+		if use debug; then
+			CONFIGURATION=net_${FW_UPPER}_${FW_LOWER}_Debug
+		else
+			CONFIGURATION=net_${FW_UPPER}_${FW_LOWER}_Debug
+		fi
+		einfo "Building configuration '${CONFIGURATION}'"
+		P_CONFIGURATION="/p:Configuration=${CONFIGURATION}"
+		exbuild_raw ${PARAMETERS} ${P_FW_VERSION} ${P_CONFIGURATION} "${METAFILETOBUILD}"
+	done
+
+	# run nuget_pack
+	enuspec -Prop "id=${NUSPEC_ID};version=${NUSPEC_VERSION}" ${NUSPEC_FILE}
+}
+
+src_install() {
+	if use debug; then
+		DIR=Debug
+	else
+		DIR=Release
+	fi
+
+	for dll_name in ${GAC_DLL_NAMES} ; do
+		for x in ${USE_DOTNET} ; do
+			FW_UPPER=${x:3:1}
+			FW_LOWER=${x:4:1}
+			egacinstall "bin/net_${FW_UPPER}_${FW_LOWER}_${DIR}/${dll_name}.dll"
+		done
+	done
+	einstall_pc_file "${PN}" "0.10" ${GAC_DLL_NAMES}
+
+	enupkg "${WORKDIR}/${NUSPEC_ID}.${NUSPEC_VERSION}.nupkg"
+}

diff --git a/dev-dotnet/cecil/files/nuspec-0.10_beta1_p2016111002.patch b/dev-dotnet/cecil/files/nuspec-0.10_beta1_p2016111002.patch
new file mode 100644
index 0000000..35f9544
--- /dev/null
+++ b/dev-dotnet/cecil/files/nuspec-0.10_beta1_p2016111002.patch
@@ -0,0 +1,46 @@
+--- a/Mono.Cecil.nuspec
++++ b/Mono.Cecil.nuspec
+@@ -1,38 +1,22 @@
+ <?xml version="1.0"?>
+ <package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+   <metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
+-    <id>Mono.Cecil</id>
+-    <version>0.10.0.0-beta1-v2</version>
++    <id>$id$</id>
++    <version>$version$</version>
+     <title>Mono.Cecil</title>
+     <authors>Jb Evain</authors>
+     <owners>Jb Evain</owners>
+     <licenseUrl>http://opensource.org/licenses/mit-license.php</licenseUrl>
++    <iconUrl>file:///var/lib/layman/dotnet/dev-dotnet/cecil/files/Cecil Turtle no shell.png</iconUrl>
+     <requireLicenseAcceptance>false</requireLicenseAcceptance>
+     <projectUrl>http://github.com/jbevain/cecil/</projectUrl>
+     <summary>Cecil is a library written by Jb Evain to generate and inspect programs and libraries in the ECMA CIL format.</summary>
+     <description>Cecil is a library written by Jb Evain to generate and inspect programs and libraries in the ECMA CIL format. It has full support for generics, and support some debugging symbol format. In simple English, with Cecil, you can load existing managed assemblies, browse all the contained types, modify them on the fly and save back to the disk the modified assembly.</description>
+     <language>en-US</language>
+     <tags>assembly assemblies module modules il cil msil bytecode reflection injection cecil mono aop</tags>
+-    <dependencies>
+-      <group targetFramework=".NETFramework3.5" />
+-      <group targetFramework=".NETFramework4.0" />
+-      <group targetFramework=".NETPortable4.0-Profile344" />
+-      <group targetFramework=".NETStandard1.3">
+-        <dependency id="System.Collections" version="4.0.11" />
+-        <dependency id="System.IO.FileSystem" version="4.0.1" />
+-        <dependency id="System.IO.FileSystem.Primitives" version="4.0.1" />
+-        <dependency id="System.Reflection" version="4.1.0" />
+-        <dependency id="System.Runtime.Extensions" version="4.1.0" />
+-        <dependency id="System.Security.Cryptography.Algorithms" version="4.2.0" />
+-        <dependency id="System.Security.Cryptography.Csp" version="4.0.0" />
+-        <dependency id="System.Threading" version="4.0.11" />
+-      </group>
+-    </dependencies>
+   </metadata>
+   <files>
+-    <file src="bin\net_3_5_Release\*.dll" target="lib/net35" />
+-    <file src="bin\net_4_0_Release\*.dll" target="lib/net40" />
+-    <file src="bin\pcl_Release\*.dll" target="lib/portable-net40+sl5+win8+wp8+wpa" />
+-    <file src="core\bin\Release\netstandard1.3\*.dll" target="lib/netstandard1.3" />
++    <file src="bin/net_3_5_$configuration$/*.dll" target="lib/net35" />
++    <file src="bin/net_4_5_$configuration$/*.dll" target="lib/net45" />
+   </files>
+ </package>

diff --git a/dev-dotnet/cecil/files/sln-0.10_beta1_p2016111002.patch b/dev-dotnet/cecil/files/sln-0.10_beta1_p2016111002.patch
new file mode 100644
index 0000000..e40ac83
--- /dev/null
+++ b/dev-dotnet/cecil/files/sln-0.10_beta1_p2016111002.patch
@@ -0,0 +1,123 @@
+diff -u a/Mono.Cecil.sln b/Mono.Cecil.sln
+--- a/Mono.Cecil.sln	2016-10-23 21:20:28.000000000 +0300
++++ b/Mono.Cecil.sln	2016-10-24 23:51:25.474072568 +0300
+@@ -42,10 +42,10 @@
+ 		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_0_Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
+ 		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_0_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_0_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_5_Debug|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_5_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_5_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
++		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_5_Debug|Any CPU
++		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_5_Debug|Any CPU.Build.0 = net_4_5_Debug|Any CPU
++		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_5_Release|Any CPU.ActiveCfg = net_4_5_Release|Any CPU
++		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.net_4_5_Release|Any CPU.Build.0 = net_4_5_Release|Any CPU
+ 		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.pcl_Debug|Any CPU.ActiveCfg = pcl_Debug|Any CPU
+ 		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.pcl_Debug|Any CPU.Build.0 = pcl_Debug|Any CPU
+ 		{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.pcl_Release|Any CPU.ActiveCfg = pcl_Release|Any CPU
+@@ -58,10 +58,10 @@
+ 		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_0_Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
+ 		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_0_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_0_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_5_Debug|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_5_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_5_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
++		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_5_Debug|Any CPU
++		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_5_Debug|Any CPU.Build.0 = net_4_5_Debug|Any CPU
++		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_5_Release|Any CPU.ActiveCfg = net_4_5_Release|Any CPU
++		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.net_4_5_Release|Any CPU.Build.0 = net_4_5_Release|Any CPU
+ 		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.pcl_Debug|Any CPU.ActiveCfg = net_4_0_Debug|Any CPU
+ 		{A47B1F49-A81A-43E8-BE6B-DD28AF2C4055}.pcl_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_3_5_Debug|Any CPU.ActiveCfg = net_3_5_Debug|Any CPU
+@@ -72,10 +72,10 @@
+ 		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_0_Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
+ 		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_0_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_0_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_5_Debug|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_5_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_5_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
++		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_5_Debug|Any CPU
++		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_5_Debug|Any CPU.Build.0 = net_4_5_Debug|Any CPU
++		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_5_Release|Any CPU.ActiveCfg = net_4_5_Release|Any CPU
++		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.net_4_5_Release|Any CPU.Build.0 = net_4_5_Release|Any CPU
+ 		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.pcl_Debug|Any CPU.ActiveCfg = pcl_Debug|Any CPU
+ 		{8559DD7F-A16F-46D0-A05A-9139FAEBA8FD}.pcl_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_3_5_Debug|Any CPU.ActiveCfg = net_3_5_Debug|Any CPU
+@@ -86,10 +86,10 @@
+ 		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_0_Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
+ 		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_0_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_0_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_5_Debug|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_5_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_5_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
++		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_5_Debug|Any CPU
++		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_5_Debug|Any CPU.Build.0 = net_4_5_Debug|Any CPU
++		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_5_Release|Any CPU.ActiveCfg = net_4_5_Release|Any CPU
++		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.net_4_5_Release|Any CPU.Build.0 = net_4_5_Release|Any CPU
+ 		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.pcl_Debug|Any CPU.ActiveCfg = net_4_0_Debug|Any CPU
+ 		{AC71DF9C-99FA-4A63-990A-66C8010355A6}.pcl_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_3_5_Debug|Any CPU.ActiveCfg = net_3_5_Debug|Any CPU
+@@ -100,10 +100,10 @@
+ 		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_0_Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
+ 		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_0_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_0_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_5_Debug|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_5_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_5_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
++		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_5_Debug|Any CPU
++		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_5_Debug|Any CPU.Build.0 = net_4_5_Debug|Any CPU
++		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_5_Release|Any CPU.ActiveCfg = net_4_5_Release|Any CPU
++		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.net_4_5_Release|Any CPU.Build.0 = net_4_5_Release|Any CPU
+ 		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.pcl_Debug|Any CPU.ActiveCfg = pcl_Debug|Any CPU
+ 		{63E6915C-7EA4-4D76-AB28-0D7191EEA626}.pcl_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_3_5_Debug|Any CPU.ActiveCfg = net_3_5_Debug|Any CPU
+@@ -114,10 +114,10 @@
+ 		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_0_Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
+ 		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_0_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_0_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_5_Debug|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_5_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_5_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
++		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_5_Debug|Any CPU
++		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_5_Debug|Any CPU.Build.0 = net_4_5_Debug|Any CPU
++		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_5_Release|Any CPU.ActiveCfg = net_4_5_Release|Any CPU
++		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.net_4_5_Release|Any CPU.Build.0 = net_4_5_Release|Any CPU
+ 		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.pcl_Debug|Any CPU.ActiveCfg = net_4_0_Debug|Any CPU
+ 		{29300103-CB76-4A1D-B6FD-FFD91C1EC8AA}.pcl_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_3_5_Debug|Any CPU.ActiveCfg = net_3_5_Debug|Any CPU
+@@ -128,10 +128,10 @@
+ 		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_0_Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
+ 		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_0_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_0_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_5_Debug|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_5_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_5_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
++		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_5_Debug|Any CPU
++		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_5_Debug|Any CPU.Build.0 = net_4_5_Debug|Any CPU
++		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_5_Release|Any CPU.ActiveCfg = net_4_5_Release|Any CPU
++		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.net_4_5_Release|Any CPU.Build.0 = net_4_5_Release|Any CPU
+ 		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.pcl_Debug|Any CPU.ActiveCfg = net_4_0_Debug|Any CPU
+ 		{C6CFD7E1-B855-44DC-B4CE-9CD72984AF52}.pcl_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_3_5_Debug|Any CPU.ActiveCfg = net_3_5_Debug|Any CPU
+@@ -142,10 +142,10 @@
+ 		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_0_Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU
+ 		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_0_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+ 		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_0_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_5_Debug|Any CPU.Build.0 = net_4_0_Release|Any CPU
+-		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_5_Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU
+-		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_5_Release|Any CPU.Build.0 = net_4_0_Release|Any CPU
++		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_5_Debug|Any CPU.ActiveCfg = net_4_5_Debug|Any CPU
++		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_5_Debug|Any CPU.Build.0 = net_4_5_Debug|Any CPU
++		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_5_Release|Any CPU.ActiveCfg = net_4_5_Release|Any CPU
++		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.net_4_5_Release|Any CPU.Build.0 = net_4_5_Release|Any CPU
+ 		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.pcl_Debug|Any CPU.ActiveCfg = pcl_Debug|Any CPU
+ 		{FBC6DD59-D09D-499C-B03C-99C1C78FF2AC}.pcl_Release|Any CPU.ActiveCfg = pcl_Release|Any CPU
+ 	EndGlobalSection


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/cecil/files/, dev-dotnet/cecil/
@ 2017-08-03  7:57 Mikhail Pukhlikov
  0 siblings, 0 replies; 4+ messages in thread
From: Mikhail Pukhlikov @ 2017-08-03  7:57 UTC (permalink / raw
  To: gentoo-commits

commit:     c6e4118b385bcf2eb049580f828f057255836b35
Author:     sam <sam <AT> cmpct <DOT> info>
AuthorDate: Mon Jul 31 22:45:30 2017 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 22:45:30 2017 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=c6e4118b

dev-dotnet/cecil: get cecil building at least

 .../cecil/cecil-0.10_beta1_p2016102302-r1.ebuild    |   5 ++---
 .../cecil/cecil-0.10_beta1_p2016111002-r1.ebuild    |  20 +++++++++++++++-----
 dev-dotnet/cecil/cecil-0.9.6_p20160209-r1.ebuild    |   3 +--
 ...urtle no shell.png => cecil_turtle_no_shell.png} | Bin
 4 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/dev-dotnet/cecil/cecil-0.10_beta1_p2016102302-r1.ebuild b/dev-dotnet/cecil/cecil-0.10_beta1_p2016102302-r1.ebuild
index a513492..3487965 100644
--- a/dev-dotnet/cecil/cecil-0.10_beta1_p2016102302-r1.ebuild
+++ b/dev-dotnet/cecil/cecil-0.10_beta1_p2016102302-r1.ebuild
@@ -33,12 +33,11 @@ REPO_OWNER="jbevain"
 REPOSITORY="https://github.com/${REPO_OWNER}/${NAME}"
 LICENSE_URL="${REPOSITORY}/blob/master/LICENSE"
 ICONMETA="http://www.iconeasy.com/icon/ico/Movie%20%26%20TV/Looney%20Tunes/Cecil%20Turtle%20no%20shell.ico"
-ICON_URL="file://${FILESDIR}/Cecil Turtle no shell.png"
+ICON_URL="file://${FILESDIR}/cecil_turtle_no_shell.png"
 
 EGIT_BRANCH="master"
 EGIT_COMMIT="68bcb750b898f4882a5af44299bb322aaa531f93"
-SRC_URI="https://api.github.com/repos/${REPO_OWNER}/${NAME}/tarball/${EGIT_COMMIT} -> ${PF}.tar.gz
-	mirror://gentoo/mono.snk.bz2"
+SRC_URI="https://api.github.com/repos/${REPO_OWNER}/${NAME}/tarball/${EGIT_COMMIT} -> ${PF}.tar.gz"
 RESTRICT+=" test"
 S="${WORKDIR}/${NAME}-${EGIT_BRANCH}"
 

diff --git a/dev-dotnet/cecil/cecil-0.10_beta1_p2016111002-r1.ebuild b/dev-dotnet/cecil/cecil-0.10_beta1_p2016111002-r1.ebuild
index d193b11..ec032ce 100644
--- a/dev-dotnet/cecil/cecil-0.10_beta1_p2016111002-r1.ebuild
+++ b/dev-dotnet/cecil/cecil-0.10_beta1_p2016111002-r1.ebuild
@@ -33,14 +33,15 @@ REPO_OWNER="jbevain"
 REPOSITORY="https://github.com/${REPO_OWNER}/${NAME}"
 LICENSE_URL="${REPOSITORY}/blob/master/LICENSE"
 ICONMETA="http://www.iconeasy.com/icon/ico/Movie%20%26%20TV/Looney%20Tunes/Cecil%20Turtle%20no%20shell.ico"
-ICON_URL="file://${FILESDIR}/Cecil Turtle no shell.png"
+ICON_URL="file://${FILESDIR}/cecil_turtle_no_shell.png"
 
 EGIT_BRANCH="master"
 EGIT_COMMIT="045b0f9729905dd456d46e33436a2dadc9e2a52d"
-SRC_URI="https://api.github.com/repos/${REPO_OWNER}/${NAME}/tarball/${EGIT_COMMIT} -> ${PF}.tar.gz
-	mirror://gentoo/mono.snk.bz2"
+EGIT_SHORT_COMMIT=${EGIT_COMMIT:0:7}
+SRC_URI="https://api.github.com/repos/${REPO_OWNER}/${NAME}/tarball/${EGIT_COMMIT} -> ${PF}.tar.gz"
 RESTRICT+=" test"
-S="${WORKDIR}/${NAME}-${EGIT_BRANCH}"
+# jbevain-cecil-045b0f9
+S="${WORKDIR}/${REPO_OWNER}-${NAME}-${EGIT_SHORT_COMMIT}"
 
 METAFILETOBUILD="./Mono.Cecil.sln"
 
@@ -76,7 +77,7 @@ src_compile() {
 	fi
 	PARAMETERS+=" ${SARGS}"
 	PARAMETERS+=" /p:SignAssembly=true"
-	PARAMETERS+=" /p:AssemblyOriginatorKeyFile=${WORKDIR}/mono.snk"
+	PARAMETERS+=" /p:AssemblyOriginatorKeyFile=${S}/mono.snk"
 	PARAMETERS+=" /v:detailed"
 
 	for x in ${USE_DOTNET} ; do
@@ -92,6 +93,15 @@ src_compile() {
 		einfo "Building configuration '${CONFIGURATION}'"
 		P_CONFIGURATION="/p:Configuration=${CONFIGURATION}"
 		exbuild_raw ${PARAMETERS} ${P_FW_VERSION} ${P_CONFIGURATION} "${METAFILETOBUILD}"
+
+		# https://github.com/gentoo/dotnet/issues/305
+		sn -R ${S}/bin/${CONFIGURATION}/Mono.Cecil.dll mono.snk
+		sn -R ${S}/bin/${CONFIGURATION}/Mono.Cecil.Mdb.dll mono.snk
+		sn -R ${S}/bin/${CONFIGURATION}/Mono.Cecil.Pdb.dll mono.snk
+
+		sn -R ${S}/bin/${CONFIGURATION}/Mono.Cecil.Rocks.dll mono.snk
+		sn -R ${S}/bin/${CONFIGURATION}/Mono.Cecil.Rocks.Mdb.dll mono.snk
+		sn -R ${S}/bin/${CONFIGURATION}/Mono.Cecil.Rocks.Pdb.dll mono.snk
 	done
 
 	# run nuget_pack

diff --git a/dev-dotnet/cecil/cecil-0.9.6_p20160209-r1.ebuild b/dev-dotnet/cecil/cecil-0.9.6_p20160209-r1.ebuild
index b879853..cce5eff 100644
--- a/dev-dotnet/cecil/cecil-0.9.6_p20160209-r1.ebuild
+++ b/dev-dotnet/cecil/cecil-0.9.6_p20160209-r1.ebuild
@@ -37,8 +37,7 @@ ICON_URL="file://${FILESDIR}/nuget_icon_64x64.png"
 
 EGIT_BRANCH="master"
 EGIT_COMMIT="0e24ced7e3e9dd8320f450b6cb1d981bf9412cf8"
-SRC_URI="https://api.github.com/repos/${REPO_OWNER}/${NAME}/tarball/${EGIT_COMMIT} -> ${PF}.tar.gz
-	mirror://gentoo/mono.snk.bz2"
+SRC_URI="https://api.github.com/repos/${REPO_OWNER}/${NAME}/tarball/${EGIT_COMMIT} -> ${PF}.tar.gz"
 #S="${WORKDIR}/${NAME}-${EGIT_COMMIT}"
 S="${WORKDIR}/${NAME}-${EGIT_BRANCH}"
 

diff --git a/dev-dotnet/cecil/files/Cecil Turtle no shell.png b/dev-dotnet/cecil/files/cecil_turtle_no_shell.png
similarity index 100%
rename from dev-dotnet/cecil/files/Cecil Turtle no shell.png
rename to dev-dotnet/cecil/files/cecil_turtle_no_shell.png


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-03  7:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24 11:42 [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/cecil/files/, dev-dotnet/cecil/ Mikhail Pukhlikov
  -- strict thread matches above, loose matches on Subject: below --
2017-08-03  7:57 Mikhail Pukhlikov
2016-03-02  8:27 Heather Cynede
2016-03-02  8:27 Heather Cynede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox