diff options
author | ArsenShnurkov <Arsen.Shnurkov@gmail.com> | 2016-03-18 08:24:00 +0300 |
---|---|---|
committer | ArsenShnurkov <Arsen.Shnurkov@gmail.com> | 2016-03-18 08:24:00 +0300 |
commit | e2b355225a07ae82806b4e3d1098477162f9d22c (patch) | |
tree | 1c05661910371f046ffe8415aaafa599e0fa12cb /dev-util/nant | |
parent | copied from dev-dotnet/nant (diff) | |
download | dotnet-e2b355225a07ae82806b4e3d1098477162f9d22c.tar.gz dotnet-e2b355225a07ae82806b4e3d1098477162f9d22c.tar.bz2 dotnet-e2b355225a07ae82806b4e3d1098477162f9d22c.zip |
switch to EAPI-6 and add blocking for dev-dotnet/nant
Diffstat (limited to 'dev-util/nant')
-rw-r--r-- | dev-util/nant/Manifest | 3 | ||||
-rw-r--r-- | dev-util/nant/nant-0.93.5019_p201511150-r0.ebuild | 30 |
2 files changed, 22 insertions, 11 deletions
diff --git a/dev-util/nant/Manifest b/dev-util/nant/Manifest index 6b103e3..6909270 100644 --- a/dev-util/nant/Manifest +++ b/dev-util/nant/Manifest @@ -1 +1,2 @@ -DIST nant-0.93.5019_p201511150-r0.zip 2189392 SHA256 8efc9f2955a65d0b8ad046a495989baf330683ed6c01e868f35238092a34c96c SHA512 1e4470319ebe462af94ca941f5c5b56c2d60eb792f57bc6545585827d9501fdb08adf1ebb77681c8a97c04cee9e121209694dcb6027ed17541d6ee084046507b WHIRLPOOL 165bd34cf138df47e0fac3612725ce36cdd5dd5c63487be892f8e54fe7e3dcd291f2b3c4bf7ac2572373a4dd00e6a89f25d976f5ff0d869699adbd4b47c55f02 +DIST mono.snk.bz2 785 SHA256 0cc2ca58f90773eafa8460dfb8ff4ac6238b68106eb1631348a800091a6ff3de SHA512 de64da7a9e4fa53e5a5abaee00aae05ce3560c72ad8251fd79e2ff9ffa7fb2d5e7c1a4bdb2dbc2eeeeac6450aaad8c40649ff4675ddf95365ef8604a93333224 WHIRLPOOL 05882dd5cc9e2b99b78dc882fed49547dc6b6c133616574987322623e3bd734dc74435b69a6c864f928eb087df7a1ab42910adc47a7d0e70d54178e6b319f628 +DIST nant-nant-0.93.5019_p201511150-19bec6eca205af145e3c176669bbd57e1712be2a.zip 2145585 SHA256 f4538d28826e5053aa1f48273c0636566de7e144cffdd492219c52b24c1a3cf1 SHA512 8a9ce182f04d90f73f17bb6f470cb1ac15d3ef8dbc1718cf1b303db6234c301bdfd3838d836589b1e87d7c3dbee81498b5bcd64cbabc8c4ee0157edfdbf20207 WHIRLPOOL 77b169c612fc7709d3521f7c86b9f8df7895dbaad78503de2fa14d342990c037118e379fb617ec3e8fc7f7ca0dddcb0651356703117b1e542c77750575241aec diff --git a/dev-util/nant/nant-0.93.5019_p201511150-r0.ebuild b/dev-util/nant/nant-0.93.5019_p201511150-r0.ebuild index adde289..d309036 100644 --- a/dev-util/nant/nant-0.93.5019_p201511150-r0.ebuild +++ b/dev-util/nant/nant-0.93.5019_p201511150-r0.ebuild @@ -1,36 +1,46 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit mono-env nuget dotnet -NAME="nant" HOMEPAGE="https://github.com/nant/${NAME}" +DESCRIPTION=".NET build tool" +LICENSE="GPL-2" -EGIT_COMMIT="45ec8aa9ad3247f340731f4e8b953c498ad3019e" -SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.zip -> ${PF}.zip" -S="${WORKDIR}/${NAME}-${EGIT_COMMIT}" +EGIT_COMMIT="19bec6eca205af145e3c176669bbd57e1712be2a" +EGIT_BRANCH="master" +GITHUBNAME="nant/nant" +GITHUBACC=${GITHUBNAME%/*} +GITHUBREPO=${GITHUBNAME#*/} +GITFILENAME=${GITHUBREPO}-${GITHUBACC}-${PV}-${EGIT_COMMIT} +GITHUB_ZIP="https://api.github.com/repos/${GITHUBACC}/${GITHUBREPO}/zipball/${EGIT_COMMIT} -> ${GITFILENAME}.zip" +SRC_URI="${GITHUB_ZIP} mirror://gentoo/mono.snk.bz2" +S="${WORKDIR}/${GITFILENAME}" SLOT="0" -DESCRIPTION=".NET build tool" -LICENSE="GPL-2" KEYWORDS="~amd64 ~ppc ~x86" IUSE="developer nupkg debug" -RDEPEND=">=dev-lang/mono-4.0.2.5" +RDEPEND=">=dev-lang/mono-4.4.0.40 + !dev-dotnet/nant" DEPEND="${RDEPEND} virtual/pkgconfig " -S="${WORKDIR}/${NAME}-${EGIT_COMMIT}" SLN_FILE=NAnt.sln METAFILETOBUILD="${S}/${SLN_FILE}" # This build is not parallel build friendly #MAKEOPTS="${MAKEOPTS} -j1" +src_unpack() { + default_src_unpack + mv "${WORKDIR}/${GITHUBACC}-${GITHUBREPO}-"* "${WORKDIR}/${GITFILENAME}" || die +} + src_compile() { exbuild "${METAFILETOBUILD}" enuspec "${FILESDIR}/${SLN_FILE}.nuspec" |