diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-12-28 08:45:07 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-12-28 08:46:47 +0100 |
commit | cc1e05c66ee7fb6bf652382dce8691bc070cad51 (patch) | |
tree | c62c32b463ca3809c1167463dc89815571695804 /dev-ruby | |
parent | dev-ruby/rbs: initial import of 1.0.0 (diff) | |
download | gentoo-cc1e05c66ee7fb6bf652382dce8691bc070cad51.tar.gz gentoo-cc1e05c66ee7fb6bf652382dce8691bc070cad51.tar.bz2 gentoo-cc1e05c66ee7fb6bf652382dce8691bc070cad51.zip |
dev-ruby/typeprof: initial import of 0.11.0
New dependency of dev-lang/ruby
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/typeprof/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/typeprof/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/typeprof/typeprof-0.11.0.ebuild | 32 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/typeprof/Manifest b/dev-ruby/typeprof/Manifest new file mode 100644 index 000000000000..ddf52bd76c02 --- /dev/null +++ b/dev-ruby/typeprof/Manifest @@ -0,0 +1 @@ +DIST typeprof-0.11.0.tar.gz 496673 BLAKE2B 215bd738a4a4b9e7de78943a944fd63dd4f166f215a493cdc89270e0452453683d3fdd1f71ccc05f4399f61e120248a73ed9b77b5b24ed4aa8b54e97d9e0073d SHA512 cc64bd805c57a16c275ba5622df08ff30fd64ae82b18e29fb30e03d17a6ca0e889c03696c745597bfec6444290f1f33020c4bd9c49a02fc3053add33e3e60084 diff --git a/dev-ruby/typeprof/metadata.xml b/dev-ruby/typeprof/metadata.xml new file mode 100644 index 000000000000..f44cfa2e5512 --- /dev/null +++ b/dev-ruby/typeprof/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">ruby/typeprof</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/typeprof/typeprof-0.11.0.ebuild b/dev-ruby/typeprof/typeprof-0.11.0.ebuild new file mode 100644 index 000000000000..ba75d91faf84 --- /dev/null +++ b/dev-ruby/typeprof/typeprof-0.11.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_GEMSPEC="typeprof.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Performs a type analysis of non-annotated Ruby code" +HOMEPAGE="https://github.com/ruby/typeprof" +SRC_URI="https://github.com/ruby/typeprof/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/rbs-1.0.0" + +all_ruby_prepare() { + # Avoid tests that download live code using git + rm -r test/typeprof/{goodcheck,diff-lcs}_test.rb || die + + sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die +} |