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 58965139697 for ; Tue, 4 Jul 2017 13:18:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E66F2274016; Tue, 4 Jul 2017 13:18:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 B3492274016 for ; Tue, 4 Jul 2017 13:18:39 +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 1D35F3417A4 for ; Tue, 4 Jul 2017 13:18:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C62674A4 for ; Tue, 4 Jul 2017 13:18:36 +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: <1497690698.54891d55fad716a857c61a4a86a5a2142bcd05f1.cynede@gentoo> Subject: [gentoo-commits] proj/dotnet:master commit in: app-editors/mypad/, dev-dotnet/ndepend-path/, dev-util/mono-packaging-tools/ X-VCS-Repository: proj/dotnet X-VCS-Files: app-editors/mypad/mypad-1.0.3_p201606130-r1.ebuild app-editors/mypad/mypad-1.0.3_p201606130.ebuild dev-dotnet/ndepend-path/metadata.xml dev-dotnet/ndepend-path/ndepend-path-0.0_p20151123.ebuild dev-util/mono-packaging-tools/mono-packaging-tools-1.4.2.2-r1.ebuild X-VCS-Directories: app-editors/mypad/ dev-dotnet/ndepend-path/ dev-util/mono-packaging-tools/ X-VCS-Committer: cynede X-VCS-Committer-Name: Mikhail Pukhlikov X-VCS-Revision: 54891d55fad716a857c61a4a86a5a2142bcd05f1 X-VCS-Branch: master Date: Tue, 4 Jul 2017 13:18:36 +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: 585023b3-c9b4-4d6f-b5b6-dae07d1d381c X-Archives-Hash: 14ec3b0534f4e1b814f8a8fac31d4625 commit: 54891d55fad716a857c61a4a86a5a2142bcd05f1 Author: ArsenShnurkov users noreply github com> AuthorDate: Sat Jun 17 09:01:37 2017 +0000 Commit: Mikhail Pukhlikov gentoo org> CommitDate: Sat Jun 17 09:11:38 2017 +0000 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=54891d55 fix dependency on NDepend.Path ...130.ebuild => mypad-1.0.3_p201606130-r1.ebuild} | 37 +++-- dev-dotnet/ndepend-path/metadata.xml | 6 + .../ndepend-path/ndepend-path-0.0_p20151123.ebuild | 51 +++++++ .../mono-packaging-tools-1.4.2.2-r1.ebuild | 154 --------------------- 4 files changed, 75 insertions(+), 173 deletions(-) diff --git a/app-editors/mypad/mypad-1.0.3_p201606130.ebuild b/app-editors/mypad/mypad-1.0.3_p201606130-r1.ebuild similarity index 83% rename from app-editors/mypad/mypad-1.0.3_p201606130.ebuild rename to app-editors/mypad/mypad-1.0.3_p201606130-r1.ebuild index 603f4da..d03b26f 100644 --- a/app-editors/mypad/mypad-1.0.3_p201606130.ebuild +++ b/app-editors/mypad/mypad-1.0.3_p201606130-r1.ebuild @@ -4,6 +4,13 @@ EAPI="6" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror" + +SLOT="1" +IUSE="net45 debug developer" +USE_DOTNET="net45" + inherit eutils gnome2-utils dotnet DESCRIPTION="mypad text editor" @@ -12,32 +19,26 @@ LICENSE="MIT" PROJECTNAME="mypad-winforms-texteditor" HOMEPAGE="https://github.com/ArsenShnurkov/${PROJECTNAME}" EGIT_COMMIT="c1c79094eb5339309e3767f64d4e87f6214e7faa" -SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.zip -> ${P}-${PR}.zip" - -SLOT="1" -IUSE="net45 debug developer" -USE_DOTNET="net45" - -KEYWORDS="~amd64 ~x86" +SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${PV}.tar.gz" +S="${WORKDIR}/${PROJECTNAME}-${EGIT_COMMIT}" -ALLPEND="|| ( >=dev-lang/mono-4 + + + + + diff --git a/dev-dotnet/ndepend-path/ndepend-path-0.0_p20151123.ebuild b/dev-dotnet/ndepend-path/ndepend-path-0.0_p20151123.ebuild new file mode 100644 index 0000000..b7f3785 --- /dev/null +++ b/dev-dotnet/ndepend-path/ndepend-path-0.0_p20151123.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="6" + +KEYWORDS="~x86 ~amd64 ~ppc" +RESTRICT="mirror" + +SLOT="0" + +IUSE="debug" +USE_DOTNET="net40" + +inherit dotnet gac mpt-r20150903 + +DESCRIPTION="C# framework for paths operations: Absolute, Drive Letter, UNC, Relative, prefixed" +LICENSE="MIT" +NAME="NDepend.Path" +HOMEPAGE="https://github.com/psmacchia/${NAME}" +EGIT_COMMIT="96008fcfbc137eac6fd327387b80b14909a581a1" +SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${PV}.tar.gz" +S="${WORKDIR}/${NAME}-${EGIT_COMMIT}" + + +CDEPEND="|| ( >=dev-lang/mono-4 =portage-2.2.25 -KEYWORDS="~x86 ~amd64" -RESTRICT="mirror" - -USE_DOTNET="net45" -# debug = debug configuration (symbols and defines for debugging) -# test = allow NUnit tests to run -# developer = generate symbols information (to view line numbers in stack traces, either in debug or release configuration) -# aot = compile to machine code and store to disk during install, to save time later during startups -# nupkg = create .nupkg file from .nuspec -# gac = install into gac -# pkg-config = register in pkg-config database -IUSE="+${USE_DOTNET} debug +developer test +aot doc" - -TOOLS_VERSION=14.0 - -inherit gac nupkg - -get_revision() -{ - git rev-list --count $2..$1 -} - -get_dlldir() { - echo /usr/lib64/mono/${PN} -} - -NAME="mono-packaging-tools" -HOMEPAGE="http://arsenshnurkov.github.io/mono-packaging-tools" - -REPOSITORY_URL="https://github.com/ArsenShnurkov/${NAME}" - -EGIT_COMMIT="92b9ac4cb83e52a5b679f139ff536da29c321456" -SRC_URI="${REPOSITORY_URL}/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${PV}.tar.gz" -S="${WORKDIR}/${NAME}-${EGIT_COMMIT}" - -SLOT="0" - -DESCRIPTION="Command line utilities for packaging mono assemblies with portage" -LICENSE="GPL-3" -LICENSE_URL="https://raw.githubusercontent.com/ArsenShnurkov/mono-packaging-tools/master/LICENSE" - -COMMON_DEPENDENCIES="|| ( >=dev-lang/mono-4.2 =dev-dotnet/slntools-1.1.3_p201508170-r1[gac] - >=dev-dotnet/eto-parse-1.4.0[gac] - " -DEPEND="${COMMON_DEPENDENCIES} - dev-dotnet/msbuildtasks - sys-apps/sed" -RDEPEND="${COMMON_DEPENDENCIES} - " - -NUSPEC_VERSION=${PV} -ASSEMBLY_VERSION=${PV} - -SLN_FILE="mono-packaging-tools.sln" -METAFILETOBUILD="${S}/${SLN_FILE}" -NUSPEC_ID="${NAME}" -COMMIT_DATE_INDEX="$(get_version_component_count ${PV} )" -COMMIT_DATE="$(get_version_component_range $COMMIT_DATE_INDEX ${PV} )" -NUSPEC_FILENAME="${PN}.nuspec" -#ICON_FILENAME="${PN}.png" -#ICON_FINALNAME="${NUSPEC_ID}.${NUSPEC_VERSION}.png" -#ICON_PATH="$(get_nuget_trusted_icons_location)/${ICON_FINALNAME}" - -src_prepare() { - eapply "${FILESDIR}/MSBuildExtensionsPath.patch" - - #change version in .nuspec - # PV = Package version (excluding revision, if any), for example 6.3. - # It should reflect the upstream versioning scheme - sed "s/@VERSION@/${NUSPEC_VERSION}/g" "${FILESDIR}/${NUSPEC_ID}.nuspec" >"${S}/${NUSPEC_ID}.nuspec" || die - - # restoring is not necessary after switching to GAC references - # enuget_restore "${METAFILETOBUILD}" - default -} - -src_compile() { - exbuild_strong /p:VersionNumber="${ASSEMBLY_VERSION}" "${METAFILETOBUILD}" - enuspec "${NUSPEC_ID}.nuspec" -} - -src_install() { - # install dlls - insinto "$(get_dlldir)/slot-${SLOT}" - if use debug; then - DIR="Debug" - else - DIR="Release" - fi - doins mpt-core/bin/${DIR}/mpt-core.dll - dosym slot-${SLOT}/mpt-core.dll $(get_dlldir)/mpt-core.dll - einstall_pc_file ${PN} ${ASSEMBLY_VERSION} mpt-core - - insinto "/usr/share/${PN}/slot-${SLOT}" - install_tool mpt-gitmodules - install_tool mpt-sln - install_tool mpt-csproj - install_tool mpt-machine - install_tool mpt-nuget - - enupkg "${WORKDIR}/${NUSPEC_ID}.${NUSPEC_VERSION}.nupkg" - - if use doc; then - dodoc README.md - fi -} - -pkg_prerm() { - if use gac; then - # TODO determine version for uninstall from slot-N dir - einfo "removing from GAC" - gacutil -u mpt-core - # don't die, it there is no such assembly in GAC - fi -} - -pkg_postinst() { - if use gac; then - einfo "adding to GAC" - gacutil -i "$(get_dlldir)/slot-${SLOT}/mpt-core.dll" || die - fi -} - -install_tool() { - if use debug; then - DIR="Debug" - else - DIR="Release" - fi - - # installs .exe, .exe.config (if any), .mdb (if exists) - doins "$1"/bin/${DIR}/*.exe - if [ -f "$1"/bin/${DIR}/*.exe.config ]; then - doins "$1"/bin/${DIR}/*.exe.config - fi - if use developer; then - doins "$1"/bin/${DIR}/*.mdb - fi - - MONO=/usr/bin/mono - - if use debug; then - make_wrapper "$1" "${MONO} --debug /usr/share/${PN}/slot-${SLOT}/$1.exe" - else - make_wrapper "$1" "${MONO} /usr/share/${PN}/slot-${SLOT}/$1.exe" - fi; -}