diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2013-01-25 20:50:31 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2013-01-25 20:50:31 +0000 |
commit | 8aee44aef1982034e7fab28291aa7cbd29e82e0e (patch) | |
tree | 23664a0530dea3d939cb91159d8278603b1c9174 /dev-ruby/rails_autolink | |
parent | Add menu desktop file and icons, bug #453920 (diff) | |
download | historical-8aee44aef1982034e7fab28291aa7cbd29e82e0e.tar.gz historical-8aee44aef1982034e7fab28291aa7cbd29e82e0e.tar.bz2 historical-8aee44aef1982034e7fab28291aa7cbd29e82e0e.zip |
Initial import of rails_autolink from graaff's overlay. This version only supports Ruby 1.9 (as the testsuite fails on 1.8), spots a fix for the testsuite and the schemes, and support doc building.
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0x1CD13C8AD4301342
Diffstat (limited to 'dev-ruby/rails_autolink')
-rw-r--r-- | dev-ruby/rails_autolink/ChangeLog | 12 | ||||
-rw-r--r-- | dev-ruby/rails_autolink/Manifest | 19 | ||||
-rw-r--r-- | dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch | 32 | ||||
-rw-r--r-- | dev-ruby/rails_autolink/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild | 29 |
5 files changed, 97 insertions, 0 deletions
diff --git a/dev-ruby/rails_autolink/ChangeLog b/dev-ruby/rails_autolink/ChangeLog new file mode 100644 index 000000000000..491630368430 --- /dev/null +++ b/dev-ruby/rails_autolink/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-ruby/rails_autolink +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails_autolink/ChangeLog,v 1.1 2013/01/25 20:50:24 flameeyes Exp $ + +*rails_autolink-1.0.9 (25 Jan 2013) + + 25 Jan 2013; Diego E. Pettenò <flameeyes@gentoo.org> + +files/rails_autolink-1.0.9-fixes.patch, +metadata.xml, + +rails_autolink-1.0.9.ebuild: + Initial import of rails_autolink from graaff's overlay. This version only + supports Ruby 1.9 (as the testsuite fails on 1.8), spots a fix for the + testsuite and the schemes, and support doc building. diff --git a/dev-ruby/rails_autolink/Manifest b/dev-ruby/rails_autolink/Manifest new file mode 100644 index 000000000000..ca5ccaf40e24 --- /dev/null +++ b/dev-ruby/rails_autolink/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX rails_autolink-1.0.9-fixes.patch 1231 SHA256 aae537d66b9c7e2d3a445513917630cd2dfc50b047395f440d80a2fe306f824b SHA512 bf7c6040f38957bc313de54307bfc4502078ce9ec7fb8b1f9622dcdb7759526582475dcd04dc27d803b0f6fa9caf707776a9c0d8c4559fd7a32aaefb2c74fcbe WHIRLPOOL ed97cbd93ad715c79fbce78f9fd640843e466dcbeb9432dac1587424d56d9dcf8275958db976721181f58b3489a7aca09cbb7fee32788d29edc1eca7debfea00 +DIST rails_autolink-1.0.9.gem 11264 SHA256 1c96b45727fddeb250b2f28096d21439e741329ea466e2ba0512f56b906c111f SHA512 527431fd4efa522dc13a46ae268fd223d97e9544f4ea498e0f148db16a961d8d9c059a19183d5fbb24d795386a020eb5114e197e5c1630d5f20ed08fc08167a0 WHIRLPOOL d9ef60c636929b1dcaebd906512bb3192e76c7803014eae5256ba7e5d8ba0037575b46afb8ac7e9bbf69fda498ecf67769625bd4c6dcd8e02848b86b192de933 +EBUILD rails_autolink-1.0.9.ebuild 737 SHA256 378449833b834bef36de11eb924dc183a06aa6c781a192712a022a89d760dfd7 SHA512 153a43f4a82a26f1e0050774fe00ce5cc55d2aad49c928a3d66ece6e2c69c7755c3760627f88000646c3a9f8b2427730541f58afbb4e7233faf9264b6c0fb64d WHIRLPOOL 288e94e466ec975e8a9d1bb0c23aa34d1bbf2f604bec19058d362fe98d8f6502baf7ed56a4a66caa608d7876a10ae4be3aff92f457074f72ff09fbeaefdb33b9 +MISC ChangeLog 609 SHA256 261d7608cdced0ebf4e27c0e079271efef8bb72800cd0f169c74bc9c6faad691 SHA512 59b44c7cd28ccce02bcca593f9435d9659f699f632b5419dffc8b0dbe27cd2443f2a1f23468a49bf137580e90c3a14b3b2fe85dda54f9de83aceba9a63e23521 WHIRLPOOL 6d26941d6424fb8d60425dfb23b12a1051fb5470cb12e1b2060e442c83d0cc63e9b728a1afd538f82d36bf2f3fdcb351db21c2566e2d37844c1730c846600bf5 +MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRAvAWAAoJEBzRPIrUMBNC2gcH/ROzVyBF9jU4+gCa3lNCEYQf +6HikBIx8oPAOkMIG30wSplOb2OmWMkaEasQyzzZoxNurBDKArMrIf7XzNm6DC1xp +zLfLGcx7zYFVRXuZO4W0eje84f6PELMG1LV5KiZuKsxr7xeEDLOXCL/+yqACQcXz +QtoRW3ArQh8YNfwOelIzLxqTK/NFhYyL/Mb2rJLF1pNckCV5RP5U5P97gUJL0Pp7 +Nynghigbd4VXNrG92wkWy8sMmefaKKaGbT5fe9npHSHvESKWN2jVM4sxisumP3cs +I33/ad2anysSS7+/5I1EbWoABy6FzT8jhwncjkCZ2FNw76q3W7gnfdFb2TqnEJE= +=C1eK +-----END PGP SIGNATURE----- diff --git a/dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch b/dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch new file mode 100644 index 000000000000..a1a0a8a11dac --- /dev/null +++ b/dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch @@ -0,0 +1,32 @@ +From 9bc8ce3c5bd1919df87ac7039b41de18e70bc64d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu> +Date: Fri, 25 Jan 2013 12:29:21 -0800 +Subject: [PATCH] lib: add to the whitelist the protocol schemes that are + tested for. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Without this commit, the testsuite will simply fail. + +Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> +--- + lib/rails_autolink/helpers.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/rails_autolink/helpers.rb b/lib/rails_autolink/helpers.rb +index 4f6cd8d..bec82c6 100644 +--- a/lib/rails_autolink/helpers.rb ++++ b/lib/rails_autolink/helpers.rb +@@ -71,7 +71,7 @@ module RailsAutolink + private + + AUTO_LINK_RE = %r{ +- (?: ((?:ed2k|ftp|http|https|irc|mailto|news|gopher|nntp|telnet|webcal|xmpp|callto|feed|svn|urn|aim|rsync|tag|ssh|sftp|rtsp|afs):)// | www\. ) ++ (?: ((?:ed2k|ftp|http|https|irc|mailto|news|gopher|nntp|telnet|webcal|xmpp|callto|feed|svn|urn|aim|rsync|tag|ssh|sftp|rtsp|afs|file|z39.50r|chrome|view-source:http):)// | www\. ) + [^\s<]+ + }x + +-- +1.8.1.1 + diff --git a/dev-ruby/rails_autolink/metadata.xml b/dev-ruby/rails_autolink/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/rails_autolink/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild b/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild new file mode 100644 index 000000000000..38fb3223f950 --- /dev/null +++ b/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails_autolink/rails_autolink-1.0.9.ebuild,v 1.1 2013/01/25 20:50:24 flameeyes Exp $ + +EAPI=5 +USE_RUBY="ruby19" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="This is an extraction of the auto_link method from rails." +HOMEPAGE="http://github.com/tenderlove/rails_autolink" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RUBY_PATCHES=( ${P}-fixes.patch ) + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +ruby_add_rdepend ">=dev-ruby/rails-3.1" + +each_ruby_test() { + ${RUBY} -Ilib test/test_*.rb || die "tests failed" +} |