parent
f735875a18
commit
a599e33c04
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-50d-r1.ebuild,v 1.1 2015/01/18 01:44:25 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="MirBSD KSH Shell"
|
||||
HOMEPAGE="http://mirbsd.de/mksh"
|
||||
SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static"
|
||||
DEPEND="static? ( dev-libs/klibc )"
|
||||
RDEPEND=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
# we want to build static with klibc
|
||||
if use static ; then
|
||||
unset CC
|
||||
export CC="/usr/bin/klcc"
|
||||
export LDSTATIC="-static"
|
||||
fi
|
||||
export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
|
||||
# we can't assume lto existing/enabled, so we add a fallback
|
||||
sh Build.sh -r -c lto || sh Rebuild.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /bin
|
||||
doexe mksh
|
||||
doman mksh.1
|
||||
dodoc dot.mkshrc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./test.sh || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Updating /etc/shells"
|
||||
( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
|
||||
mv -f "${T}"/shells "${ROOT}"etc/shells
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/evince/evince-3.14.1-r1.ebuild,v 1.1 2015/01/18 11:35:29 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Simple document viewer for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
|
||||
SLOT="0/evd3.4-evv3.3"
|
||||
IUSE="debug djvu dvi gnome +introspection libsecret nautilus +postscript t1lib tiff xps"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
|
||||
# Since 2.26.2, can handle poppler without cairo support. Make it optional ?
|
||||
# not mature enough
|
||||
# atk used in libview
|
||||
# gdk-pixbuf used all over the place
|
||||
# libX11 used for totem-screensaver
|
||||
COMMON_DEPEND="
|
||||
dev-libs/atk
|
||||
>=dev-libs/glib-2.36:2
|
||||
>=dev-libs/libxml2-2.5:2
|
||||
sys-libs/zlib:=
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.14:3[introspection?]
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
>=x11-libs/cairo-1.10:=
|
||||
>=app-text/poppler-0.24:=[cairo]
|
||||
djvu? ( >=app-text/djvu-3.5.17:= )
|
||||
dvi? (
|
||||
virtual/tex-base
|
||||
dev-libs/kpathsea:=
|
||||
t1lib? ( >=media-libs/t1lib-5:= ) )
|
||||
gnome? ( gnome-base/gnome-desktop:3 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1 )
|
||||
libsecret? ( >=app-crypt/libsecret-0.5 )
|
||||
nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
|
||||
postscript? ( >=app-text/libspectre-0.2:= )
|
||||
tiff? ( >=media-libs/tiff-3.6:0= )
|
||||
xps? ( >=app-text/libgxps-0.2.1:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/librsvg
|
||||
|| (
|
||||
>=x11-themes/adwaita-icon-theme-2.17.1
|
||||
>=x11-themes/gnome-icon-theme-2.17.1
|
||||
>=x11-themes/hicolor-icon-theme-0.10 )
|
||||
x11-themes/gnome-icon-theme-symbolic
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
app-text/yelp-tools
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gtk-doc-am-1.13
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# eautoreconf needs:
|
||||
# app-text/yelp-tools
|
||||
|
||||
src_prepare() {
|
||||
# Disable toggle-find action for documents not supporting find (from '3.14')
|
||||
epatch "${FILESDIR}"/${P}-disable-toggle-find.patch
|
||||
|
||||
# Handle incorrect 0 resolution found in TIFF files (from '3.14')
|
||||
epatch "${FILESDIR}"/${P}-incorrect-resolution.patch
|
||||
|
||||
# Fix runtime critical warning when starting in fullscreen mode (from '3.14')
|
||||
epatch "${FILESDIR}"/${P}-critical-warning.patch
|
||||
|
||||
# configure.ac: workaround quoting issues (from '3.14')
|
||||
epatch "${FILESDIR}"/${PN}-3.14.0-non-bash-support.patch
|
||||
|
||||
# Scroll to the search result selected by user (from '3.14')
|
||||
epatch "${FILESDIR}"/${P}-scroll-search.patch
|
||||
|
||||
# Show correct page when next search result requested (from '3.14')
|
||||
epatch "${FILESDIR}"/${P}-show-correct.patch
|
||||
|
||||
# Fix configuration with ligbnome-desktop (from '3.14')
|
||||
epatch "${FILESDIR}"/${P}-gnome-desktop.patch
|
||||
|
||||
# Use correct maximum size for thumbnail images (from '3.14')
|
||||
epatch "${FILESDIR}"/${P}-thumbnail-size.patch
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
|
||||
# Do not depend on adwaita-icon-theme, bug #326855, #391859
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=29942
|
||||
sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
|
||||
-i configure || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
--enable-pdf \
|
||||
--enable-comics \
|
||||
--enable-thumbnailer \
|
||||
--with-platform=gnome \
|
||||
--enable-dbus \
|
||||
--enable-browser-plugin \
|
||||
$(use_enable djvu) \
|
||||
$(use_enable dvi) \
|
||||
$(use_with libsecret keyring) \
|
||||
$(use_enable gnome libgnome-desktop) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable nautilus) \
|
||||
$(use_enable postscript ps) \
|
||||
$(use_enable t1lib) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable xps) \
|
||||
BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
|
||||
ITSTOOL=$(type -P true)
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
From 8875003da7f78a6fbba36fcc70d6ed2d372da7a6 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garcia Campos <carlosgc@gnome.org>
|
||||
Date: Sun, 19 Oct 2014 16:01:38 +0200
|
||||
Subject: Fix runtime critical warning when starting in fullscreen mode
|
||||
|
||||
The problem is that when running fullscreen mode we call
|
||||
ev_window_update_links_model() to update the page action widget of the
|
||||
fullscreen toolbar, but when running directly in fullscreen mode, this
|
||||
can happen before the links have been loaded in the sidebar. Since
|
||||
ev_window_update_links_model() is also called automatically when the
|
||||
links model property changes, we can simply return early in
|
||||
ev_window_update_links_model() when the model is NULL and it will be
|
||||
called again with a valid model when the links job finishes.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=737864
|
||||
|
||||
diff --git a/shell/ev-window.c b/shell/ev-window.c
|
||||
index 4de4732..e7f6a96 100644
|
||||
--- a/shell/ev-window.c
|
||||
+++ b/shell/ev-window.c
|
||||
@@ -4024,6 +4024,9 @@ ev_window_update_links_model (EvWindow *window)
|
||||
"model", &model,
|
||||
NULL);
|
||||
|
||||
+ if (!model)
|
||||
+ return;
|
||||
+
|
||||
page_selector = ev_toolbar_get_page_selector (EV_TOOLBAR (window->priv->toolbar));
|
||||
ev_page_action_widget_update_links_model (EV_PAGE_ACTION_WIDGET (page_selector), model);
|
||||
if (window->priv->fs_toolbar) {
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
@ -0,0 +1,23 @@
|
||||
From bfa59b72ed0c86192ca9b1f0882ca5119aa7fe12 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garcia Campos <carlosgc@gnome.org>
|
||||
Date: Sun, 19 Oct 2014 15:24:18 +0200
|
||||
Subject: Disable toggle-find action for documents not supporting find
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=738262
|
||||
|
||||
diff --git a/shell/ev-window.c b/shell/ev-window.c
|
||||
index c4f1f5d..4de4732 100644
|
||||
--- a/shell/ev-window.c
|
||||
+++ b/shell/ev-window.c
|
||||
@@ -502,6 +502,8 @@ ev_window_update_actions_sensitivity (EvWindow *ev_window)
|
||||
can_get_text && !recent_view_mode);
|
||||
ev_window_set_action_enabled (ev_window, "find", can_find &&
|
||||
!recent_view_mode);
|
||||
+ ev_window_set_action_enabled (ev_window, "toggle-find", can_find &&
|
||||
+ !recent_view_mode);
|
||||
ev_window_set_action_enabled (ev_window, "rotate-left", has_pages &&
|
||||
!recent_view_mode);
|
||||
ev_window_set_action_enabled (ev_window, "rotate-right", has_pages &&
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
@ -0,0 +1,26 @@
|
||||
From fa73b3b976a8aec415006d7fc99bab84d04650e4 Mon Sep 17 00:00:00 2001
|
||||
From: Marek Kasik <mkasik@redhat.com>
|
||||
Date: Wed, 19 Nov 2014 10:53:29 +0100
|
||||
Subject: Fix configuration with ligbnome-desktop
|
||||
|
||||
A typo caused fail of configuration with enabled
|
||||
support for libgnome-desktop.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=733721
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index dd4bcab..0ae92b1 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -313,7 +313,7 @@ if test "$enable_gnome_desktop" != "no"; then
|
||||
PKG_CHECK_MODULES([LIBGNOME_DESKTOP], [gnome-desktop-3.0], has_libgnome_desktop=yes, has_libgnome_desktop=no)
|
||||
else
|
||||
PKG_CHECK_MODULES([LIBGNOME_DESKTOP], [gnome-desktop-3.0])
|
||||
- has_libgnome_desktop = yes
|
||||
+ has_libgnome_desktop=yes
|
||||
fi
|
||||
|
||||
if test x$has_libgnome_desktop = xyes; then
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
@ -0,0 +1,39 @@
|
||||
From 24a3d032728ab6cc530fab45d4eb5e232677c928 Mon Sep 17 00:00:00 2001
|
||||
From: Gabor Kelemen <kelemeng@gnome.hu>
|
||||
Date: Fri, 10 Oct 2014 11:49:26 +0200
|
||||
Subject: tiff: Handle incorrect 0 resolution found in TIFF files
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=646414
|
||||
|
||||
diff --git a/backend/tiff/tiff-document.c b/backend/tiff/tiff-document.c
|
||||
index 80ac0f5..8f40934 100644
|
||||
--- a/backend/tiff/tiff-document.c
|
||||
+++ b/backend/tiff/tiff-document.c
|
||||
@@ -172,9 +172,10 @@ tiff_document_get_resolution (TiffDocument *tiff_document,
|
||||
gfloat *x_res,
|
||||
gfloat *y_res)
|
||||
{
|
||||
- gfloat x = 72.0, y = 72.0;
|
||||
+ gfloat x = 0.0;
|
||||
+ gfloat y = 0.0;
|
||||
gushort unit;
|
||||
-
|
||||
+
|
||||
if (TIFFGetField (tiff_document->tiff, TIFFTAG_XRESOLUTION, &x) &&
|
||||
TIFFGetField (tiff_document->tiff, TIFFTAG_YRESOLUTION, &y)) {
|
||||
if (TIFFGetFieldDefaulted (tiff_document->tiff, TIFFTAG_RESOLUTIONUNIT, &unit)) {
|
||||
@@ -185,8 +186,9 @@ tiff_document_get_resolution (TiffDocument *tiff_document,
|
||||
}
|
||||
}
|
||||
|
||||
- *x_res = x;
|
||||
- *y_res = y;
|
||||
+ /* Handle 0 values: some software set TIFF resolution as `0 , 0` see bug #646414 */
|
||||
+ *x_res = x > 0 ? x : 72.0;
|
||||
+ *y_res = y > 0 ? y : 72.0;
|
||||
}
|
||||
|
||||
static void
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
@ -0,0 +1,35 @@
|
||||
From aa988afb009307c6b854b5da366d34e0ee2ea763 Mon Sep 17 00:00:00 2001
|
||||
From: Marek Kasik <mkasik@redhat.com>
|
||||
Date: Mon, 19 May 2014 14:32:19 +0200
|
||||
Subject: Scroll to the search result selected by user
|
||||
|
||||
Scroll to page on which is the search result selected by user
|
||||
when not in continuous mode.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=730252
|
||||
|
||||
diff --git a/libview/ev-view.c b/libview/ev-view.c
|
||||
index 5ed2d78..f3aa033 100644
|
||||
--- a/libview/ev-view.c
|
||||
+++ b/libview/ev-view.c
|
||||
@@ -8158,6 +8158,9 @@ jump_to_find_page (EvView *view, EvViewFindDirection direction, gint shift)
|
||||
break;
|
||||
}
|
||||
}
|
||||
+
|
||||
+ if (!view->continuous)
|
||||
+ ev_document_model_set_page (view->model, view->find_page);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -8282,6 +8285,7 @@ ev_view_find_set_result (EvView *view, gint page, gint result)
|
||||
{
|
||||
view->find_page = page;
|
||||
view->find_result = result;
|
||||
+ jump_to_find_page (view, EV_VIEW_FIND_NEXT, 0);
|
||||
jump_to_find_result (view);
|
||||
gtk_widget_queue_draw (GTK_WIDGET (view));
|
||||
}
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
@ -0,0 +1,38 @@
|
||||
From f2c908cf8a8f8d5d0fbed1bc0871c8bdb531f751 Mon Sep 17 00:00:00 2001
|
||||
From: Marek Kasik <mkasik@redhat.com>
|
||||
Date: Tue, 18 Nov 2014 12:53:40 +0100
|
||||
Subject: Show correct page when next search result requested
|
||||
|
||||
If there are more than 1 results on a page then requesting
|
||||
next search result from the same page will not return you
|
||||
to the page with the search results if you moved from the
|
||||
page in the meantime (when you are not in continuous mode).
|
||||
This applies also to previous results.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=730252
|
||||
|
||||
diff --git a/libview/ev-view.c b/libview/ev-view.c
|
||||
index f3aa033..a9159cd 100644
|
||||
--- a/libview/ev-view.c
|
||||
+++ b/libview/ev-view.c
|
||||
@@ -8250,6 +8250,8 @@ ev_view_find_next (EvView *view)
|
||||
if (view->find_result >= n_results) {
|
||||
view->find_result = 0;
|
||||
jump_to_find_page (view, EV_VIEW_FIND_NEXT, 1);
|
||||
+ } else if (view->find_page != view->current_page) {
|
||||
+ jump_to_find_page (view, EV_VIEW_FIND_NEXT, 0);
|
||||
}
|
||||
|
||||
jump_to_find_result (view);
|
||||
@@ -8264,6 +8266,8 @@ ev_view_find_previous (EvView *view)
|
||||
if (view->find_result < 0) {
|
||||
jump_to_find_page (view, EV_VIEW_FIND_PREV, -1);
|
||||
view->find_result = MAX (0, ev_view_find_get_n_results (view, view->find_page) - 1);
|
||||
+ } else if (view->find_page != view->current_page) {
|
||||
+ jump_to_find_page (view, EV_VIEW_FIND_PREV, 0);
|
||||
}
|
||||
|
||||
jump_to_find_result (view);
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
@ -0,0 +1,23 @@
|
||||
From 1820802ff261d1ca05acd3c3153918c0fd1c686f Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Keller <sebastian-keller@gmx.de>
|
||||
Date: Sat, 29 Nov 2014 03:46:27 +0100
|
||||
Subject: thumbnailer: Use correct maximum size for thumbnail images
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=740877
|
||||
|
||||
diff --git a/thumbnailer/evince-thumbnailer.c b/thumbnailer/evince-thumbnailer.c
|
||||
index 1649252..998447d 100644
|
||||
--- a/thumbnailer/evince-thumbnailer.c
|
||||
+++ b/thumbnailer/evince-thumbnailer.c
|
||||
@@ -177,7 +177,7 @@ evince_thumbnail_pngenc_get (EvDocument *document, const char *thumbnail, int si
|
||||
|
||||
ev_document_get_page_size (document, 0, &width, &height);
|
||||
|
||||
- rc = ev_render_context_new (page, 0, size / width);
|
||||
+ rc = ev_render_context_new (page, 0, size / MAX (height, width));
|
||||
pixbuf = ev_document_get_thumbnail (document, rc);
|
||||
g_object_unref (rc);
|
||||
g_object_unref (page);
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/ronn/ronn-0.7.3-r1.ebuild,v 1.19 2014/11/16 18:15:00 ago Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS CHANGES README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ronn converts simple, human readable textfiles to roff for terminal display, and also to HTML"
|
||||
HOMEPAGE="http://github.com/rtomayko/ronn/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/hpricot-0.8.2
|
||||
>=dev-ruby/mustache-0.7.0
|
||||
>=dev-ruby/rdiscount-1.5.8"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid test failing due to changes in hash handling in ruby 1.8.7:
|
||||
# https://github.com/rtomayko/ronn/issues/56
|
||||
sed -i -e '81 s:^:#:' test/test_ronn.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Make sure that we always use the right interpreter during tests.
|
||||
sed -i -e "/output/ s:ronn:${RUBY} bin/ronn:" test/test_ronn.rb
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
PATH="${S}/bin:${PATH}" rake man || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doman man/ronn.1 man/ronn-format.7
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST scala-1.2.0.1.tar.bz2 4548508 SHA256 975d6e10febf5d52a3f2d826afa7f98ddbec0a6f05eaf6c30a3f27a472ca84b9 SHA512 8fd4958e1603b576cb73f7372a88a7b06c1432e4f8a0fa6a987aa4397343c6d859ddda9972af039e0b4b1ea722dbbbfd4df03fe2edf9cc54bbc72e5cebbf200b WHIRLPOOL dfa5d71b39ffa1012d66ac8bcc281562182af13ec642fceee2e1fb7f3228a303a198a401e0578e3aad7d7608a26ae6e11978042fd488b4503ffb144e5d2efa44
|
||||
DIST scala-2.11.4.tgz 26509669 SHA256 000f5a19de78049bc06e33ee98063c7ad3cfd51212df92a8a164af89aeef8084 SHA512 f963279cba5d2f4d41d195f80dad32bf529bc5f2c3d306ce6c1b9fbb6d4977a481796d98c3d1758f3987824880ab0925ac72e3a70e4165faf7c7985e64cece28 WHIRLPOOL a76a97854e0d4ac9f2f555ab3b5196d473e8723c88926163f88c891ac31cacb7d97acadf437aee101b2d9db0fc0295f4b3fc95c5db6bc16de8e6ff54b1a2ecda
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/scala-bin/scala-bin-2.11.4.ebuild,v 1.1 2015/01/18 01:05:53 monsieurp Exp $
|
||||
EAPI=5
|
||||
|
||||
inherit java-utils-2
|
||||
|
||||
DESCRIPTION="The Scala Programming Language"
|
||||
HOMEPAGE="http://scala.epfl.ch/"
|
||||
SRC_URI="http://downloads.typesafe.com/scala/${PV}/scala-${PV}.tgz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
!dev-lang/scala"
|
||||
|
||||
S=${WORKDIR}/scala-${PV}
|
||||
|
||||
src_prepare() {
|
||||
ebegin 'Cleaning .bat files'
|
||||
rm -f bin/*.bat
|
||||
eend $?
|
||||
|
||||
ebegin 'Patching SCALA_HOME variable in bin/ scripts'
|
||||
for f in bin/*; do
|
||||
sed -i -e 's#\(SCALA_HOME\)=.*#\1=/usr/share/scala-bin#' $f
|
||||
done
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ebegin 'Installing bin scripts'
|
||||
dodir /usr/bin
|
||||
exeinto /usr/bin
|
||||
doexe bin/*
|
||||
eend $?
|
||||
|
||||
ebegin 'Installing jar files'
|
||||
cd lib/
|
||||
|
||||
# Unversion those libs
|
||||
java-pkg_newjar scala-continuations-library_*.jar scala-continuations-library.jar
|
||||
java-pkg_newjar akka-actor_*.jar akka-actor.jar
|
||||
java-pkg_newjar config-*.jar config.jar
|
||||
java-pkg_newjar scala-actors-2.11.0.jar scala-actors.jar
|
||||
java-pkg_newjar scala-actors-migration_*.jar scala-actors-migration.jar
|
||||
java-pkg_newjar scala-swing_*.jar scala-swing.jar
|
||||
java-pkg_newjar scala-parser-combinators_*.jar scala-parser-combinators.jar
|
||||
java-pkg_newjar scala-xml_*.jar scala-xml.jar
|
||||
java-pkg_newjar jline-*.jar jline.jar
|
||||
java-pkg_newjar scala-continuations-plugin_*.jar scala-continuations-plugin.jar
|
||||
java-pkg_newjar scalap-*.jar scalap.jar
|
||||
|
||||
# Install these the usual way
|
||||
java-pkg_dojar scala-compiler.jar
|
||||
java-pkg_dojar scala-library.jar
|
||||
java-pkg_dojar scala-reflect.jar
|
||||
|
||||
eend $?
|
||||
|
||||
cd ../
|
||||
|
||||
ebegin 'Installing man pages'
|
||||
doman man/man1/*.1
|
||||
eend $?
|
||||
|
||||
ebegin 'Installing documentation'
|
||||
java-pkg_dohtml -r doc/tools
|
||||
eend $?
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST Set-Scalar-1.26.tar.gz 21431 SHA256 887e408bd579175f00236929b00103347c3a3fa9f726fbe50e084c4c914d3988 SHA512 9b95f473e74598ab077c7e1aadade5c9609c82263864c3f0eee3b8937b62389c5abae6f1adf1e1eddbffad0b9d6f71259ecc593355e2c26ef6fd47ee0d1ba582 WHIRLPOOL aafb48aa186be4384062f5774b27fdc8c2b303ab23e3dd05b0fe55de030d8192005f53ac1d10321ab2bd310a504fead590772f552b9b44dd7379f10cb7b96b12
|
||||
DIST Set-Scalar-1.28.tar.gz 21521 SHA256 4c684759a2d1b1b684a39d22c32cf90440623c3933943e8c2b381a7b73e97ddc SHA512 b834418fccfc59aeaa9df1b6447947a4e95ec85c20ace3644ac653f2260bda9944da9e9bab51ab1d76ca3578709d248274acb05ebccb00d24c8cd37bc799bec2 WHIRLPOOL 49efc0486989148f694dccca74f12bf54df914c27637583a930e322ece4bda0270fc2bb0a29f61fcee7c1d0b6ec3b2f6d37be5577039c1227f8d56acc7ec71b5
|
||||
DIST Set-Scalar-1.29.tar.gz 21549 SHA256 a3dc1526f3dde72d3c64ea00007b86ce608cdcd93567cf6e6e42dc10fdc4511d SHA512 ee77f72a237ed7d3f0467395009b00163c33e095fe5e8bdc971c8cd0eee8dbc825c83ab486e6f54ed6c1aedf1539cde9d9b1a54b8be703d5dc01ee48017ce45c WHIRLPOOL 09c4885e283c863dee81a52fad55838db1bda7398aaaae5eb7572e907b17f130193fa2a5f3fd6dd842da598e69f47f00c1dd74ead3cff231c1c58531c93ccac1
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/set-scalar/set-scalar-1.260.0-r1.ebuild,v 1.1 2014/08/22 17:27:20 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Set-Scalar
|
||||
MODULE_AUTHOR=JHI
|
||||
MODULE_VERSION=1.26
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Scalar set operations"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ppc ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-crack/pecl-crack-0.4-r2.ebuild,v 1.6 2014/08/10 21:01:17 slyfox Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PHP_EXT_NAME="crack"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="EXPERIMENTAL"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
|
||||
DESCRIPTION="PHP interface to the cracklib libraries"
|
||||
LICENSE="PHP-3 CRACKLIB"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
local slot
|
||||
for slot in $(php_get_slots) ; do
|
||||
cd "${WORKDIR}/${slot}"
|
||||
epatch "${FILESDIR}/fix-php-5-4-support.patch"
|
||||
done
|
||||
php-ext-source-r2_src_prepare
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-crack/pecl-crack-0.4-r3.ebuild,v 1.4 2014/08/10 21:01:17 slyfox Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PHP_EXT_NAME="crack"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="EXPERIMENTAL"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="amd64 ppc ~ppc64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP interface to the cracklib libraries"
|
||||
LICENSE="PHP-3 CRACKLIB"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
local slot
|
||||
for slot in $(php_get_slots) ; do
|
||||
cd "${WORKDIR}/${slot}"
|
||||
epatch "${FILESDIR}/fix-php-5-4-support.patch"
|
||||
# Patch for http://pecl.php.net/bugs/bug.php?id=5765
|
||||
epatch "${FILESDIR}/fix-pecl-bug-5765.patch"
|
||||
done
|
||||
php-ext-source-r2_src_prepare
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-syck/pecl-syck-0.9.3-r2.ebuild,v 1.6 2014/08/10 21:03:59 slyfox Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PHP_EXT_NAME="syck"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="CHANGELOG TODO"
|
||||
|
||||
USE_PHP="php5-4 php5-3"
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86"
|
||||
|
||||
DESCRIPTION="PHP bindings for Syck - reads and writes YAML with it"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/syck
|
||||
|| ( <dev-lang/php-5.3.1[hash,spl] >=dev-lang/php-5.3.1[hash] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
epatch "${FILESDIR}"/fix-php-5-4-support.patch
|
||||
done
|
||||
php-ext-source-r2_src_prepare
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST GitPython-0.3.4.tar.gz 320028 SHA256 d51194a33953cd3e9be72582509393a72b09935652a9156e7330c5caa7f2fdd7 SHA512 e0120f5f52484f97d3666170e9d054661cbfabbdc10285f3a4b02282afed96b75e98ca890f5b484399408a035896ab5f5e8466ed2e63a9a77de3fdb5829d76ab WHIRLPOOL 42c2a830195b431ad28470d8121c637cece67bfa1d79bcacac6244cd59d46de2baa6fb5576c1ebfcfcff0f029bfddd9fb1310315acfb0c2700fd9dc15327d87c
|
||||
DIST GitPython-0.3.5.tar.gz 334863 SHA256 33c7378409eb224d1caca6e6bf4e6c8610482633a15987d7ea4296ad15b64014 SHA512 09eb1d3057623aa4a97e5aff56722d8f877e43529868b4f1ad736fa4bc1d46e5dcacc6ff58326a0f18056e4aab070dff704723c93ab29b1af0db12011276316f WHIRLPOOL 146755c38d42a423dda166621b9b4ecdeb282516faeaca931ab12e065246fbbb27075b89581031858f564d2c53daa78edf6a0c39c27d77371db24c6096a59a62
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/git-python/git-python-0.3.5.ebuild,v 1.1 2015/01/18 09:25:08 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="GitPython"
|
||||
MY_PV="${PV/_rc/.RC}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Library used to interact with Git repositories"
|
||||
HOMEPAGE="http://gitorious.org/git-python http://pypi.python.org/pypi/GitPython"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
# Tests dont make sense without a git repo
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-vcs/git
|
||||
>=dev-python/gitdb-0.6.2[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)"
|
||||
# $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
# is the correct entry for mock, however while RESTRICT="test"
|
||||
# there is little point in setting it since it is inactive
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,2 +1,2 @@
|
||||
DIST gitdb-0.6.1.tar.gz 400219 SHA256 0d784ec4a75e93c8f65d4aca219c17e388a052d461714ed0edfda657e542b716 SHA512 31ba6d63557cf582eb6464dbed22a249148f464cb783fde063abbc121690548852aa0a20dbf078e4f75962cb94f52d1f1d7ade932270d5bcc8ac140a25c2ec68 WHIRLPOOL f3f2dd7f7dd9c286a2a1bc2c079cbafc122fa8aa7fa9a2ac5182a159fd4b1555d786872a4f93729cc9286648c55a3bf3bf2ab0d99d9bd0d0424a9de252934eb0
|
||||
DIST gitdb-0.6.3.tar.gz 400070 SHA256 2735e2e5d914c77a6a5d80566670ba18b32022e859ecfc9b2e7ae8f11fa1960e SHA512 e7a08eb0f1b7bf6c8e23787580e4efbdc645b078fbf7ad130ebe9f3d29722d642f70c36fbb676a360ed787885dc05f4a574b9ca59a1c1abd38c38bc3b1b1270c WHIRLPOOL b447e29c645519cfaa11aa010799f43f6ca588d2f1c58041f473717f9149fa472a23d5178b141b9cb32485eeef3112787f9cd330aca037b3dce996cc195a9858
|
||||
DIST gitdb-0.6.4.tar.gz 400506 SHA256 a3ebbc27be035a2e874ed904df516e35f4a29a778a764385de09de9e0f139658 SHA512 2314ae70ec26c46c559cc69a1300ead8cd65a0a22425a3bb36b04edb73bd5e2628cbdcd8e515830c74b21af2badea662c915a727d9a46ed2f92f169eb71bdf62 WHIRLPOOL df7425efd5f2c6a704b3545723ce8e27fdca09c435f52685dd4dcca7eb3eb3da8d89fbe88e2d9dfee7984b029b9ea741b32a6afcdbccb5bcbd7b04ce59f6d552
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST gmpy-1.16.zip 143811 SHA256 58eca10dfcbb68c537acf6815b9904a813da0df90936ffdd7b3cc7028e785fad SHA512 10f5088c764b844d642ab91bf2d9439cf878afd0f6fadad4912bb13abadab030ed05692c06c7391d861ebb7df54fea73a5e5afdc207e1fed4b54409a48e0c83f WHIRLPOOL 2391411d5f054d6b42f8c7dc6b159692371c26d5fa0eedfbcf2c28ca329de84e02a7c4c88284199d04152a4cde976841180d52af6371937b53db366a2e89d711
|
||||
DIST gmpy2-2.0.0.zip 288417 SHA256 ecaccceb8fa4f75e631ae0211fd1e1ca1c24d8cdcc371e961052d1d038ac577a SHA512 f7c814a766a288bbd3860f7a36180e3ef5004ce9594d914b30ab11e0bfc06cd71f82fd27472fa1642ca8cf89c4a311eff8472bdfd04b2ec7e43c73614cbcfcbb WHIRLPOOL e559927242a3eec685c10780234d63f5c9e45a6a759f487db88b5e054d97800d488c6ed9dd20e443d4c64252cd63f54fca503c846429f98319bf7d8298e71a10
|
||||
DIST gmpy2-2.0.3.zip 279348 SHA256 d2eab2d4024f13e9ab77e57636e51714b8a37fb9804024c92b48585701aa6b1a SHA512 7d4b4f6f76de1979a3867b0fb21158bfbaab342d600e9bebc89fc86be2b7b54b48fa71f09c49cd79d089c578aa942d8f7f834995ea8d4349905bc4fe1c50959c WHIRLPOOL 22695fc19d6e17b6e3a711fa36fef359c6f1657bd077236d7ade4be9f2eac61a7f9446c503d867a0f52782e09c9140605e3321ae4088d96dc72347a2947b69f2
|
||||
DIST gmpy2-2.0.4.zip 280459 SHA256 c2b06e75d876960adabce575f01361f96884a64401740af49e8b9ef356bbbecf SHA512 98f57a0b140bb352dc1403dc799845685d52d346e87e6402d1e10c8ef46bbe90bae598143bd2ebffedb617c0519f75590a6cc9b30d887dc08ff6d5ae4fd7ec75 WHIRLPOOL 2f9c903c91c864ef4eb7e02b4004204580af1b7ddf67c67719ab68506a95cf57af64e06bed24ef445eb7eb2de0e7ef550748ac6e8b41e10297fcc22b04cfbca9
|
||||
DIST gmpy2-2.0.5.zip 280565 SHA256 014ebfb901fde1d823bfa6bdd70abd79adff36c0473d678ea79664be10d4e620 SHA512 d72bf8e309143ec1f28adf7a73fe9a644ca17f0e7aa40408d7336b5729a6b84fd0d7a235830721c802994551f3225ffa0f953ddc1e79b4a33d51e21d5a65f122 WHIRLPOOL d2b3206fd485d4e8680cbba1b03954459a867ca58032e2c3b1c0e50b55eec8b6e24d288bd8833f368e8b89852fb3f6b6d57ca55c2edebd71785959459c283437
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-1.16.ebuild,v 1.5 2014/08/27 12:06:13 blueness Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python bindings for GMP library"
|
||||
HOMEPAGE="http://www.aleax.it/gmpy.html http://code.google.com/p/gmpy/ http://pypi.python.org/pypi/gmpy"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/gmp"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="doc/gmpydoc.txt"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
if [[ "${PYTHON_ABI:0:2}" == "3." ]]; then
|
||||
pushd test3 > /dev/null
|
||||
else
|
||||
pushd test > /dev/null
|
||||
fi
|
||||
PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" gmpy_test.py || return 1
|
||||
popd > /dev/null
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dohtml doc/index.html || die "dohtml failed"
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-2.0.0.ebuild,v 1.6 2014/08/27 12:06:13 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN}2"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python bindings for GMP library"
|
||||
HOMEPAGE="http://www.aleax.it/gmpy.html http://code.google.com/p/gmpy/ http://pypi.python.org/pypi/gmpy2"
|
||||
SRC_URI="http://gmpy.googlecode.com/files/${MY_P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/gmp
|
||||
dev-libs/mpc
|
||||
dev-libs/mpfr"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
python_test() {
|
||||
cd test || die
|
||||
${PYTHON} runtests.py || die
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gmpy/gmpy-2.0.5.ebuild,v 1.1 2015/01/18 05:33:37 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN}2"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries"
|
||||
HOMEPAGE="http://code.google.com/p/gmpy/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="doc mpir"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/mpc-1.0.2
|
||||
>=dev-libs/mpfr-3.1.2
|
||||
!mpir? ( dev-libs/gmp )
|
||||
mpir? ( sci-libs/mpir )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
python_prepare_all() {
|
||||
# rm non std test file
|
||||
rm test*/gmpy_test_thr.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=(
|
||||
$(usex mpir --mpir --gmp)
|
||||
)
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd test || die
|
||||
"${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
|
||||
if python_is_python3; then
|
||||
cd ../test3 || die
|
||||
else
|
||||
cd ../test2 || die
|
||||
fi
|
||||
for test in ./gmpy_test*.py
|
||||
do
|
||||
"${PYTHON}" $test || die "test $test failed under ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-hglib-1.0.tar.gz 27833 SHA256 766458699a9f2e5f351bfe73164e4f8c30290d10a097aefacd25532f315b3099 SHA512 9c0a61299779aff613131aaabbc255c8648f0fa7ab1806af53f19fbdcece0c8a68ddca7880d25b926d67ff1b9201954b207919fb09f6a290acb078e8bbed7b68 WHIRLPOOL edb5dddcbe7a1f6d94ca76d6f78a2b3a53bd56c15e55ef5810ae32f07d270fd45be8947cb8eadbca3dac2de945e97f63cddd46c90157b688032b79f48b7d29bc
|
||||
DIST python-hglib-1.5.tar.gz 27812 SHA256 601c04d8daa806768e3075786ffe9b93ad3574ad2b300107dd615dbe7846a367 SHA512 2506e2ac95488830b90f5f099d231e45833a8f19ce14fc2f3391ae1bf48ca72187b6b57afb633ecbe6cd2c6f3d3f482d75e03ea36406b3a07085ed1b4ef9c6b5 WHIRLPOOL 84e0cdc82344cbe3872f70d9d95ec41da4bb99e3fcece0759dea58d727ca9d650449cba1ef9ca214b954942c801363b7e8fc2fbb1abf6e6a0eb7b8133855c7c1
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/hglib/hglib-1.5.ebuild,v 1.1 2015/01/18 01:28:56 xarthisius Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 pypy pypy2_0 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
MY_P="python-${P}"
|
||||
MY_PN="python-${PN}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library for using the Mercurial Command Server from Python"
|
||||
HOMEPAGE="http://mercurial.selenic.com/"
|
||||
SRC_URI="mirror://pypi/p/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND=">=dev-vcs/mercurial-2.4.2"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_test() {
|
||||
if ! ${PYTHON} test.py; then
|
||||
die "Tests failed under ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/stats.py )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyhamcrest/pyhamcrest-1.8.1-r1.ebuild,v 1.1 2015/01/18 03:25:29 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="PyHamcrest"
|
||||
|
||||
DESCRIPTION="Hamcrest framework for matcher objects"
|
||||
HOMEPAGE="https://github.com/hamcrest/PyHamcrest"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc examples numpy test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )' 'python*')
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST qt-creator-2.8.1-src.tar.gz 24381282 SHA256 d5ae007a297a4288d0e95fd605edbfb8aee80f6788c7a6cfb9cb297f50c364b9 SHA512 954b0caa9a4c6b7debf62562f3c8f1b4edee13488867208e7d41544b244a111024f2c4c144e4b44e98973cf1d7b5885c13c0b6996ade58e204887eb13bb999cb WHIRLPOOL 1aa5018e19315bd2528580ffa388ff17d96666747e4abad28ea4bcd38315e6efc66379cdda90cb32c17dd1631d0ebedff422e53ee0b9b3c40d7a5766ff4dd9b4
|
||||
DIST qt-creator-opensource-src-3.2.2.tar.gz 22789455 SHA256 a115f1d7b08446dcfeb79537f3d8d251dbc3c9808d0ff377efe5c4fad7dbd8f0 SHA512 f85381eb6f56d787e5efe02407c4b6f949fd2a766a25567ceccb3a002ec7dd9c6277d9cf39ef0afdd8e110d7bc7436344756225784009a2e01ba9fd8428f885e WHIRLPOOL aa65009cffbc10161cdd9f8e70121c5b2e80df034bb1e06400558a947dcf3284cc23d1b162f85a7ed19af216f0d94d0c5f997c0072c3f19149f64e528fde36a7
|
||||
DIST qt-creator-opensource-src-3.3.0.tar.gz 22950004 SHA256 27a5c8815fab95f959134047f8315686de4de6f99b0bedfd46b5dedae390525a SHA512 ec198c74fcfba06a4c8deaf3ff6d6d43617ee0a21118c189ac67bf99b46f78b19f5f09649e8376bad35695dd2ae66e2c47e1476381b2b3ea658fa9d433fc0ec6 WHIRLPOOL cb85fd5d1a235b885b4168db7da238175e1446d4b82e88ceabf107772ea32278475e3a50d61c5ce734080b0d5f00274317de6ac94d6700928f06725b143dc13f
|
||||
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-3.3.0.ebuild,v 1.1 2015/01/18 04:56:40 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="cs de fr ja pl ru sl zh_CN zh_TW"
|
||||
|
||||
inherit eutils l10n multilib qmake-utils
|
||||
|
||||
DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
|
||||
HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
|
||||
LICENSE="|| ( LGPL-2.1 LGPL-3 )"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=(
|
||||
"git://gitorious.org/${PN}/${PN}.git"
|
||||
"https://git.gitorious.org/${PN}/${PN}.git"
|
||||
)
|
||||
else
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-opensource-src-${MY_PV}
|
||||
[[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
|
||||
SRC_URI="http://download.qt.io/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
QTC_PLUGINS=('android:android|qmakeandroidsupport' autotools:autotoolsprojectmanager baremetal
|
||||
bazaar clang:clangcodemodel clearcase cmake:cmakeprojectmanager cvs git ios mercurial
|
||||
perforce python:pythoneditor qbs:qbsprojectmanager qnx subversion valgrind winrt)
|
||||
IUSE="debug doc test ${QTC_PLUGINS[@]%:*}"
|
||||
|
||||
# minimum Qt version required
|
||||
QT_PV="5.3.2:5"
|
||||
|
||||
CDEPEND="
|
||||
=dev-libs/botan-1.10*[threads]
|
||||
>=dev-qt/designer-${QT_PV}
|
||||
>=dev-qt/qtconcurrent-${QT_PV}
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
>=dev-qt/qtdeclarative-${QT_PV}
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
>=dev-qt/qthelp-${QT_PV}
|
||||
>=dev-qt/qtnetwork-${QT_PV}[ssl]
|
||||
>=dev-qt/qtprintsupport-${QT_PV}
|
||||
>=dev-qt/qtquick1-${QT_PV}
|
||||
>=dev-qt/qtquickcontrols-${QT_PV}
|
||||
>=dev-qt/qtscript-${QT_PV}
|
||||
>=dev-qt/qtsql-${QT_PV}
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
>=dev-qt/qtwidgets-${QT_PV}
|
||||
>=dev-qt/qtx11extras-${QT_PV}
|
||||
>=dev-qt/qtxml-${QT_PV}
|
||||
clang? ( >=sys-devel/clang-3.2:= )
|
||||
qbs? ( >=dev-util/qbs-1.3.3[qt5] )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
>=dev-qt/linguist-tools-${QT_PV}
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-qt/qdoc-${QT_PV} )
|
||||
test? ( >=dev-qt/qttest-${QT_PV} )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=sys-devel/gdb-7.2[client(+),python]
|
||||
"
|
||||
for x in ${PLOCALES}; do
|
||||
# qt translations must be installed for qt-creator translations to work
|
||||
RDEPEND+=" linguas_${x}? ( >=dev-qt/qttranslations-${QT_PV} )"
|
||||
done
|
||||
unset x
|
||||
|
||||
PDEPEND="
|
||||
autotools? ( sys-devel/autoconf )
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cmake? ( dev-util/cmake )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# disable unwanted plugins
|
||||
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
|
||||
if ! use ${plugin%:*}; then
|
||||
einfo "Disabling ${plugin%:*} plugin"
|
||||
sed -i -re "/(^\s+|SUBDIRS\s*\+=\s*)(${plugin#*:})\>/d" \
|
||||
src/plugins/plugins.pro \
|
||||
|| die "failed to disable ${plugin%:*} plugin"
|
||||
fi
|
||||
done
|
||||
|
||||
# fix translations
|
||||
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
|
||||
share/qtcreator/translations/translations.pro || die
|
||||
|
||||
# remove bundled qbs
|
||||
rm -rf src/shared/qbs || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 IDE_LIBRARY_BASENAME="$(get_libdir)" \
|
||||
IDE_PACKAGE_MODE=1 \
|
||||
LLVM_INSTALL_DIR="${EPREFIX}/usr" \
|
||||
QBS_INSTALL_DIR="${EPREFIX}/usr" \
|
||||
TEST=$(use test && echo 1 || echo 0) \
|
||||
USE_SYSTEM_BOTAN=1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [QTest]: ${CATEGORY}/${PF}"
|
||||
cd tests/auto || die
|
||||
|
||||
eqmake5 IDE_LIBRARY_BASENAME="$(get_libdir)"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}usr" install
|
||||
|
||||
dodoc dist/{changes-*,known-issues}
|
||||
|
||||
# install documentation
|
||||
if use doc; then
|
||||
emake docs
|
||||
# don't use ${PF} or the doc will not be found
|
||||
insinto /usr/share/doc/qtcreator
|
||||
doins share/doc/qtcreator/qtcreator{,-dev}.qch
|
||||
docompress -x /usr/share/doc/qtcreator/qtcreator{,-dev}.qch
|
||||
fi
|
||||
|
||||
# install desktop file
|
||||
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/color/color-1.7.1-r1.ebuild,v 1.1 2015/01/17 20:03:02 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Colour management with Ruby"
|
||||
HOMEPAGE="http://color.rubyforge.org/"
|
||||
SRC_URI="https://github.com/halostatue/color/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/minitest-5.0
|
||||
)"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S testrb -Ilib test/test_*.rb || die
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/crack/crack-0.3.2-r1.ebuild,v 1.4 2014/10/30 13:45:08 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
# workaround for ruby 1.9.2, sent upstream after 0.1.8
|
||||
RUBY_FAKEGEM_TASK_TEST="-Ilib test"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc History"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Really simple JSON and XML parsing, ripped from Merb and Rails"
|
||||
HOMEPAGE="https://github.com/jnunemaker/crack"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/matchy )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# By default this gem wants to use the fork of matchy from the
|
||||
# same author of itself, but we don't package that (as it's
|
||||
# neither released on gemcutter nor tagged). On the other hand it
|
||||
# works fine with the mcmire gem that we package as
|
||||
# dev-ruby/matchy.
|
||||
sed -i -e 's:jnunemaker-matchy:mcmire-matchy:' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*ruby19|*ruby20)
|
||||
# Remove test suite that is broken for ruby19.
|
||||
# Github Issues 26, 29, 32, 33.
|
||||
rm test/json_test.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/crack/crack-0.4.2-r1.ebuild,v 1.1 2015/01/17 19:59:21 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md History"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Really simple JSON and XML parsing, ripped from Merb and Rails"
|
||||
HOMEPAGE="https://github.com/jnunemaker/crack"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
ruby_add_rdepend ">=dev-ruby/safe_yaml-1.0.0"
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Remove tests which fail when run by portage but pass when run by hand
|
||||
sed -i -e '/{"regex": \/foo.*\/}/d' test/json_test.rb || die
|
||||
sed -i -e '/{"regex": \/foo.*\/i}/d' test/json_test.rb || die
|
||||
sed -i -e '/{"regex": \/foo.*\/mix}/d' test/json_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Itest -Ilib -e 'Dir["test/*_test.rb"].each { |f| load f }' || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST fakefs-0.4.2.gem 34304 SHA256 f8cec34ebfc8b756c2174884abe5e97659b0b2ad41395c82f4b0b56292445e34 SHA512 57634e38ee5e5e7b73569405f61dbc5d83036091020bd043cb1d0eb64dc012a3a7a63d6c4111e31c7b4256746c448b707500c51fd4d2512a04d5ad45faf7c7e0 WHIRLPOOL 3b737ea892ea5ea171d4fcb237eb85c57ff2bd627050304571109bb4b73369583abee3a5b0d9da82553fc9da37a1158bcd6714f92ee3c462c8e665afe949437b
|
||||
DIST fakefs-0.6.0.gem 41984 SHA256 43a668e9a436654d66eff7e896793800b4b8d87c3ecd5a6a84e23fb52580150e SHA512 8c0eac75103e1917551e2f5e74a5324d5a606e7692a8e4c49c9b97e2b5005bd381073a5780a8e6d1fb661a1bb4a67e56c29ce98cd2e2e62cce22602c30e4225f WHIRLPOOL c1a520c9cf3913e727ef570367d238e2ec88eb8d41789d1d33e9227a5a5dd9c62f4a462374066e1e5b5c5ac8bb0f738e6513b4d4182c20969178a82f90aa2739
|
||||
DIST fakefs-0.6.4.gem 44032 SHA256 de5a45644e9cfecfafee1d9183120d7f5cc21c3bb3fcd2deab9dddfb81e2048a SHA512 e6ee58f25b8409840d22f6c04d1ff7373bfc7857795a7f35e52c0861d551f058f1439cc750a8e5975423ad7f8f922cd54b83b55844b86e42990d437706ca799b WHIRLPOOL b96d38dceb964b9e2d3bab0b7132e2b57395e4963c60a00f26296c541eb5c138274f14a52bf926ba607e99dd2a23574aaa09a8427c9af66998d0412279336a17
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/fakefs-0.6.4.ebuild,v 1.1 2015/01/18 03:21:47 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
# requires sdoc
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.markdown"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A fake filesystem. Use it in your tests"
|
||||
HOMEPAGE="http://github.com/defunkt/fakefs"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/rspec-3.1:3
|
||||
>=dev-ruby/test-unit-2.5.1-r1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler
|
||||
rm Gemfile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
RSPEC_VERSION=3 ruby-ng_rspec
|
||||
ruby-ng_testrb-2 -Ilib:test test/**/*_test.rb
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.6-r1.ebuild,v 1.18 2014/11/16 18:14:48 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A fast and liberal HTML parser for Ruby"
|
||||
HOMEPAGE="http://wiki.github.com/hpricot/hpricot"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "dev-ruby/rake
|
||||
dev-ruby/rake-compiler"
|
||||
|
||||
# dev-ruby/fast_xs does not cover JRuby so still bundle it here for now
|
||||
USE_RUBY="${USE_RUBY/jruby/}" \
|
||||
ruby_add_rdepend "dev-ruby/fast_xs"
|
||||
|
||||
# Probably needs the same jdk as JRuby but I'm not sure how to express
|
||||
# that just yet.
|
||||
DEPEND+="
|
||||
dev-util/ragel
|
||||
ruby_targets_jruby? ( >=virtual/jdk-1.5 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die
|
||||
|
||||
# Fix encoding assumption of environment for Ruby 1.9.
|
||||
# https://github.com/hpricot/hpricot/issues/52
|
||||
# sed -i -e '1 iEncoding.default_external=Encoding::UTF_8 if RUBY_VERSION =~ /1.9/' test/load_files.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# dev-ruby/fast_xs does not cover JRuby so still bundle it here for now
|
||||
[[ ${RUBY} == */jruby ]] && return
|
||||
|
||||
pushd .. &>/dev/null
|
||||
epatch "${FILESDIR}"/${P}-fast_xs.patch
|
||||
popd .. &>/dev/null
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
# dev-ruby/fast_xs does not cover JRuby so still bundle it here for now
|
||||
[[ ${RUBY} == */jruby ]] && return
|
||||
|
||||
${RUBY} -Cext/hpricot_scan extconf.rb || die "hpricot_scan/extconf.rb failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
local modname=$(get_modname)
|
||||
|
||||
# dev-ruby/fast_xs does not cover JRuby so still bundle it here for now
|
||||
if [[ ${RUBY} == */jruby ]]; then
|
||||
${RUBY} -S rake compile_java || die "rake compile_java failed"
|
||||
return
|
||||
fi
|
||||
|
||||
emake -Cext/hpricot_scan CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "make hpricot_scan failed"
|
||||
cp ext/hpricot_scan/hpricot_scan${modname} lib/ || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue