From: Robin H. Johnson Date: Sat, 17 Feb 2007 10:31:40 +0000 (+0000) Subject: Add GEM variant ebuild, so that other packages can use it. This ebuild tries hard... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c05502780ff6b931e662a40abb5f396fcc70d423;p=gentoo.git Add GEM variant ebuild, so that other packages can use it. This ebuild tries hard to preserve the examples and docs the same as they were pre-GEM. Also add ~ppc and ~amd64 for my boxen. Package-Manager: portage-2.1.2-r9 --- diff --git a/dev-ruby/xmpp4r/ChangeLog b/dev-ruby/xmpp4r/ChangeLog index 4171e573257a..9c0c0adf6815 100644 --- a/dev-ruby/xmpp4r/ChangeLog +++ b/dev-ruby/xmpp4r/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/xmpp4r # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xmpp4r/ChangeLog,v 1.2 2007/01/21 08:25:10 pclouds Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xmpp4r/ChangeLog,v 1.3 2007/02/17 10:31:40 robbat2 Exp $ + +*xmpp4r-0.3-r1 (17 Feb 2007) + + 17 Feb 2007; Robin H. Johnson +xmpp4r-0.3-r1.ebuild: + Add GEM variant ebuild, so that other packages can use it. This ebuild tries + hard to preserve the examples and docs the same as they were pre-GEM. Also + add ~ppc and ~amd64 for my boxen. 21 Jan 2007; Nguyễn Thái Ngọc Duy xmpp4r-0.3.ebuild: diff --git a/dev-ruby/xmpp4r/Manifest b/dev-ruby/xmpp4r/Manifest index c295de4fe7b7..0d08c415e0e4 100644 --- a/dev-ruby/xmpp4r/Manifest +++ b/dev-ruby/xmpp4r/Manifest @@ -1,12 +1,17 @@ +DIST xmpp4r-0.3.gem 123904 RMD160 a61a3fbaa30bb2b6d754bf0373f0075241376975 SHA1 efbd451a46fa895d37e84cd22068378541c42f0b SHA256 acc0441471956b1ba3e7d046d3e3b754cf4d187ddb2d0e3c597cfca8eb348b9b DIST xmpp4r-0.3.tgz 120547 RMD160 fcf83ba58c202e75931518a62cf8a594759c73f8 SHA1 4281089e0dac8f234bc37e4eba07b806718ce3ee SHA256 187a26fc5ad3e3de4aa6a21548f1d70ad1634ec16ee8e6126c38e7554c6a7720 +EBUILD xmpp4r-0.3-r1.ebuild 763 RMD160 eabdb2745546f9b915485ab2e7f4360f9c2e7760 SHA1 093dfea1baedfda50cfccf48b22f6dc1da680930 SHA256 a23d4ef6e1789bd2468704ad2a76418dd9f399fc028d822ea1a090f76914fc48 +MD5 0f9494c5f5b6187fb6e1c3ac6ef129d3 xmpp4r-0.3-r1.ebuild 763 +RMD160 eabdb2745546f9b915485ab2e7f4360f9c2e7760 xmpp4r-0.3-r1.ebuild 763 +SHA256 a23d4ef6e1789bd2468704ad2a76418dd9f399fc028d822ea1a090f76914fc48 xmpp4r-0.3-r1.ebuild 763 EBUILD xmpp4r-0.3.ebuild 599 RMD160 5d5a16683d0751fa2db906e272dd3e4d1fc65bf0 SHA1 c671a9bd0224dd98ac3a943c1bfb7b1bfddf9e23 SHA256 be9a0826d7d38ba0e9c7bfc5edb2cd95e6d247d257c7ce059069e48fb6355d91 MD5 cfceba98b594e41fe369fc824940ab42 xmpp4r-0.3.ebuild 599 RMD160 5d5a16683d0751fa2db906e272dd3e4d1fc65bf0 xmpp4r-0.3.ebuild 599 SHA256 be9a0826d7d38ba0e9c7bfc5edb2cd95e6d247d257c7ce059069e48fb6355d91 xmpp4r-0.3.ebuild 599 -MISC ChangeLog 531 RMD160 7e1ce9bad73a2323a70f78954d126e91d7564af1 SHA1 61c3dd6a36cc491af2305a11e3cd1931b3ba2369 SHA256 3d2432cf61d15f97ce960cbc9d0a1aa865695aedd3819c78033bf7339548ec7e -MD5 8de179eabba167d03ab017ff2dc81233 ChangeLog 531 -RMD160 7e1ce9bad73a2323a70f78954d126e91d7564af1 ChangeLog 531 -SHA256 3d2432cf61d15f97ce960cbc9d0a1aa865695aedd3819c78033bf7339548ec7e ChangeLog 531 +MISC ChangeLog 830 RMD160 5a588b9a0164d25b2cafe59887e445ac91c0d785 SHA1 3d481c3f7f4e8070cee073f717f94517794837bd SHA256 47d8eb9d97cbd9e5c0e7b04103708272177eadcd4e29669b53d512080d05038f +MD5 36d57895ccd31b93e3ba6bae895caafc ChangeLog 830 +RMD160 5a588b9a0164d25b2cafe59887e445ac91c0d785 ChangeLog 830 +SHA256 47d8eb9d97cbd9e5c0e7b04103708272177eadcd4e29669b53d512080d05038f ChangeLog 830 MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032 MD5 b522b82d2c47bc548a6607f0f577ab5e metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 metadata.xml 158 @@ -14,3 +19,6 @@ SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032 metadata MD5 a31eccdf32948ad5911c9203f700974b files/digest-xmpp4r-0.3 223 RMD160 4b8be047bedf7ffccaab8575c6ea76d681339352 files/digest-xmpp4r-0.3 223 SHA256 49fc793e58d41c98459b0e5c533966afd40adc688ac164d154307b53ca17ce8a files/digest-xmpp4r-0.3 223 +MD5 da2696eacdb9be4c574ad40c0e42efe2 files/digest-xmpp4r-0.3-r1 223 +RMD160 f47116031f9850fbddb1565905ec77bf0e0267eb files/digest-xmpp4r-0.3-r1 223 +SHA256 96a6b02edf7a3ecd7c67be388410e73b2325aad238efc75505bec0c8b66e6ab7 files/digest-xmpp4r-0.3-r1 223 diff --git a/dev-ruby/xmpp4r/files/digest-xmpp4r-0.3-r1 b/dev-ruby/xmpp4r/files/digest-xmpp4r-0.3-r1 new file mode 100644 index 000000000000..427e3ee22e8e --- /dev/null +++ b/dev-ruby/xmpp4r/files/digest-xmpp4r-0.3-r1 @@ -0,0 +1,3 @@ +MD5 100b12142f279276fd5d4168e27b94c8 xmpp4r-0.3.gem 123904 +RMD160 a61a3fbaa30bb2b6d754bf0373f0075241376975 xmpp4r-0.3.gem 123904 +SHA256 acc0441471956b1ba3e7d046d3e3b754cf4d187ddb2d0e3c597cfca8eb348b9b xmpp4r-0.3.gem 123904 diff --git a/dev-ruby/xmpp4r/xmpp4r-0.3-r1.ebuild b/dev-ruby/xmpp4r/xmpp4r-0.3-r1.ebuild new file mode 100644 index 000000000000..cb4024873ea8 --- /dev/null +++ b/dev-ruby/xmpp4r/xmpp4r-0.3-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xmpp4r/xmpp4r-0.3-r1.ebuild,v 1.1 2007/02/17 10:31:40 robbat2 Exp $ + +RUBY_BUG_145222=yes +inherit ruby gems + +DESCRIPTION="An XMPP library for Ruby" +HOMEPAGE="http://home.gna.org/xmpp4r/" +SRC_URI="http://download.gna.org/xmpp4r/${P}.gem" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="examples" + +DEPEND=">=dev-lang/ruby-1.8" + +src_install() { + gems_src_install + gems_location + D2="${D}/${GEMSDIR}/gems/${P}" + use examples || rm -r ${D2}/data/doc/xmpp4r/examples + mv ${D2}/data/doc/xmpp4r ${D2}/data/doc/${PF} || die "Failed to rename examples" + dodoc ${D2}/{UPDATING,LICENSE,COPYING,README,ChangeLog} +}