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/dep_selector
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/dep_selector')
-rw-r--r--dev-ruby/dep_selector/Manifest1
-rw-r--r--dev-ruby/dep_selector/dep_selector-0.1.1.ebuild36
-rw-r--r--dev-ruby/dep_selector/metadata.xml8
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/dep_selector/Manifest b/dev-ruby/dep_selector/Manifest
new file mode 100644
index 000000000000..d1df51da59ee
--- /dev/null
+++ b/dev-ruby/dep_selector/Manifest
@@ -0,0 +1 @@
+DIST dep_selector-0.1.1.tar.gz 81472 SHA256 c49ac900a5011628be9031e57fded6948533a36b15569b0e52d4ed9c8b19579b SHA512 08004bb54678983739a1861285d66915f7c7c3921371f5154f4e3ccd31748d1fb05856b6cb0f545975350e0ebdf881ab01b955036bfa19b9738a89cebb552720 WHIRLPOOL 9dee298246e05a5efefd576f1f37b618a7c31048b6ebb863f27694be1649b767335e6622e95a198e9f9d750719fd98f801435bca139ba968a57f0e0e09fe2dc2
diff --git a/dev-ruby/dep_selector/dep_selector-0.1.1.ebuild b/dev-ruby/dep_selector/dep_selector-0.1.1.ebuild
new file mode 100644
index 000000000000..73cc3db9014a
--- /dev/null
+++ b/dev-ruby/dep_selector/dep_selector-0.1.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="constraint based package dependency resolver"
+HOMEPAGE="https://github.com/opscode/dep-selector"
+SRC_URI="https://github.com/opscode/dep-selector/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RUBY_S=${P/_/-}
+
+DEPEND+=" >=dev-libs/gecode-3.5.0"
+RDEPEND+=" >=dev-libs/gecode-3.5.0"
+
+ruby_add_rdepend "dev-ruby/uuidtools"
+
+each_ruby_configure() {
+ ${RUBY} -Cext/dep_gecode extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -Cext/dep_gecode CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1
+ cp ext/dep_gecode/dep_gecode$(get_modname) lib/ || die
+ cp ext/dep_gecode/lib/dep_selector_to_gecode.rb lib/ || die
+}
diff --git a/dev-ruby/dep_selector/metadata.xml b/dev-ruby/dep_selector/metadata.xml
new file mode 100644
index 000000000000..bff62ed8f4ef
--- /dev/null
+++ b/dev-ruby/dep_selector/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ruby</herd>
+ <upstream>
+ <remote-id type="github">opscode/dep-selector</remote-id>
+ </upstream>
+</pkgmetadata>