parent
766d7f59b0
commit
1bdcae7ff1
@ -1,6 +1,5 @@
|
||||
DIST httpd-2.2.24.tar.bz2 5490439 SHA256 0453f5d2d7e3b1975a1c6a8a22b6d6ff768715a3b0a89b51e5f7b5851628fad7 SHA512 e1c24535bb0ae309c249c0a6fbd390064a929d960241e5e68737744f120a88b615bd5d9065fc2f749ee664ed96621c9373576e6ca32bd189d625fcd4dc1b8f01 WHIRLPOOL b24bf388e1be29cc52341d66af00318b3a60ad6db6b4df8c6cc0abf496c4e603d3b733529d21d3d1c37dad0008cacafa8078abdff6c25cb42b3874b6e176713e
|
||||
DIST httpd-2.2.25.tar.bz2 5524905 SHA256 4bcaf3524796a514b31aa5c64ce80b0cdb484bab5735416de29d00f6d50fa65a SHA512 4750e79bdab4ca28c602a808531dfc1482e86bf425d5cb3bcb42a9ccfbbfde5bfd05e66649ea741523c96de6582f5e12facbb1e7d67257bcf78a3ed7a66f80d9 WHIRLPOOL 7ce37be9b66de24cc7259c6e8a0696b496c893933b1c5dbdff5147c279fb644b5d5fc77ed02531b0f081f0c217f684d1bcd98bac26938b23c1d7a4ec085162f6
|
||||
DIST httpd-2.2.26.tar.bz2 5390190 SHA256 af908e3dd5673f1c6f0ccc615e11d435e77517940af00e518e68ea25284b42b6 SHA512 d66bef511acfc9b0daea699c83c282a88351f6820369a6ed70c71a192a90911c6d28491d845e545a50dd394241e16e41338c054844cddcffc49af99c6208ec41 WHIRLPOOL 9ac6e8f38144b701201d87d9010a79314f331cc696660358c1cd6a27e8a712910d6cf6796156dfa2aef9aeea64d47550afc9b2afa3984afd6c8f4519d6f61744
|
||||
DIST httpd-2.4.4.tar.bz2 4780289 SHA256 92aabddeca76a4ac7330b143df1407bbf35574c7291c15172238ac598d97655c SHA512 d68789e1e585b4acf26e4e32d063fa512525f8fcc2077b1dbf573dd9f4b47667772d94bb65fefb354fbfae331e87b3fdea422a732838c86d8887eed4b3a76af0 WHIRLPOOL c2ec29a0d52ff1d674f103d0d59c0acd15b194b1102ba5078ef76b62aa959ff92adc5977e095b30c6a778cd9385f9c4ded9bfdc6ce8fba381735ca1aa84aa9f0
|
||||
DIST httpd-2.4.6.tar.bz2 4949897 SHA256 dc9f3625ebc08bea55eeb0d16e71fba656f252e6cd0aa244ee7806dc3b022fea SHA512 8ade7ec5291f07a60e279f7a73a79c11c150dbf09c9e7b059e136fcb250130aa0f381b118f84e230184b065d452d5e946df8a5766991be8cdc6e8f5d4c4bac01 WHIRLPOOL 81f036bb438afa30106a402e256d641a2687b619ef7f6ea3e4ab61f30715560e1c9dd3afa3e53c4d99c77de72f100e8a1894a5a898247c381100ceb165b8a146
|
||||
DIST httpd-2.4.7.tar.bz2 5004719 SHA256 64368d8301836815ae237f2b62d909711c896c1bd34573771e0ee5ad808ce71b SHA512 35500788e1a8b5813bbc0ee0f647ec4acb5b13c27bf5d826691487ea23ee27d4a3babea766fa70f960eb347f6e2c243d1315bb2f1aa082509e632560e7eef562 WHIRLPOOL b82065bec3d6b24ec39282f07d05e4e8ee64599679c68c2879841b359e1326ba9773f13d6c5cd5df1a1d23a641e330fcaab8b363b65eddeb1aba1733f82941c5
|
||||
DIST httpd-2.4.9.tar.bz2 4994460 SHA256 f78cc90dfa47caf3d83ad18fd6b4e85f237777c1733fc9088594b70ce2847603 SHA512 3a66302e18a2d165b3851665dc73be7d3849fc3359c1ff9dd9e2eaebf1f1d8fb89b7b0a05929d6247750bf0ed1abf9cf3c236a373b2d99635c8ca41698719c96 WHIRLPOOL 735677695d3b1497d554dd3e8d97733359140f3bb524335ab474275ca2b5546ceab8f5f3778948fabee2d152bf5b096d99b3dabb1011a4b68905c7cd5012a648
|
||||
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.4-r1.ebuild,v 1.5 2014/01/31 08:24:41 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit flag-o-matic eutils multilib
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="http://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc64-solaris ~x64-solaris"
|
||||
IUSE="ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
=dev-libs/apr-util-1*
|
||||
dev-libs/libpcre
|
||||
ssl? ( dev-libs/openssl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
# Brain dead check.
|
||||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
|
||||
|
||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
use ssl && myconf+=" --with-ssl=\"${EPREFIX}\"/usr --enable-ssl"
|
||||
|
||||
# econf overwrites the stuff from config.layout, so we have to put them into
|
||||
# our myconf line too
|
||||
econf \
|
||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules \
|
||||
--sbindir="${EPREFIX}"/usr/sbin \
|
||||
--with-perl="${EPREFIX}"/usr/bin/perl \
|
||||
--with-expat="${EPREFIX}"/usr \
|
||||
--with-z="${EPREFIX}"/usr \
|
||||
--with-apr="${EPREFIX}"/usr \
|
||||
--with-apr-util="${EPREFIX}"/usr \
|
||||
--with-pcre="${EPREFIX}"/usr \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd support || die
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd support || die
|
||||
|
||||
make DESTDIR="${D}" install
|
||||
|
||||
# install manpages
|
||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \
|
||||
"${S}"/docs/man/{htcacheclean,rotatelogs}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
pushd "${ED}"/usr/sbin/ >/dev/null
|
||||
for i in *; do
|
||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
||||
done
|
||||
popd "${ED}"/usr/sbin/ >/dev/null
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl; then
|
||||
dosym /usr/bin/ab /usr/bin/ab-ssl
|
||||
dosym /usr/bin/ab /usr/bin/ab2-ssl
|
||||
fi
|
||||
|
||||
dodoc "${S}"/CHANGES
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.6.ebuild,v 1.6 2014/01/31 08:24:41 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit flag-o-matic eutils multilib
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="http://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc64-solaris ~x64-solaris"
|
||||
IUSE="ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
=dev-libs/apr-util-1*
|
||||
dev-libs/libpcre
|
||||
ssl? ( dev-libs/openssl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
# Brain dead check.
|
||||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
|
||||
|
||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
use ssl && myconf+=" --with-ssl=\"${EPREFIX}\"/usr --enable-ssl"
|
||||
|
||||
# econf overwrites the stuff from config.layout, so we have to put them into
|
||||
# our myconf line too
|
||||
econf \
|
||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules \
|
||||
--sbindir="${EPREFIX}"/usr/sbin \
|
||||
--with-perl="${EPREFIX}"/usr/bin/perl \
|
||||
--with-expat="${EPREFIX}"/usr \
|
||||
--with-z="${EPREFIX}"/usr \
|
||||
--with-apr="${EPREFIX}"/usr \
|
||||
--with-apr-util="${EPREFIX}"/usr \
|
||||
--with-pcre="${EPREFIX}"/usr \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd support || die
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd support || die
|
||||
|
||||
make DESTDIR="${D}" install
|
||||
|
||||
# install manpages
|
||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \
|
||||
"${S}"/docs/man/{htcacheclean,rotatelogs}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
pushd "${ED}"/usr/sbin/ >/dev/null
|
||||
for i in *; do
|
||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
||||
done
|
||||
popd "${ED}"/usr/sbin/ >/dev/null
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl; then
|
||||
dosym /usr/bin/ab /usr/bin/ab-ssl
|
||||
dosym /usr/bin/ab /usr/bin/ab2-ssl
|
||||
fi
|
||||
|
||||
dodoc "${S}"/CHANGES
|
||||
}
|
@ -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-admin/sudo/sudo-1.8.10_p1.ebuild,v 1.2 2014/03/17 05:17:53 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.10_p2.ebuild,v 1.1 2014/03/18 18:37:22 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.18.ebuild,v 1.1 2014/03/18 19:19:00 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
ROOT_PN="root"
|
||||
PATCH_PV="5.34.01"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
_GIT=git-r3
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
inherit eutils multilib toolchain-funcs virtualx ${_GIT}
|
||||
|
||||
DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)"
|
||||
HOMEPAGE="http://root.cern.ch/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${ROOT_PN}"
|
||||
VIRTUALX_REQUIRED="always"
|
||||
|
||||
DEPEND="
|
||||
~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl]
|
||||
virtual/pkgconfig
|
||||
${_GIT_DEP}"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.patch
|
||||
# prefixify the configure script
|
||||
sed -i \
|
||||
-e 's:/usr:${EPREFIX}/usr:g' \
|
||||
configure || die "prefixify configure failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# we need only to setup paths here, html docs doesn't depend on USE flags
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--etcdir="${EPREFIX}"/etc/root \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
|
||||
--testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
|
||||
--with-cc=$(tc-getCC) \
|
||||
--with-cxx=$(tc-getCXX) \
|
||||
--with-f77=$(tc-getFC) \
|
||||
--with-ld=$(tc-getCXX) \
|
||||
--with-afs-shared=yes \
|
||||
--with-llvm-config="${EPREFIX}"/usr/bin/llvm-config \
|
||||
--with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \
|
||||
--nohowto
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# video drivers may want to access hardware devices
|
||||
cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
|
||||
[[ -n "${cards}" ]] && addpredict "${cards}"
|
||||
|
||||
ROOTSYS="${S}" Xemake html
|
||||
# if root.exe crashes, return code will be 0 due to gdb attach,
|
||||
# so we need to check if last html file was generated;
|
||||
# this check is volatile and can't catch crash on the last file.
|
||||
[[ -f htmldoc/timespec.html ]] || die "looks like html doc generation crashed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/doc/${PF}
|
||||
# too large data to copy
|
||||
mv htmldoc/* "${ED}usr/share/doc/${PF}/"
|
||||
docompress -x "${EPREFIX}/usr/share/doc/${PF}/"
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Wed Jan 8 16:07:03 UTC 2014
|
||||
Subject: rm -Werror
|
||||
|
||||
--- mysql-5.5.32/cmake/maintainer.cmake
|
||||
+++ mysql-5.5.32/cmake/maintainer.cmake
|
||||
@@ -18,7 +18,7 @@
|
||||
# Setup GCC (GNU C compiler) warning options.
|
||||
MACRO(SET_MYSQL_MAINTAINER_GNU_C_OPTIONS)
|
||||
SET(MY_MAINTAINER_WARNINGS
|
||||
- "-Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror")
|
||||
+ "-Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing")
|
||||
CHECK_C_COMPILER_FLAG("-Wdeclaration-after-statement"
|
||||
HAVE_DECLARATION_AFTER_STATEMENT)
|
||||
IF(HAVE_DECLARATION_AFTER_STATEMENT)
|
@ -1,3 +1 @@
|
||||
DIST libwww-perl-6.03.tar.gz 131485 SHA256 af11179badf55dc60cb83e81fac212a74bce959dc9d16d0acfc087493df996fe SHA512 1be85a3129724aee25bed7e3b80ccf66488fc9e50f095426635e8d2aaa80e29ee6a18e034d715320b9ea6f2f619c7821b3326c85426749a48a1187467acc9076 WHIRLPOOL 36f4e404419bf7a993435b4c57ae84aba839649ae11a028bb21bcd40a20e1b379b30596ad0444689148364d2e2ca352f96c9b3b3b6f7d17177ac8df7caf93bc3
|
||||
DIST libwww-perl-6.04.tar.gz 132382 SHA256 f9715e30d814e132925fdf30500595559a2016061914b0e17b025233f975227d SHA512 9ea578e6da99e4002a35ae82d1ee025caf15b3bc7e40fbe71abd7e8592036f16bd0268453dfeedc2c445d957c45ec473b1ed4a1738b644d475d65f7cbdb6927b WHIRLPOOL 3ec1423027d2704080ffc5f7db61dbcfd4c0305ddb30e8261d0072aa13c3060fe17e7cc6b29512f36fde8c6735ae75e8b6140583352fa7ab30babaadcd849913
|
||||
DIST libwww-perl-6.05.tar.gz 132505 SHA256 7b25799ff7eec18e8e4e97dc0cad7b2a5b433b50b13feb59d9179173bee78f23 SHA512 9e9272f72ab28bba1e8c0e85ed21f672e52605b3cc785c9e7d4f930439b75ce9fd43281f6e44c8fd5797404ba82f590de6cd2a6365fa2742fdc8df12a53b9014 WHIRLPOOL 584254383e91dc235b880950227757badb14049a402ac3cc3596ddaf1569a0b733a3f9317b2bd90c54c7e607f90786ed685f0dab28a24122aaad2369518cbcbc
|
||||
|
@ -1,59 +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/libwww-perl/libwww-perl-6.30.0.ebuild,v 1.9 2014/01/20 23:25:54 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=GAAS
|
||||
MODULE_VERSION=6.03
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A collection of Perl Modules for the WWW"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ssl"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/File-Listing-6.0.0
|
||||
>=dev-perl/HTTP-Cookies-6.0.0
|
||||
>=dev-perl/HTTP-Daemon-6.0.0
|
||||
>=dev-perl/HTTP-Date-6.0.0
|
||||
>=dev-perl/HTTP-Negotiate-6.0.0
|
||||
>=dev-perl/HTTP-Message-6.0.0
|
||||
>=dev-perl/LWP-MediaTypes-6.0.0
|
||||
>=dev-perl/Net-HTTP-6.0.0
|
||||
>=dev-perl/WWW-RobotRules-6.0.0
|
||||
>=virtual/perl-Digest-MD5-2.12
|
||||
dev-perl/Encode-Locale
|
||||
>=dev-perl/HTML-Parser-3.34
|
||||
>=virtual/perl-MIME-Base64-2.12
|
||||
virtual/perl-libnet
|
||||
>=dev-perl/URI-1.10
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
ssl? (
|
||||
dev-perl/LWP-Protocol-https
|
||||
)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
# Perform a check to see if the live filesystem is case-INsensitive
|
||||
# or not. If it is, the symlinks GET, POST and in particular HEAD
|
||||
# will collide with e.g. head from coreutils. While under Linux
|
||||
# having a case-INsensitive filesystem is really unusual, most Mac
|
||||
# OS X users are on it, and also Interix users deal with
|
||||
# case-INsensitivity since Windows is underneath.
|
||||
|
||||
# bash should always be there, if we can find it in capitals, we're
|
||||
# on a case-INsensitive filesystem.
|
||||
if [[ ! -f ${EROOT}/BIN/BASH ]] ; then
|
||||
dosym /usr/bin/lwp-request /usr/bin/GET
|
||||
dosym /usr/bin/lwp-request /usr/bin/POST
|
||||
dosym /usr/bin/lwp-request /usr/bin/HEAD
|
||||
fi
|
||||
}
|
||||
#SRC_TEST=do
|
@ -1,59 +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/libwww-perl/libwww-perl-6.40.0.ebuild,v 1.4 2014/01/20 23:25:54 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=GAAS
|
||||
MODULE_VERSION=6.04
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A collection of Perl Modules for the WWW"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ssl"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/File-Listing-6.0.0
|
||||
>=dev-perl/HTTP-Cookies-6.0.0
|
||||
>=dev-perl/HTTP-Daemon-6.0.0
|
||||
>=dev-perl/HTTP-Date-6.0.0
|
||||
>=dev-perl/HTTP-Negotiate-6.0.0
|
||||
>=dev-perl/HTTP-Message-6.0.0
|
||||
>=dev-perl/LWP-MediaTypes-6.0.0
|
||||
>=dev-perl/Net-HTTP-6.0.0
|
||||
>=dev-perl/WWW-RobotRules-6.0.0
|
||||
>=virtual/perl-Digest-MD5-2.12
|
||||
dev-perl/Encode-Locale
|
||||
>=dev-perl/HTML-Parser-3.34
|
||||
>=virtual/perl-MIME-Base64-2.12
|
||||
virtual/perl-libnet
|
||||
>=dev-perl/URI-1.10
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
ssl? (
|
||||
dev-perl/LWP-Protocol-https
|
||||
)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
# Perform a check to see if the live filesystem is case-INsensitive
|
||||
# or not. If it is, the symlinks GET, POST and in particular HEAD
|
||||
# will collide with e.g. head from coreutils. While under Linux
|
||||
# having a case-INsensitive filesystem is really unusual, most Mac
|
||||
# OS X users are on it, and also Interix users deal with
|
||||
# case-INsensitivity since Windows is underneath.
|
||||
|
||||
# bash should always be there, if we can find it in capitals, we're
|
||||
# on a case-INsensitive filesystem.
|
||||
if [[ ! -f ${EROOT}/BIN/BASH ]] ; then
|
||||
dosym /usr/bin/lwp-request /usr/bin/GET
|
||||
dosym /usr/bin/lwp-request /usr/bin/POST
|
||||
dosym /usr/bin/lwp-request /usr/bin/HEAD
|
||||
fi
|
||||
}
|
||||
#SRC_TEST=do
|
@ -1 +1 @@
|
||||
DIST django-social-auth-0.7.23.tar.gz 279297 SHA256 34625addad6030d3f1ecf8421daef1f2eb936725d966bd0e5d51858b03eebe07 SHA512 3aa97cb988e5b4f8c435afe211e5f489badb9c9373fe4df629423641cf9dc2ca7d5a077bb619247b80dc559e6a527787adc59c31bb8acfddf573f169bf8430d7 WHIRLPOOL 6001ceb14d58eacbf1ed37533d1c5cf8078c7fa28432e3c0eba899a4a2d2949b893be660d8360b36983938995e680f70212de1a2dacc8723b0959f3d24ccf7d4
|
||||
DIST django-social-auth-0.7.28.tar.gz 289666 SHA256 83bd23baa8011415af59bb76998697da758954204f47698073b8de51c95b20e9 SHA512 9215d8b50896553ad88029a0c89d2db6787468d657b8a34c6c120b3df8c909a42bc79fc54321c6b4dd386867e3479252976f8c0b36f211cc1270baf4b7cc4bf8 WHIRLPOOL 7a585fe7ed8e7d6addb2f4647a9314155131f68f27eefd95f067a580bbefcab21c92022a88b7e96dfefa5f5b346cfa60906557358f9d0a096b7db2f70c44c0ec
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-social-auth/django-social-auth-0.7.23.ebuild,v 1.2 2013/06/01 17:24:37 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An easy to setup social authentication/authorization mechanism for Django projects"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/django-social-auth/"
|
||||
SRC_URI="https://github.com/omab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
# Tests access and test logins to social media sites
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-python/django-1.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauth2-1.5.170[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-openid-2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/selenium-2.29.0[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-social-auth/django-social-auth-0.7.28.ebuild,v 1.1 2014/03/18 10:06:46 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An easy to setup social authentication/authorization mechanism for Django projects"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/django-social-auth/"
|
||||
SRC_URI="https://github.com/omab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
# Tests access and test logins to social media sites
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-python/django-1.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauth2-1.5.167[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-openid-2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/selenium-2.29.0[${PYTHON_USEDEP}]
|
||||
~dev-python/mock-1.0.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed d'loading in doc build
|
||||
sed -e 's:^intersphinx:_&:' -i doc/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
use examples && local EXAMPLES=( example/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,62 +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/gevent/gevent-0.13.7.ebuild,v 1.5 2012/07/17 02:10:30 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A Python networking library that uses greenlet to provide synchronous API"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/gevent/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libevent
|
||||
dev-python/greenlet"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools
|
||||
doc? ( dev-python/sphinx )"
|
||||
# test? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite]
|
||||
# dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) )
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="AUTHORS changelog.rst"
|
||||
RESTRICT="test" # long and lot's of failures
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
if use doc; then
|
||||
PYTHONPATH="$(ls -d ${S}/build-$(PYTHON -f --ABI)/lib.*)" emake html -C doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd greentest &> /dev/null
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" testrunner.py
|
||||
}
|
||||
python_execute_function testing
|
||||
popd &> /dev/null
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/_build/html/
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/*
|
||||
fi
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gevent/gevent-0.13.8.ebuild,v 1.1 2013/05/22 01:31:10 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Python networking library that uses greenlet to provide synchronous API"
|
||||
HOMEPAGE="http://gevent.org/ http://pypi.python.org/pypi/gevent/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libevent
|
||||
dev-python/greenlet[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Tests take long and fail terribly a few times.
|
||||
# It also seems that they require network access.
|
||||
RESTRICT="test"
|
||||
|
||||
python_configure_all() {
|
||||
append-flags -fno-strict-aliasing
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd greentest || die
|
||||
"${PYTHON}" testrunner.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( AUTHORS changelog.rst README.rst )
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gevent/gevent-1.0_beta2-r1.ebuild,v 1.1 2013/02/05 23:40:02 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# py2.5 needs http://pypi.python.org/pypi/ssl
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="ssl"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MY_PV=${PV/_beta/b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Python networking library that uses greenlet to provide synchronous API"
|
||||
HOMEPAGE="http://code.google.com/p/gevent/ http://pypi.python.org/pypi/gevent/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libev
|
||||
net-dns/c-ares
|
||||
dev-python/greenlet[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Tests take long and fail terribly a few times.
|
||||
# It also seems that they require network access.
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_prepare_all() {
|
||||
rm -rf {libev,c-ares}
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
append-flags -fno-strict-aliasing
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd greentest || die
|
||||
"${PYTHON}" testrunner.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc changelog.rst
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,73 +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/gevent/gevent-1.0_beta2.ebuild,v 1.3 2012/07/17 02:10:30 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.* 2.7-pypy-* *-jython"
|
||||
PYTHON_USE_WITH="ssl"
|
||||
#2.5 needs http://pypi.python.org/pypi/ssl
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_PV=${PV/_beta/b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Python networking library that uses greenlet to provide synchronous API"
|
||||
HOMEPAGE="http://code.google.com/p/gevent/ http://pypi.python.org/pypi/gevent/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libev
|
||||
net-dns/c-ares
|
||||
dev-python/greenlet"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="AUTHORS changelog.rst TODO README.rst"
|
||||
RESTRICT="test" # long and few failures
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
rm -rf {libev,c-ares}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
if use doc; then
|
||||
PYTHONPATH="$(ls -d ${S}/build-$(PYTHON -f --ABI)/lib.*)" emake html -C doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd greentest &> /dev/null
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" testrunner.py
|
||||
}
|
||||
python_execute_function testing
|
||||
popd &> /dev/null
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/_build/html/
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/*
|
||||
fi
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gevent/gevent-1.0_rc2.ebuild,v 1.2 2013/07/11 21:21:28 vincent Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# py2.5 needs http://pypi.python.org/pypi/ssl
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="ssl"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Python networking library that uses greenlet to provide synchronous API"
|
||||
HOMEPAGE="http://gevent.org/ http://pypi.python.org/pypi/gevent/"
|
||||
SRC_URI="mirror://github/SiteSupport/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libev
|
||||
net-dns/c-ares
|
||||
dev-python/greenlet[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Tests take long and fail terribly a few times.
|
||||
# It also seems that they require network access.
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_prepare_all() {
|
||||
rm -rf {libev,c-ares}
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
append-flags -fno-strict-aliasing
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd greentest || die
|
||||
"${PYTHON}" testrunner.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc changelog.rst
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,66 +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/gevent/gevent-1.0_rc3.ebuild,v 1.4 2014/02/16 20:07:41 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="ssl"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Python networking library that uses greenlet to provide synchronous API"
|
||||
HOMEPAGE="http://gevent.org/ http://pypi.python.org/pypi/gevent/"
|
||||
SRC_URI="https://github.com/surfly/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~ppc ~ppc64 x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libev
|
||||
net-dns/c-ares
|
||||
dev-python/greenlet[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Tests take long and fail terribly a few times.
|
||||
# It also seems that they require network access.
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_prepare_all() {
|
||||
rm -rf {libev,c-ares}
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
append-flags -fno-strict-aliasing
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd greentest || die
|
||||
"${PYTHON}" testrunner.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc changelog.rst
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,6 +1 @@
|
||||
DIST greenlet-0.3.1.tar.gz 39037 SHA256 63a0a9b3a59d5413741f81d021fc6c292364953ea8dddd71ac129d77b9b143da SHA512 db8c53f982e594861db5b11c89e09b9cd08e8ba47b59c1b5579d38cbae4c969389bcb1743a8a3bae18526904fb1436b8393864f92844ecde5c8a9458a909b33d WHIRLPOOL f52800d9e4b280c6164fd47af38e5984102d813717c28416e21340b5a808e22a6b32d4ad1e52070a73e27adb59ca107decf25ea056aaae23ddcf7e6efb4eeb30
|
||||
DIST greenlet-0.3.3.zip 65643 SHA256 4f39eb14a48ecbd8a685779f6fca4eb74db722c1af699894fee334b25dad8ed1 SHA512 f23450bcd6e91756b4c0bb832e4f5aeda942fb2bf58c80a34fa8e88cbc7078d8db1e756806e13812094d1e83b58af0435002278ef01af6fecb4557d65cd5a51e WHIRLPOOL 014e9e14399b7affcd15a80faa75d4d45a251e1a25cb9858e4d0dc7b5d095404be74419f16046f8082da4e0d0b361f19ebd0ce90464478ab01baa6649401cdf6
|
||||
DIST greenlet-0.3.4.zip 63158 SHA256 259ed0f34de9b0c948f42bdaffe378ea53d210d38377c6dcb0c6b728fccad1b0 SHA512 e8fc2be06d5cb1b4ea258de1ae6d63c5cc86fbba37b91552a93731d2a98158c4f659d93b9621e850a67cf1608c7ceb79467ee1b275c7de9fbc53de64bf41278a WHIRLPOOL 4029cf153bf750a4583db48971156281b7e248d950b2dcbd769e458b681c9406a6b4ee252eabdb268b8dcffe67b4899c8ff14f1a380ea71c7e7bed2f6a670ec1
|
||||
DIST greenlet-0.4.0.zip 72790 SHA256 3f52af03bf8a89045fc159c6a76d5642349b30fb41c3df1a22b12bbd3920b1ee SHA512 c072ceb83b3040448f0f7c8596aa134837fcc2ada5513b12fbeada4f5ae2ca5e4d4c5814c317a9270e4a0a65a02e2525dce7edad678978782013da7caa188d19 WHIRLPOOL 4d813b3f4bd0063bae330d83bb041e4ce23862006583dee2c497019ec7bffc076a2da708291270539be116abf659ef3736599daa55a44e716dea1becd999c1f5
|
||||
DIST greenlet-0.4.1.zip 75749 SHA256 ea671592f8460541286b133ed46a6cf5311a6b75051cc31b53e2bc38992b775a SHA512 bb33db07b8b86ba8ccec920748cfc207d27eed0b76218cf06c3b1706a1e9350be62a99a92e05c8e683a7c3ab1e232dbb46259380c7e5f2c6b140a3a96a36f8bf WHIRLPOOL f82e63dea1ffe38661f77adb1cfdc183ae8b48fec6007c636cec8ab42e3aa2286bb170a216ca30fe0f22f9b804f150f5ee24c96c8d6897ec245989e8deacfdfd
|
||||
DIST greenlet-0.4.2.zip 74404 SHA256 b160e556a22e16bae3f3f63ffce7898682c803cd896457192f7b54fe74fe991e SHA512 9596b740921e4a80bcb43adb725a7a4ea428dadc10ba55f8840837ba685b010c273a4a2bd62c5ba4bfdf27ce87c914a83714d762bacafb8e0a3cd7e2a9675992 WHIRLPOOL d65f1e30afb19d305ce3da884846e8f9f3e0222e02bff90f88f606dc0cc797efcab583069cf99be5b05520e0d98299319fef45bfd696050fc898868d233c23dd
|
||||
|
@ -1,50 +0,0 @@
|
||||
https://bitbucket.org/ambroff/greenlet/changeset/f61fffb6feeb
|
||||
|
||||
--- greenlet.c
|
||||
+++ greenlet.c
|
||||
@@ -1267,7 +1267,11 @@
|
||||
_PyGreenlet_API[PyGreenlet_SetParent_NUM] =
|
||||
(void *) PyGreenlet_SetParent;
|
||||
|
||||
+#ifdef GREENLET_USE_PYCAPSULE
|
||||
+ c_api_object = PyCapsule_New((void *) _PyGreenlet_API, "greenlet._C_API", NULL);
|
||||
+#else
|
||||
c_api_object = PyCObject_FromVoidPtr((void *) _PyGreenlet_API, NULL);
|
||||
+#endif
|
||||
if (c_api_object != NULL)
|
||||
{
|
||||
PyModule_AddObject(m, "_C_API", c_api_object);
|
||||
--- greenlet.h
|
||||
+++ greenlet.h
|
||||
@@ -31,6 +31,10 @@
|
||||
#define PyGreenlet_ACTIVE(op) (((PyGreenlet*)(op))->stack_start != NULL)
|
||||
#define PyGreenlet_GET_PARENT(op) (((PyGreenlet*)(op))->parent)
|
||||
|
||||
+#if (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION >= 7) || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 1) || PY_MAJOR_VERSION > 3
|
||||
+#define GREENLET_USE_PYCAPSULE
|
||||
+#endif
|
||||
+
|
||||
/* C API functions */
|
||||
|
||||
/* Total number of symbols that are exported */
|
||||
@@ -108,6 +112,12 @@
|
||||
_PyGreenlet_API[PyGreenlet_SetParent_NUM])
|
||||
|
||||
/* Macro that imports greenlet and initializes C API */
|
||||
+#ifdef GREENLET_USE_PYCAPSULE
|
||||
+#define PyGreenlet_Import() \
|
||||
+{ \
|
||||
+ _PyGreenlet_API = (void**)PyCapsule_Import("greenlet._C_API", 0); \
|
||||
+}
|
||||
+#else
|
||||
#define PyGreenlet_Import() \
|
||||
{ \
|
||||
PyObject *module = PyImport_ImportModule("greenlet"); \
|
||||
@@ -122,6 +132,7 @@
|
||||
Py_DECREF(module); \
|
||||
} \
|
||||
}
|
||||
+#endif
|
||||
|
||||
#endif /* GREENLET_MODULE */
|
||||
|
@ -1,159 +0,0 @@
|
||||
From 5a0a628021357bf37cccbcc401e07dc99e9415ee Mon Sep 17 00:00:00 2001
|
||||
From: Ralf Schmitt <ralf@systemexit.de>
|
||||
Date: Fri, 3 May 2013 21:48:03 +0200
|
||||
Subject: [PATCH] fix segfaults when using gcc 4.8 on amd64/x86 unix
|
||||
|
||||
I'm just porting the aarch64 stuff committed recently.
|
||||
---
|
||||
platform/switch_amd64_unix.h | 14 +++++++++++++-
|
||||
platform/switch_x86_unix.h | 15 ++++++++++++++-
|
||||
2 files changed, 27 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/platform/switch_amd64_unix.h b/platform/switch_amd64_unix.h
|
||||
index 3ed0a16..05b34b6 100644
|
||||
--- a/platform/switch_amd64_unix.h
|
||||
+++ b/platform/switch_amd64_unix.h
|
||||
@@ -2,6 +2,9 @@
|
||||
* this is the internal transfer function.
|
||||
*
|
||||
* HISTORY
|
||||
+ * 3-May-13 Ralf Schmitt <ralf@systemexit.de>
|
||||
+ * Add support for strange GCC caller-save decisions
|
||||
+ * (ported from switch_aarch64_gcc.h)
|
||||
* 18-Aug-11 Alexey Borzenkov <snaury@gmail.com>
|
||||
* Correctly save rbp, csr and cw
|
||||
* 01-Apr-04 Hye-Shik Chang <perky@FreeBSD.org>
|
||||
@@ -33,10 +36,18 @@
|
||||
|
||||
#define REGS_TO_SAVE "r12", "r13", "r14", "r15"
|
||||
|
||||
+/* See switch_aarch64_gcc.h for the purpose of this function */
|
||||
+__attribute__((noinline, noclone)) int fancy_return_zero(void);
|
||||
+__attribute__((noinline, noclone)) int
|
||||
+fancy_return_zero(void)
|
||||
+{
|
||||
+ return 0;
|
||||
+}
|
||||
|
||||
static int
|
||||
slp_switch(void)
|
||||
{
|
||||
+ int err = 0;
|
||||
void* rbp;
|
||||
void* rbx;
|
||||
unsigned int csr;
|
||||
@@ -57,13 +68,14 @@ slp_switch(void)
|
||||
: "r" (stsizediff)
|
||||
);
|
||||
SLP_RESTORE_STATE();
|
||||
+ err = fancy_return_zero();
|
||||
}
|
||||
__asm__ volatile ("movq %0, %%rbx" : : "m" (rbx));
|
||||
__asm__ volatile ("movq %0, %%rbp" : : "m" (rbp));
|
||||
__asm__ volatile ("ldmxcsr %0" : : "m" (csr));
|
||||
__asm__ volatile ("fldcw %0" : : "m" (cw));
|
||||
__asm__ volatile ("" : : : REGS_TO_SAVE);
|
||||
- return 0;
|
||||
+ return err;
|
||||
}
|
||||
|
||||
#endif
|
||||
diff --git a/platform/switch_x86_unix.h b/platform/switch_x86_unix.h
|
||||
index 0d42a67..e66633e 100644
|
||||
--- a/platform/switch_x86_unix.h
|
||||
+++ b/platform/switch_x86_unix.h
|
||||
@@ -2,6 +2,9 @@
|
||||
* this is the internal transfer function.
|
||||
*
|
||||
* HISTORY
|
||||
+ * 3-May-13 Ralf Schmitt <ralf@systemexit.de>
|
||||
+ * Add support for strange GCC caller-save decisions
|
||||
+ * (ported from switch_aarch64_gcc.h)
|
||||
* 19-Aug-11 Alexey Borzenkov <snaury@gmail.com>
|
||||
* Correctly save ebp, ebx and cw
|
||||
* 07-Sep-05 (py-dev mailing list discussion)
|
||||
@@ -33,9 +36,18 @@
|
||||
/* the above works fine with gcc 2.96, but 2.95.3 wants this */
|
||||
#define STACK_MAGIC 0
|
||||
|
||||
+/* See below for the purpose of this function. */
|
||||
+__attribute__((noinline, noclone)) int fancy_return_zero(void);
|
||||
+__attribute__((noinline, noclone)) int
|
||||
+fancy_return_zero(void)
|
||||
+{
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
static int
|
||||
slp_switch(void)
|
||||
{
|
||||
+ int err = 0;
|
||||
#ifdef _WIN32
|
||||
void *seh;
|
||||
#endif
|
||||
@@ -64,6 +76,7 @@ slp_switch(void)
|
||||
: "r" (stsizediff)
|
||||
);
|
||||
SLP_RESTORE_STATE();
|
||||
+ err = fancy_return_zero();
|
||||
}
|
||||
#ifdef _WIN32
|
||||
__asm__ volatile (
|
||||
@@ -77,7 +90,7 @@ slp_switch(void)
|
||||
__asm__ volatile ("movl %0, %%ebp" : : "m" (ebp));
|
||||
__asm__ volatile ("fldcw %0" : : "m" (cw));
|
||||
__asm__ volatile ("" : : : "esi", "edi");
|
||||
- return 0;
|
||||
+ return err;
|
||||
}
|
||||
|
||||
#endif
|
||||
--
|
||||
1.8.2.1
|
||||
|
||||
--- b/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -1,6 +1,6 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
-import sys, os, glob, platform
|
||||
+import sys, os, glob, platform, tempfile, shutil
|
||||
|
||||
# workaround segfaults on openbsd and RHEL 3 / CentOS 3 . see
|
||||
# https://bitbucket.org/ambroff/greenlet/issue/11/segfault-on-openbsd-i386
|
||||
@@ -54,10 +54,33 @@
|
||||
extra_objects=extra_objects,
|
||||
depends=['greenlet.h', 'slp_platformselect.h'] + _find_platform_headers())]
|
||||
|
||||
-from my_build_ext import build_ext
|
||||
-
|
||||
+from my_build_ext import build_ext as _build_ext
|
||||
from distutils.core import Command
|
||||
|
||||
+
|
||||
+class build_ext(_build_ext):
|
||||
+ def configure_compiler(self):
|
||||
+ compiler = self.compiler
|
||||
+ if compiler.__class__.__name__ != "UnixCCompiler":
|
||||
+ return
|
||||
+
|
||||
+ compiler.compiler_so += ["-fno-tree-dominator-opts"]
|
||||
+ tmpdir = tempfile.mkdtemp()
|
||||
+
|
||||
+ try:
|
||||
+ simple_c = os.path.join(tmpdir, "simple.c")
|
||||
+ open(simple_c, "w").write("void foo(){}")
|
||||
+ compiler.compile([simple_c], output_dir=tmpdir)
|
||||
+ except Exception:
|
||||
+ del compiler.compiler_so[-1]
|
||||
+
|
||||
+ shutil.rmtree(tmpdir)
|
||||
+
|
||||
+ def build_extensions(self):
|
||||
+ self.configure_compiler()
|
||||
+ _build_ext.build_extensions(self)
|
||||
+
|
||||
+
|
||||
class fixup(Command):
|
||||
user_options = []
|
||||
description = "prevent duplicate uploads and upload for the wrong architecture"
|
@ -1,31 +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/greenlet/greenlet-0.3.1.ebuild,v 1.3 2012/02/20 14:51:40 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/greenlet"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="AUTHORS NEWS README"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/${P}-python-3.2.patch"
|
||||
}
|
@ -1,27 +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/greenlet/greenlet-0.3.3.ebuild,v 1.2 2012/02/20 14:51:40 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/greenlet"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools
|
||||
app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="AUTHORS NEWS"
|
@ -1,41 +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/greenlet/greenlet-0.3.4-r1.ebuild,v 1.2 2012/05/15 21:50:43 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="2.7-pypy-* *-jython"
|
||||
DISTUTILS_SRC_TEST=setup.py
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools
|
||||
doc? ( dev-python/sphinx )"
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
if use doc ; then
|
||||
emake -C doc html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use doc; then
|
||||
dohtml -r doc/_build/html/
|
||||
fi
|
||||
}
|
@ -1,27 +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/greenlet/greenlet-0.3.4.ebuild,v 1.1 2012/03/09 08:13:21 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/greenlet"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools
|
||||
app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="AUTHORS NEWS"
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/greenlet/greenlet-0.4.0-r1.ebuild,v 1.3 2013/09/05 18:47:05 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Note: greenlet is built-in in pypy
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/greenlet/greenlet-0.4.0-r2.ebuild,v 1.2 2013/09/05 18:47:05 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Note: greenlet is built-in in pypy
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.4.0-gcc48.patch )
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,41 +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/greenlet/greenlet-0.4.0.ebuild,v 1.3 2012/12/06 17:35:30 bicatali Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="2.7-pypy-* *-jython"
|
||||
DISTUTILS_SRC_TEST=setup.py
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools
|
||||
doc? ( dev-python/sphinx )"
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
if use doc ; then
|
||||
emake -C doc html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use doc; then
|
||||
dohtml -r doc/_build/html/
|
||||
fi
|
||||
}
|
@ -1,45 +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/greenlet/greenlet-0.4.1.ebuild,v 1.6 2014/02/16 19:53:28 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Note: greenlet is built-in in pypy
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Lightweight in-process concurrent programming"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,161 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-9999.ebuild,v 1.3 2013/09/05 18:45:59 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 pypy2_0 )
|
||||
inherit check-reqs eutils multilib mercurial multiprocessing \
|
||||
pax-utils python-any-r1 toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="A fast, compliant alternative implementation of the Python language"
|
||||
HOMEPAGE="http://pypy.org/"
|
||||
SRC_URI=""
|
||||
EHG_REPO_URI="https://bitbucket.org/pypy/${PN}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.1"
|
||||
KEYWORDS=""
|
||||
IUSE="bzip2 doc +jit ncurses sandbox shadowstack sqlite sse2"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
dev-libs/expat
|
||||
dev-libs/openssl
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
sqlite? ( dev-db/sqlite:3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
${PYTHON_DEPS}"
|
||||
PDEPEND="app-admin/python-updater"
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_MEMORY="2G"
|
||||
use amd64 && CHECKREQS_MEMORY="4G"
|
||||
check-reqs_pkg_pretend
|
||||
# if [[ ${MERGE_TYPE} != binary && "$(gcc-version)" == "4.8" ]]; then
|
||||
# die "PyPy does not build correctly with GCC 4.8"
|
||||
# fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
pkg_pretend
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/1.9-scripts-location.patch"
|
||||
epatch "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
local jit_backend
|
||||
if use jit; then
|
||||
jit_backend='--jit-backend='
|
||||
|
||||
# We only need the explicit sse2 switch for x86.
|
||||
# On other arches we can rely on autodetection which uses
|
||||
# compiler macros. Plus, --jit-backend= doesn't accept all
|
||||
# the modern values...
|
||||
|
||||
if use x86; then
|
||||
if use sse2; then
|
||||
jit_backend+=x86
|
||||
else
|
||||
jit_backend+=x86-without-sse2
|
||||
fi
|
||||
else
|
||||
jit_backend+=auto
|
||||
fi
|
||||
fi
|
||||
|
||||
local args=(
|
||||
$(usex jit -Ojit -O2)
|
||||
$(usex shadowstack --gcrootfinder=shadowstack '')
|
||||
$(usex sandbox --sandbox '')
|
||||
|
||||
${jit_backend}
|
||||
--make-jobs=$(makeopts_jobs)
|
||||
|
||||
pypy/goal/targetpypystandalone
|
||||
)
|
||||
|
||||
# Avoid linking against libraries disabled by use flags
|
||||
local opts=(
|
||||
bzip2:bz2
|
||||
ncurses:_minimal_curses
|
||||
)
|
||||
|
||||
local opt
|
||||
for opt in "${opts[@]}"; do
|
||||
local flag=${opt%:*}
|
||||
local mod=${opt#*:}
|
||||
|
||||
args+=(
|
||||
$(usex ${flag} --withmod --withoutmod)-${mod}
|
||||
)
|
||||
done
|
||||
|
||||
set -- "${PYTHON}" rpython/bin/rpython --batch "${args[@]}"
|
||||
echo -e "\033[1m${@}\033[0m"
|
||||
"${@}" || die "compile error"
|
||||
|
||||
use doc && emake -C pypy/doc/ html
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# (unset)
|
||||
local -x PYTHONDONTWRITEBYTECODE
|
||||
|
||||
./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einfo "Installing PyPy ..."
|
||||
insinto "/usr/$(get_libdir)/pypy${SLOT}"
|
||||
doins -r include lib_pypy lib-python pypy-c
|
||||
fperms a+x ${INSDESTTREE}/pypy-c
|
||||
use jit && pax-mark m "${ED%/}${INSDESTTREE}/pypy-c"
|
||||
dosym ../$(get_libdir)/pypy${SLOT}/pypy-c /usr/bin/pypy-c${SLOT}
|
||||
dodoc README.rst
|
||||
|
||||
if ! use sqlite; then
|
||||
rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/sqlite3 || die
|
||||
rm "${ED%/}${INSDESTTREE}"/lib_pypy/_sqlite3.py || die
|
||||
fi
|
||||
|
||||
# Install docs
|
||||
use doc && dohtml -r pypy/doc/_build/html/
|
||||
|
||||
einfo "Generating caches and byte-compiling ..."
|
||||
|
||||
python_export pypy-c${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
|
||||
local PYTHON=${ED%/}${INSDESTTREE}/pypy-c
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py
|
||||
python_domodule epython.py
|
||||
|
||||
# Note: call portage helpers before this line.
|
||||
# PYTHONPATH confuses them and will result in random failures.
|
||||
|
||||
local -x PYTHONPATH="${ED%/}${INSDESTTREE}/lib_pypy:${ED%/}${INSDESTTREE}/lib-python/2.7"
|
||||
|
||||
# Generate Grammar and PatternGrammar pickles.
|
||||
"${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
|
||||
|| die "Generation of Grammar and PatternGrammar pickles failed"
|
||||
|
||||
# Generate cffi cache
|
||||
"${PYTHON}" -c "import _curses" || die "Failed to import _curses"
|
||||
if use sqlite; then
|
||||
"${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3"
|
||||
fi
|
||||
|
||||
# compile the installed modules
|
||||
python_optimize "${ED%/}${INSDESTTREE}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST python-nbxmpp-0.2.tar.gz 1684589 SHA256 be17b4364dcc5f90970e51d045aded4b9f384024af1debbe77f413c2b07c0df8 SHA512 c7bb004c0fd42a6723d808f2be5b5cd9015db810207a8b57157487d771246ca32a955eb5839172d636470c1131c2edea17bcb1512dc7e6e528092a8315efff66 WHIRLPOOL 6895364cb4c80f56ff0360bc8667b2228059708829eb0734cb3e4519e7b895259bb57aace143daaa80997d27285658310c70a96fbad10a19235ad14f0d01a0b6
|
||||
DIST python-nbxmpp-0.3.tar.gz 1506998 SHA256 099afec84d49f78598c232bd2521449e2416b39d1951d33aafb4d6a5879ef7d8 SHA512 b381f18a22cd498577a2fb451d88a7ab4d7eb26319fbedd609e5364b557846ed35798aae90e3b93ed3651ecb05f2de185ef44da9b79e13221e0cd6ecd442b6ce WHIRLPOOL 9035f02c7a81d838764f7396603504e3c0dc79437f898fae9882d06b6f0b16b7178b2d8135cae10904fd7a1cc07bedeb69cbc7eedacd2d3ea629653baac18b40
|
||||
DIST python-nbxmpp-0.4.tar.gz 1685694 SHA256 d02b5e77302ca90f1e2db69f911785b8239ae30b0049fe6626d5ebb7cd87781c SHA512 9c4b72edb64e6e2e89c9f703c89c545bef1dc450b91a5ba95441c40101089e2bd1e5d5351a7300d52093cf643513b2ef166aa5d10b49d261dc4364b0d7c85fcf WHIRLPOOL 16849217ac9cbd8368c742175391c5056614cfa07806bc3f45d40f71b42dba57e5b09f18f883b9e9535b689e3bf475237e3333a24f614a2087820d4224fce85e
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-nbxmpp/python-nbxmpp-0.4.ebuild,v 1.1 2014/03/18 13:27:51 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
TAG=4
|
||||
|
||||
DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way"
|
||||
HOMEPAGE="http://python-nbxmpp.gajim.org/"
|
||||
SRC_URI="http://python-nbxmpp.gajim.org/downloads/${TAG} -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"/nbxmpp-${PV}
|
@ -1 +1,2 @@
|
||||
DIST pyutil-1.9.7.tar.gz 206717 SHA256 0aaa2dad8f280bc26311799622d5fdda392a0ecd7ad1a1b80ec79fbf2fcfbd74 SHA512 467de9eb6a4b085bfcc11e1bab318220d440bbb1fd665ec32c4edf274599e53cc450a5a06fcd015e966acd597d5fcfa1b389f639aa6b3d6b0009a8eec6b11946 WHIRLPOOL d8d56d783f6d1ad5da4800adb218e4401c3e9f5d17de6abd78d75474d594bfba549d3e5ebe809a9981005ecf7fbd9d532d14481aba6e55745e6955b758edf25c
|
||||
DIST pyutil-2.0.0.tar.gz 125079 SHA256 0ca95cb85843c5b09f7b65b5bd6c42d1940e19667b076620585ac45abe4f4fbb SHA512 3704c028fdc3894ae635dabd2bace1af1e805f4158dc6d67eac0c38fa8e7959cd093ad39cb2f539e59dd74e957947464cc8c7aed727835e127311062ed27e60b WHIRLPOOL e8fcdbed85d324732b8216224167f7920cfaf557238f3f70d22ee9afc96d1f72731164b55e1f385b60b0f77f8f42faf4b4db3e3eb55917c92ad004ab7613d447
|
||||
|
@ -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-python/pyutil/pyutil-2.0.0.ebuild,v 1.1 2014/03/18 23:52:40 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A collection of utilities for Python programmers"
|
||||
HOMEPAGE="https://tahoe-lafs.org/trac/pyutil https://pypi.python.org/pypi/pyutil"
|
||||
SRC_URI="mirror://pypi/p/pyutil/pyutil-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/twisted-core[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
rm -rf "${ED%/}"/usr/share/doc/${PN}
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
DIST pyzmq-13.1.0.tar.gz 838742 SHA256 8e6fbe2999204456216a2da62429277117ed1761326bce00e48a0443ae3574a7 SHA512 c65013293dd4049af5db009fdf7b6890a3c6b1e12dd588b58fb5f5a5fef7286935851fb7a530e03ea16f28de48b964e50f48bbf87d34545fd23b80dd4380476b WHIRLPOOL 1aa5bfad65349effb6ebff8d3d0e2a693dc03d0aa112f1697417b2e6f50580ff3760cf85141719c1686a798d1ff48bc27e8bca347f576e7b4fe4950cb94b9a42
|
||||
DIST pyzmq-14.0.1.tar.gz 867063 SHA256 07c7f63aaa7709438345a5e5f4d90fe7decb147ff72d244acf4fa56f8801e5e0 SHA512 a571c0f773234ad709666bdbc23d9112c86403a418d147a6bf1de1b3189fc0764cfc738bc82c5759e97784053d16f7b8da87df73e2400f2bbfc96ee48fbb7219 WHIRLPOOL df5fe3da175a6a1172ab2bf222c5749f2eaa886a9be04ba3b47300721d7eea58357a2e6a6f0255cf3db3828dc8bed0cdff7de7e8f6fcf9af3e20fe206d59c628
|
||||
DIST pyzmq-14.1.1.tar.gz 1020895 SHA256 54de7564537997b9ef9375b4fc309d464f0b70865fed34063048666f2159dcdd SHA512 484fee2b14f437103d6b17af596bd898b9cdb308aeb024f048b41d0f00452971f63a0fa1fcbc72cbc2b956c1067491d51f8b8bcc7981829cc04f34837dd10053 WHIRLPOOL c143737c26ee2db48e8b3f9f84b156cb26ebf30f9914c2cbc6bf0159c9fd8b652822eb7d3120c377d99ea4e14105384ad4814f0f71f2507ff3a9ccd9cf5a6c92
|
||||
DIST pyzmq-2.1.10.tar.gz 613843 SHA256 cbcb8c7bf514297aec6e4622381e9feacb4fc552f610d89a9856c47e246f3932 SHA512 de4516174c48162e1132bc387714853c6be9ab178e15f0df6d481f4ee1f42d0329f26098e0e84df61ff598f86bfc0e2602bb5e231a8b5a614fa089310ebe65f7 WHIRLPOOL b35129f60b86a732cc1518380edd2ed3a746428af062973914457b8c5234d7a5175b41ca9374fe4715eafb2cca6ae3a757c22d2630d9e03616511a1f6bdb4796
|
||||
DIST pyzmq-2.1.11.tar.gz 611281 SHA256 91c21b762ace0ee0dba21d4544b6d521b2ec60015a37a558aa1d747b274f06e2 SHA512 d761b492352841cdc125d9f0c99ee6d6c435812472ea234728b7f0fb4ad1048e1eec9b399df2081fbc926566f333f7780fedd0ce23255a6633fe5c60ed15a6af WHIRLPOOL b3af3633a4d0675ed7abe0cb21948534c30d3d43eb2c17181805adf9f8d34c7eaac7c15756b08f38abb0d9dabfc9cd99ecb3f4037ee02add75a7691b51fbff46
|
||||
DIST pyzmq-2.2.0.1.tar.gz 789996 SHA256 dae7423f4aa7c93f8c77dadd15e34ce6576121a6e7ae0ecdb6084d855097decc SHA512 781829783dd932f2f7c9ca37ca84f2797ec23860260da3d1005600981d51c1006f187b9b84e937fd3b6dd0e7e58734992336a593eaa0514966dd204227ae1cac WHIRLPOOL 4a1827879e38edbff8f2badf537887ab48f7a67e1139f45c8472760403bf27ea1aeb8c1b6f1be1123ead906d44f98f46f7194b1839ec2b73e1d7bf76e9f032d3
|
||||
|
@ -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-python/pyzmq/pyzmq-14.1.1.ebuild,v 1.1 2014/03/18 23:03:55 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="PyZMQ is a lightweight and super-fast messaging library built on top of the ZeroMQ library"
|
||||
HOMEPAGE="http://www.zeromq.org/bindings:python http://pypi.python.org/pypi/pyzmq"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="examples green test"
|
||||
|
||||
PY2_USEDEP=$(python_gen_usedep 'python2*')
|
||||
|
||||
RDEPEND=">=net-libs/zeromq-2.1.9
|
||||
green? ( dev-python/gevent[${PY2_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/cffi[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PY2_USEDEP}]
|
||||
dev-python/gevent[${PY2_USEDEP}]
|
||||
dev-python/cython[${PY2_USEDEP}]
|
||||
)"
|
||||
|
||||
python_configure_all() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if [[ "${EPYTHON}" == python3* ]]; then
|
||||
einfo "Skipping python3 due to many incompatibilities"
|
||||
else
|
||||
nosetests -svw "${BUILD_DIR}/lib/" || die "Tests fail with ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gnome2/ruby-gnome2-2.2.0.ebuild,v 1.1 2014/03/18 23:52:10 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
inherit ruby-ng
|
||||
|
||||
DESCRIPTION="Ruby Gnome2 bindings"
|
||||
HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/ruby-atk-${PV}
|
||||
>=dev-ruby/ruby-clutter-${PV}
|
||||
>=dev-ruby/ruby-clutter-gstreamer-${PV}
|
||||
>=dev-ruby/ruby-clutter-gtk-${PV}
|
||||
>=dev-ruby/ruby-gdkpixbuf2-${PV}
|
||||
>=dev-ruby/ruby-gdk3-${PV}
|
||||
>=dev-ruby/ruby-gio2-${PV}
|
||||
>=dev-ruby/ruby-goocanvas-${PV}
|
||||
>=dev-ruby/ruby-gstreamer-${PV}
|
||||
>=dev-ruby/ruby-gtk2-${PV}
|
||||
>=dev-ruby/ruby-gtk3-${PV}
|
||||
>=dev-ruby/ruby-gtksourceview-${PV}
|
||||
>=dev-ruby/ruby-gtksourceview3-${PV}
|
||||
>=dev-ruby/ruby-pango-${PV}
|
||||
>=dev-ruby/ruby-poppler-${PV}
|
||||
>=dev-ruby/ruby-rsvg-${PV}
|
||||
>=dev-ruby/ruby-vte-${PV}
|
||||
>=dev-ruby/ruby-vte3-${PV}
|
||||
>=dev-ruby/ruby-webkit-gtk2-${PV}
|
||||
>=dev-ruby/ruby-webkit-gtk-${PV}"
|
@ -1,3 +1,4 @@
|
||||
DIST ruby-gnome2-all-1.2.6.tar.gz 1718802 SHA256 b9e0093e82d53aead93ba1cd261faf03ccede873ee0e7ffd35090ce1c604be66 SHA512 b2e123ece31b89dc1d37040297d726b625d71579bbf60cb84c89b63f0fb9bf097d5f0675a16dfc7aecd8161913c737b22c057cc872dd454f341440c76901c07d WHIRLPOOL 2e4f47014b93838a9c31267fcca86458127ab9bc02b241a6bd0c3f14df8af7a25f6166d294577eb674f59c1e1d042208e5b448c83429011651dc6af0e9383b9a
|
||||
DIST ruby-gnome2-all-2.0.2.tar.gz 1674872 SHA256 12656b268206d2d1fc99da4f7163910844efc38117380180f37bfdac249310b9 SHA512 c739a565b14e31905a30e8ebf7cfd6abcf576bb45f3f0eaedba3937fda7818864825d95de5d1c229af5dc09c769d56e788a366cdbf74b625804fb844fd818d6f WHIRLPOOL 662eadbedc9b9e99de1cc6e3556f7bec6063c58c57f4d2ab0b51bbf98eeca9f5955910442a58ff3a7649f3e049f0d0573d83e7a503c0ca58bac3a265f50e121b
|
||||
DIST ruby-gnome2-all-2.1.0.tar.gz 1754946 SHA256 f59d2aa81351fc48ac4948279d7d39e241b8118eb80f0f733f6834d6ccace088 SHA512 b76f2198644ecceac59071cbb5afddbd3bd7ad641a17ec04ea994b10cc48fcc7e27dd651b19a905f761faf041ff8f2353174dd073a1a146693dc23218f8fab40 WHIRLPOOL 202fde8bfc84f156681005b9bc317fb7736f2766264d3ef8109f1720fc02d18258efe4c60d9cdd2b8463e69f21df094177d31eda3a87dfb9c7bb0ca6873a4fb3
|
||||
DIST ruby-gnome2-all-2.2.0.tar.gz 1736638 SHA256 73b2366152a15533d8e7056b30c76db6d5bdc6e5a1dc9c72320cbef91ff63c83 SHA512 71a263b9623b3d098aafcd63abc49af2ece19f4da45a4b2e3a698fb90c8302f61f1681d21c1bf2f823852afb06890470c5f6be1d4e4593b86487fd980ca460f5 WHIRLPOOL 0ece27bcd275b9a73cb1682dd268571e2ad7c35da0ddea0c715e0b215eb9bc5831ed879b70327ef5586deb4820c2caab7f0589acdc53e1f4b3f35f1ef7f8737c
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-webkit-gtk/ruby-webkit-gtk-2.2.0.ebuild,v 1.1 2014/03/18 23:37:35 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby WebKitGtk bindings"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND} net-libs/webkit-gtk:3"
|
||||
RDEPEND="${RDEPEND} net-libs/webkit-gtk:3"
|
||||
|
||||
RUBY_S="ruby-gnome2-all-${PV}/webkit-gtk"
|
||||
|
||||
ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}"
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-gobject-introspection-${PV}
|
||||
>=dev-ruby/ruby-gtk3-${PV}"
|
||||
|
||||
each_ruby_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST BWidget-1.9.0.tar.gz 228171 SHA256 3135d1c748494c2a709a3f64b5669c9196ade7e9d062d9370309214f532c637e SHA512 4ef5e8d465beb76f5f5908c42bb45675efe4dd4a53d695fa4875cf2421d60b20ed426ee5113dc6fe35c3080b03aff53a7bbaf6969c37a771f622de47fa1d4627 WHIRLPOOL 38c3a8cb6a0e382a7695df6104b9fd3a1855af4ac976b2931a0cba04bce448ddbf18f59d73bc5ee30f6b42b60421a93322d6afdf043bb862c2b81d68d78460bd
|
||||
DIST bwidget-1.9.7.zip 339322 SHA256 10d4ad203e6c883f341d8ca24e4cd1cf07dc41d63b13c3d8ea3cefae87007620 SHA512 8f1658b02ae4598d56127fa5caff4b813aff9640ad5e79c7e64d5efc393a09bf91299405f7863c4fb61fc7ff85af6e5366dbd486b0511ca0202e113c0cc42517 WHIRLPOOL 6567bc3c1601081c912ff852f85de1767cbe675004368fc5010c9f609a4ad1cefcb11366713e5aea60a7917aa7e63a5628fedf42d8c422d663164809957c92d7
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/bwidget/bwidget-1.9.7.ebuild,v 1.1 2014/03/18 17:14:28 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
MY_PN=${PN/bw/BW}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="High-level widget set for Tcl/Tk"
|
||||
HOMEPAGE="http://tcllib.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tcllib/${P}.zip"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-lang/tk"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/${P}
|
||||
doins *.tcl
|
||||
doins -r images lang
|
||||
|
||||
insinto /usr/share/doc/${PF}/
|
||||
doins -r demo
|
||||
dodoc ChangeLog README.txt
|
||||
|
||||
use doc && dohtml BWman/*
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>tcltk</herd>
|
||||
<herd>tcltk</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,103 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/android-sdk-update-manager-22.6.ebuild,v 1.1 2014/03/19 01:53:22 rich0 Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils user udev
|
||||
|
||||
MY_P="android-sdk_r${PV}-linux"
|
||||
|
||||
DESCRIPTION="Open Handset Alliance's Android SDK"
|
||||
HOMEPAGE="http://developer.android.com"
|
||||
SRC_URI="http://dl.google.com/android/${MY_P}.tgz"
|
||||
IUSE=""
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="android"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-arch/tar
|
||||
app-arch/gzip"
|
||||
RDEPEND=">=virtual/jdk-1.5
|
||||
>=dev-java/ant-core-1.6.5
|
||||
|| ( dev-java/swt:3.7[cairo] dev-java/swt:3.6[cairo] )
|
||||
amd64? ( app-emulation/emul-linux-x86-gtklibs:= )
|
||||
x86? ( x11-libs/gtk+:2= )"
|
||||
|
||||
ANDROID_SDK_DIR="/opt/${PN}"
|
||||
QA_FLAGS_IGNORED_x86="
|
||||
${ANDROID_SDK_DIR/\/}/tools/emulator
|
||||
${ANDROID_SDK_DIR/\/}/tools/adb
|
||||
${ANDROID_SDK_DIR/\/}/tools/mksdcard
|
||||
${ANDROID_SDK_DIR/\/}/tools/sqlite3
|
||||
${ANDROID_SDK_DIR/\/}/tools/hprof-conv
|
||||
${ANDROID_SDK_DIR/\/}/tools/zipalign
|
||||
${ANDROID_SDK_DIR/\/}/tools/dmtracedump
|
||||
"
|
||||
QA_FLAGS_IGNORED_amd64="${QA_FLAGS_IGNORED_x86}"
|
||||
|
||||
QA_PREBUILT="${ANDROID_SDK_DIR/\/}/tools/*"
|
||||
|
||||
S="${WORKDIR}/android-sdk-linux"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup android
|
||||
}
|
||||
|
||||
src_prepare(){
|
||||
rm -rf tools/lib/x86*
|
||||
}
|
||||
|
||||
src_install(){
|
||||
dodoc tools/NOTICE.txt "SDK Readme.txt" || die
|
||||
rm -f tools/NOTICE.txt "SDK Readme.txt"
|
||||
|
||||
dodir "${ANDROID_SDK_DIR}/tools"
|
||||
cp -pPR tools/* "${ED}${ANDROID_SDK_DIR}/tools" || die "failed to install tools"
|
||||
|
||||
# Maybe this is needed for the tools directory too.
|
||||
dodir "${ANDROID_SDK_DIR}"/{add-ons,build-tools,docs,extras,platforms,platform-tools,samples,sources,system-images,temp} || die "failed to dodir"
|
||||
|
||||
fowners root:android "${ANDROID_SDK_DIR}"/{.,add-ons,build-tools,docs,extras,platforms,platform-tools,samples,sources,system-images,temp,tools} || die
|
||||
fperms 0775 "${ANDROID_SDK_DIR}"/{.,add-ons,build-tools,docs,extras,platforms,platform-tools,samples,sources,system-images,temp,tools} || die
|
||||
|
||||
echo "PATH=\"${EPREFIX}${ANDROID_SDK_DIR}/tools:${EPREFIX}${ANDROID_SDK_DIR}/platform-tools\"" > "${T}/80${PN}" || die
|
||||
|
||||
SWT_PATH=
|
||||
SWT_VERSIONS="3.7 3.6"
|
||||
for version in $SWT_VERSIONS; do
|
||||
# redirecting stderr to /dev/null
|
||||
# not sure if this is best, but avoids misleading error messages
|
||||
SWT_PATH="`dirname \`java-config -p swt-\$version 2>/dev/null\` 2>/dev/null`"
|
||||
if [ $SWT_PATH ]; then
|
||||
einfo "SWT_PATH=$SWT_PATH selecting version $version of SWT."
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
echo "ANDROID_SWT=\"${SWT_PATH}\"" >> "${T}/80${PN}" || die
|
||||
echo "ANDROID_HOME=\"${EPREFIX}${ANDROID_SDK_DIR}\"" >> "${T}/80${PN}" || die
|
||||
|
||||
doenvd "${T}/80${PN}" || die
|
||||
|
||||
echo "SEARCH_DIRS_MASK=\"${EPREFIX}${ANDROID_SDK_DIR}\"" > "${T}/80${PN}" || die
|
||||
|
||||
insinto "/etc/revdep-rebuild" && doins "${T}/80${PN}" || die
|
||||
|
||||
udev_dorules "${FILESDIR}"/80-android.rules || die
|
||||
domenu "${FILESDIR}"/android-sdk-update-manager.desktop || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The Android SDK now uses its own manager for the development environment."
|
||||
elog "Run 'android' to download the full SDK, including some of the platform tools."
|
||||
elog "You must be in the android group to manage the development environment."
|
||||
elog "Just run 'gpasswd -a <USER> android', then have <USER> re-login."
|
||||
elog "See http://developer.android.com/sdk/adding-components.html for more"
|
||||
elog "information."
|
||||
elog "If you have problems downloading the SDK, see http://code.google.com/p/android/issues/detail?id=4406"
|
||||
elog "You need to run env-update and source /etc/profile in any open shells"
|
||||
elog "if you get an SWT error."
|
||||
}
|
@ -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-util/emilpro/emilpro-3-r1.ebuild,v 1.1 2014/03/19 02:50:34 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils eutils
|
||||
|
||||
DESCRIPTION="a graphical disassembler for a large number of instruction sets"
|
||||
HOMEPAGE="http://www.emilpro.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/SimonKagstrom/emilpro"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
SRC_URI="mirror://gnu/binutils/binutils-2.23.2.tar.bz2"
|
||||
else
|
||||
SRC_URI="http://www.emilpro.com/${P}.tar.gz
|
||||
!system-binutils? ( mirror://gnu/binutils/binutils-2.23.2.tar.bz2 )"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+system-binutils"
|
||||
|
||||
DEPEND="|| ( dev-libs/elfutils dev-libs/libelf )
|
||||
dev-cpp/gtkmm:3.0
|
||||
dev-cpp/gtksourceviewmm:3.0
|
||||
dev-cpp/libxmlpp:2.6
|
||||
system-binutils? ( sys-devel/binutils[multitarget] )
|
||||
net-misc/curl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/respect-cflags.patch
|
||||
if use system-binutils; then
|
||||
epatch "${FILESDIR}"/use-gentoo-binutils.patch
|
||||
else
|
||||
sed -i "s#wget -O binutils.tar.bz2 http://ftp.gnu.org/gnu/binutils/binutils-2.23.2.tar.bz2#cp \"${DISTDIR}/binutils-2.23.2.tar.bz2\" ./binutils.tar.bz2#" cmake/BuildBinutils.cmake
|
||||
fi
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use system-binutils; then
|
||||
cmake-utils_src_compile
|
||||
else
|
||||
#bundled binutils is broken, always builds with one thread
|
||||
#but somehow it still fails if I don't do this
|
||||
cd "${BUILD_DIR}"
|
||||
emake -j1
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${BUILD_DIR}"/emilpro
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/emilpro/emilpro-3.ebuild,v 1.1 2014/03/18 04:26:05 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="a graphical disassembler for a large number of instruction sets"
|
||||
HOMEPAGE="http://www.emilpro.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/SimonKagstrom/emilpro"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
SRC_URI="mirror://gnu/binutils/binutils-2.23.2.tar.bz2"
|
||||
else
|
||||
SRC_URI="http://www.emilpro.com/${P}.tar.gz
|
||||
mirror://gnu/binutils/binutils-2.23.2.tar.bz2"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="|| ( dev-libs/elfutils dev-libs/libelf )
|
||||
dev-cpp/gtkmm:3.0
|
||||
dev-cpp/gtksourceviewmm:3.0
|
||||
dev-cpp/libxmlpp:2.6
|
||||
net-misc/curl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s#wget -O binutils.tar.bz2 http://ftp.gnu.org/gnu/binutils/binutils-2.23.2.tar.bz2#cp \"${DISTDIR}/binutils-2.23.2.tar.bz2\" ./binutils.tar.bz2#" cmake/BuildBinutils.cmake
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
#it builds with one thread no matter what,
|
||||
#but somehow it still fails if I don't do this
|
||||
cd "${BUILD_DIR}"
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${BUILD_DIR}"/emilpro
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
diff -Naur emilpro-3/CMakeLists.txt emilpro-3-cflags/CMakeLists.txt
|
||||
--- emilpro-3/CMakeLists.txt 2013-12-28 04:22:34.000000000 -0500
|
||||
+++ emilpro-3-cflags/CMakeLists.txt 2014-03-18 17:59:47.534542384 -0400
|
||||
@@ -29,7 +29,7 @@
|
||||
pkg_check_modules(LIBXMLPP libxml++-2.6)
|
||||
pkg_check_modules(LIBCURL libcurl)
|
||||
|
||||
-set (CMAKE_CXX_FLAGS "-std=c++0x -Wall -D_GLIBCXX_USE_NANOSLEEP -DPACKAGE=emilpro -DPACKAGE_VERSION=1")
|
||||
+set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -D_GLIBCXX_USE_NANOSLEEP -DPACKAGE=emilpro -DPACKAGE_VERSION=1")
|
||||
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/install-binutils/lib ${CMAKE_BINARY_DIR}/install-binutils/lib64)
|
||||
|
||||
if (HAVE_BFD_MULTIARCH)
|
@ -0,0 +1,36 @@
|
||||
diff -Naur emilpro-3/CMakeLists.txt emilpro-3-nobinutils/CMakeLists.txt
|
||||
--- emilpro-3/CMakeLists.txt 2013-12-28 04:22:34.000000000 -0500
|
||||
+++ emilpro-3-nobinutils/CMakeLists.txt 2014-03-18 14:59:17.983479920 -0400
|
||||
@@ -11,7 +11,6 @@
|
||||
set (BASE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
# Dependencies
|
||||
-include (${CMAKE_CURRENT_SOURCE_DIR}/cmake/BuildBinutils.cmake)
|
||||
|
||||
find_package (LibElf REQUIRED)
|
||||
find_package (PkgConfig REQUIRED)
|
||||
@@ -30,7 +29,6 @@
|
||||
pkg_check_modules(LIBCURL libcurl)
|
||||
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -D_GLIBCXX_USE_NANOSLEEP -DPACKAGE=emilpro -DPACKAGE_VERSION=1")
|
||||
-LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/install-binutils/lib ${CMAKE_BINARY_DIR}/install-binutils/lib64)
|
||||
|
||||
if (HAVE_BFD_MULTIARCH)
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_BFD_MULTIARCH")
|
||||
@@ -110,7 +108,6 @@
|
||||
src/include/
|
||||
${CMAKE_BINARY_DIR}
|
||||
${LIBELF_INCLUDE_DIRS}
|
||||
- ${CMAKE_BINARY_DIR}/install-binutils/include/
|
||||
${GTKMM_INCLUDE_DIRS}
|
||||
${GTKSOURCEVIEWMM_INCLUDE_DIRS}
|
||||
${LIBXMLPP_INCLUDE_DIRS}
|
||||
@@ -128,8 +125,6 @@
|
||||
tools/squash-instruction-models.cc
|
||||
)
|
||||
|
||||
-set_property(TARGET emilpro APPEND PROPERTY OBJECT_DEPENDS binutils)
|
||||
-set_property(TARGET tools/squash-instruction-models APPEND PROPERTY OBJECT_DEPENDS binutils)
|
||||
|
||||
set (BASE_LIBS
|
||||
${LIBELF_LIBRARIES}
|
@ -1,12 +1,9 @@
|
||||
DIST scons-2.0.1-user.html 820975 SHA256 3016ff013d8422bdbb98b39d1810f8c707c59b66ace38d3b81421466053c83b5 SHA512 4b952c2fb903bafe7b8ab811689adf108294eddb00f58962b53ad14c6708be12e5d3f4b865dad98e92a220960143f86fb0956aff9d82366a33c96ce102925327 WHIRLPOOL c9ac18c6c2e8a6398f64df4d107166e7a2cdb3d5e596d01eb702c1a9efca1a6194af318a7a243ca0ba7e7bab91e957c1ac0108969436c72ff9501ce1a2f549b3
|
||||
DIST scons-2.0.1-user.pdf 1841747 SHA256 2fbd518c51d9221cdfba98145c047726960c681233c0802641aeb90fc62450c7 SHA512 623987be940afc25acef425aeac76fdc1ce18759b5df4b488096dbdb6524afe027c0ef3e053bfd9f5bf6618c4a115709098a68b44343cb3a3a0eac455b77bef4 WHIRLPOOL 0e96112c756489c3f102afadb0b5333a86101fe0f8e395879e971ee3e6634a2c9e1d3871913b1d0ac5858e5e5ee1cc3e1491ebcaa7d7e77f781f7b1fcf123aa5
|
||||
DIST scons-2.0.1.tar.gz 559293 SHA256 0a8151da41c4a26c776c84f44f747ce03e093d43be3e83b38c14a76ab3256762 SHA512 408851ec5f62f367a477fdbac022b5a0e1a51c81da2470dfec852a2e1f6c844c08dcc11b5d7c25c558e454897e0f5a0c41439392a2c59e05e8e99fe2112124d3 WHIRLPOOL 2c649e0ae6f737f468f341c8275efc958326737f7f10fc6cd6d5d4aab17649836b1f7d81221a63370f642d7c54b1eaaa435d9bd769e33796925a5532efdbf0e3
|
||||
DIST scons-2.1.0-user.html 948436 SHA256 8021b9c7ec06330ad4616ec118ce7bbd70cf2f1ff0edfc91dd9e11d638e9927f SHA512 d780539cede767bafd906f7469ad3626e3bf8f1a33793101f668082b2587831b6acc380500211d7b612703c28b4c7e871dc4f3a034b9d2d5f6672ac813fb8d57 WHIRLPOOL f6a833351737ae996e37237d840cecb349f0f344c4c8a34ae27e21b8ce344700d5e2d972063bbe4688b12b4e3faa35c8dc403011862bcccc65245d3a5eb53bbb
|
||||
DIST scons-2.1.0-user.pdf 2117035 SHA256 101e39f1adc94179dabb787d92e723426a23a3e4a3ca21d382f6d1530cf6316a SHA512 9a386414f7d4ce869473b07888fb2d2f663fbb2f7422c8da0052434ac1ab44af86f8021a6e654df5d872146bd154142e44e25b03438f7581e76053798afbd5d0 WHIRLPOOL 25b59c65520e405ba8a8bf1fcf0e33be7b448a75cb5bd3073b672697bd576884b67921930f8e447bdd798b5a8b5d3d5670a38756fdf79a42eb61f1a44f9e537c
|
||||
DIST scons-2.1.0.tar.gz 574666 SHA256 4139ed14f60dd2ebcd47c59984d14705636180eb27b3d1b2949489e514b1921d SHA512 1eaa89aa842f3f801a817bd7a9b9b4993ad5d00be420bd2aa3cc55f04cf4a3959638f7ee2d6a1e93ce716315b05016888cd20d1884b025fe97613d1a3382527e WHIRLPOOL d045951762b82ff8fcb8eaff44634ebff13805a4b6830a5f0a053e9fb3b656e07296dead77376410721a250202bf67077e06ad484d7595462336460549b6394d
|
||||
DIST scons-2.2.0-user.html 1004490 SHA256 f1064c656b56c38d0a797c25f600660b5cf272c4c1731477c70014699897f72a SHA512 5d2ee993a08207f0c0f73e7729b97a202d6fb92d5746415e06e62337640889d591e2faef0bb5ff43cb748682913821c8c830fa4578d2ffc9dd95e0299eb17cbe WHIRLPOOL c1fcf3eb8750cb5c3f30234bc5beb617d6dd2760e919e88eb53d3daa4217fcd2b665c46c78fe9ea388c8b6ef249505322e3855adc5146a44d4a5ad75c6eff553
|
||||
DIST scons-2.2.0-user.pdf 2264392 SHA256 9367c6a8ef24e663b29823e4984c441e74de5ca1aba846be79236e3a973dce96 SHA512 6572ed266cc80f8542adbc5f8448a3ce8e3340ca5e3e8f1a2b25db2e871f27fd00f269a4f90a6c71649208633e8b221cd71c8e5d87477e41dfcf3ffc40cd3729 WHIRLPOOL ba09c02a337188dd84fae23b1afd6864c4b8afad70df68c69548792ccf0f0bae85d10404e7c94fc58b317d705296fa1fbe7f63992a0087e533813a47fe5df81d
|
||||
DIST scons-2.2.0.tar.gz 591836 SHA256 f7fcd11a7af7ec13d587a2f7cf14a92e3223eea64bf078454a9856ec0ab465b9 SHA512 b1910c2faf9bf888e32f90c567a5c3fe4b7066f48a3457639570868f02075e9d3ef20d0315d5bab5940576987bacdaa0f675aaf8f5bdb1efb1a0806cb0153738 WHIRLPOOL 661bfd6e6b77fe0b5dfba113a9c733183b524000e60ce8034f7f0f5a78f27ff3cd73831cc58cdb2e9b737ff3507a367e9445a69f372e6d4de4717cb314055df8
|
||||
DIST scons-2.3.0-user.html 1006588 SHA256 64b52ed0ccad52ee7d57188934ee4326ddd8dd387d8283445367265084be8db4 SHA512 42dd7604548aa2f859c8fad8ea802e69a2e139b5a53804a0d855868d056194497653a7124d46a25eba6cdb6339dc16288311faefe8f5240dfa1c210260f27e6c WHIRLPOOL 6f5a164621e5a46f1ab256f6a4db192a9b1bda0de292859b7fc22f1feb31e1c47ca0281ee558b49d807b1224cd89028b4b6799a5abcd125cd440a1e9e00c817f
|
||||
DIST scons-2.3.0-user.pdf 2268686 SHA256 9b8eb3ed9ad40b375628417d39823042939c8f52f32d0f76c796107870a98c11 SHA512 ae94950bec28d88f83d01590db18ce776146d20dcfa756b0ce2f582f4c729c75eb4f7c57584f624bb653fb43dbf34c972f6a0dcc36aa1b338403885e2d177798 WHIRLPOOL 41dd9909f0b110f2dfd9369ac3f44b5b6a3ff5ae99d3caabb3aa0a92084b92d4b03c45923a8e52cfe18a4ca4f0184e4ddaa57545a6cac6a9ade42f748bc1d8f3
|
||||
DIST scons-2.3.0.tar.gz 599514 SHA256 9442069999cf4b2caa94a5886ab4c2c71de1718ed5e9176c18e2b6dbca463b4b SHA512 a7e88bb70b8b269337689fb4afd9563359f6ace37857bbd9824c9e40e43cac8b1e00468d8652bb9b46e410f6b161cb8c9006dd1fd9265756be153846a5e0fd65 WHIRLPOOL 948cc117fe40ab36f3862fab8322268dcb95ecbcde0397d684f31f5deedbbcff3f880d7af336710f237031df350eddcde81a044133b7b61bf5088c4c62ec70cf
|
||||
DIST scons-2.3.1-user.html 1234565 SHA256 17e617d5b5f7e43e70966c78148976f7e81bd2b5eb1530f447e3e8bc0cdaf86f SHA512 4b74a5099e23ec5d1e2714e6a0957697b703bbea3d7d0229d8925a5061c24ee1ae7bc2476e5e66fe4cacee5819c03e313d40b80b76e4ee6b7ccb65d4a461e5de WHIRLPOOL 39d7b70b743f410aac95880c533470bf967f534ef79cadc0ab925f3e9126200eaf8f4390729e3638d3a27ba133346f61e8ff510207eef6eef25355fa06a54cd1
|
||||
DIST scons-2.3.1-user.pdf 2408501 SHA256 3e2023f8dd1551963815c80f09a45658874174fc6373bb4918f8291f1b622478 SHA512 07ff05308e202541ae1c6538b94641fb0401da15c419854d51f855b177d71021938856307fc12e84db02bee720e2589a9ed2a2c725fd4e0c88fd111ea0862ed2 WHIRLPOOL b4b42e83b2f1ba7c584bdb06eeb3d868ce878c3295d490b4d60b9250c20b7eb55e63c8bde42eaa4c57a432b74a845de034ccbfb0d5fb51f7af72de8137acb7f9
|
||||
DIST scons-2.3.1.tar.gz 499037 SHA256 091ab468f8e6084c30f3ae9fd48828e3884021401cfef4b713d13161ba120201 SHA512 207fd0df949d1130afecc168a3b643fee2a17c53c3f9704260bbd2e462fdf24fd6606d7269ceaa664d5b5989cac34d6b9a5a460dfd0d6b69e651cfd85a0d45d2 WHIRLPOOL 8c828ca32bd03fe4cdd768a22ec97740b7fe165692f2c101c73e4fc96884642f80a7ba5531402638b415b8b9250dc12cad3337d0d087a391314aa2b6a564077a
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-2.0.1-r1.ebuild,v 1.7 2012/08/02 22:21:51 neurogeek Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="threads(+)"
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Extensible Python-based build utility"
|
||||
HOMEPAGE="http://www.scons.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
|
||||
doc? ( http://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf
|
||||
http://www.scons.org/doc/${PV}/HTML/${PN}-user.html -> ${P}-user.html )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGES.txt RELEASE.txt"
|
||||
PYTHON_MODNAME="SCons"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/scons-1.2.0-popen.patch"
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=361061
|
||||
sed -i -e "s|/usr/local/bin:/opt/bin:/bin:/usr/bin|${EPREFIX}usr/local/bin:${EPREFIX}opt/bin:${EPREFIX}bin:${EPREFIX}usr/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin|g" engine/SCons/Platform/posix.py || die
|
||||
# and make sure the build system doesn't "force" /usr/local/ :(
|
||||
sed -i -e "s/'darwin'/'NOWAYdarwinWAYNO'/" setup.py || die
|
||||
}
|
||||
|
||||
src_install () {
|
||||
distutils_src_install \
|
||||
--standard-lib \
|
||||
--no-version-script \
|
||||
--install-data "${EPREFIX}"/usr/share
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${DISTDIR}"/${P}-user.{pdf,html}
|
||||
fi
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-2.0.1.ebuild,v 1.13 2012/08/02 22:21:51 neurogeek Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="threads(+)"
|
||||
RESTRICT_PYTHON_ABIS="2.7-pypy-*"
|
||||
|
||||
inherit distutils eutils multilib
|
||||
|
||||
DESCRIPTION="Extensible Python-based build utility"
|
||||
HOMEPAGE="http://www.scons.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
|
||||
doc? (
|
||||
http://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf
|
||||
http://www.scons.org/doc/${PV}/HTML/${PN}-user.html -> ${P}-user.html
|
||||
)"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGES.txt RELEASE.txt"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/scons-1.2.0-popen.patch"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
distutils_src_install
|
||||
python_convert_shebangs -r 2 "${ED}"
|
||||
|
||||
# Move man pages from /usr/man to /usr/share/man
|
||||
dodir /usr/share
|
||||
mv "${ED}usr/man" "${ED}usr/share"
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${DISTDIR}"/${P}-user.{pdf,html}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/$(get_libdir)/${P}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/${P}
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-2.1.0.ebuild,v 1.13 2012/08/06 03:39:23 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="threads(+)"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*"
|
||||
PYTHON_MODNAME="SCons"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Extensible Python-based build utility"
|
||||
HOMEPAGE="http://www.scons.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
|
||||
doc? ( http://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf -> ${P}-user.pdf
|
||||
http://www.scons.org/doc/${PV}/HTML/${PN}-user.html -> ${P}-user.html )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGES.txt RELEASE.txt"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/scons-1.2.0-popen.patch"
|
||||
epatch "${FILESDIR}/${P}-jython.patch"
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=361061
|
||||
sed -i -e "s|/usr/local/bin:/opt/bin:/bin:/usr/bin|${EPREFIX}usr/local/bin:${EPREFIX}opt/bin:${EPREFIX}bin:${EPREFIX}usr/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin|g" engine/SCons/Platform/posix.py || die
|
||||
# and make sure the build system doesn't "force" /usr/local/ :(
|
||||
sed -i -e "s/'darwin'/'NOWAYdarwinWAYNO'/" setup.py || die
|
||||
}
|
||||
|
||||
src_install () {
|
||||
distutils_src_install \
|
||||
--standard-lib \
|
||||
--no-version-script \
|
||||
--install-data "${EPREFIX}"/usr/share
|
||||
|
||||
if use doc ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${DISTDIR}"/${P}-user.{pdf,html}
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST git-merge-changelog-20140103.tar.xz 299628 SHA256 d3f0694ca65c765a39b5d2381a2c9d735d16d29bef1737fdf38e9d44bcd3ef29 SHA512 cc3287424313f3c3590bbc67ac2615c69154001019915163b59d4600b320abeaf1e72baac7fd53dd2906be16149ce9a325db0b8966bb024db18f4d11b86fd405 WHIRLPOOL 1689456ebc076bbc3e97beb6f63f91bf857a5493ce29b2fd3dea5667891cd6db01f5b30dbdbea510701c153949f1f0287e966af419846be1df06f493523d8fe5
|
||||
DIST git-merge-changelog-20140223.tar.xz 298332 SHA256 75a584cee054cafcb1ab7b71dc3beee33b39ea30b50dace48f044ee788560482 SHA512 ea5fcb0a0839e37976e333dc773d0bca43a1fce4821af08c5baba8e5783e129f8b4de4efd4b1b3399a7c1d3796e4094916843ac2d360d81396d67f571e020638 WHIRLPOOL 41182891e268e0ade060cac261d230fda2534fa53aebb40ea2b44e62cef1d5bef69ba9d7a7f6839c4b24135b1012d29f43886b9729fdd801173c2a8c240b3809
|
||||
|
@ -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-vcs/git-merge-changelog/git-merge-changelog-20140223.ebuild,v 1.1 2014/03/18 21:47:34 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Git merge driver for GNU style ChangeLog files"
|
||||
HOMEPAGE="http://www.gnu.org/software/gnulib/"
|
||||
# snapshot extracted from git://git.savannah.gnu.org/gnulib.git using
|
||||
# ./gnulib-tool --create-testdir --without-tests --dir=${PN} ${PN};
|
||||
# cd ${PN}; ./configure; make maintainer-clean
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed -n '/README/{h;:x;n;/^#/!{H;bx};g;s/\n*$//;s:/usr/local:/usr:g;p;q}' \
|
||||
gllib/git-merge-changelog.c >README || die
|
||||
}
|
@ -0,0 +1,641 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.9.1.ebuild,v 1.1 2014/03/19 00:16:46 robbat2 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GENTOO_DEPEND_ON_PERL=no
|
||||
|
||||
# bug #329479: git-remote-testgit is not multiple-version aware
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
[[ ${PV} == *9999 ]] && SCM="git-2"
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git"
|
||||
|
||||
inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM}
|
||||
|
||||
MY_PV="${PV/_rc/.rc}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DOC_VER=${MY_PV}
|
||||
|
||||
DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team"
|
||||
HOMEPAGE="http://www.git-scm.com/"
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
SRC_URI_SUFFIX="gz"
|
||||
SRC_URI_GOOG="http://git-core.googlecode.com/files"
|
||||
SRC_URI_KORG="mirror://kernel/software/scm/git"
|
||||
SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
doc? (
|
||||
${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
else
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv mediawiki +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
|
||||
|
||||
# Common to both DEPEND and RDEPEND
|
||||
CDEPEND="
|
||||
dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
pcre? ( dev-libs/libpcre )
|
||||
perl? ( dev-lang/perl:=[-build(-)] )
|
||||
tk? ( dev-lang/tk )
|
||||
curl? (
|
||||
net-misc/curl
|
||||
webdav? ( dev-libs/expat )
|
||||
)
|
||||
emacs? ( virtual/emacs )
|
||||
gnome-keyring? ( gnome-base/gnome-keyring )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
gpg? ( app-crypt/gnupg )
|
||||
mediawiki? (
|
||||
dev-perl/HTML-Tree
|
||||
dev-perl/MediaWiki-API
|
||||
)
|
||||
perl? ( dev-perl/Error
|
||||
dev-perl/Net-SMTP-SSL
|
||||
dev-perl/Authen-SASL
|
||||
cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) )
|
||||
cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite )
|
||||
subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey )
|
||||
)
|
||||
python? ( gtk?
|
||||
(
|
||||
>=dev-python/pygtk-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
${PYTHON_DEPS} )"
|
||||
|
||||
# This is how info docs are created with Git:
|
||||
# .txt/asciidoc --(asciidoc)---------> .xml/docbook
|
||||
# .xml/docbook --(docbook2texi.pl)--> .texi
|
||||
# .texi --(makeinfo)---------> .info
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/cpio
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/docbook2X
|
||||
sys-apps/texinfo
|
||||
app-text/xmlto
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-crypt/gnupg )"
|
||||
|
||||
# Live ebuild builds man pages and HTML docs, additionally
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
app-text/asciidoc"
|
||||
fi
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cgi? ( perl )
|
||||
cvs? ( perl )
|
||||
mediawiki? ( perl )
|
||||
subversion? ( perl )
|
||||
webdav? ( curl )
|
||||
gtk? ( python )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if use subversion && has_version "dev-vcs/subversion[dso]"; then
|
||||
ewarn "Per Gentoo bugs #223747, #238586, when subversion is built"
|
||||
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
|
||||
ewarn "have been warned."
|
||||
fi
|
||||
if use python ; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
# This is needed because for some obscure reasons future calls to make don't
|
||||
# pick up these exports if we export them in src_unpack()
|
||||
exportmakeopts() {
|
||||
local myopts
|
||||
|
||||
if use blksha1 ; then
|
||||
myopts="${myopts} BLK_SHA1=YesPlease"
|
||||
elif use ppcsha1 ; then
|
||||
myopts="${myopts} PPC_SHA1=YesPlease"
|
||||
fi
|
||||
|
||||
if use curl ; then
|
||||
use webdav || myopts="${myopts} NO_EXPAT=YesPlease"
|
||||
else
|
||||
myopts="${myopts} NO_CURL=YesPlease"
|
||||
fi
|
||||
|
||||
# broken assumptions, because of broken build system ...
|
||||
myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease"
|
||||
myopts="${myopts} INSTALL=install TAR=tar"
|
||||
myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh"
|
||||
myopts="${myopts} SANE_TOOL_PATH="
|
||||
myopts="${myopts} OLD_ICONV="
|
||||
myopts="${myopts} NO_EXTERNAL_GREP="
|
||||
|
||||
# For svn-fe
|
||||
extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')"
|
||||
|
||||
# can't define this to null, since the entire makefile depends on it
|
||||
sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile
|
||||
|
||||
use iconv \
|
||||
|| myopts="${myopts} NO_ICONV=YesPlease"
|
||||
use nls \
|
||||
|| myopts="${myopts} NO_GETTEXT=YesPlease"
|
||||
use tk \
|
||||
|| myopts="${myopts} NO_TCLTK=YesPlease"
|
||||
use pcre \
|
||||
&& myopts="${myopts} USE_LIBPCRE=yes" \
|
||||
&& extlibs="${extlibs} -lpcre"
|
||||
use perl \
|
||||
&& myopts="${myopts} INSTALLDIRS=vendor" \
|
||||
|| myopts="${myopts} NO_PERL=YesPlease"
|
||||
use python \
|
||||
|| myopts="${myopts} NO_PYTHON=YesPlease"
|
||||
use subversion \
|
||||
|| myopts="${myopts} NO_SVN_TESTS=YesPlease"
|
||||
use threads \
|
||||
&& myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" \
|
||||
|| myopts="${myopts} NO_PTHREADS=YesPlease"
|
||||
use cvs \
|
||||
|| myopts="${myopts} NO_CVS=YesPlease"
|
||||
# Disabled until ~m68k-mint can be keyworded again
|
||||
# if [[ ${CHOST} == *-mint* ]] ; then
|
||||
# myopts="${myopts} NO_MMAP=YesPlease"
|
||||
# myopts="${myopts} NO_IPV6=YesPlease"
|
||||
# myopts="${myopts} NO_STRLCPY=YesPlease"
|
||||
# myopts="${myopts} NO_MEMMEM=YesPlease"
|
||||
# myopts="${myopts} NO_MKDTEMP=YesPlease"
|
||||
# myopts="${myopts} NO_MKSTEMPS=YesPlease"
|
||||
# fi
|
||||
if [[ ${CHOST} == ia64-*-hpux* ]]; then
|
||||
myopts="${myopts} NO_NSEC=YesPlease"
|
||||
fi
|
||||
if [[ ${CHOST} == *-*-aix* ]]; then
|
||||
myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease"
|
||||
fi
|
||||
if [[ ${CHOST} == *-solaris* ]]; then
|
||||
myopts="${myopts} NEEDS_LIBICONV=YesPlease"
|
||||
fi
|
||||
|
||||
has_version '>=app-text/asciidoc-8.0' \
|
||||
&& myopts="${myopts} ASCIIDOC8=YesPlease"
|
||||
myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease"
|
||||
|
||||
# Bug 290465:
|
||||
# builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim'
|
||||
[[ "${CHOST}" == *-uclibc* ]] && \
|
||||
myopts="${myopts} NO_NSEC=YesPlease"
|
||||
|
||||
export MY_MAKEOPTS="${myopts}"
|
||||
export EXTLIBS="${extlibs}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
unpack ${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
use doc && \
|
||||
cd "${S}"/Documentation && \
|
||||
unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
else
|
||||
git-2_src_unpack
|
||||
cd "${S}"
|
||||
#cp "${FILESDIR}"/GIT-VERSION-GEN .
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #350330 - automagic CVS when we don't want it is bad.
|
||||
epatch "${FILESDIR}"/git-1.9.0_rc3-optional-cvs.patch
|
||||
|
||||
# install mediawiki perl modules also in vendor_dir
|
||||
# hack, needs better upstream solution
|
||||
epatch "${FILESDIR}"/git-1.8.5-mw-vendor.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
sed -i \
|
||||
-e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \
|
||||
-e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \
|
||||
-e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \
|
||||
-e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \
|
||||
-e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
-e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
Makefile contrib/svn-fe/Makefile || die "sed failed"
|
||||
|
||||
# Never install the private copy of Error.pm (bug #296310)
|
||||
sed -i \
|
||||
-e '/private-Error.pm/s,^,#,' \
|
||||
perl/Makefile.PL
|
||||
|
||||
# Fix docbook2texi command
|
||||
sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \
|
||||
Documentation/Makefile || die "sed failed"
|
||||
|
||||
# Fix git-subtree missing DESTDIR
|
||||
sed -i \
|
||||
-e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \
|
||||
-e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \
|
||||
contrib/subtree/Makefile
|
||||
}
|
||||
|
||||
git_emake() {
|
||||
# bug #326625: PERL_PATH, PERL_MM_OPT
|
||||
# bug #320647: PYTHON_PATH
|
||||
PYTHON_PATH=""
|
||||
use python && PYTHON_PATH="${PYTHON}"
|
||||
emake ${MY_MAKEOPTS} \
|
||||
DESTDIR="${D}" \
|
||||
OPTCFLAGS="${CFLAGS}" \
|
||||
OPTLDFLAGS="${LDFLAGS}" \
|
||||
OPTCC="$(tc-getCC)" \
|
||||
OPTAR="$(tc-getAR)" \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
sysconfdir="${EPREFIX}"/etc \
|
||||
PYTHON_PATH="${PYTHON_PATH}" \
|
||||
PERL_MM_OPT="" \
|
||||
GIT_TEST_OPTS="--no-color" \
|
||||
V=1 \
|
||||
"$@"
|
||||
# This is the fix for bug #326625, but it also causes breakage, see bug
|
||||
# #352693.
|
||||
# PERL_PATH="${EPREFIX}/usr/bin/env perl" \
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
exportmakeopts
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use perl ; then
|
||||
git_emake perl/PM.stamp || die "emake perl/PM.stamp failed"
|
||||
git_emake perl/perl.mak || die "emake perl/perl.mak failed"
|
||||
fi
|
||||
git_emake || die "emake failed"
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile contrib/emacs/git{,-blame}.el
|
||||
fi
|
||||
|
||||
if use perl && use cgi ; then
|
||||
git_emake \
|
||||
gitweb/gitweb.cgi \
|
||||
|| die "emake gitweb/gitweb.cgi failed"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain"
|
||||
git_emake || die "emake credential-osxkeychain"
|
||||
fi
|
||||
|
||||
cd "${S}"/Documentation
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
git_emake man \
|
||||
|| die "emake man failed"
|
||||
if use doc ; then
|
||||
git_emake info html \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
else
|
||||
if use doc ; then
|
||||
git_emake info \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use subversion ; then
|
||||
cd "${S}"/contrib/svn-fe
|
||||
git_emake EXTLIBS="${EXTLIBS}" || die "emake svn-fe failed"
|
||||
if use doc ; then
|
||||
git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed"
|
||||
fi
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
if use gnome-keyring ; then
|
||||
cd "${S}"/contrib/credential/gnome-keyring
|
||||
git_emake || die "emake git-credential-gnome-keyring failed"
|
||||
fi
|
||||
|
||||
cd "${S}"/contrib/subtree
|
||||
git_emake
|
||||
use doc && git_emake doc
|
||||
|
||||
if use mediawiki ; then
|
||||
cd "${S}"/contrib/mw-to-git
|
||||
git_emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
git_emake \
|
||||
install || \
|
||||
die "make install failed"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
|
||||
fi
|
||||
|
||||
# Depending on the tarball and manual rebuild of the documentation, the
|
||||
# manpages may exist in either OR both of these directories.
|
||||
find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]
|
||||
find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157]
|
||||
|
||||
dodoc README Documentation/{SubmittingPatches,CodingGuidelines}
|
||||
use doc && dodir /usr/share/doc/${PF}/html
|
||||
for d in / /howto/ /technical/ ; do
|
||||
docinto ${d}
|
||||
dodoc Documentation${d}*.txt
|
||||
use doc && dohtml -p ${d} Documentation${d}*.html
|
||||
done
|
||||
docinto /
|
||||
# Upstream does not ship this pre-built :-(
|
||||
use doc && doinfo Documentation/{git,gitman}.info
|
||||
|
||||
newbashcomp contrib/completion/git-completion.bash ${PN}
|
||||
# Not really a bash-completion file (bug #477920)
|
||||
dodoc contrib/completion/git-prompt.sh
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} contrib/emacs/git.{el,elc}
|
||||
elisp-install ${PN} contrib/emacs/git-blame.{el,elc}
|
||||
#elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc}
|
||||
# don't add automatically to the load-path, so the sitefile
|
||||
# can do a conditional loading
|
||||
touch "${ED}${SITELISP}/${PN}/compat/.nosearch"
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
if use python && use gtk ; then
|
||||
python_doscript "${S}"/contrib/gitview/gitview
|
||||
dodoc "${S}"/contrib/gitview/gitview.txt
|
||||
fi
|
||||
|
||||
#dobin contrib/fast-import/git-p4 # Moved upstream
|
||||
#dodoc contrib/fast-import/git-p4.txt # Moved upstream
|
||||
newbin contrib/fast-import/import-tars.perl import-tars
|
||||
exeinto /usr/libexec/git-core/
|
||||
newexe contrib/git-resurrect.sh git-resurrect
|
||||
|
||||
# git-subtree
|
||||
cd "${S}"/contrib/subtree
|
||||
git_emake install || die "Failed to emake install git-subtree"
|
||||
if use doc ; then
|
||||
git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree"
|
||||
fi
|
||||
newdoc README README.git-subtree
|
||||
dodoc git-subtree.txt
|
||||
cd "${S}"
|
||||
|
||||
if use mediawiki ; then
|
||||
cd "${S}"/contrib/mw-to-git
|
||||
git_emake install
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
# git-diffall
|
||||
dobin contrib/diffall/git-diffall
|
||||
newdoc contrib/diffall/README git-diffall.txt
|
||||
|
||||
# diff-highlight
|
||||
dobin contrib/diff-highlight/diff-highlight
|
||||
newdoc contrib/diff-highlight/README README.diff-highlight
|
||||
|
||||
# git-jump
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/git-jump/git-jump
|
||||
newdoc contrib/git-jump/README git-jump.txt
|
||||
|
||||
# git-contacts
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/contacts/git-contacts
|
||||
dodoc contrib/contacts/git-contacts.txt
|
||||
|
||||
if use gnome-keyring ; then
|
||||
cd "${S}"/contrib/credential/gnome-keyring
|
||||
dobin git-credential-gnome-keyring
|
||||
fi
|
||||
|
||||
if use subversion ; then
|
||||
cd "${S}"/contrib/svn-fe
|
||||
dobin svn-fe
|
||||
dodoc svn-fe.txt
|
||||
use doc && doman svn-fe.1 && dohtml svn-fe.html
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
# remote-helpers
|
||||
if use python ; then
|
||||
python_scriptinto /usr/libexec/git-core/
|
||||
python_doscript "${S}"/contrib/remote-helpers/git-remote-{bzr,hg}
|
||||
python_optimize
|
||||
fi
|
||||
|
||||
dodir /usr/share/${PN}/contrib
|
||||
# The following are excluded:
|
||||
# completion - installed above
|
||||
# credential/gnome-keyring TODO
|
||||
# diff-highlight - done above
|
||||
# diffall - done above
|
||||
# emacs - installed above
|
||||
# examples - these are stuff that is not used in Git anymore actually
|
||||
# git-jump - done above
|
||||
# gitview - installed above
|
||||
# p4import - excluded because fast-import has a better one
|
||||
# patches - stuff the Git guys made to go upstream to other places
|
||||
# persistent-https - TODO
|
||||
# mw-to-git - TODO
|
||||
# subtree - build seperately
|
||||
# svnimport - use git-svn
|
||||
# thunderbird-patch-inline - fixes thunderbird
|
||||
for i in \
|
||||
buildsystems convert-objects fast-import \
|
||||
hg-to-git hooks remotes2config.sh rerere-train.sh \
|
||||
stats vim workdir \
|
||||
; do
|
||||
cp -rf \
|
||||
"${S}"/contrib/${i} \
|
||||
"${ED}"/usr/share/${PN}/contrib \
|
||||
|| die "Failed contrib ${i}"
|
||||
done
|
||||
|
||||
if use perl && use cgi ; then
|
||||
# We used to install in /usr/share/${PN}/gitweb
|
||||
# but upstream installs in /usr/share/gitweb
|
||||
# so we will install a symlink and use their location for compat with other
|
||||
# distros
|
||||
dosym /usr/share/gitweb /usr/share/${PN}/gitweb
|
||||
|
||||
# INSTALL discusses configuration issues, not just installation
|
||||
docinto /
|
||||
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
|
||||
newdoc "${S}"/gitweb/README README.gitweb
|
||||
|
||||
find "${ED}"/usr/lib64/perl5/ \
|
||||
-name .packlist \
|
||||
-exec rm \{\} \;
|
||||
else
|
||||
rm -rf "${ED}"/usr/share/gitweb
|
||||
fi
|
||||
|
||||
if ! use subversion ; then
|
||||
rm -f "${ED}"/usr/libexec/git-core/git-svn \
|
||||
"${ED}"/usr/share/man/man1/git-svn.1*
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/git-daemon.xinetd git-daemon
|
||||
fi
|
||||
|
||||
if use !prefix ; then
|
||||
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
|
||||
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
|
||||
systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service"
|
||||
systemd_dounit "${FILESDIR}/git-daemon.socket"
|
||||
fi
|
||||
|
||||
fixlocalpod
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local disabled=""
|
||||
local tests_cvs="t9200-git-cvsexportcommit.sh \
|
||||
t9400-git-cvsserver-server.sh \
|
||||
t9401-git-cvsserver-crlf.sh \
|
||||
t9402-git-cvsserver-refs.sh \
|
||||
t9600-cvsimport.sh \
|
||||
t9601-cvsimport-vendor-branch.sh \
|
||||
t9602-cvsimport-branches-tags.sh \
|
||||
t9603-cvsimport-patchsets.sh \
|
||||
t9604-cvsimport-timestamps.sh"
|
||||
local tests_perl="t3701-add-interactive.sh \
|
||||
t5502-quickfetch.sh \
|
||||
t5512-ls-remote.sh \
|
||||
t5520-pull.sh \
|
||||
t7106-reset-unborn-branch.sh \
|
||||
t7501-commit.sh"
|
||||
# Bug #225601 - t0004 is not suitable for root perm
|
||||
# Bug #219839 - t1004 is not suitable for root perm
|
||||
# t0001-init.sh - check for init notices EPERM* fails
|
||||
local tests_nonroot="t0001-init.sh \
|
||||
t0004-unwritable.sh \
|
||||
t0070-fundamental.sh \
|
||||
t1004-read-tree-m-u-wf.sh \
|
||||
t3700-add.sh \
|
||||
t7300-clean.sh"
|
||||
# t9100 still fails with symlinks in SVN 1.7
|
||||
local test_svn="t9100-git-svn-basic.sh"
|
||||
|
||||
# Unzip is used only for the testcase code, not by any normal parts of Git.
|
||||
if ! has_version app-arch/unzip ; then
|
||||
einfo "Disabling tar-tree tests"
|
||||
disabled="${disabled} t5000-tar-tree.sh"
|
||||
fi
|
||||
|
||||
cvs=0
|
||||
use cvs && let cvs=$cvs+1
|
||||
if [[ ${EUID} -eq 0 ]]; then
|
||||
if [[ $cvs -eq 1 ]]; then
|
||||
ewarn "Skipping CVS tests because CVS does not work as root!"
|
||||
ewarn "You should retest with FEATURES=userpriv!"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
einfo "Skipping other tests that require being non-root"
|
||||
disabled="${disabled} ${tests_nonroot}"
|
||||
else
|
||||
[[ $cvs -gt 0 ]] && \
|
||||
has_version dev-vcs/cvs && \
|
||||
let cvs=$cvs+1
|
||||
[[ $cvs -gt 1 ]] && \
|
||||
has_version "dev-vcs/cvs[server]" && \
|
||||
let cvs=$cvs+1
|
||||
if [[ $cvs -lt 3 ]]; then
|
||||
einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use perl ; then
|
||||
einfo "Disabling tests that need Perl"
|
||||
disabled="${disabled} ${tests_perl}"
|
||||
fi
|
||||
|
||||
einfo "Disabling tests that fail with SVN 1.7"
|
||||
disabled="${disabled} ${test_svn}"
|
||||
|
||||
# Reset all previously disabled tests
|
||||
cd "${S}/t"
|
||||
for i in *.sh.DISABLED ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}"
|
||||
done
|
||||
einfo "Disabled tests:"
|
||||
for i in ${disabled} ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i"
|
||||
done
|
||||
|
||||
# Avoid the test system removing the results because we want them ourselves
|
||||
sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \
|
||||
-i "${S}"/t/Makefile
|
||||
|
||||
# Clean old results first, must always run
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake clean
|
||||
|
||||
# Now run the tests, keep going if we hit an error, and don't terminate on
|
||||
# failure
|
||||
cd "${S}"
|
||||
einfo "Start test run"
|
||||
#MAKEOPTS=-j1
|
||||
nonfatal git_emake --keep-going test
|
||||
rc=$?
|
||||
|
||||
# Display nice results, now print the results
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake aggregate-results
|
||||
|
||||
# And bail if there was a problem
|
||||
[ $rc -eq 0 ] || die "tests failed. Please file a bug."
|
||||
}
|
||||
|
||||
showpkgdeps() {
|
||||
local pkg=$1
|
||||
shift
|
||||
elog " $(printf "%-17s:" ${pkg}) ${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
einfo "Please read /usr/share/bash-completion/git for Git bash command completion"
|
||||
einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt"
|
||||
einfo "Note that the prompt bash code is now in the seperate script"
|
||||
elog "These additional scripts need some dependencies:"
|
||||
echo
|
||||
showpkgdeps git-quiltimport "dev-util/quilt"
|
||||
showpkgdeps git-instaweb \
|
||||
"|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue