parent
c958cd2780
commit
35416cef7a
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-11.0.2.ebuild,v 1.1 2014/10/21 09:09:59 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||
SRC_URI="${HOMEPAGE}${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="cron debug +doc isag nls lm_sensors selinux"
|
||||
|
||||
RDEPEND="
|
||||
cron? ( sys-process/cronbase )
|
||||
isag? (
|
||||
dev-lang/tk
|
||||
dev-vcs/rcs
|
||||
sci-visualization/gnuplot
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
lm_sensors? ( sys-apps/lm_sensors )
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i nls/
|
||||
local lingua pofile
|
||||
for pofile in nls/*.po; do
|
||||
lingua=${pofile/nls\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
rm "nls/${lingua}.po" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
epatch "${FILESDIR}"/${PN}-10.0.4-flags.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
sa_lib_dir=/usr/$(get_libdir)/sa \
|
||||
conf_dir=/etc \
|
||||
rcdir=Gentoo-does-not-use-rc.d \
|
||||
econf \
|
||||
--enable-copy-only \
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir) \
|
||||
$(use_enable cron install-cron) \
|
||||
$(use_enable debug debuginfo) \
|
||||
$(use_enable doc documentation ) \
|
||||
$(use_enable isag install-isag) \
|
||||
$(use_enable lm_sensors sensors) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
use cron && dodir /etc/cron.d
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
install
|
||||
|
||||
dodoc contrib/sargraph/sargraph
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-11.1.2.ebuild,v 1.1 2014/10/21 09:09:59 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||
SRC_URI="${HOMEPAGE}${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="cron debug +doc isag nls lm_sensors selinux"
|
||||
|
||||
RDEPEND="
|
||||
cron? ( sys-process/cronbase )
|
||||
isag? (
|
||||
dev-lang/tk
|
||||
dev-vcs/rcs
|
||||
sci-visualization/gnuplot
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
lm_sensors? ( sys-apps/lm_sensors )
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i nls/
|
||||
local lingua pofile
|
||||
for pofile in nls/*.po; do
|
||||
lingua=${pofile/nls\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
rm "nls/${lingua}.po" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
epatch "${FILESDIR}"/${PN}-10.0.4-flags.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
sa_lib_dir=/usr/$(get_libdir)/sa \
|
||||
conf_dir=/etc \
|
||||
rcdir=Gentoo-does-not-use-rc.d \
|
||||
econf \
|
||||
--enable-copy-only \
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir) \
|
||||
$(use_enable cron install-cron) \
|
||||
$(use_enable debug debuginfo) \
|
||||
$(use_enable doc documentation ) \
|
||||
$(use_enable isag install-isag) \
|
||||
$(use_enable lm_sensors sensors) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
use cron && dodir /etc/cron.d
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
install
|
||||
|
||||
dodoc contrib/sargraph/sargraph
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/pigz/pigz-2.2.5.ebuild,v 1.4 2012/09/07 19:18:26 johu Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="A parallel implementation of gzip"
|
||||
HOMEPAGE="http://www.zlib.net/pigz/"
|
||||
SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~mips ~sparc x86 ~amd64-linux ~sparc64-solaris"
|
||||
IUSE="static symlink test"
|
||||
|
||||
LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
test? ( app-arch/ncompress )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '1,3d' -e '5s/$(CC)/$(CC) $(LDFLAGS)/' Makefile || die
|
||||
use static && append-ldflags -static
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dosym ${PN} /usr/bin/un${PN}
|
||||
dodoc README
|
||||
doman ${PN}.1
|
||||
|
||||
if use symlink; then
|
||||
dosym ${PN} /usr/bin/gzip
|
||||
dosym un${PN} /usr/bin/gunzip
|
||||
fi
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/pigz/pigz-2.3.1.ebuild,v 1.4 2014/01/18 01:43:34 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="A parallel implementation of gzip"
|
||||
HOMEPAGE="http://www.zlib.net/pigz/"
|
||||
SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ~sparc x86 ~amd64-linux ~sparc64-solaris"
|
||||
IUSE="static symlink test"
|
||||
|
||||
LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
test? ( app-arch/ncompress )"
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dosym ${PN} /usr/bin/un${PN}
|
||||
dodoc README
|
||||
doman ${PN}.1
|
||||
|
||||
if use symlink; then
|
||||
dosym ${PN} /usr/bin/gzip
|
||||
dosym un${PN} /usr/bin/gunzip
|
||||
fi
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/pigz/pigz-2.3.ebuild,v 1.5 2013/09/20 16:57:04 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="A parallel implementation of gzip"
|
||||
HOMEPAGE="http://www.zlib.net/pigz/"
|
||||
SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~sparc x86 ~amd64-linux ~sparc64-solaris"
|
||||
IUSE="static symlink test"
|
||||
|
||||
LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
test? ( app-arch/ncompress )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-make.patch
|
||||
sed -i -e '1,3d' -e '5s/$(CC)/$(CC) $(LDFLAGS)/' Makefile || die
|
||||
use static && append-ldflags -static
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dosym ${PN} /usr/bin/un${PN}
|
||||
dodoc README
|
||||
doman ${PN}.1
|
||||
|
||||
if use symlink; then
|
||||
dosym ${PN} /usr/bin/gzip
|
||||
dosym un${PN} /usr/bin/gunzip
|
||||
fi
|
||||
}
|
@ -0,0 +1,437 @@
|
||||
--- xemacs-21.4.22-orig/man/custom.texi
|
||||
+++ xemacs-21.4.22/man/custom.texi
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
@node Declaring Groups, Declaring Variables, Top, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Declaring Groups
|
||||
+@chapter Declaring Groups
|
||||
|
||||
Use @code{defgroup} to declare new customization groups.
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
@node Declaring Variables, Declaring Faces, Declaring Groups, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Declaring Variables
|
||||
+@chapter Declaring Variables
|
||||
|
||||
Use @code{defcustom} to declare user editable variables.
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
|
||||
@node Declaring Faces, Usage for Package Authors, Declaring Variables, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Declaring Faces
|
||||
+@chapter Declaring Faces
|
||||
|
||||
Faces are declared with @code{defface}.
|
||||
|
||||
@@ -228,7 +228,7 @@
|
||||
|
||||
@node Usage for Package Authors, Utilities, Declaring Faces, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Usage for Package Authors
|
||||
+@chapter Usage for Package Authors
|
||||
|
||||
The recommended usage for the author of a typical emacs lisp package is
|
||||
to create one group identifying the package, and make all user options
|
||||
@@ -244,7 +244,7 @@
|
||||
|
||||
@node Utilities, The Init File, Usage for Package Authors, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Utilities
|
||||
+@chapter Utilities
|
||||
|
||||
These utilities can come in handy when adding customization support.
|
||||
|
||||
@@ -276,7 +276,7 @@
|
||||
|
||||
@node The Init File, Wishlist, Utilities, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section The Init File
|
||||
+@chapter The Init File
|
||||
|
||||
Customizations are saved to the file specified by @code{custom-file}, as
|
||||
calls to @code{custom-set-variables} and @code{custom-set-faces}.
|
||||
@@ -299,7 +299,7 @@
|
||||
|
||||
@node Wishlist, , The Init File, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Wishlist
|
||||
+@chapter Wishlist
|
||||
|
||||
@itemize @bullet
|
||||
@item
|
||||
--- xemacs-21.4.22-orig/man/info.texi
|
||||
+++ xemacs-21.4.22/man/info.texi
|
||||
@@ -543,6 +543,10 @@
|
||||
@c If a menu appears at the end of this node, remove it.
|
||||
@c It is an accident of the menu updating command.
|
||||
|
||||
+@menu
|
||||
+* Help-Cross::
|
||||
+@end menu
|
||||
+
|
||||
@node Help-Cross, , , Help-Adv
|
||||
@subsection The node reached by the cross reference in Info
|
||||
|
||||
--- xemacs-21.4.22-orig/man/lispref/edebug-inc.texi
|
||||
+++ xemacs-21.4.22/man/lispref/edebug-inc.texi
|
||||
@@ -1103,7 +1103,7 @@
|
||||
Here is a table of the possibilities for @var{specification} and how each
|
||||
directs processing of arguments.
|
||||
|
||||
-@table @bullet
|
||||
+@table @asis
|
||||
|
||||
@item @code{t}
|
||||
All arguments are instrumented for evaluation.
|
||||
--- xemacs-21.4.22-orig/man/lispref/packaging.texi
|
||||
+++ xemacs-21.4.22/man/lispref/packaging.texi
|
||||
@@ -600,7 +600,7 @@
|
||||
Does most of the work. Builds the elcs, infos at a minimum.
|
||||
@end table
|
||||
|
||||
-@subsection The targets that most people would be interested in would be:
|
||||
+@section The targets that most people would be interested in would be:
|
||||
|
||||
@itemize @bullet
|
||||
@item @code{all}
|
||||
--- xemacs-21.4.22-orig/man/term.texi
|
||||
+++ xemacs-21.4.22/man/term.texi
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
@titlepage
|
||||
@sp 6
|
||||
-@center @titlefont(Notes about Emacs TERM Mode)
|
||||
+@center @titlefont{Notes about Emacs TERM Mode}
|
||||
@end titlepage
|
||||
|
||||
@ifinfo
|
||||
--- xemacs-21.4.22-orig/man/widget.texi
|
||||
+++ xemacs-21.4.22/man/widget.texi
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
@node Introduction, User Interface, Top, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Introduction
|
||||
+@chapter Introduction
|
||||
|
||||
Most graphical user interface toolkits, such as Motif and XView, provide
|
||||
a number of standard user interface controls (sometimes known as
|
||||
@@ -129,7 +129,7 @@
|
||||
|
||||
@node User Interface, Programming Example, Introduction, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section User Interface
|
||||
+@chapter User Interface
|
||||
|
||||
A form consists of read only text for documentation and some fields,
|
||||
where each of the fields contains two parts, a tag and a value. The
|
||||
@@ -175,7 +175,7 @@
|
||||
a form, namely editing the editable text fields and activating the
|
||||
buttons.
|
||||
|
||||
-@subsection Editable Text Fields
|
||||
+@section Editable Text Fields
|
||||
|
||||
In the example, the value for the @samp{Name} is most likely displayed
|
||||
in an editable text field, and so are values for each of the members of
|
||||
@@ -194,7 +194,7 @@
|
||||
Face used for other editing fields.
|
||||
@end deffn
|
||||
|
||||
-@subsection Buttons
|
||||
+@section Buttons
|
||||
|
||||
Some portions of the buffer have an associated @dfn{action}, which can
|
||||
be @dfn{invoked} by a standard key or mouse command. These portions
|
||||
@@ -259,7 +259,7 @@
|
||||
Face used for buttons when the mouse pointer is above it.
|
||||
@end defopt
|
||||
|
||||
-@subsection Navigation
|
||||
+@section Navigation
|
||||
|
||||
You can use all the normal Emacs commands to move around in a form
|
||||
buffer, plus you will have these additional commands:
|
||||
@@ -277,7 +277,7 @@
|
||||
|
||||
@node Programming Example, Setting Up the Buffer, User Interface, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Programming Example
|
||||
+@chapter Programming Example
|
||||
|
||||
Here is the code to implement the user interface example (see @ref{User
|
||||
Interface}).
|
||||
@@ -369,7 +369,7 @@
|
||||
|
||||
@node Setting Up the Buffer, Basic Types, Programming Example, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Setting Up the Buffer
|
||||
+@chapter Setting Up the Buffer
|
||||
|
||||
Widgets are created with @code{widget-create}, which returns a
|
||||
@dfn{widget} object. This object can be queried and manipulated by
|
||||
@@ -422,7 +422,7 @@
|
||||
|
||||
@node Basic Types, Sexp Types, Setting Up the Buffer, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Basic Types
|
||||
+@chapter Basic Types
|
||||
|
||||
The syntax of a type specification is given below:
|
||||
|
||||
@@ -635,7 +635,7 @@
|
||||
|
||||
@node link, url-link, Basic Types, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{link} Widget
|
||||
+@section The @code{link} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -659,7 +659,7 @@
|
||||
|
||||
@node url-link, info-link, link, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{url-link} Widget
|
||||
+@section The @code{url-link} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -672,7 +672,7 @@
|
||||
|
||||
@node info-link, push-button, url-link, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{info-link} Widget
|
||||
+@section The @code{info-link} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -685,7 +685,7 @@
|
||||
|
||||
@node push-button, editable-field, info-link, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{push-button} Widget
|
||||
+@section The @code{push-button} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -709,7 +709,7 @@
|
||||
|
||||
@node editable-field, text, push-button, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{editable-field} Widget
|
||||
+@section The @code{editable-field} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -753,7 +753,7 @@
|
||||
|
||||
@node text, menu-choice, editable-field, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{text} Widget
|
||||
+@section The @code{text} Widget
|
||||
|
||||
This is just like @code{editable-field}, but intended for multiline text
|
||||
fields. The default @code{:keymap} is @code{widget-text-keymap}, which
|
||||
@@ -761,7 +761,7 @@
|
||||
|
||||
@node menu-choice, radio-button-choice, text, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{menu-choice} Widget
|
||||
+@section The @code{menu-choice} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -796,7 +796,7 @@
|
||||
|
||||
@node radio-button-choice, item, menu-choice, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{radio-button-choice} Widget
|
||||
+@section The @code{radio-button-choice} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -856,7 +856,7 @@
|
||||
|
||||
@node item, choice-item, radio-button-choice, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{item} Widget
|
||||
+@section The @code{item} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -870,7 +870,7 @@
|
||||
|
||||
@node choice-item, toggle, item, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{choice-item} Widget
|
||||
+@section The @code{choice-item} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -886,7 +886,7 @@
|
||||
|
||||
@node toggle, checkbox, choice-item, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{toggle} Widget
|
||||
+@section The @code{toggle} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -914,7 +914,7 @@
|
||||
|
||||
@node checkbox, checklist, toggle, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{checkbox} Widget
|
||||
+@section The @code{checkbox} Widget
|
||||
|
||||
The widget has two possible states, `selected' and `unselected', which
|
||||
corresponds to a @code{t} or @code{nil} value.
|
||||
@@ -927,7 +927,7 @@
|
||||
|
||||
@node checklist, editable-list, checkbox, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{checklist} Widget
|
||||
+@section The @code{checklist} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -978,7 +978,7 @@
|
||||
|
||||
@node editable-list, group, checklist, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{editable-list} Widget
|
||||
+@section The @code{editable-list} Widget
|
||||
|
||||
Syntax:
|
||||
|
||||
@@ -1030,7 +1030,7 @@
|
||||
|
||||
@node group, , editable-list, Basic Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The @code{group} Widget
|
||||
+@section The @code{group} Widget
|
||||
|
||||
This widget simply groups other widgets together.
|
||||
|
||||
@@ -1044,7 +1044,7 @@
|
||||
|
||||
@node Sexp Types, Widget Properties, Basic Types, Top
|
||||
@comment
|
||||
-@section Sexp Types
|
||||
+@chapter Sexp Types
|
||||
|
||||
A number of widgets for editing s-expressions (lisp types) are also
|
||||
available. These basically fall in the following categories.
|
||||
@@ -1058,7 +1058,7 @@
|
||||
|
||||
@node constants, generic, Sexp Types, Sexp Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection The Constant Widgets.
|
||||
+@section The Constant Widgets.
|
||||
|
||||
The @code{const} widget can contain any lisp expression, but the user is
|
||||
prohibited from editing it, which is mainly useful as a component of one
|
||||
@@ -1094,7 +1094,7 @@
|
||||
|
||||
@node generic, atoms, constants, Sexp Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection Generic Sexp Widget.
|
||||
+@section Generic Sexp Widget.
|
||||
|
||||
The @code{sexp} widget can contain any lisp expression, and allows the
|
||||
user to edit it inline in the buffer.
|
||||
@@ -1115,7 +1115,7 @@
|
||||
|
||||
@node atoms, composite, generic, Sexp Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection Atomic Sexp Widgets.
|
||||
+@section Atomic Sexp Widgets.
|
||||
|
||||
The atoms are s-expressions that does not consist of other
|
||||
s-expressions. A string is an atom, while a list is a composite type.
|
||||
@@ -1192,7 +1192,7 @@
|
||||
|
||||
@node composite, , atoms, Sexp Types
|
||||
@comment node-name, next, previous, up
|
||||
-@subsection Composite Sexp Widgets.
|
||||
+@section Composite Sexp Widgets.
|
||||
|
||||
The syntax for the composite are
|
||||
|
||||
@@ -1265,7 +1265,7 @@
|
||||
|
||||
@node Widget Properties, Defining New Widgets, Sexp Types, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Properties
|
||||
+@chapter Properties
|
||||
|
||||
You can examine or set the value of a widget by using the widget object
|
||||
that was returned by @code{widget-create}.
|
||||
@@ -1353,7 +1353,7 @@
|
||||
|
||||
@node Defining New Widgets, Widget Browser, Widget Properties, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Defining New Widgets
|
||||
+@chapter Defining New Widgets
|
||||
|
||||
You can define specialized widgets with @code{define-widget}. It allows
|
||||
you to create a shorthand for more complex widgets. This includes
|
||||
@@ -1565,7 +1565,7 @@
|
||||
|
||||
@node Widget Browser, Widget Minor Mode, Defining New Widgets, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Widget Browser
|
||||
+@chapter Widget Browser
|
||||
|
||||
There is a separate package to browse widgets. This is intended to help
|
||||
programmers who want to examine the content of a widget. The browser
|
||||
@@ -1589,7 +1589,7 @@
|
||||
|
||||
@node Widget Minor Mode, Utilities, Widget Browser, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Widget Minor Mode
|
||||
+@chapter Widget Minor Mode
|
||||
|
||||
There is a minor mode for manipulating widgets in major modes that
|
||||
doesn't provide any support for widgets themselves. This is mostly
|
||||
@@ -1606,7 +1606,7 @@
|
||||
|
||||
@node Utilities, Widget Wishlist, Widget Minor Mode, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Utilities.
|
||||
+@chapter Utilities.
|
||||
|
||||
@defun widget-prompt-value widget prompt [ value unbound ]
|
||||
Prompt for a value matching @var{widget}, using @var{prompt}.@*
|
||||
@@ -1621,7 +1621,7 @@
|
||||
|
||||
@node Widget Wishlist, Widget Internals, Utilities, Top
|
||||
@comment node-name, next, previous, up
|
||||
-@section Wishlist
|
||||
+@chapter Wishlist
|
||||
|
||||
@itemize @bullet
|
||||
@item
|
||||
@@ -1693,7 +1693,7 @@
|
||||
@end itemize
|
||||
|
||||
@node Widget Internals, , Widget Wishlist, Top
|
||||
-@section Internals
|
||||
+@chapter Internals
|
||||
|
||||
This (very brief!) section provides a few notes on the internal
|
||||
structure and implementation of Emacs widgets. Avoid relying on this
|
||||
@@ -1701,7 +1701,7 @@
|
||||
To the extent that it actually describes APIs, the information will be
|
||||
moved to appropriate sections of the manual in due course.
|
||||
|
||||
-@subsection The @dfn{Widget} and @dfn{Type} Structures
|
||||
+@section The @dfn{Widget} and @dfn{Type} Structures
|
||||
|
||||
Widgets and types are currently both implemented as lists.
|
||||
|
@ -0,0 +1,255 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.22-r4.ebuild,v 1.1 2014/10/21 16:49:26 matsl Exp $
|
||||
|
||||
# Note: xemacs currently does not work with a hardened profile. If you
|
||||
# want to use xemacs on a hardened profile then compile with the
|
||||
# -nopie flag in CFLAGS or help fix bug #75028.
|
||||
|
||||
EAPI="5"
|
||||
|
||||
export WANT_AUTOCONF="2.1"
|
||||
inherit autotools eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="highly customizable open source text editor and application development system"
|
||||
HOMEPAGE="http://www.xemacs.org/"
|
||||
SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz
|
||||
http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb"
|
||||
|
||||
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3 )
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-libs/openssl-0.9.6
|
||||
>=media-libs/audiofile-0.2.3
|
||||
gpm? ( >=sys-libs/gpm-1.19.6 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
ldap? ( net-nds/openldap )
|
||||
nas? ( media-libs/nas )
|
||||
X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
|
||||
dnd? ( x11-libs/dnd )
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
athena? ( x11-libs/libXaw )
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
xface? ( media-libs/compface )
|
||||
tiff? ( media-libs/tiff )
|
||||
png? ( >=media-libs/libpng-1.2 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
canna? ( app-i18n/canna )
|
||||
!amd64? ( freewnn? ( app-i18n/freewnn ) )
|
||||
>=sys-libs/ncurses-5.2
|
||||
>=app-admin/eselect-emacs-1.15"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PDEPEND="app-xemacs/xemacs-base
|
||||
mule? ( app-xemacs/mule-base )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
use neXt && unpack NeXT_XEmacs.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/xemacs-21.4.19-texi.patch
|
||||
|
||||
# see bug 58350, 102540 and 143580
|
||||
epatch "${FILESDIR}"/xemacs-21.4.19-db.patch
|
||||
|
||||
# Security bug #216880
|
||||
epatch "${FILESDIR}"/xemacs-21.4.21-vcdiff.patch
|
||||
|
||||
# Security bug #275397
|
||||
epatch "${FILESDIR}"/${P}-large-images.patch
|
||||
|
||||
# Make sure to include deprecated LDAP symbols to avoid runtime
|
||||
# crashes.
|
||||
epatch "${FILESDIR}"/${P}-deprecated-ldap.patch
|
||||
|
||||
# Fix compilation with libpng 1.5, bug 384461
|
||||
epatch "${FILESDIR}"/${P}-libpng15.patch
|
||||
|
||||
# Add texinfo-5.1 compatibility
|
||||
epatch "${FILESDIR}"/${P}-texinfo-5.patch
|
||||
|
||||
# Some binaries and man pages are installed under suffixed names
|
||||
# to avoid collions with their GNU Emacs counterparts (see below).
|
||||
# Fix internal filename references.
|
||||
sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die
|
||||
sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die
|
||||
sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die
|
||||
|
||||
# Run autoconf. XEmacs tries to be smart by providing a stub
|
||||
# configure.ac file for autoconf 2.59 but this throws our
|
||||
# autotools eclass so it must be removed first.
|
||||
rm "${S}"/configure.ac || die
|
||||
eautoconf
|
||||
|
||||
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use X; then
|
||||
|
||||
myconf="${myconf} --with-widgets=athena"
|
||||
myconf="${myconf} --with-dialogs=athena"
|
||||
myconf="${myconf} --with-menubars=lucid"
|
||||
myconf="${myconf} --with-scrollbars=lucid"
|
||||
if use motif ; then
|
||||
myconf="--with-widgets=motif"
|
||||
myconf="${myconf} --with-dialogs=motif"
|
||||
myconf="${myconf} --with-scrollbars=motif"
|
||||
myconf="${myconf} --with-menubars=lucid"
|
||||
fi
|
||||
if use athena ; then
|
||||
myconf="--with-scrollbars=athena"
|
||||
fi
|
||||
|
||||
if use Xaw3d; then
|
||||
myconf="${myconf} --with-athena=3d"
|
||||
elif use neXt; then
|
||||
myconf="${myconf} --with-athena=next"
|
||||
else
|
||||
myconf="${myconf} --with-athena=xaw"
|
||||
fi
|
||||
|
||||
use dnd && myconf="${myconf} --with-dragndrop --with-offix"
|
||||
|
||||
myconf="${myconf} $(use_with tiff ) $(use_with png )"
|
||||
myconf="${myconf} $(use_with jpeg ) $(use_with xface )"
|
||||
else
|
||||
myconf="${myconf}
|
||||
--without-x
|
||||
--without-xpm
|
||||
--without-dragndrop
|
||||
--with-gif=no"
|
||||
fi
|
||||
|
||||
if use mule ; then
|
||||
myconf="${myconf} --with-mule"
|
||||
|
||||
if use xim ; then
|
||||
if use motif ; then
|
||||
myconf="${myconf} --with-xim=motif"
|
||||
else
|
||||
myconf="${myconf} --with-xim=xlib"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --with-xim=no"
|
||||
fi
|
||||
|
||||
myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )"
|
||||
fi
|
||||
|
||||
# This determines the type of sounds we are playing
|
||||
local soundconf="native"
|
||||
|
||||
# This determines how these sounds should be played
|
||||
use nas && soundconf="${soundconf},nas"
|
||||
|
||||
myconf="${myconf} --with-sound=${soundconf}"
|
||||
|
||||
if use gdbm || use berkdb ; then
|
||||
use gdbm && mydb="gdbm"
|
||||
|
||||
use berkdb && mydb="${mydb},berkdb"
|
||||
|
||||
myconf="${myconf} --with-database=${mydb}"
|
||||
else
|
||||
myconf="${myconf} --without-database"
|
||||
fi
|
||||
|
||||
# fixes #21264, this should be fixed in 21.4.21 and has been fixed
|
||||
# in 21.5 for sure. Now that 21.4.21 is out there is no real
|
||||
# evidence that this indeed got fixed, so keep these exceptions
|
||||
# for now.
|
||||
use alpha && myconf="${myconf} --with-system-malloc"
|
||||
use ppc64 && myconf="${myconf} --with-system-malloc"
|
||||
use ia64 && myconf="${myconf} --with-system-malloc"
|
||||
|
||||
# Enabling modules will cause segfaults outside the XEmacs build directory
|
||||
use ia64 && myconf="${myconf} --without-modules"
|
||||
|
||||
einfo "${myconf}"
|
||||
|
||||
# Don't use econf because it uses options which this configure
|
||||
# script does not understand (like --host).
|
||||
./configure ${myconf} ${EXTRA_ECONF} \
|
||||
$(use_with gif ) \
|
||||
$(use_with gpm ) \
|
||||
$(use_with postgres postgresql ) \
|
||||
$(use_with ldap ) \
|
||||
$(use_with eolconv file-coding ) \
|
||||
$(use_with pop ) \
|
||||
--compiler=$(tc-getCC) \
|
||||
--prefix=/usr \
|
||||
--with-ncurses \
|
||||
--with-msw=no \
|
||||
--mail-locking=flock \
|
||||
--with-site-lisp=yes \
|
||||
--with-site-modules=yes \
|
||||
|| die "The configure script failed to run properly"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}"/usr \
|
||||
mandir="${D}"/usr/share/man/man1 \
|
||||
infodir="${D}"/usr/share/info \
|
||||
install gzip-el || die "emake install failed"
|
||||
|
||||
# Rename some applications installed in bin so that it is clear
|
||||
# which application installed them and so that conflicting
|
||||
# packages (emacs) can't clobber the actual applications.
|
||||
# Addresses bug #62991.
|
||||
for i in b2m ctags etags rcs-checkin gnuclient gnudoit gnuattach; do
|
||||
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
|
||||
done
|
||||
|
||||
# rename man pages
|
||||
for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do
|
||||
mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
|
||||
done
|
||||
|
||||
# install base packages directories
|
||||
dodir /usr/lib/xemacs/xemacs-packages/
|
||||
dodir /usr/lib/xemacs/site-packages/
|
||||
dodir /usr/lib/xemacs/site-modules/
|
||||
dodir /usr/lib/xemacs/site-lisp/
|
||||
|
||||
if use mule;
|
||||
then
|
||||
dodir /usr/lib/xemacs/mule-packages
|
||||
fi
|
||||
|
||||
# remove extraneous info files
|
||||
cd "${D}"/usr/share/info
|
||||
rm -f dir info.info texinfo* termcap* standards*
|
||||
|
||||
cd "${S}"
|
||||
dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README*
|
||||
dodoc "${FILESDIR}"/README.Gentoo
|
||||
|
||||
newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
|
||||
|
||||
domenu "${FILESDIR}"/${PN}.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect emacs update ifunset
|
||||
eselect gnuclient update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect emacs update ifunset
|
||||
eselect gnuclient update ifunset
|
||||
}
|
@ -0,0 +1,442 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.2.9.ebuild,v 1.1 2014/10/21 18:27:48 tamiko Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#BACKPORTS=062ad8b2
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit eutils user autotools linux-info systemd readme.gentoo
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit +qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc \
|
||||
systemd"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( !systemd? ( sys-power/pm-utils ) )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
!systemd? ( sys-power/pm-utils )
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq[script]
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt"
|
||||
|
||||
DOC_CONTENTS="For the basic networking support (bridged and routed networks)
|
||||
you don't need any extra software. For more complex network modes
|
||||
including but not limited to NATed network, you can enable the
|
||||
'virt-network' USE flag.\n\n
|
||||
If you are using dnsmasq on your system, you will have
|
||||
to configure /etc/dnsmasq.conf to enable the following settings:\n\n
|
||||
bind-interfaces\n
|
||||
interface or except-interface\n\n
|
||||
Otherwise you might have issues with your existing DNS server."
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
~CGROUP_PERF
|
||||
~BLK_CGROUP
|
||||
~NET_CLS_CGROUP
|
||||
~CGROUP_NET_PRIO
|
||||
~CPUSETS
|
||||
~RESOURCE_COUNTERS
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~USER_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
"
|
||||
|
||||
BWLMT_CONFIG_CHECK="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_SFQ
|
||||
~NET_SCH_INGRESS
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_ACT_POLICE
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK=" ~MACVTAP"
|
||||
|
||||
LVM_CONFIG_CHECK=" ~BLK_DEV_DM ~DM_SNAPSHOT ~DM_MULTIPATH"
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
use lvm && CONFIG_CHECK+="${LVM_CONFIG_CHECK}"
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP_CONFIG_CHECK}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="${BWLMT_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r13" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
myconf="${myconf} $(use_with fuse)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
myconf="${myconf} --without-wireshark-dissector"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# systemd unit files
|
||||
use systemd && myconf="${myconf} --with-init-script=systemd"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF} \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/examples \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
newinitd "${FILESDIR}/virtlockd.init" virtlockd || die
|
||||
|
||||
keepdir /var/lib/libvirt/{boot,images,network}
|
||||
use qemu && keepdir /var/{cache,lib,log}/libvirt/qemu
|
||||
use lxc && keepdir /var/{cache,lib,log}/libvirt/lxc
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
dodir /etc/sysctl.d
|
||||
mv "${D}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/devtodo-0.1.20-r2.ebuild,v 1.1 2014/10/22 07:27:04 jlec Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
inherit autotools-utils bash-completion-r1 eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A nice command line todo list for developers"
|
||||
HOMEPAGE="http://swapoff.org/DevTodo"
|
||||
SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/ncurses-5.2
|
||||
>=sys-libs/readline-4.1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog QuickStart README doc/scripts.sh doc/scripts.tcsh doc/todorc.example )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gentoo.diff"
|
||||
"${FILESDIR}/${P}-gcc43.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix regex.h issue on case-insensitive file-systems #332235
|
||||
sed \
|
||||
-e 's/Regex.h/DTRegex.h/' \
|
||||
-i util/Lexer.h util/Makefile.{am,in} util/Regex.cc || die
|
||||
mv util/{,DT}Regex.h || die
|
||||
|
||||
sed \
|
||||
-e "/^LIBS/s:$: $($(tc-getPKG_CONFIG) --libs ncursesw):g" \
|
||||
-i src/Makefile.am || die
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
replace-flags -O[23] -O1
|
||||
|
||||
local myeconfargs=(
|
||||
--sysconfdir="${EPREFIX}/etc/devtodo"
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
newbashcomp contrib/${PN}.bash-completion ${PN}
|
||||
rm contrib/${PN}.bash-completion || die 'rm failed'
|
||||
|
||||
bashcomp_alias devtodo tda tdd tde tdr todo
|
||||
|
||||
dodoc -r contrib
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Because of a conflict with app-misc/tdl, the tdl symbolic link"
|
||||
elog "and manual page have been removed."
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST xapian-omega-1.2.13.tar.gz 627177 SHA256 ae35e37f3fddf1330004f41531b9c8be447c95f9bb8b2f135541a78c2c816d34 SHA512 2104c3b6f2d6fb12e70c9f62a4aaec808efd79a9067a1b0dda97f4d0b207f98028284436f0120d535b244f5f942428c8291be08cedb27b1a3a4c436fa8a1aa1a WHIRLPOOL 7825186ac6c87cbd829f5fd0b0bb4da7ce9f11f652451672db6c697b6f28967abb0b15ec9703ddd549b2ac75c58ea6e4895ddbcafa08c79ae4d999587231da11
|
||||
DIST xapian-omega-1.2.14.tar.gz 627479 SHA256 dd8662cd5c941ffe936d18ae6971dd6bb1abb539b4f8719b93e85c9fc034e412 SHA512 fcebcf6954b55b9ef2ba6e11d37a8e0fd42da84ccdb31c1ca2e887119a4071bfde4a44e170d9123132b00c4a3e813e60dbd55bf8c4aca5a5409d6bd50c34d13f WHIRLPOOL 4c0b42fd0e8a3d36bd82ab55150ee5a2eaeb9d05ca78b20885bbc7d67c64327ca0a148b8379858eafa3463ff194c74aab39e35497380d6fc1cff658bf78aee43
|
||||
DIST xapian-omega-1.2.15.tar.gz 627733 SHA256 3c51bbce59e8d18459983e10046183f42eb5ee79b5143ea612c27f1cd6338b9d SHA512 f14331e05b84318380017853a14331db6e3a0dccf902ba8740e4b87f2ae75cdd4574af29c5b5cd949d1bdcc0ef2d555912be3f9106d3b5c36ac22b5b44e81838 WHIRLPOOL 905128dc233ca646468e82e675964aa384035bad2779386ec8a017ff52c7c3cb67d7636c7f010986a1af8c1635f64910c9c297a5e0feda7dd4ef57b9815fe5f7
|
||||
DIST xapian-omega-1.2.16.tar.xz 417224 SHA256 63df364780b3c5dd0242dccc6d1dc5059292077cc1e2746f38d5f3695ab7fabe SHA512 ad6bcb11c83b048e33a6665603c11d2e3c7358bf13b3d1dca8c20c105f0238e2e4fb56f3f944e1aa19d7159068596e0ec0f348bb10fbde5f187902a0d65638bb WHIRLPOOL fc12ed050932cf755be3ad03b747fbc6bce68bc9254fc45fcc67fa6eaa7a3d4e8d56a82282b8b18be3e9b51f38a8cdc68ca631b6e0cb89f39724f78c50e14a2b
|
||||
DIST xapian-omega-1.2.17.tar.xz 417900 SHA256 0e1b7a41df61d0953159f9fe27ff0c9a584a94c6a7b039f19c07b5454ac8118c SHA512 05a316e20b753308b1beb9b2d1d7a33b93c6f8dfe218d6dfb49496d4cdbc6c5a8cd4a1e8c1402d5eedeadc0c47c77e03ba7b32c46ae7c55463142b02b8cd70f0 WHIRLPOOL 0cd9c521670c5e2043b4929f16b3c4e23b86bc34d440ded458ee3fc343e67dd5059cb79012e4cb7f424f00f4e8f598915354f2c56067b846a72de7e85d2e0ca1
|
||||
DIST xapian-omega-1.2.18.tar.xz 419784 SHA256 528feb8021a52ab06c7833cb9ebacefdb782f036e99e7ed5342046c3a82380c2 SHA512 f22baa0d58a72991404ab7db8dab3ea700d6f4b779641d72f52d2c03633139ec654bd64b59e0a0e7cf603f3ee6e1ff28751aeab2282baf234ee9111a9dbb7533 WHIRLPOOL 8d33d6d9e44bfbc674b1a0a034b6f79b2292249d559e9e7d3e9ddd5b924d9f669784b3dc390429dd6aa53ac3dde946ececc2a82a2b7a62e47713e15d1af708de
|
||||
DIST xapian-omega-1.2.19.tar.xz 419804 SHA256 ca0a9afe2d1ced933408fc0b089c96cd55f90d7b06ae9708eb84294cd77e35ed SHA512 95be43eb25c7da59db7c396879a1bc35df70f0412a66d56c8ef1bc90d7f5930bc8e83fc5e1b3bc8a791fa92ea6e705fb0df5833265f4e95cd8bcce49dda7c976 WHIRLPOOL 101c34c2603d1287685a642b2d9be2aa1eb2779161b1f662f0ba7f91563b319eb0b0dd6def688122df991e56b6fe491cfec5ed93c10ee205948c5885c0d83f2f
|
||||
DIST xapian-omega-1.3.1.tar.gz 649601 SHA256 66295583349d4bf21758df06b17806c74bf8d64ad0723260080520caadbf1ea1 SHA512 d4f9af3f0407d0e7ad817ab08191308616df4dba04e7895d8dc032423bc32371c2583e97e43dee0180de890717ed1b41db467415a7d999982af73589f1de07c2 WHIRLPOOL b712f46f15f40db31181ac8668245a23ce82e9940aa4cac14d82f6ac8722b0b806cc6a5170e6e7cced7ccd22161453005140bcbfee31e5fb4b3bb9ea2cf8e0e3
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/xapian-omega/xapian-omega-1.2.13.ebuild,v 1.6 2013/03/14 06:59:51 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="An application built on Xapian, consisting of indexers and a CGI search frontend"
|
||||
SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-omega-${PV}.tar.gz"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
S="${WORKDIR}/xapian-omega-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~mips ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/xapian-${PV}
|
||||
dev-lang/perl
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
#move docs to /usr/share/doc/${PF}.
|
||||
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
|
||||
}
|
@ -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/app-text/xapian-omega/xapian-omega-1.2.15.ebuild,v 1.1 2014/01/31 12:35:28 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="An application built on Xapian, consisting of indexers and a CGI search frontend"
|
||||
SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-omega-${PV}.tar.gz"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
S="${WORKDIR}/xapian-omega-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/xapian-${PV}
|
||||
dev-lang/perl
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
#move docs to /usr/share/doc/${PF}.
|
||||
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/xapian-omega/xapian-omega-1.2.16.ebuild,v 1.1 2014/01/31 12:35:28 blueness Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/xapian-omega/xapian-omega-1.2.19.ebuild,v 1.1 2014/10/21 20:49:51 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -1 +1,2 @@
|
||||
DIST innotop-1.9.0.tar.gz 143179 SHA256 bc2669ea88fb728c6c4ed9c695c4d0b7b9ae5df0f158ef23e8853694bf4f240a SHA512 a3fe26b7e9e4a4608f6ef68e8cfefca080fd5799cc7780ffadd0b6bd0a0cfd035561bf6c10436f556b8fc79726304cae408343a231a57d02c74e3bd29b941a17 WHIRLPOOL 76226828f8c91608b03d49802cc082a77b552f7a482ab2186e71a4f9fb56662d17d4ee04c5187df78ca68a733ca4a710b3d6156e0b028375576c8abb9b7effd8
|
||||
DIST innotop-1.9.1.tar.gz 147677 SHA256 117e5af58a83af79b6cf99877b25b1479197597be5a7d51b245a0ad9c69f4d3d SHA512 5c19891fc8df2cbf15f0df1af68501624ccb9d79c22a786e3a5fa4aa527be964392131da095a529f628c50528b196070f35009a49c9a87ae9f8bb2f4062e5ab5 WHIRLPOOL b06b4c720333f433408d3f97355ad319aa3897bffa3f71da18462eb74e1d2065a60a0e91f55c26f37bb624530e18cf3e9acf4fdf7bb245e8555987eab3dee617
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/innotop/innotop-1.9.1.ebuild,v 1.1 2014/10/21 20:20:54 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="innotop - A text-mode MySQL and InnoDB monitor like mytop, but with many more features"
|
||||
HOMEPAGE="http://code.google.com/p/innotop/"
|
||||
SRC_URI="http://innotop.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-perl/DBD-mysql
|
||||
dev-perl/TermReadKey
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-HiRes"
|
||||
SRC_TEST="do"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST mysql-extras-20140817-2331Z.tar.bz2 1494554 SHA256 c2e338b4e6933d87696cf8c15b5c17e41c0227c05cb123ef2c84e78f26b04b0a SHA512 40a181eabbc112d0408883cf280cc14fc694d971601c35c34b8d6bde6f931aab3f909952676a23457773a5d015f17d57d7b409818ff8569a4b8977638ed80456 WHIRLPOOL 24d74c5be9514b59b18673777aa24f358c7ce4f2daddf23598eb910ca05baa22631849c406c581a864ebd0836b56a7f5ff69bf7377c2dae9d21e96c670ed0e3e
|
||||
DIST percona-server-5.6.20-68.0.tar.gz 33900890 SHA256 68621fdb9cc195309e8d56eacedd9a8b97c86bdd1a6f0f2d8e300816a1a1d7cd SHA512 cf0c52967d5645f3e4bc3b5e2ef2158c94461dbcd21c08cc6027845ac4a46201642db59085dc487111db98539088c3c920c121673452af5e7aca6ae0b89370ff WHIRLPOOL 582ebbd4c6a633ef895936be873bb7b844515e49d5353ffc45d9814f436562595f41e22703a069688c62c186e67f585e6aac664776d83d6b169b8000aa09c85d
|
||||
DIST mysql-extras-20141021-1750Z.tar.bz2 1494527 SHA256 77ea84d3ffe7fd0dd339ef8c0431b5c20c9c8e566784af5139c7166e57bd3f33 SHA512 1d5669dc0913817ed65ebb352050f7c8501f6fe515b16c889f045167d6d6a30e355549c1e1e2fb6a15d3b02d33e3631483ca1b888cccdf33c7551c67225f7c31 WHIRLPOOL a6b79daa84dc9924ca325f025deada71bb1e819d77a406838fc2066ba7559e9885740539ff3dd01763efc7688249041514ff7b88a5690d02d6ad2b08846ad2aa
|
||||
DIST percona-server-5.6.21-69.0.tar.gz 33977181 SHA256 29a7f80bdaff21c8a803636ee90cf4d5e1c668c34341cac26424b59ff51de2bb SHA512 c0c585882def26dbb79ebf53488934b856f64916d273d81c9f48e94ee9fa5074c782c94bb3cbf1fcc78f3bc4ab4a47a9604241cb2a1ae2da4dd9a477b336b214 WHIRLPOOL f4bba72524e5255847304f73b1d520fa0bd037bd82ded8034378a13ad9dc3fe5d5cfc592e356ea09da1300b1f2b6e93466fa3850e0e1461183d25274ff379dbb
|
||||
|
@ -1,5 +1,2 @@
|
||||
DIST cabal-install-0.10.2.tar.gz 150699 SHA256 6357c8b984d193a30bb2a05e03dbd551650a0ddea17f7d1033e6564f5b7ff515 SHA512 c49627c1c4e4de73f145bae522e8e09236e9e2d703a0fc908a54856cee755e345b6bc324c85347596724bf25d78a9b3e0c56d5bb2204f306cf740594436e01cc WHIRLPOOL 895490e5fb7981da0f56a1555e7eb02571b9f6e18bb6ca9a9483cacc7e829606ca48c12890b40071c4f23b715bbef14869d035757ed66712901a5df2a877e8b5
|
||||
DIST cabal-install-0.14.0.tar.gz 193187 SHA256 f4f2b50269ff59d67b5f3d82d50f7706b6bad1117295a7c81f32bbe72add5bd8 SHA512 36bfe98c7b7c519a64cbb7e099fa434ba18b393bd591004835f80a7de450eddd58905d291e0d5eefbdfd6748eedb9bbf9ab43462e26e41741ed758d81fae2983 WHIRLPOOL 7fbbd8dc99d2b3cdd0e63f74f686189480e21200be2dd3763254bcc91531e6a64da1f74af23c8d257a17e78f15fd33cced1aec4fdd24e0fbe70cfb16f2a2df98
|
||||
DIST cabal-install-1.16.0.2.tar.gz 201232 SHA256 66dfacc9f33e668e56904072cadb8a36bd9d6522ba5464c6a36a5de7e65c5698 SHA512 3fa29de625741d243778bd7309720fe492ee83ac0d9197155d3467bae956839cde4e387bd56d6633a1723197d81cd9104198ea7ec7fe42ccc9a86a5b2ed5a1df WHIRLPOOL 4700dffed322de02c2793d04d263d9f1dd76df9cb6e551c292037f92f5d3c307185a1f236e9450e4ce3e1da7bed410d29408b3864fa2f83913147f8aa98504ee
|
||||
DIST cabal-install-1.18.0.2.tar.gz 253711 SHA256 4ca4064abc042d8ab2e872e8629e334501572568d19e95f466e31a44eef7092a SHA512 680ae8ee03d3c95caa4dfc724b11b9148d03f03addee02b83a10d9a6cb8b75719463598c9a4c461a30f9114daa6c1ec34c90dc22c5db6a851152f743dad3cde8 WHIRLPOOL 5de2a029d24e97a970cad38c9b7ad68abd0282f8d12a5c0963f8f491e5eccfe7792c183036ea03de6a42264c88d206849ac7161b4d2e7cecb2720a679019d461
|
||||
DIST cabal-install-1.18.0.3.tar.gz 254044 SHA256 81b85757944b6ee0dd30396bf5851d123894caa57979310d44943b72cdaf0140 SHA512 54c3f9970135447689360b8c185ad5e618461e2fb9dc9089f420f26ccc73d92da927dc8cf32300dd736492bf78e650d92d715b4bf17aeca736499756bc84124c WHIRLPOOL 0c7637b1bde2c3cd68b59ecb9bd2d5c51fa05f4b0d5fa43a4b8931202bb12380e020706bd44a0349dffb718a9b249e1eba493a397c539187feb4623fa304e094
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/cabal-install-0.10.2-r2.ebuild,v 1.5 2014/07/25 09:16:27 slyfox Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.13
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit haskell-cabal bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="The command-line interface for Cabal and Hackage"
|
||||
HOMEPAGE="http://www.haskell.org/cabal/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~sparc ~x86"
|
||||
IUSE="+noprefs"
|
||||
|
||||
RDEPEND=">=dev-haskell/cabal-1.10.1
|
||||
>=dev-lang/ghc-6.10.1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/http-4000.0.2 <dev-haskell/http-4000.3
|
||||
dev-haskell/network
|
||||
>=dev-haskell/random-1 <dev-haskell/random-1.1
|
||||
=dev-haskell/zlib-0.5*"
|
||||
|
||||
src_prepare() {
|
||||
if use noprefs; then
|
||||
epatch "${FILESDIR}/${PN}"-0.8-nopref.patch
|
||||
fi
|
||||
epatch "${FILESDIR}/${PN}"-0.10-ghc-7.2.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
haskell-cabal_src_install
|
||||
|
||||
newbashcomp "${S}/bash-completion/cabal" ${PN}
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/cabal-install-0.14.0.ebuild,v 1.4 2014/07/25 09:16:27 slyfox Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.17.9999
|
||||
|
||||
EAPI=4
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit haskell-cabal bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="The command-line interface for Cabal and Hackage"
|
||||
HOMEPAGE="http://www.haskell.org/cabal/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~sparc ~x86"
|
||||
IUSE="+noprefs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.14.0 <dev-haskell/cabal-1.15
|
||||
>=dev-haskell/http-4000.0.2 <dev-haskell/http-4001
|
||||
>=dev-haskell/mtl-2.0 <dev-haskell/mtl-3
|
||||
>=dev-haskell/network-1 <dev-haskell/network-3
|
||||
>=dev-haskell/random-1 <dev-haskell/random-1.1
|
||||
>=dev-haskell/zlib-0.4 <dev-haskell/zlib-0.6
|
||||
>=dev-lang/ghc-6.10.1"
|
||||
|
||||
src_prepare() {
|
||||
if use noprefs; then
|
||||
epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
haskell-cabal_src_install
|
||||
|
||||
newbashcomp "${S}/bash-completion/cabal" ${PN}
|
||||
}
|
@ -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/dev-haskell/cabal-install/cabal-install-1.16.0.2.ebuild,v 1.3 2014/07/25 09:16:27 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit haskell-cabal bash-completion-r1 eutils
|
||||
|
||||
DESCRIPTION="The command-line interface for Cabal and Hackage"
|
||||
HOMEPAGE="http://www.haskell.org/cabal/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~sparc ~x86"
|
||||
IUSE="+noprefs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.16.0
|
||||
<dev-haskell/cabal-1.18
|
||||
>=dev-haskell/http-4000.0.2
|
||||
<dev-haskell/http-4001
|
||||
>=dev-haskell/mtl-2.0
|
||||
<dev-haskell/mtl-3
|
||||
>=dev-haskell/network-1
|
||||
<dev-haskell/network-3
|
||||
>=dev-haskell/random-1
|
||||
<dev-haskell/random-1.1
|
||||
>=dev-haskell/zlib-0.4
|
||||
<dev-haskell/zlib-0.6
|
||||
>=dev-lang/ghc-6.10.4"
|
||||
src_prepare() {
|
||||
if use noprefs; then
|
||||
epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
haskell-cabal_src_install
|
||||
|
||||
newbashcomp "${S}/bash-completion/cabal" ${PN}
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/cabal-install-1.18.0.3-r1.ebuild,v 1.1 2014/10/21 22:28:24 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.6.9999
|
||||
|
||||
CABAL_FEATURES="bin test-suite"
|
||||
inherit bash-completion-r1 eutils haskell-cabal
|
||||
|
||||
DESCRIPTION="The command-line interface for Cabal and Hackage"
|
||||
HOMEPAGE="http://www.haskell.org/cabal/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="+noprefs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.18.0 <dev-haskell/cabal-1.19
|
||||
>=dev-haskell/http-4000.0.8 <dev-haskell/http-4001
|
||||
>=dev-haskell/mtl-2.0 <dev-haskell/mtl-3
|
||||
>=dev-haskell/network-1 <dev-haskell/network-3
|
||||
>=dev-haskell/random-1 <dev-haskell/random-1.1
|
||||
>=dev-haskell/stm-2.0 <dev-haskell/stm-3
|
||||
>=dev-haskell/zlib-0.5.3 <dev-haskell/zlib-0.6
|
||||
>=dev-lang/ghc-6.12.1
|
||||
test? ( dev-haskell/hunit
|
||||
>=dev-haskell/quickcheck-2.5
|
||||
dev-haskell/test-framework
|
||||
dev-haskell/test-framework-hunit
|
||||
>=dev-haskell/test-framework-quickcheck2-0.3 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if use noprefs; then
|
||||
epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
|
||||
fi
|
||||
|
||||
# no chance to link to -threaded on ppc64, alpha and others
|
||||
# who use UNREG, not only ARM
|
||||
if ! ghc-supports-threaded-runtime; then
|
||||
cabal_chdeps '-threaded' ' '
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
haskell-cabal_src_install
|
||||
|
||||
dobashcomp "${S}/bash-completion/cabal"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
diff --git a/cabal-install.cabal b/cabal-install.cabal
|
||||
index e570d60..7bfd8f6 100644
|
||||
--- a/cabal-install.cabal
|
||||
+++ b/cabal-install.cabal
|
||||
@@ -93,10 +93,10 @@ Executable cabal
|
||||
Paths_cabal_install
|
||||
|
||||
build-depends: base >= 2 && < 5,
|
||||
- Cabal >= 1.10.1 && < 1.11,
|
||||
+ Cabal >= 1.10.1 && < 1.13,
|
||||
filepath >= 1.0 && < 1.3,
|
||||
network >= 1 && < 3,
|
||||
- HTTP >= 4000.0.2 && < 4001,
|
||||
+ HTTP >= 4000.0.2 && < 4003,
|
||||
zlib >= 0.4 && < 0.6,
|
||||
time >= 1.1 && < 1.3
|
||||
|
||||
@@ -104,9 +104,9 @@ Executable cabal
|
||||
build-depends: base < 3
|
||||
else
|
||||
build-depends: base >= 3,
|
||||
- process >= 1 && < 1.1,
|
||||
+ process >= 1 && < 1.2,
|
||||
directory >= 1 && < 1.2,
|
||||
- pretty >= 1 && < 1.1,
|
||||
+ pretty >= 1 && < 1.2,
|
||||
random >= 1 && < 1.1,
|
||||
containers >= 0.1 && < 0.5,
|
||||
array >= 0.1 && < 0.4,
|
||||
@@ -121,5 +121,5 @@ Executable cabal
|
||||
build-depends: Win32 >= 2 && < 3
|
||||
cpp-options: -DWIN32
|
||||
else
|
||||
- build-depends: unix >= 1.0 && < 2.5
|
||||
+ build-depends: unix >= 1.0 && < 2.6
|
||||
extensions: CPP
|
@ -1,19 +0,0 @@
|
||||
diff -rN -u old-cabal-install-0.8/Distribution/Client/IndexUtils.hs new-cabal-install-0.8/Distribution/Client/IndexUtils.hs
|
||||
--- old-cabal-install-0.8/Distribution/Client/IndexUtils.hs 2010-06-14 22:16:58.249000098 +0300
|
||||
+++ new-cabal-install-0.8/Distribution/Client/IndexUtils.hs 2010-06-14 22:16:58.292000097 +0300
|
||||
@@ -168,10 +168,15 @@
|
||||
|
||||
extractPrefs :: Tar.Entry -> Maybe [Dependency]
|
||||
extractPrefs entry = case Tar.entryContent entry of
|
||||
+ {-
|
||||
+ -- get rid of hackage's preferred-versions
|
||||
+ -- I'd like to have bleeding-edge packages in system and I don't fear of
|
||||
+ -- broken packages with improper depends
|
||||
Tar.NormalFile content _
|
||||
| takeFileName (Tar.entryPath entry) == "preferred-versions"
|
||||
-> Just . parsePreferredVersions
|
||||
. BS.Char8.unpack $ content
|
||||
+ -}
|
||||
_ -> Nothing
|
||||
|
||||
handleNotFound action = catch action $ \e -> if isDoesNotExistError e
|
@ -1,2 +1,3 @@
|
||||
DIST cereal-0.3.5.2.tar.gz 22047 SHA256 34c2f77a9c8123d73f786e07d9d141a59b4f3f4dcde8ec5a14a554fd14dc5d7a SHA512 d77b0362757a6dda60d67e762a1509dd925d6c79d6280d73d34e2ce7f60ff0271975003e0c44cb95a4e4d72aade7833c839dad6774ac81439a703b570547bc11 WHIRLPOOL 61d893d6d5d82561397cbd40be446efac23506ace350a992051e9681541bb2f0f049a22822529cf9a113e3a1553a89225ffde237f358258b6d42696cefe14aeb
|
||||
DIST cereal-0.4.0.1.tar.gz 22305 SHA256 5b0adf19d17c902ecd9e875587601294f9fb47027a43b37f1ff0f52e171be289 SHA512 9ea997af2cd84ecbd0660b5799a2d1fd4f6e5715ff5191922b69b98eee0664fbc4e5e6f2d67af808517a3f5e85931fdef093360a1d693bb81ea9cb430be6d21f WHIRLPOOL 1ee5390bb21c762e9eb0856c27f1ad929963060a1e975934891dd0ed17011181f48a69a3cede7dafcaf9a5c14abca10e589e3e9f9d6a8e5854db45a94f81364b
|
||||
DIST cereal-0.4.1.0.tar.gz 22471 SHA256 8ba24540c8c9209f6ca0a1cc332cb393c42c774e21bf1c26b744b7959ce41154 SHA512 356ca6741a3c68d92490c8e6ac4127f9c288e5e0bce91a80ecc655f222f12217b6a424bbfc4d15a740acd4df391f0885fe368eaa2480a9856bc0a3af3fdcf17e WHIRLPOOL 2a2b4bb11cfeb48890fa51cbdf2e8d5c742ee69606e13e9e789b6ff01954a456b71bb16fe52c164322461cebaae157c8c990bd82864ad2af5eaf174d88c4454f
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cereal/cereal-0.4.1.0.ebuild,v 1.1 2014/10/21 22:19:46 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.4.3
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A binary serialization library"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/cereal"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6
|
||||
"
|
@ -0,0 +1,307 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.25.ebuild,v 1.1 2014/10/21 12:35:39 caster Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils java-vm-2 prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html"
|
||||
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html"
|
||||
|
||||
# This is a list of archs supported by this update.
|
||||
# Currently arm comes and goes.
|
||||
AT_AVAILABLE=( amd64 x86 x64-solaris sparc64-solaris x86-macos x64-macos )
|
||||
|
||||
# Sometimes some or all of the demos are missing, this is to not have to rewrite half
|
||||
# the ebuild when it happens.
|
||||
DEMOS_AVAILABLE=( amd64 x86 x64-solaris sparc64-solaris x86-macos x64-macos )
|
||||
|
||||
if [[ "$(get_version_component_range 4)" == 0 ]] ; then
|
||||
S_PV="$(get_version_component_range 1-3)"
|
||||
else
|
||||
MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
S_PV="$(get_version_component_range 1-4)"
|
||||
fi
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
|
||||
AT_amd64="jdk-${MY_PV}-linux-x64.tar.gz"
|
||||
AT_arm="jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz"
|
||||
AT_x86="jdk-${MY_PV}-linux-i586.tar.gz"
|
||||
AT_x64_solaris="jdk-${MY_PV}-solaris-x64.tar.gz"
|
||||
AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.tar.gz"
|
||||
AT_x86_macos="jdk-${MY_PV}-macosx-x64.dmg"
|
||||
AT_x64_macos="jdk-${MY_PV}-macosx-x64.dmg"
|
||||
|
||||
DEMOS_amd64="jdk-${MY_PV}-linux-x64-demos.tar.gz"
|
||||
DEMOS_arm="jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz"
|
||||
DEMOS_x86="jdk-${MY_PV}-linux-i586-demos.tar.gz"
|
||||
DEMOS_x64_solaris="jdk-${MY_PV}-solaris-x64-demos.tar.gz"
|
||||
DEMOS_sparc64_solaris="jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz"
|
||||
DEMOS_x86_macos="jdk-${MY_PV}-macosx-x86_64-demos.zip"
|
||||
DEMOS_x64_macos="jdk-${MY_PV}-macosx-x86_64-demos.zip"
|
||||
|
||||
JCE_DIR="UnlimitedJCEPolicyJDK8"
|
||||
JCE_FILE="jce_policy-8.zip"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
for d in "${AT_AVAILABLE[@]}"; do
|
||||
SRC_URI+=" ${d}? ( $(eval "echo \${$(echo AT_${d/-/_})}")"
|
||||
if has ${d} "${DEMOS_AVAILABLE[@]}"; then
|
||||
SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )"
|
||||
fi
|
||||
SRC_URI+=" )"
|
||||
done
|
||||
unset d
|
||||
SRC_URI+=" jce? ( ${JCE_FILE} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
|
||||
SLOT="1.8"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris"
|
||||
IUSE="+X alsa aqua derby doc examples +fontconfig jce nsplugin pax_kernel selinux source"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
COMMON_DEP="
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
X? ( !aqua? (
|
||||
x11-libs/libX11:0
|
||||
x11-libs/libXext:0
|
||||
x11-libs/libXi:0
|
||||
x11-libs/libXrender:0
|
||||
x11-libs/libXtst:0
|
||||
) )
|
||||
alsa? ( media-libs/alsa-lib:0 )
|
||||
doc? ( dev-java/java-sdk-docs:${SLOT} )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
!prefix? ( sys-libs/glibc:* )"
|
||||
# A PaX header isn't created by scanelf, so depend on paxctl to avoid fallback
|
||||
# marking. See bug #427642.
|
||||
DEPEND="${COMMON_DEP}
|
||||
jce? ( app-arch/unzip:0 )
|
||||
examples? ( kernel_linux? ( app-arch/unzip:0 ) )
|
||||
pax_kernel? ( sys-apps/paxctl:0 )"
|
||||
|
||||
S="${WORKDIR}/jdk"
|
||||
|
||||
check_tarballs_available() {
|
||||
local uri=$1; shift
|
||||
local dl= unavailable=
|
||||
for dl in "${@}" ; do
|
||||
[[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}"
|
||||
done
|
||||
|
||||
if [[ -n "${unavailable}" ]] ; then
|
||||
if [[ -z ${_check_tarballs_available_once} ]] ; then
|
||||
einfo
|
||||
einfo "Oracle requires you to download the needed files manually after"
|
||||
einfo "accepting their license through a javascript capable web browser."
|
||||
einfo
|
||||
_check_tarballs_available_once=1
|
||||
fi
|
||||
einfo "Download the following files:"
|
||||
for dl in ${unavailable}; do
|
||||
einfo " ${dl}"
|
||||
done
|
||||
einfo "at '${uri}'"
|
||||
einfo "and move them to '${DISTDIR}'"
|
||||
einfo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
|
||||
distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
|
||||
fi
|
||||
check_tarballs_available "${JDK_URI}" "${distfiles[@]}"
|
||||
|
||||
use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use arm ; then
|
||||
# Special case for ARM soft VS hard float.
|
||||
#if [[ ${CHOST} == *-hardfloat-* ]] ; then
|
||||
unpack jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz
|
||||
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz
|
||||
#else
|
||||
# unpack jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz
|
||||
# use examples && unpack jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz
|
||||
#fi
|
||||
use jce && unpack ${JCE_FILE}
|
||||
elif use x86-macos || use x64-macos ; then
|
||||
pushd "${T}" > /dev/null
|
||||
mkdir dmgmount
|
||||
hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg \
|
||||
-mountpoint "${T}"/dmgmount
|
||||
local update=$(get_version_component_range 4)
|
||||
[[ ${#update} == 1 ]] && update="0${update}"
|
||||
xar -xf dmgmount/JDK\ $(get_version_component_range 2)\ Update\ ${update}.pkg
|
||||
hdiutil detach "${T}"/dmgmount
|
||||
zcat jdk1${MY_PV%u*}0${update}.pkg/Payload | cpio -idv
|
||||
mv Contents/Home "${WORKDIR}"/jdk${MY_PV}
|
||||
popd > /dev/null
|
||||
else
|
||||
default
|
||||
fi
|
||||
|
||||
# Upstream is changing their versioning scheme every release around 1.8.0.*;
|
||||
# to stop having to change it over and over again, just wildcard match and
|
||||
# live a happy life instead of trying to get this new jdk1.8.0_05 to work.
|
||||
mv "${WORKDIR}"/jdk* "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use jce ; then
|
||||
mv "${WORKDIR}"/${JCE_DIR} "${S}"/jre/lib/security/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest}"
|
||||
|
||||
# Create files used as storage for system preferences.
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
if use x86 ; then
|
||||
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
|
||||
{,jre/}lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf jre/plugin/i386
|
||||
fi
|
||||
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
local arch=${ARCH};
|
||||
use x86 && arch=i386;
|
||||
if ! use nsplugin ; then
|
||||
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
|
||||
{,jre/}lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dohtml README.html
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR bin include jre lib man "${ddest}" || die
|
||||
|
||||
if use derby ; then
|
||||
cp -pPR db "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}" ; then
|
||||
cp -pPR demo sample "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use jce ; then
|
||||
dodir "${dest}"/jre/lib/security/strong-jce
|
||||
mv "${ddest}"/jre/lib/security/US_export_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
mv "${ddest}"/jre/lib/security/local_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
dosym "${dest}"/jre/lib/security/${JCE_DIR}/US_export_policy.jar \
|
||||
"${dest}"/jre/lib/security/US_export_policy.jar
|
||||
dosym "${dest}"/jre/lib/security/${JCE_DIR}/local_policy.jar \
|
||||
"${dest}"/jre/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin ; then
|
||||
install_mozilla_plugin "${dest}"/jre/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cp -p src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use !x86-macos && use !x64-macos ; then
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or
|
||||
# other slots. make_desktop_entry can't be used as ${P} would
|
||||
# end up in filename.
|
||||
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT}#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
jre/lib/desktop/applications/sun_java.desktop \
|
||||
> "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
fi
|
||||
|
||||
# Prune all fontconfig files so libfontconfig will be used and only install
|
||||
# a Gentoo specific one if fontconfig is disabled.
|
||||
# http://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/jre/lib/fontconfig.*
|
||||
if ! use fontconfig ; then
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/jre/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
fi
|
||||
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
case ${ARCH} in
|
||||
arm|ia64)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
;;
|
||||
x86)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
# limit heap size for large memory on x86 #467518
|
||||
# this is a workaround and shouldn't be needed.
|
||||
${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die
|
||||
;;
|
||||
*)
|
||||
${ddest}/bin/java -server -Xshare:dump || die
|
||||
;;
|
||||
esac
|
||||
|
||||
# Remove empty dirs we might have copied.
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
if use x86-macos || use x64-macos ; then
|
||||
# Fix miscellaneous install_name issues.
|
||||
pushd "${ddest}"/jre/lib > /dev/null || die
|
||||
local lib needed nlib npath
|
||||
for lib in \
|
||||
decora_sse glass jfx{media,webkit} \
|
||||
javafx_{font,font_t2k,iio} prism_{common,es2,sw} \
|
||||
; do
|
||||
lib=lib${lib}.dylib
|
||||
einfo "Fixing self-reference of ${lib}"
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}${dest}/jre/lib/${lib}" \
|
||||
"${lib}"
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# TODO: This reads "jdk1{5,6}", what about "jdk1{7,8}"?
|
||||
for nlib in jdk1{5,6} ; do
|
||||
install_name_tool -change \
|
||||
/usr/lib/libgcc_s_ppc64.1.dylib \
|
||||
$($(tc-getCC) -print-file-name=libgcc_s_ppc64.1.dylib) \
|
||||
"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
|
||||
install_name_tool -id \
|
||||
"${EPREFIX}${dest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib \
|
||||
"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
|
||||
done
|
||||
fi
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.2-r1.ebuild,v 1.1 2014/10/21 09:09:38 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist"
|
||||
HOMEPAGE="https://github.com/maxmind/geoip-api-c"
|
||||
SRC_URI="
|
||||
https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
|
||||
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="static-libs"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="net-misc/wget"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-api-c-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r5.sh > geoipupdate.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc AUTHORS ChangeLog README* TODO
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
keepdir /usr/share/GeoIP
|
||||
|
||||
dosbin geoipupdate.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Don't forget to run the included geoipupdate.sh or geoipupdate (from"
|
||||
elog "net-misc/geoipupdate) regularly to populate ${ROOT}/usr/share/GeoIP/"
|
||||
elog "with geo-located IP address databases."
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST xapian-bindings-1.2.13.tar.gz 1481645 SHA256 bfef8a18303a67f6fb29b09393c2f01a23f5c10a248567f92ddc5edfda5db17d SHA512 1a685d903812508a20450a491ee9aef30ba5cd14708dfdc57f197da0e2cccf01eb46a076ac3fc32834e1802f10b82f08f8a910d2cf180a11604aa68e03826033 WHIRLPOOL d3998ec885a86cf4440c2290921de6d7e738972ecf8730c70d1dd1e1dec18f24ca8130790bb488b8846209eb9579fcc0860af650db9614162cc2edea5587e874
|
||||
DIST xapian-bindings-1.2.14.tar.gz 1483276 SHA256 a55815ddff0bd5f79814b5964cc94299ecf8f7ebafea11523aa0787f6082e3d7 SHA512 943a99ed19cb0f14435321de25b28ace5c7ad60be819f54fdf86bf161f92b2d2153d92506873b2af5b514403a4b98815db7f6c14a14b37fbd60c765460eb48f0 WHIRLPOOL 845b4f60f0787eaaf039c4f583ab233fd5ac0e1ba8b2cbcdc5bc20c11038f871717da9e8abf381c5bf9b472cbbb7451d08fb74bebf6e8d4999003c020202e6e9
|
||||
DIST xapian-bindings-1.2.15.tar.gz 1484058 SHA256 89d30cbd38dcfb9d9e0fccc8e4ba7d6452ffad45afb3f1e9614a3be0a3a33e77 SHA512 b3733308f0446fa041dcae677b3d3316bd8e775fcd1a1770ca2fab5b60e40463bbbce210cb1161161f6e9f1ff5e5473d38c2dab922b7f4f2705ac165d991c0ec WHIRLPOOL fdc4a07a487c339faa1d8837ea19c37f9f298b90657312b135f727b9fcf3984b149341cbf96c2ea16f54839b93b7677becb65452619b79e71a5204dcb660265d
|
||||
DIST xapian-bindings-1.2.16.tar.xz 825868 SHA256 e87ddcd70a5044565e631fb334155f7d66a3b7b491a94a22aa1db2aa0d26af6c SHA512 2c92986d7f678cc17c0608a29ee893bdd3c6a1b00aed12394df32c46311663f8851e7c82685cf43ff7071869dd46f129b47f16f21ce0fae992d07e5780b93286 WHIRLPOOL ccb4ce580188e2a73e2810fdeb125d15aff8feee8cb57a73a00f1f4ff54273496b11dd1add1cddd445dc65179e60b96aae0e3b5e2a0d29626dbc897b3669b48f
|
||||
DIST xapian-bindings-1.2.17.tar.xz 827160 SHA256 54ad5d818fa7d6558acbf517a04c78db9fb4c90103eda0a0f9fe9a864683f80a SHA512 4c8348ece62b57c4442e8cb16282b7da2a8ebecaf99eefbb263795c1451f1395c2073ea311df0159e74a4d52029682034926526b17554627cf8e286f328f36a7 WHIRLPOOL dac2c3ff137cb778a2942009f45013cc5eff8d8564b1ed582f4ac6d6e596550853fe5e9362e75dfcf5acda61f71879d9ebfd0f787fd761cb1e065b86e48232a7
|
||||
DIST xapian-bindings-1.2.18.tar.xz 828232 SHA256 e0c13d4a15d310c309f03dc8a8edfb9f99c0876ea5c1b1261c38988126cfecf7 SHA512 c0c417130bfaa3f059a003cacaa129662b216704d2f4bdfd997e1d2c0d74a77385f9f79b6ed5e3fb63b5217f78ebd43826fbee9c00f81264089728a02cffbd30 WHIRLPOOL a2a0f7312a40c5225c34eda85ce4194f69080f453f2b369ce24e154656692dff0af4022aded93b57bfe2ca1fb5b4ad3dd24f6baf60d3fe19e99a9ea1594d07a5
|
||||
DIST xapian-bindings-1.2.19.tar.xz 828904 SHA256 3b9434c6144cc347783175c92829f304e86919bbbd44f51b7b4a7148960cde17 SHA512 ac72ec35ae3b767e04e848a9782b41d74e99b6b1f795d5096373911ff549b3bf2e602a91ed0e5f7dce2e43e1dd308af710719e5a80c6a179393aac4af316de30 WHIRLPOOL 33770203390fea6f6048ebdc63cb7031f53a30be3568e3f3f6f8a25f8aa30a284347b402e360c0c2182069e3f6dab067fc5f6cd2b950f45e196afe057e4d80e3
|
||||
DIST xapian-bindings-1.3.1.tar.gz 1562988 SHA256 5c18ce77b08d2fcc738dadbf85448239d714aad27a0833436e32a82c2ff622c4 SHA512 e295ab93fe61e038bb5f95786f80ff36bc9cbc486c4d03e457fabc6efa97e7119411afa3aafd29786ab9237505b03c27fdb5d524fdb43db2c2f3550cd41c7396 WHIRLPOOL f76dcced799116569f5d4f6ba9245045a5fb3c8f7d64672997408fe0c11b72ef7d7ed24a1901d96777ac763d910be6bd378859dd952290bbbcae9dbe6452a2dd
|
||||
|
@ -1,180 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/xapian-bindings-1.2.13.ebuild,v 1.7 2014/10/01 18:21:56 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
USE_PHP="php5-4"
|
||||
|
||||
PHP_EXT_NAME="xapian"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_OPTIONAL_USE="php"
|
||||
|
||||
inherit java-pkg-opt-2 mono php-ext-source-r2 python
|
||||
|
||||
DESCRIPTION="SWIG and JNI bindings for Xapian"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 ~sparc x86"
|
||||
IUSE="java lua mono perl php python ruby tcl"
|
||||
REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )"
|
||||
|
||||
COMMONDEPEND="=dev-libs/xapian-${PV}*
|
||||
lua? ( >=dev-lang/lua-5.1 )
|
||||
mono? ( >=dev-lang/mono-1.0.8 )
|
||||
perl? ( dev-lang/perl )
|
||||
ruby? ( dev-lang/ruby )
|
||||
tcl? ( >=dev-lang/tcl-8.1 )"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.3 )"
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
if use java; then
|
||||
sed \
|
||||
-e 's/$(JAVAC)/$(JAVAC) $(JAVACFLAGS)/' \
|
||||
-i java{/,/org/xapian/errors/,/org/xapian/}Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
sed \
|
||||
-e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \
|
||||
-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
|
||||
-i python/Makefile.in || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use java; then
|
||||
CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)"
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
|
||||
export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
|
||||
fi
|
||||
|
||||
if use lua; then
|
||||
export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_with java) \
|
||||
$(use_with lua) \
|
||||
$(use_with mono csharp) \
|
||||
$(use_with perl) \
|
||||
$(use_with php) \
|
||||
$(use_with python) \
|
||||
$(use_with ruby) \
|
||||
$(use_with tcl)
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -e "/SUBDIRS =/s/ python//" -i Makefile || die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
VERBOSE="1" \
|
||||
check
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojar java/built/xapian_jni.jar
|
||||
# TODO: make the build system not install this...
|
||||
java-pkg_doso "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rm "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rmdir -p "${D}/${S}/java/built"
|
||||
rmdir -p "${D}/${S}/java/native"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
fi
|
||||
|
||||
if use php; then
|
||||
php-ext-source-r2_createinifiles
|
||||
fi
|
||||
|
||||
# For some USE combinations this directory is not created
|
||||
if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then
|
||||
mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS HACKING NEWS TODO README || die "dodoc failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize xapian
|
||||
fi
|
||||
|
||||
if use php_targets_php5-4; then
|
||||
ewarn "Note: subclassing Xapian classes in PHP currently doesn't work with PHP 5.4"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup xapian
|
||||
fi
|
||||
}
|
@ -1,184 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/xapian-bindings-1.2.15.ebuild,v 1.2 2014/10/01 18:21:56 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
USE_PHP="php5-4"
|
||||
|
||||
PHP_EXT_NAME="xapian"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_OPTIONAL_USE="php"
|
||||
|
||||
#mono violates sandbox, we disable it until we figure this out
|
||||
#inherit java-pkg-opt-2 mono php-ext-source-r2 python
|
||||
inherit java-pkg-opt-2 php-ext-source-r2 python
|
||||
|
||||
DESCRIPTION="SWIG and JNI bindings for Xapian"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
#IUSE="java lua mono perl php python ruby tcl"
|
||||
#REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )"
|
||||
IUSE="java lua perl php python ruby tcl"
|
||||
REQUIRED_USE="|| ( java lua perl php python ruby tcl )"
|
||||
|
||||
COMMONDEPEND="=dev-libs/xapian-${PV}*
|
||||
lua? ( >=dev-lang/lua-5.1 )
|
||||
perl? ( dev-lang/perl )
|
||||
ruby? ( dev-lang/ruby )
|
||||
tcl? ( >=dev-lang/tcl-8.1 )"
|
||||
# mono? ( >=dev-lang/mono-1.0.8 )
|
||||
DEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.3 )"
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
if use java; then
|
||||
sed \
|
||||
-e 's/$(JAVAC)/$(JAVAC) $(JAVACFLAGS)/' \
|
||||
-i java{/,/org/xapian/errors/,/org/xapian/}Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
sed \
|
||||
-e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \
|
||||
-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
|
||||
-i python/Makefile.in || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use java; then
|
||||
CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)"
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
|
||||
export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
|
||||
fi
|
||||
|
||||
if use lua; then
|
||||
export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_with java) \
|
||||
$(use_with lua) \
|
||||
$(use_with perl) \
|
||||
$(use_with php) \
|
||||
$(use_with python) \
|
||||
$(use_with ruby) \
|
||||
$(use_with tcl)
|
||||
# $(use_with mono csharp) \
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -e "/SUBDIRS =/s/ python//" -i Makefile || die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
VERBOSE="1" \
|
||||
check
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojar java/built/xapian_jni.jar
|
||||
# TODO: make the build system not install this...
|
||||
java-pkg_doso "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rm "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rmdir -p "${D}/${S}/java/built"
|
||||
rmdir -p "${D}/${S}/java/native"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
fi
|
||||
|
||||
if use php; then
|
||||
php-ext-source-r2_createinifiles
|
||||
fi
|
||||
|
||||
# For some USE combinations this directory is not created
|
||||
if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then
|
||||
mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS HACKING NEWS TODO README || die "dodoc failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize xapian
|
||||
fi
|
||||
|
||||
if use php_targets_php5-4; then
|
||||
ewarn "Note: subclassing Xapian classes in PHP currently doesn't work with PHP 5.4"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup xapian
|
||||
fi
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST xapian-core-1.2.13.tar.gz 4152442 SHA256 8829ca8ebb4ab97129b8a237541f6aa62a3f4dc1fcd503bf0e6e9c1cb905fccc SHA512 5c6045e9bb5cd782e99a3edf2be20de9c69ade7c4e2da4d6e10055c6c876c5f5ad80b2533805d42b70d48cce6797358926d076ae23e31beff481f542a3e4e9ac WHIRLPOOL 9ea9094af77adbf6bd7112a6ac1f8898174aeab12c06828e1cebbb8f9f0fe22ea0582c996132ed41575989c0d78ac967e921fe5c07f58910894e8f8f57eb2601
|
||||
DIST xapian-core-1.2.14.tar.gz 4154881 SHA256 daec6292b595b57e3ab48f44a1d1643866545bf494da8b9d3b9955e059b236a9 SHA512 7546b80de8b1ffb070456e4f02babd538cdffb8785bc335a9939b59de4a597a8e5998132f40420f762da6c2c7f4c8d038187434d792e02a2299fb0695f1c5e8d WHIRLPOOL 1f3328dcdb3576456858417ceac18196726aa1bdfaa341efb3aa39f443e15770f36da0bf9fc9a4270e7043d64989bd0dd56708fee5dd91056d68c66350b324c6
|
||||
DIST xapian-core-1.2.15.tar.gz 4158987 SHA256 cde4f5d1b111b66643fa41c11b9e5962bff7ce7244ca34cbbcbd2d2caa0c4df0 SHA512 65e34adaf145648b1eca9a9fc189237dba217813154fdaa3a355328837c73306d9a4ab61cd9650651390c80c291dfd2378aec3310623add4eace38168d835f4a WHIRLPOOL 08c5b4462b3ff65281f3ed59df3b2a0410fb50905b2eeb0e717acbdd67784ddd8b284a043c600d13bb0518d73ad6b4c60b6b0eb5c458760c046c63b58d8755b7
|
||||
DIST xapian-core-1.2.16.tar.xz 3039524 SHA256 f4ecef14297136e498f55670df9b80800244bc21abb8e01d5f9dab65a1fae9b9 SHA512 f72d267e24daa0d4267c5b3153e760772f45e481b3bd75bd5640a5f02861aab1d2b76af6645966d708b1470163355afa647d01d04a420dc46883d8bbbdb85e02 WHIRLPOOL e4f196546fe4c5dd50302ec6c65aba7fe71051feaba34484b01c0f762908b84cdc624dfa1882d146f78d8930e58f26d1574a04309de954161a8dc3e1b0db31ba
|
||||
DIST xapian-core-1.2.17.tar.xz 3165256 SHA256 e79d45b0f30e62cfe51294a731291b903d9b33fc82ac2b26ab710866002cc6de SHA512 6c5395274291a8d13ec8a34c733d658301b2a6aee259135b50e91c8539a3b41c7f9d9df024ea718961ee3ed8ddd920f68a997dd021a0b3b449652c0ad6987851 WHIRLPOOL 0daffafa1359c4aad4fc050e8b8ebd4d118099d3e27898e40f2d0801819559e6f429713f8758c0edf46368bd3c92f3d3ffc32785f531e1cce59c2421206e7664
|
||||
DIST xapian-core-1.2.18.tar.xz 3173496 SHA256 762c62d905608b8e411511f43ede84c52c49a94822d32d86c7b975fefb30209a SHA512 088284e628d834ed4d5365ca002b7885a5011b08c8b4e0d5805e3201110e9cb7acc2936b95fba0767c9f1d9c65da59a99cbc523ed145533695e484ab94764e62 WHIRLPOOL 4b41f1bb31945c7858c8dd8dfa93bde459ec1328102e8f2a89b6bd0e889870d95ccead680943d028537dcd768cb68accb6a09a243c722f5a8908df7254daf7ad
|
||||
DIST xapian-core-1.2.19.tar.xz 3175384 SHA256 4a78260388ff1b042f0ab5d18afdd524a530ae609690d0339990ddc147a54785 SHA512 5cd29b8c278b4fa652f947cd6689945bbe239c95425344d0fedb445bf1534198333844d91e6e59cf870043066f4dc511cd0268071916002e96bd38b59aa91c1b WHIRLPOOL 5d65982d47145addc6585b72a99494bf6d14277df2c796925fbe6284ddd08b89fbc147c1a29575d573afebb2e2f6eb6dc73d58161260404be7e5ceefe1371ffb
|
||||
DIST xapian-core-1.3.1.tar.gz 4420653 SHA256 64ee0f763e393e373f540711db02c368738efcc00c96ecb3222ac9dbc10fe30f SHA512 d3b83d97adbf18b04ef529c3fc7faab9dd8fe232f948d833aa4d082286e15b1b4c0e6739afbb3cfb4a739b5e02888f0f969d5c87150705d6b747ff62a7384e2b WHIRLPOOL 12df58cac74877829a376a3d38652ccbbabc785a12f259f37328c066be6e0e3787d960ee4b7b111a04d2f730aed140b384c240f870447d36b90fa8fc25ea82e9
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-1.2.13.ebuild,v 1.6 2013/02/15 22:02:33 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_P="${PN}-core-${PV}"
|
||||
|
||||
DESCRIPTION="Xapian Probabilistic Information Retrieval library"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 ~sparc x86"
|
||||
IUSE="doc static-libs -sse +sse2 +brass +chert +inmemory"
|
||||
|
||||
DEPEND="sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
ewarn
|
||||
if use sse2; then
|
||||
ewarn "Using sse2"
|
||||
myconf="${myconf} --enable-sse=sse2"
|
||||
else
|
||||
if use sse; then
|
||||
ewarn "Using sse"
|
||||
myconf="${myconf} --enable-sse=sse"
|
||||
else
|
||||
ewarn "Disabling sse and sse2"
|
||||
myconf="${myconf} --disable-sse"
|
||||
fi
|
||||
fi
|
||||
ewarn
|
||||
|
||||
myconf="${myconf} $(use_enable static-libs static)"
|
||||
|
||||
use brass || myconf="${myconf} --disable-backend-brass"
|
||||
use chert || myconf="${myconf} --disable-backend-chert"
|
||||
use inmemory || myconf="${myconf} --disable-backend-inmemory"
|
||||
|
||||
myconf="${myconf} --enable-backend-flint --enable-backend-remote"
|
||||
|
||||
econf $myconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
mv "${D}usr/share/doc/xapian-core" "${D}usr/share/doc/${PF}"
|
||||
use doc || rm -rf "${D}usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS HACKING PLATFORMS README NEWS
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check VALGRIND=
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-1.2.15.ebuild,v 1.1 2013/08/12 11:56:55 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P="${PN}-core-${PV}"
|
||||
|
||||
DESCRIPTION="Xapian Probabilistic Information Retrieval library"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc static-libs -sse +sse2 +brass +chert +inmemory"
|
||||
|
||||
DEPEND="sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
ewarn
|
||||
if use sse2; then
|
||||
ewarn "Using sse2"
|
||||
myconf="${myconf} --enable-sse=sse2"
|
||||
else
|
||||
if use sse; then
|
||||
ewarn "Using sse"
|
||||
myconf="${myconf} --enable-sse=sse"
|
||||
else
|
||||
ewarn "Disabling sse and sse2"
|
||||
myconf="${myconf} --disable-sse"
|
||||
fi
|
||||
fi
|
||||
ewarn
|
||||
|
||||
myconf="${myconf} $(use_enable static-libs static)"
|
||||
|
||||
use brass || myconf="${myconf} --disable-backend-brass"
|
||||
use chert || myconf="${myconf} --disable-backend-chert"
|
||||
use inmemory || myconf="${myconf} --disable-backend-inmemory"
|
||||
|
||||
myconf="${myconf} --enable-backend-flint --enable-backend-remote"
|
||||
|
||||
econf $myconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
mv "${D}usr/share/doc/xapian-core" "${D}usr/share/doc/${PF}"
|
||||
use doc || rm -rf "${D}usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS HACKING PLATFORMS README NEWS
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check VALGRIND=
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-1.2.16.ebuild,v 1.1 2013/12/05 18:36:55 blueness Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-1.2.19.ebuild,v 1.1 2014/10/21 20:44:11 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/BZ-Client/BZ-Client-1.40.0.ebuild,v 1.1 2014/10/21 23:16:06 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=JWIED
|
||||
MODULE_VERSION=1.04
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A client for the Bugzilla web services API."
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/URI
|
||||
dev-perl/XML-Writer
|
||||
dev-perl/XML-Parser
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST BZ-Client-1.04.tar.gz 23551 SHA256 302f1ea306a47c061fd843e4edd8156e823d5c9fbe1a0e1e41a70dd474e32873 SHA512 2aa1ce341db477375d465da0acc121348901d3504f3e2c235c2d6ab608014ce8255001c06021ce583ec03db99cda26902e5bc796906cb1046784de42c09d7e00 WHIRLPOOL 4c3cf40dca7a9623d2854d51a5fbd01537a02199b9257ba494130281cd720e0f04cd03251d74878739d72a14b5a1e66311fb7de41b9fcfe2642ca5f98689efc1
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Data-Serializer/Data-Serializer-0.600.0.ebuild,v 1.1 2014/10/21 23:18:09 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=NEELY
|
||||
MODULE_VERSION=0.60
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Modules that serialize data structures"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-AutoLoader
|
||||
virtual/perl-Data-Dumper
|
||||
virtual/perl-Digest-SHA
|
||||
virtual/perl-Exporter
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Module-Build
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST Data-Serializer-0.60.tar.gz 43291 SHA256 b3493017840bccb19cde57bc84d4d4183872efeadeeed3275ec21d1a02d24431 SHA512 85211d2ca5db19219f89da5300b93835866baa5e12237efa61ea82d2b841f6b5a05bca889d98878151d1f7517b2af5d9a1535e7bbcd64245936b270a82be21bb WHIRLPOOL 20679be6cdb2e5f1878306162313d7647e80c36514b00cab1a150568d85fbc279084960a2d76b07edb04383ac8de07e03d22a7ceb72c48a77762db2130f35e66
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST Math-NumberCruncher-5.00.tar.gz 82311 SHA256 481ee17c60939060509c431d1cc701a4cfae485d68de2e7d4f70d1eae1e8df0d SHA512 a147fe456a2dda62345071487aa2d3f14345ade6ae1ff98fddce6fb1f72cb9c836b0947f52c5c5abbc1535ab97f2801f27ada2fa4d1b143dc5b755f37da5f836 WHIRLPOOL 059fc9a783e83f2c4401135ec8a56d25a29f6ea2db115dd9222cd110c432f986a578b49ca196842abc82da2cc3132dac88ad0c728c82780b5b522d57942a41a7
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Math-NumberCruncher/Math-NumberCruncher-5.0.0.ebuild,v 1.1 2014/10/21 23:20:28 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_VERSION=5.00
|
||||
MODULE_AUTHOR=SIFUKURT
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Collection of useful math-related functions"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-Math-BigInt-1.470.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
</pkgmetadata>
|
@ -1,5 +1,4 @@
|
||||
DIST Search-Xapian-1.2.14.0.tar.gz 63029 SHA256 6b726d1ab9f5243be4996e03c012f6c1541fbff3b63efa811e7be494f28e6b72 SHA512 35eb0cfa3326a651476bf9bb28bf2962d95155f6b39f78655963cdd8881ef264823ac88125980bf69bf9054ca5e2653c4216d4caadcdd73b3ed6cbd3d726ed03 WHIRLPOOL e61068ec135113b6ed30b61974897db548dee436490dabb8ce0cca6436b8b8cae2c6dc251f1b359410258d03bcf98a72e7f83943755b122935403ccf90df5104
|
||||
DIST Search-Xapian-1.2.15.0.tar.gz 62852 SHA256 179223bcee0c2c8f00f690ede478a1feef34e8f16da61c77277813fde36dee68 SHA512 d48bafc42ebf9a5079a9cd7c6f6d0caaf1ff876c55c192fd66c771a2165aa4460bb4b7716749ce861b6aedf40266edddfebb48bca987215a06877d494ec55106 WHIRLPOOL aece121347a561ffbc83de249547eb4f7d20d5e8891fadf1f16adf24a0cc2614b3ed24762f4fe4cfdc2185dbb91eadcbb0263984abe29e8ffc1d3f599bce56c3
|
||||
DIST Search-Xapian-1.2.16.0.tar.gz 63023 SHA256 f60656bebecbbbba24bdd26100af490add0346127adec51c008db690903ce57f SHA512 17b2604f565b14f86b8fa6ec55e424c30e6fd96c6f0c4ba1c8bf021f140f3659dda5005b119515199fa289774255294b57fd8a4abb760dc029bc47c2c8435627 WHIRLPOOL d0709be3b033014825d4ce3421f71fac22fb7247553c1e7da340f5a39a1c6186c23d0a22815d47f8ee1748887f851a6f4151ae06472fd74331cf81afcac9767f
|
||||
DIST Search-Xapian-1.2.17.0.tar.gz 63024 SHA256 3fcdfeedf50c6758dea9924ab53bbd5c350fbeb5154028d228b36ea8033dcb7e SHA512 ec3fd03caf6c12bd0e70e1619e12babebbe0f596e3f8a8b1332dba9f477025ec99cb061a770203dd2f3775919e4643331fc1ec023d6a6dc8d28eafd004b476fb WHIRLPOOL 097a5ea796206ea639149a62813763e110940d928867131fcc6ba9005c3159c5864af45b5d1dfd110f31986c1438430566b7e9df41a639fb4e8ae310cbc89f52
|
||||
DIST Search-Xapian-1.2.18.0.tar.gz 62817 SHA256 06bb1269c1b120b0c4edac33cd0380db2f95d822da5e6387eccf35f3a2d2183a SHA512 d6b684f4c78382439bcfddd2924b3e1b062e34528c065339f2ef2722bd0135dadb9452a3167dd53186fe88c751768a5b5826255f33ff6a965b4e9fa46e3c0b1d WHIRLPOOL 215a8c0d968c060a6b14a6beb1da5c33f59cd621cad87671e9dd1f022b571ede97db366d34856a87b5cdddefa6fbbbd08b2c7fff10fd748a10688bb22177c71a
|
||||
DIST Search-Xapian-1.2.19.0.tar.gz 63667 SHA256 d9ff745bb3ace7c1c2dbcf4ad65f3e50b3744d16c0a9ee3a51fe7c6541f639c2 SHA512 78ba36f3b8157ef872330b88992012d3f553abc3f2322bbb1d0f3111681dd530e5b57e4989fef645401d19cb4d95f5d284a305c5470efc2911051d1765551a3f WHIRLPOOL 9f81480e6341f3bd65bfd243d95d5b8ecce30cb4b9c531a3dffac48f1d787259988e51a19a32af73693dbbbbba8e08865e1a116a49f9fe4f0b2fa2e78a22c0e8
|
||||
|
@ -1,36 +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/Search-Xapian/Search-Xapian-1.2.16.0.ebuild,v 1.2 2014/08/04 09:35:56 zlogene Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MODULE_AUTHOR=OLLY
|
||||
inherit perl-module toolchain-funcs versionator
|
||||
|
||||
VERSION=$(get_version_component_range 1-3)
|
||||
|
||||
SRC_URI+=" http://oligarchy.co.uk/xapian/${VERSION}/${P}.tar.gz"
|
||||
DESCRIPTION="Perl XS frontend to the Xapian C++ search library"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="~dev-libs/xapian-${VERSION}
|
||||
!dev-libs/xapian-bindings[perl]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-Module-Build"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
use examples && {
|
||||
docinto examples
|
||||
dodoc "${S}"/examples/*
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Search-Xapian/Search-Xapian-1.2.15.0.ebuild,v 1.2 2014/08/04 09:35:56 zlogene Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Search-Xapian/Search-Xapian-1.2.19.0.ebuild,v 1.1 2014/10/21 20:45:33 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -0,0 +1,32 @@
|
||||
From 1ca4589ef5a87999ec564081900bc8fdaed83c74 Mon Sep 17 00:00:00 2001
|
||||
From: Slaven Rezic <slaven@rezic.de>
|
||||
Date: Sun, 2 Mar 2014 12:10:31 +0100
|
||||
Subject: [PATCH] look also for /usr/include/freetype2/freetype.h
|
||||
|
||||
In some freetype installations (e.g. Debian/jessie) the intermediate
|
||||
"freetype" directory may be missing in the include path.
|
||||
|
||||
This should fix
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740207
|
||||
---
|
||||
myConfig | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/myConfig b/myConfig
|
||||
index 02d2ee5..3ca8144 100755
|
||||
--- a/myConfig
|
||||
+++ b/myConfig
|
||||
@@ -147,7 +147,12 @@ sub Ift
|
||||
{
|
||||
foreach (map { "$_/freetype2" } @_)
|
||||
{
|
||||
- if (-d $_ && -d "$_/freetype" && -r "$_/freetype/freetype.h")
|
||||
+ if (-r "$_/freetype.h") # location in Debian (since jessie)
|
||||
+ {
|
||||
+ print "Using -I$_ to find $_/freetype/freetype.h\n";
|
||||
+ return "-I$_";
|
||||
+ }
|
||||
+ if (-r "$_/freetype/freetype.h") # location in FreeBSD (up to version 10.0) and Debian (up to wheezy)
|
||||
{
|
||||
print "Using -I$_ to find $_/freetype/freetype.h\n";
|
||||
return "-I$_";
|
@ -0,0 +1,25 @@
|
||||
From ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b Mon Sep 17 00:00:00 2001
|
||||
From: Slaven Rezic <slaven@rezic.de>
|
||||
Date: Fri, 14 Mar 2014 16:00:05 +0100
|
||||
Subject: [PATCH] no segfaults if Tk::MainWindow::Create was called without
|
||||
args
|
||||
|
||||
However, this case never happened in real life, as this function was
|
||||
not supposed to be used directly anyway.
|
||||
---
|
||||
tkGlue.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tkGlue.c b/tkGlue.c
|
||||
index 57f0bca..ae595bf 100644
|
||||
--- a/tkGlue.c
|
||||
+++ b/tkGlue.c
|
||||
@@ -2370,7 +2370,7 @@ XS(XS_Tk__MainWindow_Create)
|
||||
STRLEN na;
|
||||
Tcl_Interp *interp = Tcl_CreateInterp();
|
||||
SV **args = &ST(0);
|
||||
- char *appName = SvPV(ST(1),na);
|
||||
+ char *appName = items >= 1 ? SvPV(ST(1),na) : "";
|
||||
int offset = args - sp;
|
||||
int code;
|
||||
if (!initialized)
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/perl-tk-804.32.0-r1.ebuild,v 1.1 2014/10/21 11:14:55 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Tk
|
||||
MODULE_AUTHOR=SREZIC
|
||||
MODULE_VERSION=804.032
|
||||
inherit multilib perl-module
|
||||
|
||||
DESCRIPTION="A Perl Module for Tk"
|
||||
|
||||
LICENSE+=" BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
media-libs/freetype
|
||||
>=media-libs/libpng-1.4
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# No test running here, requires an X server, and fails lots anyway.
|
||||
SRC_TEST="skip"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-804.31.0-xorg.patch
|
||||
"${FILESDIR}"/freetype_location.patch
|
||||
"${FILESDIR}"/mainwindow_segfaults.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
MAKEOPTS+=" -j1" #333049
|
||||
myconf=( X11ROOT=${EPREFIX}/usr XFT=1 -I${EPREFIX}/usr/include/ -l${EPREFIX}/usr/$(get_libdir) )
|
||||
mydoc="ToDo VERSIONS"
|
||||
|
||||
perl-module_src_prepare
|
||||
# fix detection logic for Prefix, bug #385621
|
||||
sed -i -e "s:/usr:${EPREFIX}/usr:g" myConfig || die
|
||||
# having this around breaks with perl-module and a case-IN-sensitive fs
|
||||
rm build_ptk || die
|
||||
|
||||
# Remove all bundled libs, fixes #488194
|
||||
local BUNDLED="PNG/libpng \
|
||||
PNG/zlib \
|
||||
JPEG/jpeg"
|
||||
for dir in ${BUNDLED}; do
|
||||
rm -r "${S}/${dir}" || die "Can't remove bundle"
|
||||
# Makefile.PL can copy files to ${S}/${dir}, so recreate them back.
|
||||
mkdir -p "${S}/${dir}" || die "Can't restore bundled dir"
|
||||
sed -i "\#^${dir}#d" "${S}"/MANIFEST || die 'Can not remove bundled libs from MANIFEST'
|
||||
done
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST behave-1.2.4.tar.gz 343050 SHA256 24542aadd9eeb3a471076f9d880a69250052153df93122d9991938db917759ec SHA512 98360202fdccaa6cdfaf70a2a658db06b8de0017fbaeb5bd8d33ae8f009444a29f9e75eab8a4b363eb7719ef10566fad5521372285f2998cfb6e3037df706a1c WHIRLPOOL 2278500709733f9715ada2e6e178d6bb32c566c8df8ae6bc8ac3400ec66e37d9a1559c58e869becc89a8861407c658f22c695416d3617d7651629a5f2eadd6b5
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/behave/behave-1.2.4.ebuild,v 1.1 2014/10/22 01:12:16 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="behaviour-driven development, Python style"
|
||||
HOMEPAGE="http://github.com/behave/behave"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
doc? (
|
||||
>=dev-python/sphinx-1.2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-cheeseshop-0.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyhamcrest-1.8[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/parse-1.6.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/parse-type-0.3.4[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "nosetests failed under ${EPYTHON}"
|
||||
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=TRUE
|
||||
|
||||
rm -f "${HOME}"/.pydistutils.cfg || die "Couldn't remove pydistutils.cfg"
|
||||
|
||||
distutils_install_for_testing
|
||||
|
||||
${TEST_DIR}/scripts/behave -f progress --junit --tags=~@xfail features/ || die "behave features failed under ${EPYTHON}"
|
||||
${TEST_DIR}/scripts/behave -f progress --junit --tags=~@xfail tools/test-features/ || die "behave test-festures failed under ${EPYTHON}"
|
||||
${TEST_DIR}/scripts/behave -f progress --junit --tags=~@xfail issue.features/ || die "behave issue.features failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( build/docs/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>alunduil@gentoo.org</email>
|
||||
<name>Alex Brandt</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST django-opensearch-0.1.1.tar.gz 15405 SHA256 caa57cf4bbb24c381f4215eda591020188b5bf1cf4652901d84c1bb1de4b8380 SHA512 7a36fa3e25432e36de3d2b86bc1bcb51fd26404049006826b1a8590cc4181a3ce8533440ed53d880cc31627bb3152dc155212d001b16f22c664a53304c3bede0 WHIRLPOOL 9cedb5ef74cf03a4bafb2b8b2e3dc105fb9497e1b1c20c92939f149babc3aec13965fd757834d4edc9cb7d2b686a089e23e2ec0fb0c043256676a5f297f9c6e2
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-opensearch/django-opensearch-0.1.1.ebuild,v 1.1 2014/10/22 04:43:35 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A django reusable application to handle opensearch.xml"
|
||||
HOMEPAGE="https://github.com/vint21h/django-opensearch"
|
||||
SRC_URI="https://github.com/vint21h/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>ercpe@gentoo.org</email>
|
||||
<name>Johann Schmitz (ercpe)</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST gmpy-1.16.zip 143811 SHA256 58eca10dfcbb68c537acf6815b9904a813da0df90936ffdd7b3cc7028e785fad SHA512 10f5088c764b844d642ab91bf2d9439cf878afd0f6fadad4912bb13abadab030ed05692c06c7391d861ebb7df54fea73a5e5afdc207e1fed4b54409a48e0c83f WHIRLPOOL 2391411d5f054d6b42f8c7dc6b159692371c26d5fa0eedfbcf2c28ca329de84e02a7c4c88284199d04152a4cde976841180d52af6371937b53db366a2e89d711
|
||||
DIST gmpy-1.17.zip 147636 SHA256 1a79118a5332b40aba6aa24b051ead3a31b9b3b9642288934da754515da8fa14 SHA512 f45b9862beffdc74e1e5840ec8ea1a7e15a31518df5e3782f247e98566d7d471fc4105e30d8c90194c714c46b77edfd944192fef6446cd6d60d1e4c304d0b029 WHIRLPOOL 9d05be1a03a3a3a95b5b084ed340751a2a82441242f62710957c838bb9ef6ee02bb9c72f288a296546a64a1013534197dc41350d71bee84c8007a322deb456a1
|
||||
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
|
||||
|
@ -1,38 +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.17.ebuild,v 1.3 2014/08/27 12:06:13 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
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"
|
||||
|
||||
DOCS=( doc/gmpydoc.txt )
|
||||
HTML_DOCS=( doc/index.html )
|
||||
|
||||
python_test() {
|
||||
if $(python_is_python3); then
|
||||
pushd test3 > /dev/null
|
||||
else
|
||||
pushd test > /dev/null
|
||||
fi
|
||||
sed \
|
||||
-e 's:_test():_test(chat=True):g' \
|
||||
-i gmpy_test.py || die
|
||||
"${EPYTHON}" gmpy_test.py || return 1
|
||||
popd > /dev/null
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# 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.4.ebuild,v 1.1 2014/10/22 10:03:39 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 )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=(
|
||||
$(usex mpir --mpir --gmp)
|
||||
)
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
export CFLAGS
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd test || die
|
||||
${PYTHON} runtests.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/libvirt-python/libvirt-python-1.2.9.ebuild,v 1.1 2014/10/21 18:35:45 tamiko Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#BACKPORTS=062ad8b2
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="http://www.libvirt.org"
|
||||
SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=app-emulation/libvirt-0.9.6:=[-python(-)]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/lxml )"
|
||||
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST path.py-6.0.zip 28120 SHA256 f1534f0c0dc7d05968e7fc22329e8efa42dd2952c3b968c32c83f4d836a88724 SHA512 d564cee7db74d70fa1ad97ebac9d2eea2dc0e138fd360a4cb366353911b72fa427721fe67240499a272c73a3ec45b531af5829482cf0baeebe7b7e61151cd11d WHIRLPOOL 36faecee969304f870c239de3d34af7ce0553157ffae1999bb97cc96f411ee3794c25dfd3d910639744006d674c771458914ab1ab30a588ad0787cb7517b8ad3
|
||||
DIST path.py-7.0.zip 33103 SHA256 4962e8e32f0ce6b32b2f219414098a1ffe8a0d133ba30c77bb90ee8c96edaf88 SHA512 ba9e0fc19e560eeabcc68e6efb33a620ff03ceccf5677a17bcccb886e6b571a790ec87a0d82e8aba8de426546f61e1e11e233db2e88eac51dd2beb681a8ebeee WHIRLPOOL 064685a4226a1e36141a0a4fb7ae73b6e00640ed41fa1cca53cbe4e1b6dcc8570207414364eecff88f6d09af79f059963fb435fa37c7a0c392626403ee76904f
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/path-py/path-py-7.0.ebuild,v 1.2 2014/10/22 04:52:38 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A module wrapper for os.path"
|
||||
HOMEPAGE="http://github.com/jaraco/path.py"
|
||||
MY_P="path.py-${PV}"
|
||||
SRC_URI="mirror://pypi/p/path.py/${MY_P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_test() {
|
||||
py.test || die "Testing failed with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-1.1.21.ebuild,v 1.23 2014/10/22 08:21:49 idella4 Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="PostgreSQL database adapter for Python"
|
||||
HOMEPAGE="http://www.initd.org/software/psycopg"
|
||||
SRC_URI="http://initd.org/pub/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha ~amd64 ~arm ia64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-python/egenix-mx-base-2.0.3
|
||||
dev-db/postgresql-base"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# fix for bug #134873
|
||||
sed -e '1245s/static //' -i cursor.c
|
||||
|
||||
sed -e 's:$(PY_MOD_DIR):$(D)&/$$mod:' -i Makefile.pre.in
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
econf \
|
||||
--with-mxdatetime-includes="$(python_get_includedir)/mx" \
|
||||
--with-postgres-includes="/usr/include/postgresql/server" || return 1
|
||||
sed -e 's:$(BLDSHARED):& $(LDFLAGS):' -i Makefile
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_src_compile OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
python_src_install
|
||||
|
||||
dodoc AUTHORS ChangeLog CREDITS README NEWS RELEASE-1.0 SUCCESS TODO
|
||||
docinto doc
|
||||
dodoc doc/python-taylor.txt doc/README
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins doc/examples/*
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.4.1.ebuild,v 1.9 2012/09/30 16:54:18 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-* *-jython"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_PN="${PN}2"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="PostgreSQL database adapter for Python"
|
||||
HOMEPAGE="http://initd.org/psycopg/ http://pypi.python.org/pypi/psycopg2"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc examples mxdatetime"
|
||||
|
||||
RDEPEND=">=dev-db/postgresql-base-8.1
|
||||
mxdatetime? ( dev-python/egenix-mx-base )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )"
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="AUTHORS doc/HACKING doc/SUCCESS"
|
||||
PYTHON_MODNAME="${PN}2"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0.12-setup.py.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.0.9-round-solaris.patch"
|
||||
|
||||
python_convert_shebangs 2 doc/src/tools/stitch_text.py
|
||||
|
||||
if use debug; then
|
||||
sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die "sed failed"
|
||||
fi
|
||||
|
||||
if use mxdatetime; then
|
||||
sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
pushd doc > /dev/null
|
||||
emake -j1 html text || die "Generation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/psycopg2.txt || die "dodoc failed"
|
||||
|
||||
pushd doc/html > /dev/null
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static || die "Installation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/* || die "Installation of examples failed"
|
||||
fi
|
||||
}
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.4.2.ebuild,v 1.9 2012/09/30 16:54:18 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-* *-jython"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_PN="${PN}2"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="PostgreSQL database adapter for Python"
|
||||
HOMEPAGE="http://initd.org/psycopg/ http://pypi.python.org/pypi/psycopg2"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc examples mxdatetime"
|
||||
|
||||
RDEPEND=">=dev-db/postgresql-base-8.1
|
||||
mxdatetime? ( dev-python/egenix-mx-base )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )"
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="AUTHORS doc/HACKING doc/SUCCESS"
|
||||
PYTHON_MODNAME="${PN}2"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-setup.py.patch"
|
||||
epatch "${FILESDIR}/${P}-begin-segfault.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.0.9-round-solaris.patch"
|
||||
|
||||
python_convert_shebangs 2 doc/src/tools/stitch_text.py
|
||||
|
||||
if use debug; then
|
||||
sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die "sed failed"
|
||||
fi
|
||||
|
||||
if use mxdatetime; then
|
||||
sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
pushd doc > /dev/null
|
||||
emake -j1 html text || die "Generation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/psycopg2.txt || die "dodoc failed"
|
||||
|
||||
pushd doc/html > /dev/null
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static || die "Installation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/* || die "Installation of examples failed"
|
||||
fi
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.4.4.ebuild,v 1.4 2012/09/30 16:54:18 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-* *-jython"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_PN="${PN}2"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="PostgreSQL database adapter for Python"
|
||||
HOMEPAGE="http://initd.org/psycopg/ http://pypi.python.org/pypi/psycopg2"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc examples mxdatetime"
|
||||
|
||||
RDEPEND=">=dev-db/postgresql-base-8.1
|
||||
mxdatetime? ( dev-python/egenix-mx-base )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )"
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="AUTHORS doc/HACKING doc/SUCCESS"
|
||||
PYTHON_MODNAME="${PN}2"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.4.2-setup.py.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.0.9-round-solaris.patch"
|
||||
|
||||
python_convert_shebangs 2 doc/src/tools/stitch_text.py
|
||||
|
||||
if use debug; then
|
||||
sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die "sed failed"
|
||||
fi
|
||||
|
||||
if use mxdatetime; then
|
||||
sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
pushd doc > /dev/null
|
||||
emake -j1 html text || die "Generation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/psycopg2.txt || die "dodoc failed"
|
||||
|
||||
pushd doc/html > /dev/null
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static || die "Installation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/* || die "Installation of examples failed"
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue