From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-ruby/syntax/Manifest | 6 ++++ .../syntax/files/syntax-1.2.0-require-set.patch | 16 +++++++++++ dev-ruby/syntax/metadata.xml | 11 ++++++++ dev-ruby/syntax/syntax-1.2.0-r1.ebuild | 27 ++++++++++++++++++ dev-ruby/syntax/syntax-1.2.2.ebuild | 32 ++++++++++++++++++++++ 5 files changed, 92 insertions(+) create mode 100644 dev-ruby/syntax/Manifest create mode 100644 dev-ruby/syntax/files/syntax-1.2.0-require-set.patch create mode 100644 dev-ruby/syntax/metadata.xml create mode 100644 dev-ruby/syntax/syntax-1.2.0-r1.ebuild create mode 100644 dev-ruby/syntax/syntax-1.2.2.ebuild (limited to 'dev-ruby/syntax') diff --git a/dev-ruby/syntax/Manifest b/dev-ruby/syntax/Manifest new file mode 100644 index 000000000000..851674f779f5 --- /dev/null +++ b/dev-ruby/syntax/Manifest @@ -0,0 +1,6 @@ +AUX syntax-1.2.0-require-set.patch 379 BLAKE2B 2f142dce82c2e802e8d8b665a8f547940663366bb27037fe9da8450eee8a633ca7a64687b96532ce4a428f05506fca3bb3cc612971c264e0c5eb8181e8c65d8d SHA512 18a8465164b52a0b39317b50fd69d08f5187f0bc25e709f3bc5ee5bc16a6d257e9e70763447c735615f3b01135c4e2095e0ae8194edf308edd78f4aae08f8d84 +DIST syntax-1.2.0.tar.gz 40797 BLAKE2B e12da53ce9d27b362d70f9074b1ef8f87afb95125f9861169dccc4ea200e5a4a765ec0de867a762eecd2240d773724df25bdac50e27136f35120e182203a34ca SHA512 69804ab94203e2260b4c585aacf68db6ad8e47cf2339ffeb1105ae39da5f1d456b1413eeeef29f1c450bff19780e815b9b1b966b171de3b24595f759b36e6548 +DIST syntax-1.2.2.tar.gz 41485 BLAKE2B 09a1fc9a4172ec8e6a748981a966c891038fe43303360a3e5f2302aa0fb370b1098c7fd7b8a1fc2f022365ac8491b3e9f9146f940dffc772fb68fa8be5245986 SHA512 a3be7ac736d6c77833aa532f17485c076d34e66c40426c9c6be2dbbde87b2adb7154c9b3bed3439cc12577dffc01c8148e0870a0d02b3a02ffbf9fb1d651433b +EBUILD syntax-1.2.0-r1.ebuild 787 BLAKE2B caaf41ab28b5a03ff413b4d30f75a4496649e57aad4afc57b64bff7b7b1c8310ad5ee8279d105cabe6a17f26a543b8b1cd8b54849d5f426dcf48293a28208d81 SHA512 ca73b45d6f062110ed3f113249129911614e0ebc2e8a40d00235a7d346c709a128d1a0bcdd14c3c52498c2a0aa437f018a5e37f6d91fb8b7598395556eed3101 +EBUILD syntax-1.2.2.ebuild 903 BLAKE2B 4b8bbb597b8c29d92330e6b523828345e13546fe152f0438b3dd578fddb434807136117632015a50a1792352255e622d1103da7d07a6c609806125b46076099f SHA512 4b66a233ecd8cf505b91be8c9460ff0032836754d1ce2f56bdefd127fc0b3bf358329fe09374fb2dfd8edf07d674b01b87d58828c1c9b4bb5b50eccdf75c08b5 +MISC metadata.xml 339 BLAKE2B 007757aafebca384bbe340c653875cdfa7c36a40d0fcc948f28f2a1eae85265100d30442f1bc05af9b4286f88f969d54bcf001ad9156aa0bd3dbbbf999a3f129 SHA512 d3d2406f489b687ceb61d99a66ec5e0a4539491277a5c2b5006e03414d14fbd5a25d7de00d2983ab629a1c8efb3e4999681734d07df9ef67f6a01c6abe3f0608 diff --git a/dev-ruby/syntax/files/syntax-1.2.0-require-set.patch b/dev-ruby/syntax/files/syntax-1.2.0-require-set.patch new file mode 100644 index 000000000000..34dec6c66506 --- /dev/null +++ b/dev-ruby/syntax/files/syntax-1.2.0-require-set.patch @@ -0,0 +1,16 @@ +commit 22430510b9662edd64e3792c560629daf8aebc82 +Author: Jan Berkel +Date: Tue Apr 1 07:00:17 2014 -0400 + + Explicitly require 'set'. + +diff --git a/lib/syntax/lang/ruby.rb b/lib/syntax/lang/ruby.rb +index edccda0..90eca56 100644 +--- a/lib/syntax/lang/ruby.rb ++++ b/lib/syntax/lang/ruby.rb +@@ -1,4 +1,5 @@ + require 'syntax' ++require 'set' + + module Syntax + diff --git a/dev-ruby/syntax/metadata.xml b/dev-ruby/syntax/metadata.xml new file mode 100644 index 000000000000..3957d3606d0b --- /dev/null +++ b/dev-ruby/syntax/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + dblock/syntax + + diff --git a/dev-ruby/syntax/syntax-1.2.0-r1.ebuild b/dev-ruby/syntax/syntax-1.2.0-r1.ebuild new file mode 100644 index 000000000000..28abba848f1e --- /dev/null +++ b/dev-ruby/syntax/syntax-1.2.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Syntax highlighting for sourcecode and HTML" +HOMEPAGE="https://github.com/dblock/syntax" +SRC_URI="https://github.com/dblock/syntax/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test doc" + +RUBY_PATCHES=( "${P}-require-set.patch" ) + +ruby_add_bdepend "doc? ( dev-ruby/rdoc )" + +all_ruby_prepare() { + sed -i -e '/sshpublisher/ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/syntax/syntax-1.2.2.ebuild b/dev-ruby/syntax/syntax-1.2.2.ebuild new file mode 100644 index 000000000000..37fd4ccb644f --- /dev/null +++ b/dev-ruby/syntax/syntax-1.2.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Syntax highlighting for sourcecode and HTML" +HOMEPAGE="https://github.com/dblock/syntax" +SRC_URI="https://github.com/dblock/syntax/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test doc" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc )" + +all_ruby_prepare() { + # Remove manual doc since it can not longer be build and it blocks default rdoc recipe. + rm -rf doc || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/ALL-TESTS.rb || die +} -- cgit v1.2.3