summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-ruby/jruby-openssl
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-ruby/jruby-openssl')
-rw-r--r--dev-ruby/jruby-openssl/Manifest1
-rw-r--r--dev-ruby/jruby-openssl/jruby-openssl-0.7.7.ebuild36
-rw-r--r--dev-ruby/jruby-openssl/metadata.xml7
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/jruby-openssl/Manifest b/dev-ruby/jruby-openssl/Manifest
new file mode 100644
index 000000000000..9a4747bf71e7
--- /dev/null
+++ b/dev-ruby/jruby-openssl/Manifest
@@ -0,0 +1 @@
+DIST jruby-openssl-0.7.7.gem 692736 SHA256 2ea826de1f16434e4e4d8c4506b93bdaa79489f2ddb326549fd9a5300bd7d65e SHA512 55056d955f59496500ca0ae0e3645dd844f88b89b6221065f809ffc33585acd1b489329bdef50878ec47bbae1500f6ffb69df1cd852f09e4b25b66824badb32c WHIRLPOOL df8fd894fcf3b41dd48cd8838d84516fc8025c12c1a8ba96506dd4aa7b37df866e0258b3feac412479e3741f46798307ddec433639e6e1c341b21c2ac9548fc0
diff --git a/dev-ruby/jruby-openssl/jruby-openssl-0.7.7.ebuild b/dev-ruby/jruby-openssl/jruby-openssl-0.7.7.ebuild
new file mode 100644
index 000000000000..49f4fd374fc4
--- /dev/null
+++ b/dev-ruby/jruby-openssl/jruby-openssl-0.7.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+USE_RUBY=jruby
+
+RUBY_FAKEGEM_TASK_DOC="redocs"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby SSL library that works with JRuby"
+HOMEPAGE="http://rubyforge.org/projects/jruby-extras"
+
+LICENSE="MIT || ( CPL-1.0 GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="${RDEPEND} >=dev-java/jruby-1.5.6"
+DEPEND="${DEPEND} >=dev-java/jruby-1.5.6"
+
+ruby_add_bdepend "doc? ( dev-ruby/hoe )"
+ruby_add_bdepend "test? ( dev-ruby/hoe dev-ruby/mocha )"
+
+ruby_add_rdepend ">=dev-ruby/bouncy-castle-java-1.5.0146.1"
+
+all_ruby_prepare() {
+ # Remove a test that only works with JCE installed.
+ sed -i -e 's/OpenSSL::OPENSSL_VERSION_NUMBER > 0x00907000/false/' test/test_cipher.rb || die
+
+ # Remove tests depending on a build_lib that is not shipped
+ rm test/test_java.rb || die
+}
diff --git a/dev-ruby/jruby-openssl/metadata.xml b/dev-ruby/jruby-openssl/metadata.xml
new file mode 100644
index 000000000000..b59348736ba6
--- /dev/null
+++ b/dev-ruby/jruby-openssl/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ruby</herd>
+ <herd>java</herd>
+</pkgmetadata>
+