diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/libxml | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/libxml')
-rw-r--r-- | dev-ruby/libxml/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/libxml/libxml-2.9.0.ebuild | 49 | ||||
-rw-r--r-- | dev-ruby/libxml/metadata.xml | 11 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-ruby/libxml/Manifest b/dev-ruby/libxml/Manifest new file mode 100644 index 000000000000..32e60446a6a1 --- /dev/null +++ b/dev-ruby/libxml/Manifest @@ -0,0 +1,3 @@ +DIST libxml-ruby-2.9.0.gem 262144 BLAKE2B fb601a0be0aab7fdfd00ac7ef245e52413dbc6e4de71eecb4f0618843ee0621f96ef438df5ec20483a56686ec0ba7ed13fce29b13b779a04313337caa385ae8c SHA512 06ad42ce68c16715fc92a41439c3c27b49fc25b4f8829fac0a27f860d6c3df9a4cb964f1b4677d7587d31c0e5542c4d1c1c25ae3bcfcec889015618d22f6ff3c +EBUILD libxml-2.9.0.ebuild 1373 BLAKE2B df740fc4678ba831e4a4cdea8f6c895e04a21558a7fbd5cabf902288855a20ed0d9cc30d2e882b91d0e62a92068c9676a1f9447915867c957ee836ff28ca3ebd SHA512 df955261996cd82603479907ae3d72e1cea6c736695ae29cdc810872e1c13635b973e292dfc10a26e977fa46e5c3d787d1e46debb1a812f0a399478d39c6534a +MISC metadata.xml 343 BLAKE2B ab9720276d88ebdd8463243faaad691ef7f782984291ece318f16da272dbc24bc79082f556ffa37be664feee98a189a7d71e1925884a7b40e834c878ed61fa45 SHA512 fd2936253ab0f8f0e35b3c8e3b6a145eda17d8bf82badeaf78e20e1622c0aca323240227e4159991d6436c7473f96bf9960ce39a97513ff9610c13d9f5fda13e diff --git a/dev-ruby/libxml/libxml-2.9.0.ebuild b/dev-ruby/libxml/libxml-2.9.0.ebuild new file mode 100644 index 000000000000..0d60009df211 --- /dev/null +++ b/dev-ruby/libxml/libxml-2.9.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24" + +RUBY_FAKEGEM_NAME="libxml-ruby" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc HISTORY" + +inherit ruby-fakegem + +DESCRIPTION="Ruby libxml with a user friendly API, akin to REXML" +HOMEPAGE="https://github.com/xml4r/libxml-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND="${RDEPEND} dev-libs/libxml2" +DEPEND="${DEPEND} dev-libs/libxml2" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc )" + +all_ruby_prepare() { + # Remove grancher tasks only needed for publishing the website + sed -i -e '/grancher/d' -e '/Grancher/,$d' Rakefile || die + + # We don't have the hanna template available. + sed -i -e 's/hanna/rake/' Rakefile || die + + # Remove rake-compiler bits since we don't use it + sed -i -e '/extensiontask/d' -e '/ExtensionTask/,/end/d' -e '/GemPackageTask/,/end/d' Rakefile || die + + # Avoid test that fails intermittently + sed -i -e '/test_get_handler/,/^ end/ s:^:#:' test/tc_error.rb || die +} + +each_ruby_configure() { + ${RUBY} -C ext/libxml extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/libxml V=1 + cp ext/libxml/libxml_ruby.so lib/ || die +} diff --git a/dev-ruby/libxml/metadata.xml b/dev-ruby/libxml/metadata.xml new file mode 100644 index 000000000000..53271e9caf26 --- /dev/null +++ b/dev-ruby/libxml/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">xml4r/libxml-ruby</remote-id> + </upstream> +</pkgmetadata> |