summaryrefslogtreecommitdiff
path: root/dev-lang/solidity
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lang/solidity
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lang/solidity')
-rw-r--r--dev-lang/solidity/Manifest5
-rw-r--r--dev-lang/solidity/files/solidity-0.4.2-commit_hash.txt1
-rw-r--r--dev-lang/solidity/metadata.xml15
-rw-r--r--dev-lang/solidity/solidity-0.4.2.ebuild38
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-lang/solidity/Manifest b/dev-lang/solidity/Manifest
new file mode 100644
index 000000000000..50228bd01d94
--- /dev/null
+++ b/dev-lang/solidity/Manifest
@@ -0,0 +1,5 @@
+AUX solidity-0.4.2-commit_hash.txt 9 SHA256 605c300b7a7e77c2e4499d50de5ad072dce56f9583f15cf696b0547dd6ad6ae5 SHA512 766569e9ffb283e6efbb81dc546502df8b294a445713392ae9717a845a014f3170c29448d3d7256256b4e467c7c6ea9d9eba45c83ec68c7798a2c67d1cab3033 WHIRLPOOL 520252c80ac2d6f9ffde3d2495542f111f408b56b614d71b74232f67881cf8357c60cea06c7f000273aef9b69c4f616da4a43a7169fb854cee144a97f6f95be5
+DIST solidity-0.4.2.tar.gz 495039 SHA256 0dd176919cab5492aecb27d1d8de39182b5e880979d5082fca6d7a01ebce28f1 SHA512 2ef2e58775e22eefce867ee73dbab61f54def1edd95e089ec3a388b5aaba316c44fe18b92d45e070014b9df6e450b2b27fe78434f5db40f0476c505b2541572c WHIRLPOOL 541c2bd8d729bd9d1ef15739b539ca877b7c1f4e1ed9e9eda8ad7d3fd4c306001799727de14dae8fbf0092c31c9b0448c9ea7af92ca069ac24cf010f0a6c8ef6
+EBUILD solidity-0.4.2.ebuild 1007 SHA256 190f19aaa810219e55fd534d5b16693ffedb76dc023b222f27042e6e991f8f9a SHA512 ea71f3ab973e74861da839eaf9246e3d116b94849e5c90972a5073dc19b5ccbdcc013cae80d62fd35450601ce1dc5815d285587ec76b97f575bfad6f0aeeabcd WHIRLPOOL 83ae4c9367ad148a0696a37ee6341a0ce721db7982cb320259dc3f3fb71529ad25341b338d55d37944dbce32d48f82a9580e364f88399fbaae2e6c98837b1f2d
+MISC ChangeLog 608 SHA256 df195912e6324f813e724ed07cb55d743d69e508881f17d515d2a197df0c6688 SHA512 653d1aaea93f577aca33c4d102181885f8e6217c1b86a94e21955291d42d4dc704d218e9f093effe9424f17af9165700f9ff97ff7d9d3b686a8dec9481b8e77e WHIRLPOOL 0608048a5bf1c89dbb45430dd01077c388684f1e50f33617c6872e4522848b9fd10a5d292fdfbbf15903932bff0ae0e851c0d481dd165ce406c2832ec96ffe5b
+MISC metadata.xml 450 SHA256 73803951718b79fb7fc5a596a3dbe96b45ccadd6a55656d0c43e3ab3e11c448d SHA512 8de6f5dadccb7020d6fbbd17a3800dd9a44e4b19f484e38799fd00b240fbd2a4d213454eb7cec2d99ab8ea7834fe5a0d3f792c62420870e55986b2978af9789d WHIRLPOOL 8437d1c0024613efb9e407e52a3110761358369055e1fa72f3b36a1c4846bb093b8b4f129ce42dd75445bd5ac1558e289856d1f068d5d71a883e9c7c8cca6a51
diff --git a/dev-lang/solidity/files/solidity-0.4.2-commit_hash.txt b/dev-lang/solidity/files/solidity-0.4.2-commit_hash.txt
new file mode 100644
index 000000000000..fd2779b63759
--- /dev/null
+++ b/dev-lang/solidity/files/solidity-0.4.2-commit_hash.txt
@@ -0,0 +1 @@
+af6afb04
diff --git a/dev-lang/solidity/metadata.xml b/dev-lang/solidity/metadata.xml
new file mode 100644
index 000000000000..e0f4ff855bce
--- /dev/null
+++ b/dev-lang/solidity/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mathy@vanvoorden.be</email>
+ <name>Mathy Vanvoorden</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ethereum/solidity</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-lang/solidity/solidity-0.4.2.ebuild b/dev-lang/solidity/solidity-0.4.2.ebuild
new file mode 100644
index 000000000000..31af5a591f47
--- /dev/null
+++ b/dev-lang/solidity/solidity-0.4.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="The Solidity Contract-Oriented Programming Language"
+HOMEPAGE="https://github.com/ethereum/solidity"
+SRC_URI="https://github.com/ethereum/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/jsoncpp:=
+ dev-libs/boost:=
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+
+ # The build won't work without this file but it is missing from
+ # the release tarball.
+ #
+ # Reported upstream: https://github.com/ethereum/solidity/issues/1183
+
+ cp "${FILESDIR}"/${P}-commit_hash.txt "${S}"/commit_hash.txt || die "Could not copy commit hash"
+
+ # Without this file the build is marked as a developer version
+ # but it is missing from the release tarball.
+ #
+ # Reported upstream: https://github.com/ethereum/solidity/issues/1183
+
+ touch "${S}"/prerelease.txt || die "Could not mark as release version"
+}