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-ruby/narray |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/narray')
-rw-r--r-- | dev-ruby/narray/Manifest | 7 | ||||
-rw-r--r-- | dev-ruby/narray/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/narray/narray-0.6.1.1.ebuild | 50 | ||||
-rw-r--r-- | dev-ruby/narray/narray-0.6.1.2.ebuild | 49 |
4 files changed, 117 insertions, 0 deletions
diff --git a/dev-ruby/narray/Manifest b/dev-ruby/narray/Manifest new file mode 100644 index 000000000000..dde7ccb150bc --- /dev/null +++ b/dev-ruby/narray/Manifest @@ -0,0 +1,7 @@ +DIST narray-0.6.1.1.tar.gz 68536 SHA256 7c2f415666c834d982cba97de3bbda9160e76358c62f8f754cd0d11e90e95ed6 SHA512 1c9983d29c774cb61b7f8ec53290d427c123b648d88407ff4a2e2aef1a289267050d4846adfc00c075629cb228ed5b3d4f9f5ded4cded0b84ec1a5532cbb49ff WHIRLPOOL cdfdc8050daafb10629228bac4bc146a2d8b3461d3c365207ee1112e5f226da82183450f28b98fce98719ae10fbfd31c76ec6567d40e0cf63efe89f018c5db8a +DIST narray-0.6.1.2.tar.gz 68621 SHA256 7ac717a8690ad5c85ae528102ef42ea50128c979a383abd35585db68cfd31f76 SHA512 51e9bec0b711e79e268b73496ad742b80bb46a6e9ea6aab9a2535a700b6efc8f7ae2e854f5772d434e3d385d81275744dbc796ebec4d3de73f2ec0546bd2339a WHIRLPOOL 8c339a8377dbdc5ee61a4d09085de40cdcbe30ecaaae091dd62c6348e7579174ad0620d6b4c0175a9f90c224b9d9fa49d818f1455f3303d71f4d5d8bc50b92aa +EBUILD narray-0.6.1.1.ebuild 1311 SHA256 cf3e7698d4c563ce6b44d37a1528d4144a82e4e82c78111402fd0f67fcd633ef SHA512 6cf6b52fa5bede49559f0348e85f8da12a3140cf9c75b4ccf6f21cf82169ea8b51135d2f6cf06896434a3b20a676d93e72525c16091c43ef4ba96386a8fce7de WHIRLPOOL 602a692a2b1709c5aead4dd69dc54606ecd693647b0cdd6fea6a3b7160bff8697d194038db1b79faf742d20b4dc5b0d3ea8488debe7a4ca5985232c0af1df674 +EBUILD narray-0.6.1.2.ebuild 1293 SHA256 4b7d0b4d9fe4bc05904ba4f0b6c079ce9eeeeadd4e9f68d25b473440798c2873 SHA512 77d6551f965b8b7d888edfa60f9d7182b90363d86533b342c2703036061491cc1800814d923b7b5cc59254440d38bb71c1da1493c917f2e66e4851f54bb5f5db WHIRLPOOL 4f92163bb1f9dbda70d234fa0e7f0446c13e632fd64e8f1d67c2366133a7e88c0c8b18485e0c9334b7e2562be9ae37966a6b55d7ac9b3b7efc4da28a63cf8e64 +MISC ChangeLog 4612 SHA256 caf26acb7160b9dd31a07c76e86693791f09fb7579a8083141856e956641b235 SHA512 f8a0945a48902de5062bb63a8ef4221709824adf7b3547ede95bc47e5786e9e0905b7b7258942081ca13c6ea920bb6deb10526799d4e3ed345b063ebcf1f134f WHIRLPOOL 6453491ec874a3e97c5059aea76cb13ac088230ea7ed802c9e52fda524bcd3053077ca288ecd38d84ebe9c2a1da2fe656e5cb363188995ee6488c83a02921bb3 +MISC ChangeLog-2015 8376 SHA256 89954d3c050bbc4769b7e4228d710da22ebc560bb6b68a9ebc3f1d2022f11dcf SHA512 ed55add91ea9a09ab835dedee6dfc8c05b718c741b984c9e63114936ec57049d44aefbf8fb6307501a84d2f18a02b204168b616695c4dbb650aedba08f3a0742 WHIRLPOOL e0e9f6bf53d07a0e3d211959cda7d9e8d0d9ef6ca7f1d6af6ce2c84207f8dbd20f296c8098f63b45883ce8a7b7600adf22d9aa6907524795dc408a473c03f8a5 +MISC metadata.xml 339 SHA256 92a7331ef31d056d92afe0e84883b6e02d6ac406d7c78fbdca95de8191634055 SHA512 47c9372c3fa2a28f5d728cd9d3df7b030c2e0bb2378099c287018cd55324a188eb2ef8c901b52acfd87d278c4990752a4860a7281e062f4209bf92c10bdc36e2 WHIRLPOOL 980a188a984c21562669bdc6b7e586f027173795b3b9d5e9b659f8b212c6dbfb48d97f3c39dcf8d9e93629ba1d668caa775f231fed6a32c128b57bd8bec69e31 diff --git a/dev-ruby/narray/metadata.xml b/dev-ruby/narray/metadata.xml new file mode 100644 index 000000000000..27c7e23b9b09 --- /dev/null +++ b/dev-ruby/narray/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="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">masa16/narray</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/narray/narray-0.6.1.1.ebuild b/dev-ruby/narray/narray-0.6.1.1.ebuild new file mode 100644 index 000000000000..6ea4f1b4bc13 --- /dev/null +++ b/dev-ruby/narray/narray-0.6.1.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# jruby → native extension +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md README.ja.md SPEC.en.txt SPEC.ja.txt" + +RUBY_FAKEGEM_VERSION="${PV/_p/.}" + +inherit multilib ruby-fakegem + +DESCRIPTION="Numerical N-dimensional Array class" +HOMEPAGE="http://www.ir.isas.ac.jp/~masa/ruby/index-e.html" +SRC_URI="https://github.com/masa16/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="amd64 hppa ~mips ppc ~ppc64 x86" + +IUSE="" + +all_ruby_prepare() { + # the tests aren't really written to be a testsuite, so the + # failure cases will literally fail; ignore all of those and + # instead expect that the rest won't fail. + sed -i -e '/[fF]ollowing will fail/,$ s:^:#:' \ + -e '/next will fail/,$ s:^:#:' \ + test/*.rb || die "sed failed" +} + +each_ruby_configure() { + ${RUBY} extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp -l ${PN}$(get_modname) ${PN}.h ${PN}_config.h lib/ || die "copy of ${PN}$(get_modname) failed" +} + +each_ruby_test() { + for unit in test/*; do + ${RUBY} -Ilib ${unit} || die "test ${unit} failed" + done +} diff --git a/dev-ruby/narray/narray-0.6.1.2.ebuild b/dev-ruby/narray/narray-0.6.1.2.ebuild new file mode 100644 index 000000000000..af3971c34406 --- /dev/null +++ b/dev-ruby/narray/narray-0.6.1.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md README.ja.md SPEC.en.txt SPEC.ja.txt" + +RUBY_FAKEGEM_VERSION="${PV/_p/.}" + +inherit multilib ruby-fakegem + +DESCRIPTION="Numerical N-dimensional Array class" +HOMEPAGE="http://www.ir.isas.ac.jp/~masa/ruby/index-e.html" +SRC_URI="https://github.com/masa16/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86" + +IUSE="" + +all_ruby_prepare() { + # the tests aren't really written to be a testsuite, so the + # failure cases will literally fail; ignore all of those and + # instead expect that the rest won't fail. + sed -i -e '/[fF]ollowing will fail/,$ s:^:#:' \ + -e '/next will fail/,$ s:^:#:' \ + test/*.rb || die "sed failed" +} + +each_ruby_configure() { + ${RUBY} extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp -l ${PN}$(get_modname) ${PN}.h ${PN}_config.h lib/ || die "copy of ${PN}$(get_modname) failed" +} + +each_ruby_test() { + for unit in test/*; do + ${RUBY} -Ilib ${unit} || die "test ${unit} failed" + done +} |