Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-dotnet/pliant-0.5.0.1 version bump #297

Merged
merged 2 commits into from
May 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev-dotnet/pliant/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST pliant-0.4.1_p2016081902.tar.gz 267510 SHA256 737f798270bcc25b08084a009f440ffb89e4a7d0b7aea0f6b3a8d404da9d5823 SHA512 32ef396fe9e1152929152d152758c20fb69c097babd535c8f839a21e34ba2369c50814249a548a526cf9a66e4c9c4c1e8cabbbdf3b195927ac4ca124d3cd6222 WHIRLPOOL 9177c035a88b28eaedf704e20e5bb67f128c3afc7540f973c322ff087f73f429d1a059bba2fb4a739ed5d81f659b067eaf60766a03c7d2f215231aab4a1ccf72
DIST pliant-0.5.0.1.tar.gz 370738 SHA256 538b600019436e16187adecbf421f2d16ab5571df84dbcdc3218e20e1211f123 SHA512 c4ef4fd5a792e3a2d8c229cf2c1d5e5fb791c6c762145c067470ef196420e23681b4e0ee3131737f2041236f37f01fb8510af4ecc6f277dd2675c42b184f2a32 WHIRLPOOL f49b5956179b3971f0930c0514f6b5dd696d27229a6586a7017b5d37e95af0be941b58765497b3bbeb3aa5465bc60cd3e9cea59f51719dc803ed0766a73f15cc
2 changes: 1 addition & 1 deletion dev-dotnet/pliant/files/csproj.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ diff -r -u a/libraries/Pliant/Pliant.csproj b/libraries/Pliant/Pliant.csproj
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
+ <Import Project="$(MSBuildBinPath)\MSBuild.Community.Tasks.Targets" Condition="Exists('$(MSBuildBinPath)\MSBuild.Community.Tasks.Targets')" />
+ <Import Project="$(MSBuildExtensionsPath)\MSBuild.Community.Tasks.Targets" Condition="Exists('$(MSBuildExtensionsPath)\MSBuild.Community.Tasks.Targets')" />
<Target Name="BeforeBuild">
+ <PropertyGroup Condition=" '$(VersionNumber)' == '' ">
+ <VersionNumber>1.0.0.0</VersionNumber>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inherit gac dotnet nupkg

NAME="Pliant"
HOMEPAGE="https://github.com/patrickhuber/${NAME}"
EGIT_COMMIT="dd03ca2942d999a8eb2e30a51b3ccf8d3c70602d"
EGIT_COMMIT="19ecea89bf35cd2ba9426cdd862773dab3b0af6d"
SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${PV}.tar.gz"
S="${WORKDIR}/${NAME}-${EGIT_COMMIT}"

Expand Down Expand Up @@ -87,8 +87,22 @@ src_compile() {
}

src_install() {
egacinstall "$(get_output_filepath)"
einfo ${ASSEMBLY_VERSION}
einstall_pc_file "${PN}" ${ASSEMBLY_VERSION} "Pliant"

enupkg "${WORKDIR}/${NAME}.${NUSPEC_VERSION}.nupkg"

# egacinstall "$(get_output_filepath)"
insinto "/usr/lib/mono/${EBUILD_FRAMEWORK}"
doins "$(get_output_filepath)"
einstall_pc_file "${PN}" ${ASSEMBLY_VERSION} "Pliant"
}

pkg_postinst()
{
egacadd "/usr/lib/mono/${EBUILD_FRAMEWORK}/${DLL_NAME}.dll"
}

pkg_prerm()
{
egacdel "${DLL_NAME}"
}