summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-03-26 20:15:19 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-03-26 20:15:19 +0000
commit96aac243aeb253d3cf166bd78ba8f2e3bdce1ad5 (patch)
tree50167629b2390ec1e5428ec856806d2b9efc53cf /dev-ruby/dep_selector
parentVersion bump. Cleanup old. (diff)
downloadgentoo-2-96aac243aeb253d3cf166bd78ba8f2e3bdce1ad5.tar.gz
gentoo-2-96aac243aeb253d3cf166bd78ba8f2e3bdce1ad5.tar.bz2
gentoo-2-96aac243aeb253d3cf166bd78ba8f2e3bdce1ad5.zip
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/dep_selector')
-rw-r--r--dev-ruby/dep_selector/ChangeLog9
-rw-r--r--dev-ruby/dep_selector/dep_selector-0.1.1.ebuild36
2 files changed, 43 insertions, 2 deletions
diff --git a/dev-ruby/dep_selector/ChangeLog b/dev-ruby/dep_selector/ChangeLog
index 23dfdee3bda9..9cc71f1452bf 100644
--- a/dev-ruby/dep_selector/ChangeLog
+++ b/dev-ruby/dep_selector/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/dep_selector
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dep_selector/ChangeLog,v 1.6 2013/11/17 20:45:09 mrueg Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dep_selector/ChangeLog,v 1.7 2014/03/26 20:15:19 mrueg Exp $
+
+*dep_selector-0.1.1 (26 Mar 2014)
+
+ 26 Mar 2014; Manuel Rüger <mrueg@gentoo.org> +dep_selector-0.1.1.ebuild:
+ Version bump.
17 Nov 2013; Manuel Rüger <mrueg@gentoo.org> -dep_selector-0.0.8.ebuild:
Cleanup old.
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..081a739a514e
--- /dev/null
+++ b/dev-ruby/dep_selector/dep_selector-0.1.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dep_selector/dep_selector-0.1.1.ebuild,v 1.1 2014/03/26 20:15:19 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20"
+
+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
+}