dev-ruby/narray: cleanup

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Hans de Graaff
2018-04-26 06:55:42 +02:00
parent 0e3848b814
commit c1b9fca64d
2 changed files with 0 additions and 51 deletions

View File

@@ -1,2 +1 @@
DIST narray-0.6.1.1.tar.gz 68536 BLAKE2B 07aaa85ed719da6e5d78f1783e93bf5a46574e2fc8461a75f7a20aad56234c973ec3e5267888e94b505baab2401a210368f93bd003db2e57ac41d4ac5f54875f SHA512 1c9983d29c774cb61b7f8ec53290d427c123b648d88407ff4a2e2aef1a289267050d4846adfc00c075629cb228ed5b3d4f9f5ded4cded0b84ec1a5532cbb49ff
DIST narray-0.6.1.2.tar.gz 68621 BLAKE2B c4e48b81fb0d79cc49e32ed8204d9cac3f483eb44e1207f422f5b272bb8891836d81cd83c090f4d643677b1159801c13d15580504e6ca244a2a75d4b6dfb3204 SHA512 51e9bec0b711e79e268b73496ad742b80bb46a6e9ea6aab9a2535a700b6efc8f7ae2e854f5772d434e3d385d81275744dbc796ebec4d3de73f2ec0546bd2339a

View File

@@ -1,50 +0,0 @@
# 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
}