diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lang/nim |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lang/nim')
-rw-r--r-- | dev-lang/nim/Manifest | 8 | ||||
-rw-r--r-- | dev-lang/nim/metadata.xml | 11 | ||||
-rw-r--r-- | dev-lang/nim/nim-0.16.0.ebuild | 54 | ||||
-rw-r--r-- | dev-lang/nim/nim-0.17.0.ebuild | 51 | ||||
-rw-r--r-- | dev-lang/nim/nim-0.17.2.ebuild | 55 |
5 files changed, 179 insertions, 0 deletions
diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest new file mode 100644 index 000000000000..936104182b4f --- /dev/null +++ b/dev-lang/nim/Manifest @@ -0,0 +1,8 @@ +DIST nim-0.16.0.tar.xz 2907076 SHA256 9e199823be47cba55e62dd6982f02cf0aad732f369799fec42a4d8c2265c5167 SHA512 6be1c00328b7e5bdaa9070e1cd0e3c6e1883c5bc1e44e9c574785f9bce93697f05753f598cf6fdaa6c5a66f08c2ad6f7afb8f6650fc3b1c8e461eb0cf80baabd WHIRLPOOL 425454faab87c0144712c50a114f9fc05dd2676b8d85b1de1cb7569403d60a557c41990ca03bfa04156289e49f1d2e6906a5b798341f642cea9c325546b38e41 +DIST nim-0.17.0.tar.xz 25079320 SHA256 36e18dd9384f6c67e6d0199b871b43e774a0af30532698184d6f5a9cc9ac7a9b SHA512 90d709b39746fac5582b9df69d3eb9e3b7a39563a98f7a3002f00716b936e4e0d2be47d8b877878318692e6e2b85c08077dfcc20d9059573a1967402c244894b WHIRLPOOL 5c934a10e7c67a11964436ba3fe332320a6cc9fff15f93ce71e844024e48f77e6a809212882338ac6b3024bb15d2b0314068b643c251c65dfa258bb6daa52599 +DIST nim-0.17.2.tar.xz 4083084 SHA256 aaff1b5023fc4a5708f1d7d9fd8e2a29f1a7f58bf496532ff1e9d7e7c7ec82bd SHA512 7b4ed1eb1e9067ce72b76b95c43ec74eb38f04611776c174ba6a697254a9253fed61258712fb938f15e662bb3b0d36138194fc8fa89bbcb4d22888263e5e2880 WHIRLPOOL c48b1447c38978675e4e3ac3698ab3ab585242776ef3781b03d125d4379786076c2e06d4687b2f155a707510c4634017fc320a42a113c11e25b75258b9f1bc1b +EBUILD nim-0.16.0.ebuild 1175 SHA256 d9d37552d7353611a68ed07b6adf4b0ca4f1a449a4968871cc1c1675bfcd6b5d SHA512 c5c45529851e97f6420dc7e29486303c4902e0e95f9523d931252bca6dfa4f3c8b3a23b34fc64988d2474f677ad3b4d707cc1a8c71f591aa29343d5e7b414127 WHIRLPOOL e2e74370eae162bf06b8ea5f1cf68218ac181f0f18127d5856de8d5cde4a15a9f0831776bc29fafce9cf67d68d07a94932e48534aa88bfe44558a08077a8dcec +EBUILD nim-0.17.0.ebuild 1144 SHA256 b0d8d7d444a30c7139a52ee08b619d1c770633d780843014b20c6fe7cf57e954 SHA512 a9ccbf0dd0e1dc43fa7a1756d8400478cf70bf94e7a7b7a5a9c595543f541fd3fdaa563af5b2093cc5c2de32747658820bef7420924db94f5f9255890723fa7a WHIRLPOOL 81c7c3e6b24506af716dade03e95f665fd1be7ccc14ee58fd5bb9282b2bfa8a0bebab22f28aeb3d911de0dbece8d71998c50f1a0515ef3680edec405bddae0c3 +EBUILD nim-0.17.2.ebuild 1218 SHA256 2c5dac0faadafeacf500f6b2538b4610a2db7372ee25fdad35e67d3a0e1263dd SHA512 46a1415b2006687fa07f6f8c0352d7dcaca7886ec2924a05b881976b8bcbed85a8473ff33dc52f7d26aac0803fd329a82dda4cf12b5ef93ea85b88de29c433ac WHIRLPOOL 1de440a2097ecf55ae6e74989097a0183e4881bfbe022204287c9b33543f3e1bf06f5bb5472714253be1253d86acd9d488cf22d07200bb996087367d4105390b +MISC ChangeLog 1510 SHA256 cc88b565ede15b62f45109328734057bc6ddfd530b9dfd4397c131e2827a1ce7 SHA512 65cc3d84403f6672fbb607186e796952f534c677bfa83bf7b0f23a8d163270a000a24f7608a53fa2faeb4f08e116f4809068615500f74d820c093481d307414f WHIRLPOOL 3183ddcffe955e177f6eb0db6772536d5005b8159215706a28792078fafe04848fa16c45edfdafd47245a03214fedc748ad3d30a41ba76736930874ab350d9d8 +MISC metadata.xml 328 SHA256 110942af57f721784c3129b5e046355911d5719317c9cd116fa50c946b49b5f5 SHA512 bf02bc0a8c25d6e157b7ab1ef87c2eac3241d42bc4cf0632a159dcb5d429051018848be81d0cbce228124660ced8694f5de48d64fe10bc7ff5b536b7e7579e49 WHIRLPOOL af5d8781cd4df0734cfa581467f61f4b6c28eb21fde84e54744220ea9a0cc5b9930689b007b57a0cb2bfa9b37fd647fd20b358d5e21416ee49ff61dda79023b0 diff --git a/dev-lang/nim/metadata.xml b/dev-lang/nim/metadata.xml new file mode 100644 index 000000000000..b7796e3694d8 --- /dev/null +++ b/dev-lang/nim/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>slyfox@gentoo.org</email> + <name>Sergei Trofimovich</name> + </maintainer> + <upstream> + <remote-id type="github">nim-lang/Nim</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-lang/nim/nim-0.16.0.ebuild b/dev-lang/nim/nim-0.16.0.ebuild new file mode 100644 index 000000000000..6f4bf09dcfa8 --- /dev/null +++ b/dev-lang/nim/nim-0.16.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN=Nim +MY_P=${MY_PN}-${PV} + +DESCRIPTION="compiled, garbage-collected systems programming language" +HOMEPAGE="https://nim-lang.org/" +SRC_URI="https://nim-lang.org/download/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc +readline test" + +DEPEND=" + readline? ( sys-libs/readline:0= ) +" +RDEPEND="${DEPEND}" + +nim_use_enable() { + [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>" + use $1 && echo "-d:$2" +} + +src_compile() { + ./build.sh || die "build.sh failed" + + ./bin/nim c koch || die "csources nim failed" + ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed" + + if use doc; then + PATH="./bin:$PATH" ./koch web || die "koch web failed" + fi +} + +src_test() { + PATH="./bin:$PATH" ./koch test || die "test suite failed" +} + +src_install() { + ./koch install "${D}/usr" || die "koch install failed" + rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'" + + dodir /usr/bin + dosym ../nim/bin/nim /usr/bin/nim + + if use doc; then + insinto /usr/share/doc/${PF} + dodoc doc/*.html + fi +} diff --git a/dev-lang/nim/nim-0.17.0.ebuild b/dev-lang/nim/nim-0.17.0.ebuild new file mode 100644 index 000000000000..be6d8989a30b --- /dev/null +++ b/dev-lang/nim/nim-0.17.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="compiled, garbage-collected systems programming language" +HOMEPAGE="https://nim-lang.org/" +SRC_URI="https://nim-lang.org/download/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc +readline test" + +DEPEND=" + readline? ( sys-libs/readline:0= ) +" +RDEPEND="${DEPEND}" + +nim_use_enable() { + [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>" + use $1 && echo "-d:$2" +} + +src_compile() { + ./build.sh || die "build.sh failed" + + ./bin/nim c koch || die "csources nim failed" + ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed" + + if use doc; then + PATH="./bin:$PATH" ./koch web || die "koch web failed" + fi +} + +src_test() { + PATH="./bin:$PATH" ./koch test || die "test suite failed" +} + +src_install() { + ./koch install "${D}/usr" || die "koch install failed" + rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'" + + dodir /usr/bin + dosym ../nim/bin/nim /usr/bin/nim + + if use doc; then + insinto /usr/share/doc/${PF} + dodoc doc/*.html + fi +} diff --git a/dev-lang/nim/nim-0.17.2.ebuild b/dev-lang/nim/nim-0.17.2.ebuild new file mode 100644 index 000000000000..f26909ecc79b --- /dev/null +++ b/dev-lang/nim/nim-0.17.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 + +DESCRIPTION="compiled, garbage-collected systems programming language" +HOMEPAGE="https://nim-lang.org/" +SRC_URI="https://nim-lang.org/download/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc +readline test" + +DEPEND=" + readline? ( sys-libs/readline:0= ) +" +RDEPEND="${DEPEND}" + +nim_use_enable() { + [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>" + use $1 && echo "-d:$2" +} + +src_compile() { + ./build.sh || die "build.sh failed" + + ./bin/nim c koch || die "csources nim failed" + ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed" + + if use doc; then + PATH="./bin:$PATH" ./koch web || die "koch web failed" + fi +} + +src_test() { + PATH="./bin:$PATH" ./koch test || die "test suite failed" +} + +src_install() { + ./koch install "${D}/usr" || die "koch install failed" + rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'" + + dodir /usr/bin + dosym ../nim/bin/nim /usr/bin/nim + + if use doc; then + insinto /usr/share/doc/${PF} + dodoc doc/*.html + fi + + newbashcomp tools/nim.bash-completion ${PN} +} |