summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-13 21:10:51 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-13 21:10:51 +0000
commit4b31dc248c4c4352260c25152a192c7ea60897f5 (patch)
tree1d9affa1ab7f350ed80747054dad777358115841 /dev-ruby/redcloth
parentFix path to patch, bug #300399, thanks to Priit Laes for reporting and jlec f... (diff)
downloadhistorical-4b31dc248c4c4352260c25152a192c7ea60897f5.tar.gz
historical-4b31dc248c4c4352260c25152a192c7ea60897f5.tar.bz2
historical-4b31dc248c4c4352260c25152a192c7ea60897f5.zip
Use a git snapshot that actually works with PPC/PPC64. All older 4.2.2 revisions (if not all older versions) are broken where char is unsigned by default.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/redcloth')
-rw-r--r--dev-ruby/redcloth/ChangeLog10
-rw-r--r--dev-ruby/redcloth/Manifest14
-rw-r--r--dev-ruby/redcloth/redcloth-4.2.2-r3.ebuild (renamed from dev-ruby/redcloth/redcloth-4.2.2-r2.ebuild)21
3 files changed, 29 insertions, 16 deletions
diff --git a/dev-ruby/redcloth/ChangeLog b/dev-ruby/redcloth/ChangeLog
index fbc14fbd8096..4d4836adea40 100644
--- a/dev-ruby/redcloth/ChangeLog
+++ b/dev-ruby/redcloth/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-ruby/redcloth
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v 1.36 2010/01/04 23:26:41 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/ChangeLog,v 1.37 2010/01/13 21:10:51 flameeyes Exp $
+
+*redcloth-4.2.2-r3 (13 Jan 2010)
+
+ 13 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ -redcloth-4.2.2-r2.ebuild, +redcloth-4.2.2-r3.ebuild:
+ Use a git snapshot that actually works with PPC/PPC64. All older 4.2.2
+ revisions (if not all older versions) are broken where char is unsigned by
+ default.
04 Jan 2010; Markus Meier <maekke@gentoo.org> redcloth-4.2.2-r2.ebuild:
add ~x86, bug #298356
diff --git a/dev-ruby/redcloth/Manifest b/dev-ruby/redcloth/Manifest
index 57c169fdddb9..d22eea9b1021 100644
--- a/dev-ruby/redcloth/Manifest
+++ b/dev-ruby/redcloth/Manifest
@@ -3,16 +3,16 @@ Hash: SHA1
DIST RedCloth-4.1.9.gem 282624 RMD160 7ab36b02e02dde716f953a9a058beadf2467e3c7 SHA1 0d47a2b72b160bc7c94a0cab4d8e96702aee3e61 SHA256 c941749edf68eec58143eab251573f3a287921864ec2d3e1dd9820a029c5af4f
DIST RedCloth-4.2.2.gem 224256 RMD160 c291b7e3e6402af989c78121ac5aaac22465a794 SHA1 d1de295099a0e839abff7ecc6e33f96c0a023bc4 SHA256 eef5c4351dbc4b1fa62f0521abbe4c6f4fd551ad14c23955458195efbb7ee743
-DIST RedCloth-4.2.2.tar.gz 224844 RMD160 7a0545aafa603bb80ec986c8df3d793bb2670e71 SHA1 87f9709cf25b243a4fc70aa417d9554b42f97e15 SHA256 9229f275543154818224879048d24dff38269a9ee66fff567c9bee66e7bca7aa
+DIST RedCloth-git-4.2.2.tgz 97593 RMD160 bcedbfd33269ba67e40577c665f7363f6d9d5bb5 SHA1 8e32d151938a533e106377e2674a50d8211ff64a SHA256 fb6df95a60017edf802f713cbeb0269ce9e8431fc18c0d1a36bcc918eeeed04c
EBUILD redcloth-4.1.9.ebuild 542 RMD160 19576ae5742a385b1b04d465d9584cc9121d629e SHA1 20490b32dde5b7355d8c2352a23fa90171096092 SHA256 20087b196867c21b544661ecd8511c16525fd6db0fac246c0305ab8ebf5f7565
-EBUILD redcloth-4.2.2-r2.ebuild 1442 RMD160 e630fc9902e143c9b16f50ec3eebda49289e1994 SHA1 561715e60f96c0ffdf9025e873d2446bf5635d76 SHA256 365e30aa3571cd78620c258f282fd2c651782fc23e913239a077eab9a974fc90
+EBUILD redcloth-4.2.2-r3.ebuild 1655 RMD160 f4c6533597cc8fa5017e524763e96907450d2e63 SHA1 15de8cd3549f9e7795dc1c7b9709a23f8554beb8 SHA256 0e4b786f4ffc6c932c1755c6bfe3fcef091862ca62f3c696085218f8cc81e9b0
EBUILD redcloth-4.2.2.ebuild 544 RMD160 91fcc6f330a18030c9c3abd78cb4d25c6e07aafd SHA1 7bb948c0659fbca806e369c6de60e74572478209 SHA256 d44d7c80ad6b045581ef1fec556c0886ee04e7a4d2783a18582db3b92673abf4
-MISC ChangeLog 4828 RMD160 f953ea001c372a057ddca8f0a5f2312f04dac199 SHA1 c0b34d4f6495e86f213e3dc48b65b65bfabb5ef6 SHA256 c92753d1c77aaf21ce3defa9ea3caa5007bc9b1d5332788ed16113590945c1eb
+MISC ChangeLog 5139 RMD160 093344d02ceb6a9fb841ce078a04e94aab394f8d SHA1 498a7d80982db233dcc3f5688b8926c0e19a9418 SHA256 86874ab5afdae98a39b1e3dff250f28ecdb8f213cfdfc19bdfbf21d36ed717da
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAktCeSEACgkQkKaRLQcq0GLLmACgh6MNKeE2cOSPMzT3cvJIAs0k
-T8IAmQHGJj/Mwu50jhBK5oT7ZhFip9Ns
-=Tnav
+iEYEARECAAYFAktONuIACgkQAiZjviIA2XjH9ACgrfhsUQCkxkB1e9n6Cntwudry
+CQAAmwaFMvEEQ0oI/N2P+tIlH4/jkSDK
+=dLmy
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/redcloth/redcloth-4.2.2-r2.ebuild b/dev-ruby/redcloth/redcloth-4.2.2-r3.ebuild
index 34abf7291146..88a7f65704cc 100644
--- a/dev-ruby/redcloth/redcloth-4.2.2-r2.ebuild
+++ b/dev-ruby/redcloth/redcloth-4.2.2-r3.ebuild
@@ -1,12 +1,13 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.2-r2.ebuild,v 1.4 2010/01/04 23:26:41 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-4.2.2-r3.ebuild,v 1.1 2010/01/13 21:10:51 flameeyes Exp $
EAPI=2
-# jruby → should be supported, but since we don't have the Ragel files
-# in the tarball, we cannot generate the Java files (also nt
-# in the tarball).
+# jruby → released tarballs and gems don't have support for it so we
+# have to use the git snapshots, on the other hand, it doesn't seem to
+# build fine right now, so we're probably going to wait for next
+# release.
USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_NAME="RedCloth"
@@ -24,14 +25,19 @@ inherit ruby-fakegem
DESCRIPTION="A module for using Textile in Ruby"
HOMEPAGE="http://redcloth.org/"
-SRC_URI="mirror://rubyforge/redcloth/${RUBY_FAKEGEM_NAME}-${PV}.tar.gz"
+SRC_URI="http://github.com/Flameeyes/redcloth/tarball/9e1025baf6bde57658d6794ec792e406444b4f7c -> ${RUBY_FAKEGEM_NAME}-git-${PV}.tgz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
-S="${WORKDIR}/${RUBY_FAKEGEM_NAME}-${PV}"
+DEPEND="dev-util/ragel"
+RDEPEND=""
+
+# Yes this is a snapshot from my own repository, let's just keep it at
+# this for now.
+S="${WORKDIR}/Flameeyes-redcloth-9e1025b"
# rspec is needed for the Rakefile to work if not patched; should
# probably be reported upstream to fix
@@ -40,9 +46,8 @@ ruby_add_bdepend '>=dev-ruby/echoe-3.0.1 dev-ruby/rspec'
ruby_add_bdepend test "dev-ruby/diff-lcs"
all_ruby_prepare() {
+ # We need to do this to avoid re-compilation when running tests
sed -i \
- -e 's|Platform|Echoe::Platform|' \
- -e '/^# Ragel-generated/,/Optimization/ s:^:#:' \
-e '/task :spec/s|, :compile||' \
Rakefile || die "Rakefile fixes failed"
}