summaryrefslogtreecommitdiff
path: root/dev-ruby/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/syntax')
-rw-r--r--dev-ruby/syntax/Manifest10
-rw-r--r--dev-ruby/syntax/files/syntax-1.2.0-require-set.patch16
-rw-r--r--dev-ruby/syntax/metadata.xml11
-rw-r--r--dev-ruby/syntax/syntax-1.2.0-r1.ebuild27
-rw-r--r--dev-ruby/syntax/syntax-1.2.1.ebuild32
-rw-r--r--dev-ruby/syntax/syntax-1.2.2.ebuild32
6 files changed, 128 insertions, 0 deletions
diff --git a/dev-ruby/syntax/Manifest b/dev-ruby/syntax/Manifest
new file mode 100644
index 000000000000..4f7e926a8fdb
--- /dev/null
+++ b/dev-ruby/syntax/Manifest
@@ -0,0 +1,10 @@
+AUX syntax-1.2.0-require-set.patch 379 SHA256 fdea7826711f1bcc7b17f4aacdaf19e5d09c86c0e22c2ed57d0a984d99d34f8e SHA512 18a8465164b52a0b39317b50fd69d08f5187f0bc25e709f3bc5ee5bc16a6d257e9e70763447c735615f3b01135c4e2095e0ae8194edf308edd78f4aae08f8d84 WHIRLPOOL 910a1fc92a30c3c0c3a43231fac6af8ffb31c0fbe9afb00ac34f0de9c304b6fb484ba879b9220e1b3c538e60fdadb4c5a9abfb7ef706e37e7e6e5e0d2cb680b3
+DIST syntax-1.2.0.tar.gz 40797 SHA256 9cec12fac6b6dc4f3fee263f5765333880ae26d4194b9670f3de26d4674dde9b SHA512 69804ab94203e2260b4c585aacf68db6ad8e47cf2339ffeb1105ae39da5f1d456b1413eeeef29f1c450bff19780e815b9b1b966b171de3b24595f759b36e6548 WHIRLPOOL 4eb23d481dbd56878ac024643d10069f644ac182813dc744fa61ea44a418d04caa738915a7a60ca85aff5bf90c35e92187e18a1adf168cd17265c06f2b3a4e66
+DIST syntax-1.2.1.tar.gz 40994 SHA256 d1d4d39f63e4dd4753f68b3baee76ad35941c74257816ac9688ce132dbf92701 SHA512 1b2369a5a71f1818f0074e47e56054707986fbfc14bc799e39925c919d3f00d008e102f11dfc7bbc30ea03c7fab9dddce76e5262bc3e85ce75bcd0550e793f13 WHIRLPOOL f1f6a727a5e2dfd3b6afdbd7f5cd756c5a685e08cdbd41ee73845c434ecf7eb22057857a3a25df8f748e461441519f432fff188f83240794ab566d9290393cf3
+DIST syntax-1.2.2.tar.gz 41485 SHA256 0f4fe45d8dca5cbc6bb0870de5f23aa4d2f518c320dcb38f24b8d603abf16e3a SHA512 a3be7ac736d6c77833aa532f17485c076d34e66c40426c9c6be2dbbde87b2adb7154c9b3bed3439cc12577dffc01c8148e0870a0d02b3a02ffbf9fb1d651433b WHIRLPOOL 1e671223cf2d01bbd6237cbf7684927c363d57709f140ad193974c84c3cfbfb0a4ebb2241573c669b7fb5b5d14c3bfb7542adf86fe4681f9f2c5bb5d11dba31c
+EBUILD syntax-1.2.0-r1.ebuild 788 SHA256 01d4ac17cdae7f78b69aca6006e16ad9c34eb0991371af541984437c1ce4e2af SHA512 721a01d4e1cbf6c2abe6544ac7250f9dda76f5116230de33ecaba4ed2d62ccceb227597063be536d5e9953e35724baed27920b253c84430c08f3d11156cae172 WHIRLPOOL 85d0bb9ea2929676f7b862a1d0a6ea5f4db3ff048bc2815e403052198ddf7aa8916137c6a7a229bde844d58c1a16ae9d7c58644f81688780b7bf8fb2db952560
+EBUILD syntax-1.2.1.ebuild 918 SHA256 10082ec461371413d5c9120bec91e471fafe5e1eb09b3e05635cd74c829ba78a SHA512 f209e06add7527ec1c5ede89149f406d8c04f8258ea2ff132e47f934bccdd9c51b95982d72aaabd6cc597c9b91af8a136c2c749d25ce47fc8418c8a35b950103 WHIRLPOOL cd610210c63122a99ecc2c04b0783f26757110178bbe4df6c79172c2a1ca6ab285b914dffb4642b0b83129f2e9b930d0efc50f0c547a6e9df711291278d873e8
+EBUILD syntax-1.2.2.ebuild 911 SHA256 848d31bb74d74a7c7be020e0dd8afc5a1c4ec2af8ccbcd5b462e1246161b8e71 SHA512 4e9d799d4ecdf4fa13cc1ca43415a272bfcd9a6c0f19ee7e97a256e796d4cba0204f3291378fe6fb96f55447d1d9607cf0fc698433c14cb7bdf561691176ddc9 WHIRLPOOL 928955b1c1ca127ffeddd1bb63fcb10de4ea34153d46c38e71435b785a991dcd81078d304e884e04d0975a292e5d04d6126f52dd1ee5e81f5c5b5c013f2dcc8c
+MISC ChangeLog 5116 SHA256 bebda67680221b47c5fbe178281524da2023df3c76e06f8a49f2ed6b38172802 SHA512 95d9cd4cbcac63c03ab850252dd6789e3906919e5cf6270ff68a28037a13a058ca59cc248e565865044730b6caa6b40277fb8ccb8296b92f0dbd8ebe096afaed WHIRLPOOL b2da9c2c06c5b98dfd54017ba73e2150d901819a618d0e46c9ee39e50aff85752cf5a5441e7afcee7ef8cb836c790e6a7a604614519ab618027d7c2dda724ed7
+MISC ChangeLog-2015 7662 SHA256 59010bbd3d49af9f44d5f41d51e63a5d0722d6b7def9bad614320efa5a413701 SHA512 fd833b45390eb30e4be9134160cd13a9118288e15c882320b16f706db5fece64f009f7c1c44b87b8cd6075f2198d17a670f40cd916bbdd291a96ee78f7a165ca WHIRLPOOL 91bc1018027b05f11ac3e1f5f895bdc2b14bd73a3283e4eb02743bb02ba7a6bcb1054f5c065c1040dd4d507541b45910448d50ebcf27d8dcfd84be1f0cf97118
+MISC metadata.xml 339 SHA256 b986461812fd25b32fc7e6cc9a253acf1422fbc7b1091d7a821897172ccaa8aa SHA512 d3d2406f489b687ceb61d99a66ec5e0a4539491277a5c2b5006e03414d14fbd5a25d7de00d2983ab629a1c8efb3e4999681734d07df9ef67f6a01c6abe3f0608 WHIRLPOOL f0aab8e6f72234ba691b4f90cb3a364c920fe037049a66652ffbd820cba91870e41718b3053cec24abae5a8019e4a1e45ef6226d2fec74b9fa8ece1265379879
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 <jan@soundcloud.com>
+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 @@
+<?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">dblock/syntax</remote-id>
+ </upstream>
+</pkgmetadata>
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..cd7e6aae61be
--- /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.1.ebuild b/dev-ruby/syntax/syntax-1.2.1.ebuild
new file mode 100644
index 000000000000..41f4003b936c
--- /dev/null
+++ b/dev-ruby/syntax/syntax-1.2.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23 ruby24"
+
+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
+}
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..00c37f66849c
--- /dev/null
+++ b/dev-ruby/syntax/syntax-1.2.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+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
+}