summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-03-11 08:07:48 +0000
committerHans de Graaff <graaff@gentoo.org>2012-03-11 08:07:48 +0000
commit8637ab5a41ebb77bc98dbb5570d5a719665b110d (patch)
tree7076dd67f97cedd50f92f4abd7a1accb20abd290 /dev-ruby/kramdown
parentmarked x86 per bug 406607 (diff)
downloadhistorical-8637ab5a41ebb77bc98dbb5570d5a719665b110d.tar.gz
historical-8637ab5a41ebb77bc98dbb5570d5a719665b110d.tar.bz2
historical-8637ab5a41ebb77bc98dbb5570d5a719665b110d.zip
Add latex USE flag to pull in the proper dependencies for latex support. Also fix tests when not all latex dependencies are installed.
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/kramdown')
-rw-r--r--dev-ruby/kramdown/ChangeLog8
-rw-r--r--dev-ruby/kramdown/Manifest13
-rw-r--r--dev-ruby/kramdown/kramdown-0.13.5-r1.ebuild48
3 files changed, 62 insertions, 7 deletions
diff --git a/dev-ruby/kramdown/ChangeLog b/dev-ruby/kramdown/ChangeLog
index 66ceebbc97b3..24bc41622e72 100644
--- a/dev-ruby/kramdown/ChangeLog
+++ b/dev-ruby/kramdown/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/kramdown
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/ChangeLog,v 1.10 2012/02/27 23:44:15 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/ChangeLog,v 1.11 2012/03/11 08:07:48 graaff Exp $
+
+*kramdown-0.13.5-r1 (11 Mar 2012)
+
+ 11 Mar 2012; Hans de Graaff <graaff@gentoo.org> +kramdown-0.13.5-r1.ebuild:
+ Add latex USE flag to pull in the proper dependencies for latex support. Also
+ fix tests when not all latex dependencies are installed.
*kramdown-0.13.5 (27 Feb 2012)
diff --git a/dev-ruby/kramdown/Manifest b/dev-ruby/kramdown/Manifest
index 33dfa540e26f..65e594103b76 100644
--- a/dev-ruby/kramdown/Manifest
+++ b/dev-ruby/kramdown/Manifest
@@ -1,18 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST kramdown-0.13.3.gem 203776 RMD160 7cb174db44a69b803e0655c25a74e202fb3d598e SHA1 c491abf3ac9ec1bf62f4c1655ff747b684cd42b6 SHA256 3f0eff6b17a585200f4680f71d9cd000e41bc8a318b24370564b2017791cf0c2
DIST kramdown-0.13.4.gem 206336 RMD160 d7f984af732710503581c8b9a1d2759194347d28 SHA1 514eda95f88d485fa81c1ca7e8d34feed96e065c SHA256 a3fde6aded0a8f1d8a6bd72cadd09ab74ac6f99739efc6d78d5b9701f99656d5
DIST kramdown-0.13.5.gem 267776 RMD160 9b69c319f7202d59bcd69f7c6c80856432b078b0 SHA1 96f31fc52ab9b929034b8e16f107dd4387382ca5 SHA256 c63619a2c203ba9f94eac36255c38a275a7cabc6146088cc644c880eaa626e36
EBUILD kramdown-0.13.3.ebuild 823 RMD160 d224a84e80d64e5e9caa06b67a98a4526cd682a5 SHA1 f839de971c9096dda8222a94465be02fb2d4e56d SHA256 c40f56f801277b309c235a768477c0ff5ca6ec092a42d5ebd09e5921c2f06bca
EBUILD kramdown-0.13.4.ebuild 957 RMD160 1bf0bad31bfd90539a601db1f2e37e48a6c9bd5e SHA1 dda5ed1c2a2255690abb1d52892a69a8cc490e04 SHA256 3cc69fc214844ede5fa8056aad4d0ba215c72edfb545057ab9acc022bc6a0368
+EBUILD kramdown-0.13.5-r1.ebuild 1256 RMD160 a970aacae499563bd15578df2dfe3fd0f041d3bf SHA1 eacbbbf7ad21f717d98e99358cd194c6119580c8 SHA256 1e80319029472410b0f1afe6e82df95f4c57b5452e3afab2e6058c3b042662f6
EBUILD kramdown-0.13.5.ebuild 869 RMD160 6bc0cecd146c4a59ffd56ad369a809941dfa7f33 SHA1 f90bf1de7b7b2297d0751f3dce7a771b3a12b078 SHA256 40c35feb57ef36ce0f675d422d62944247afb9fefbae3d898e49784443129a45
-MISC ChangeLog 1705 RMD160 6b845a90e9fdda756fb1dabbd32dcc505a58c1dd SHA1 28995936923866fc1dca83d188a04c8a51115025 SHA256 376aaa87646fc80746a3e5d517f4487c2852d9e40510757a6eb3e5b0e00bbfc6
+MISC ChangeLog 1955 RMD160 337f851d001407ff94f9a621ec0cb0dab210f0a2 SHA1 7c85f10e77b56a862de1eefdc906f71de3362182 SHA256 9329ed0ced16330258e04bc7cf10ef302a417d915e85e6280d9590f6f9b3cad2
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk9MFQQACgkQAiZjviIA2Xj/AQCdEF0qX7UMnVcI+fnJ9F//ETQB
-WQcAmwQ4hy94R3aBHBVkvCd7GkxnC9O5
-=Yz+U
+iF4EAREIAAYFAk9cXWEACgkQiIP6VqMIqNeSzAD/bsm4/9DpZVk0e4fAluSdREUp
+2UNY4+ZN319VUIZYauEA/2niEG+yYUdPpZSxQbPA3h/K0Bzh6UnCXMm2WkiOaJ9q
+=fSTv
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/kramdown/kramdown-0.13.5-r1.ebuild b/dev-ruby/kramdown/kramdown-0.13.5-r1.ebuild
new file mode 100644
index 000000000000..d6e4671d9a26
--- /dev/null
+++ b/dev-ruby/kramdown/kramdown-0.13.5-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/kramdown-0.13.5-r1.ebuild,v 1.1 2012/03/11 08:07:48 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RAKE_FAKEGEM_DOCDIR="htmldoc/rdoc"
+RUBY_FAKEGEM_EXTRADOC="README ChangeLog"
+
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+inherit ruby-fakegem
+
+DESCRIPTION="yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition."
+HOMEPAGE="http://kramdown.rubyforge.org/"
+
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="latex"
+
+RDEPEND+="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
+
+ruby_add_bdepend "doc? ( dev-ruby/rdoc )
+ test? ( >=dev-ruby/coderay-1.0.0 )"
+
+all_ruby_prepare() {
+ if ! use latex; then
+ # Remove latex tests. They will fail gracefully when latex isn't
+ # present at all, but not when components are missing (most
+ # notable ucs.sty).
+ sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die
+ fi
+}
+
+all_ruby_compile() {
+ if use doc; then
+ rdoc-2 -o htmldoc/rdoc --main README --title kramdown lib README || die "Unable to generate documentation"
+ fi
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ doman man/man1/kramdown.1
+}