parent
d78df805cf
commit
70e4d91187
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PV=${PV/_rc/-rc}
|
||||
MY_P=${PN}-r${MY_PV}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sasl ssl"
|
||||
|
||||
# Maintainer note:
|
||||
# openssl DEPEND constraint, see:
|
||||
# https://github.com/mongodb/mongo-tools/issues/11
|
||||
|
||||
RDEPEND="!<dev-db/mongodb-3.0.0"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/go:=
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-build.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
if use sasl; then
|
||||
myconf="${myconf} sasl"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf="${myconf} ssl"
|
||||
fi
|
||||
|
||||
./build.sh ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PV=${PV/_rc/-rc}
|
||||
MY_P=${PN}-r${MY_PV}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sasl ssl"
|
||||
|
||||
# Maintainer note:
|
||||
# openssl DEPEND constraint, see:
|
||||
# https://github.com/mongodb/mongo-tools/issues/11
|
||||
|
||||
RDEPEND="!<dev-db/mongodb-3.0.0"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/go:=
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-build.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
if use sasl; then
|
||||
myconf="${myconf} sasl"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf="${myconf} ssl"
|
||||
fi
|
||||
|
||||
./build.sh ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Hard drive bottleneck testing benchmark suite"
|
||||
HOMEPAGE="http://www.coker.com.au/bonnie++/"
|
||||
SRC_URI="http://www.coker.com.au/bonnie++/experimental/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-compile-flags.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with debug) \
|
||||
--disable-stripping \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
emake zcav || die "emake zcav failed" # see #9073
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin bonnie++ zcav || die
|
||||
dobin bon_csv2html bon_csv2txt || die
|
||||
doman bon_csv2html.1 bon_csv2txt.1 bonnie++.8 zcav.8
|
||||
dohtml readme.html
|
||||
dodoc changelog.txt credits.txt
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
--- getc_putc.cpp.old 2004-09-15 02:37:21.500489552 +0200
|
||||
+++ getc_putc.cpp 2004-09-15 02:40:58.623481840 +0200
|
||||
@@ -165,7 +165,11 @@
|
||||
int size = 0, wrote;
|
||||
while(size < file_size)
|
||||
{
|
||||
- wrote = write(FILE_FD, buf, min(sizeof(buf), (unsigned int)file_size - size));
|
||||
+ //wrote = write(FILE_FD, buf, min(sizeof(buf), (unsigned int)file_size - size));
|
||||
+ /*
|
||||
+ * gcc doesn't like above line. ? : should do the job as good as min()...
|
||||
+ */
|
||||
+ wrote = write(FILE_FD, buf, (sizeof(buf) < (file_size - size) ? (sizeof(buf)):(file_size - size)));
|
||||
if(wrote < 0)
|
||||
{
|
||||
fprintf(stderr, "Can't extend file - disk full?\n");
|
@ -1,46 +0,0 @@
|
||||
diff -Naur bonnie++-1.93c.orig/bon_csv2html.cpp bonnie++-1.93c/bon_csv2html.cpp
|
||||
--- bonnie++-1.93c.orig/bon_csv2html.cpp 2008-05-02 14:12:19.000000000 +0200
|
||||
+++ bonnie++-1.93c/bon_csv2html.cpp 2008-05-02 14:13:57.000000000 +0200
|
||||
@@ -3,6 +3,7 @@
|
||||
#include <vector>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
// Maximum number of items expected on a csv line
|
||||
#define MAX_ITEMS 48
|
||||
diff -Naur bonnie++-1.93c.orig/getc_putc.cpp bonnie++-1.93c/getc_putc.cpp
|
||||
--- bonnie++-1.93c.orig/getc_putc.cpp 2008-05-02 14:12:19.000000000 +0200
|
||||
+++ bonnie++-1.93c/getc_putc.cpp 2008-05-02 14:19:15.000000000 +0200
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
+#include <string.h>
|
||||
#include <vector>
|
||||
|
||||
#include "duration.h"
|
||||
diff -Naur bonnie++-1.93c.orig/getc_putc_helper.cpp bonnie++-1.93c/getc_putc_helper.cpp
|
||||
--- bonnie++-1.93c.orig/getc_putc_helper.cpp 2008-05-02 14:12:19.000000000 +0200
|
||||
+++ bonnie++-1.93c/getc_putc_helper.cpp 2008-05-02 14:19:57.000000000 +0200
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
+#include <string.h>
|
||||
#include "duration.h"
|
||||
#include <vector>
|
||||
#include "getc_putc.h"
|
||||
diff -Naur bonnie++-1.93c.orig/zcav.cpp bonnie++-1.93c/zcav.cpp
|
||||
--- bonnie++-1.93c.orig/zcav.cpp 2008-05-02 14:12:19.000000000 +0200
|
||||
+++ bonnie++-1.93c/zcav.cpp 2008-05-02 14:20:42.000000000 +0200
|
||||
@@ -9,6 +9,9 @@
|
||||
#include "getopt.h"
|
||||
#endif
|
||||
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
+
|
||||
#define TOO_MANY_LOOPS 100
|
||||
|
||||
void usage()
|
@ -1,46 +0,0 @@
|
||||
diff -Naur bonnie++-1.93c.orig/bon_csv2html.cpp bonnie++-1.93c/bon_csv2html.cpp
|
||||
--- bonnie++-1.93c.orig/bon_csv2html.cpp 2008-05-02 14:12:19.000000000 +0200
|
||||
+++ bonnie++-1.93c/bon_csv2html.cpp 2008-05-02 14:13:57.000000000 +0200
|
||||
@@ -3,6 +3,7 @@
|
||||
#include <vector>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
// Maximum number of items expected on a csv line
|
||||
#define MAX_ITEMS 48
|
||||
diff -Naur bonnie++-1.93c.orig/getc_putc.cpp bonnie++-1.93c/getc_putc.cpp
|
||||
--- bonnie++-1.93c.orig/getc_putc.cpp 2008-05-02 14:12:19.000000000 +0200
|
||||
+++ bonnie++-1.93c/getc_putc.cpp 2008-05-02 14:19:15.000000000 +0200
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
+#include <string.h>
|
||||
#include <vector>
|
||||
|
||||
#include "duration.h"
|
||||
diff -Naur bonnie++-1.93c.orig/getc_putc_helper.cpp bonnie++-1.93c/getc_putc_helper.cpp
|
||||
--- bonnie++-1.93c.orig/getc_putc_helper.cpp 2008-05-02 14:12:19.000000000 +0200
|
||||
+++ bonnie++-1.93c/getc_putc_helper.cpp 2008-05-02 14:19:57.000000000 +0200
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
+#include <string.h>
|
||||
#include "duration.h"
|
||||
#include <vector>
|
||||
#include "getc_putc.h"
|
||||
diff -Naur bonnie++-1.93c.orig/zcav.cpp bonnie++-1.93c/zcav.cpp
|
||||
--- bonnie++-1.93c.orig/zcav.cpp 2008-05-02 14:12:19.000000000 +0200
|
||||
+++ bonnie++-1.93c/zcav.cpp 2008-05-02 14:20:42.000000000 +0200
|
||||
@@ -9,6 +9,9 @@
|
||||
#include "getopt.h"
|
||||
#endif
|
||||
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
+
|
||||
#define TOO_MANY_LOOPS 100
|
||||
|
||||
void usage()
|
@ -1,12 +0,0 @@
|
||||
diff -Nu -Nu -uarN bonnie++-1.93c.orig/bonnie++.8 bonnie++-1.93c/bonnie++.8
|
||||
--- bonnie++-1.93c.orig/bonnie++.8 2008-05-27 09:49:18.000000000 +0200
|
||||
+++ bonnie++-1.93c/bonnie++.8 2008-05-27 09:51:50.000000000 +0200
|
||||
@@ -32,7 +32,7 @@
|
||||
INN.
|
||||
.P
|
||||
All the details of the tests performed by Bonnie++ are contained in the file
|
||||
-.BR /usr/share/doc/bonnie++/readme.html
|
||||
+.BR /usr/share/doc/bonnie++-1.95/html/readme.html
|
||||
|
||||
.SH "OPTIONS"
|
||||
For Bonnie++ every option is of the form of a hyphen followed by a letter and
|
@ -1,7 +1,7 @@
|
||||
DIST kraft-0.58.tar.xz 556404 SHA256 12c92dbdae05d01a491111ed42dfa6f487ec477f60e536e5a80efa6592997524 SHA512 450d68022f5ea1a19b6b9461f3db65233cdc6939cae5367a4c95d22eb6207881cbd798d723a87d43d3f20e84d8ffb2d601a3245324fa1c10078300c5b8e06845 WHIRLPOOL 60371a2db0bc6b39d3c6ce0f20922e8749df3ae74bcafb7a43c5861b9715dff7aef8407f2446702394bf697dca647e3d61989fa733e0b40514e493ecd25f93ca
|
||||
DIST kraft-0.59.tar.xz 560116 SHA256 e05ff0b78a073bafffa5c0e41fe458461216b66fd57fc9432a1064a7be2b2034 SHA512 53576855e3a4ac054818cc3fcb5d123222c0a5839ba621ea7c1f390f1e3180b5c87b00daa09a57fbea64cbd1dc857c4cb7645c5f539635811ef236c76483dc36 WHIRLPOOL d442c33ecbee4f0b3d8f33b358a5f7fab9f9c99d5e70019ca9d5910a3b717530008b6b09c3573132a27681f9e554f83f1798bc6b5a71d71fd10c81884692dd6e
|
||||
EBUILD kraft-0.58.ebuild 730 SHA256 938cf710cafa9b9ff29fdf05bd6abb96308e24f3943873250af2c724391dc21a SHA512 3efc91f3548db23d597c08ee10ba53ceff9f0c37f96dd177a755e13d9095f88d4788a255e559ff8902fded4cbfae15d20b2d9b6c1eef51617aae31dece1f52a7 WHIRLPOOL 7cb9ba5ba4ae9f456154e855d1c6ad4cf512e7d20c4912c36d5b72fc1373b69e3832b7aa748d467da4a9e1afa50b40740381dfd4a2644ec28194387116451896
|
||||
EBUILD kraft-0.59.ebuild 732 SHA256 15d7e53e8b8ed2115dffb78bfeb11a4b928bd6618310911e13f4ffbf689bb7f9 SHA512 bd2c3a6468287a7cff36c1e5cad2bc38a1715ae74e09eb825518caeaacc1dc7c85fdd1ea4a296748289397fa6efaaaa3323f884a3c14699089696555c436fd8b WHIRLPOOL 75fbee1942ab960e5b4ec69668488d867ad5411920e40af52df0f7913c24fa05321d1f2b43a642f10f48710a6aaead1afdbae85ed81655f5ac6e6505374207f9
|
||||
EBUILD kraft-0.59.ebuild 731 SHA256 b126a49465df67473f42d9e17251b414f6cf5061940da6afae4f04dd3f15fe51 SHA512 c5df2e509798bcb0c2e2feffedd0e19272add136b7fdac2242db60ec39bba48ad407e51d0365e47ce7843795ab1eae26b6dd3e7f9cde295553c8ad812eb45228 WHIRLPOOL cced9f0dcf3693b73d0478a3a4c5ffe1ab7620dfe5f91769f0ea7f5a83d54cac80120a0d2f70d61d0ae861465bbad15e987d5db24bdc602a89bbbb64dd3646c5
|
||||
MISC ChangeLog 3238 SHA256 db62da1c6090d90c5f4927a01723a099eea39f4b217238f55fbd46d0829c3639 SHA512 f453d2cc107e3b7c0d89e17ae67b58af8d0b14c54fff22519946f905bba67555a7cb3f9ae83357b3e9953b4d1a439872e838f7dffe5b28a6aeda5fb6d5a083fd WHIRLPOOL 5224fe4e6908f995dc525f3e31070173333169ca6967b6ffa8a758edc984be2ae910781b944eeda9274da6e57f23ec12d093da38674c7558b78d3093369b991d
|
||||
MISC ChangeLog-2015 2564 SHA256 dc0f232741405c27b965d900725fc52ff1035e110c83e362f8bf2c6ce61dd3bb SHA512 df98953b22a5fb9850533946cf689a382cfdc62f8db15a1e43b8541b08b47261fdcaadb71c9dc32b7e7b282a1d9ac48d0b223bd3c061605ba0d4b34aa67f6f7c WHIRLPOOL 54119dbe54926341cd1c35b9e53d4b06abdd8faa507b328970d0eccc6a1c62b2b8d3b6db8366b19187a5561259832e2d6e6436df68bdcb4dfce0b19474313f2c
|
||||
MISC metadata.xml 324 SHA256 85191ed8715e115fc87a453e1cd407e35e3bcd5c3af4d4993a109081217a3144 SHA512 daa8d6137a400ea0c63cc6562ed5b1e30b84f9decfe0d8c6bd89b6a4e13915435f777cb324bc83e2fd293f1d498ed545c09ea02a3aa8d3cd32b2c1c7456d50dd WHIRLPOOL c060b3ead31d17ead377a4e662fca286eb35fa3350a3c1b537fda3aa719d4ecc607cd529518b18f81c940535e06444b7ef46e9677e868a1840d1b77c71872e15
|
||||
|
@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
SCONS_MIN_VERSION="2.3.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils systemd user versionator check-reqs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug kerberos mms-agent ssl +tools"
|
||||
|
||||
RDEPEND="app-arch/snappy
|
||||
>=dev-cpp/yaml-cpp-0.5.1
|
||||
>=dev-libs/boost-1.57[threads(+)]
|
||||
>=dev-libs/libpcre-8.30[cxx]
|
||||
dev-libs/snowball-stemmer
|
||||
net-libs/libpcap
|
||||
sys-libs/zlib
|
||||
mms-agent? ( app-admin/mms-agent )
|
||||
ssl? ( >=dev-libs/openssl-1.0.1g:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gcc-4.8.2:*
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
|
||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
# Maintainer notes
|
||||
#
|
||||
# --use-system-tcmalloc is strongly NOT recommended:
|
||||
# https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
|
||||
#
|
||||
# --c++11 is required by scons instead of auto detection:
|
||||
# https://jira.mongodb.org/browse/SERVER-19661
|
||||
|
||||
scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX) --c++11"
|
||||
scons_opts+=" --disable-warnings-as-errors"
|
||||
scons_opts+=" --use-system-boost"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-stemmer"
|
||||
scons_opts+=" --use-system-yaml"
|
||||
|
||||
if use debug; then
|
||||
scons_opts+=" --dbg=on"
|
||||
fi
|
||||
|
||||
if use prefix; then
|
||||
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
|
||||
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
|
||||
fi
|
||||
|
||||
if use kerberos; then
|
||||
scons_opts+=" --use-sasl-client"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=" --ssl"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-fix-scons.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
escons ${scons_opts} core tools
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# wrt bug #461466
|
||||
if [[ "$(get_libdir)" == "lib64" ]]; then
|
||||
rmdir "${ED}"/usr/lib/ &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} dbtest
|
||||
"${S}"/dbtest --dbpath=unittest || die "dbtest failed"
|
||||
escons ${scons_opts} smokeCppUnittests --smokedbprefix="smokecpptest" || die "smokeCppUnittests tests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
|
||||
ewarn "!! IMPORTANT !!"
|
||||
ewarn " "
|
||||
ewarn "${PN} configuration files have changed !"
|
||||
ewarn " "
|
||||
ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf"
|
||||
ewarn " http://docs.mongodb.org/manual/reference/configuration-options/"
|
||||
ewarn " "
|
||||
ewarn "Make sure you also follow the upgrading process :"
|
||||
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/"
|
||||
ewarn " "
|
||||
ewarn "MongoDB 3.0 introduces the WiredTiger storage engine."
|
||||
ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it."
|
||||
ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf"
|
||||
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger"
|
||||
fi
|
||||
}
|
@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
SCONS_MIN_VERSION="2.3.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils systemd user versionator check-reqs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug kerberos mms-agent ssl +tools"
|
||||
|
||||
RDEPEND="app-arch/snappy
|
||||
>=dev-cpp/yaml-cpp-0.5.1
|
||||
>=dev-libs/boost-1.57[threads(+)]
|
||||
>=dev-libs/libpcre-8.30[cxx]
|
||||
dev-libs/snowball-stemmer
|
||||
net-libs/libpcap
|
||||
sys-libs/zlib
|
||||
mms-agent? ( app-admin/mms-agent )
|
||||
ssl? ( >=dev-libs/openssl-1.0.1g:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gcc-4.8.2:*
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
|
||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
# Maintainer notes
|
||||
#
|
||||
# --use-system-tcmalloc is strongly NOT recommended:
|
||||
# https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
|
||||
#
|
||||
# --c++11 is required by scons instead of auto detection:
|
||||
# https://jira.mongodb.org/browse/SERVER-19661
|
||||
|
||||
scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX) --c++11"
|
||||
scons_opts+=" --disable-warnings-as-errors"
|
||||
scons_opts+=" --use-system-boost"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-stemmer"
|
||||
scons_opts+=" --use-system-yaml"
|
||||
|
||||
if use debug; then
|
||||
scons_opts+=" --dbg=on"
|
||||
fi
|
||||
|
||||
if use prefix; then
|
||||
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
|
||||
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
|
||||
fi
|
||||
|
||||
if use kerberos; then
|
||||
scons_opts+=" --use-sasl-client"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=" --ssl"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-fix-scons.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
escons ${scons_opts} core tools
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# wrt bug #461466
|
||||
if [[ "$(get_libdir)" == "lib64" ]]; then
|
||||
rmdir "${ED}"/usr/lib/ &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} dbtest
|
||||
"${S}"/dbtest --dbpath=unittest || die "dbtest failed"
|
||||
escons ${scons_opts} smokeCppUnittests --smokedbprefix="smokecpptest" || die "smokeCppUnittests tests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
|
||||
ewarn "!! IMPORTANT !!"
|
||||
ewarn " "
|
||||
ewarn "${PN} configuration files have changed !"
|
||||
ewarn " "
|
||||
ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf"
|
||||
ewarn " http://docs.mongodb.org/manual/reference/configuration-options/"
|
||||
ewarn " "
|
||||
ewarn "Make sure you also follow the upgrading process :"
|
||||
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/"
|
||||
ewarn " "
|
||||
ewarn "MongoDB 3.0 introduces the WiredTiger storage engine."
|
||||
ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it."
|
||||
ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf"
|
||||
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger"
|
||||
fi
|
||||
}
|
@ -1,156 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
SCONS_MIN_VERSION="2.3.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils systemd user versionator check-reqs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug kerberos libressl mms-agent ssl +tools"
|
||||
|
||||
RDEPEND="app-arch/snappy
|
||||
>=dev-cpp/yaml-cpp-0.5.1
|
||||
>=dev-libs/boost-1.57[threads(+)]
|
||||
>=dev-libs/libpcre-8.30[cxx]
|
||||
dev-libs/snowball-stemmer
|
||||
net-libs/libpcap
|
||||
sys-libs/zlib
|
||||
mms-agent? ( app-admin/mms-agent )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.1g:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gcc-4.8.2:*
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
|
||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
# Maintainer notes
|
||||
#
|
||||
# --use-system-tcmalloc is strongly NOT recommended:
|
||||
# https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
|
||||
#
|
||||
# --c++11 is required by scons instead of auto detection:
|
||||
# https://jira.mongodb.org/browse/SERVER-19661
|
||||
|
||||
scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX) --c++11"
|
||||
scons_opts+=" --disable-warnings-as-errors"
|
||||
scons_opts+=" --use-system-boost"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-stemmer"
|
||||
scons_opts+=" --use-system-yaml"
|
||||
|
||||
if use debug; then
|
||||
scons_opts+=" --dbg=on"
|
||||
fi
|
||||
|
||||
if use prefix; then
|
||||
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
|
||||
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
|
||||
fi
|
||||
|
||||
if use kerberos; then
|
||||
scons_opts+=" --use-sasl-client"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=" --ssl"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-fix-scons.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
escons ${scons_opts} core tools
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# wrt bug #461466
|
||||
if [[ "$(get_libdir)" == "lib64" ]]; then
|
||||
rmdir "${ED}"/usr/lib/ &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} dbtest
|
||||
"${S}"/dbtest --dbpath=unittest || die "dbtest failed"
|
||||
escons ${scons_opts} smokeCppUnittests --smokedbprefix="smokecpptest" || die "smokeCppUnittests tests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
|
||||
ewarn "!! IMPORTANT !!"
|
||||
ewarn " "
|
||||
ewarn "${PN} configuration files have changed !"
|
||||
ewarn " "
|
||||
ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf"
|
||||
ewarn " http://docs.mongodb.org/manual/reference/configuration-options/"
|
||||
ewarn " "
|
||||
ewarn "Make sure you also follow the upgrading process :"
|
||||
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/"
|
||||
ewarn " "
|
||||
ewarn "MongoDB 3.0 introduces the WiredTiger storage engine."
|
||||
ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it."
|
||||
ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf"
|
||||
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger"
|
||||
fi
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PV=${PV//./}
|
||||
SRC_URI="http://www.cs.arizona.edu/icon/ftp/packages/unix/icon-v${MY_PV}src.tgz"
|
||||
HOMEPAGE="http://www.cs.arizona.edu/icon/"
|
||||
DESCRIPTION="very high level language"
|
||||
|
||||
LICENSE="public-domain HPND"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X iplsrc"
|
||||
|
||||
S="${WORKDIR}/icon-v${MY_PV}src"
|
||||
|
||||
DEPEND="X? ( x11-proto/xextproto
|
||||
x11-proto/xproto
|
||||
x11-libs/libX11
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt )
|
||||
|| ( sys-devel/gcc sys-devel/gcc-apple )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
# do not prestrip files
|
||||
find "${S}"/src -name 'Makefile' | xargs sed -i -e "/strip/d" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# select the right compile target. Note there are many platforms
|
||||
# available
|
||||
local mytarget;
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
mytarget="macintosh"
|
||||
else
|
||||
mytarget="linux"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
emake X-Configure name=${mytarget} -j1 || die
|
||||
else
|
||||
emake Configure name=${mytarget} -j1 || die
|
||||
fi
|
||||
|
||||
# sanitise the Makedefs file generated by Configure
|
||||
sed -i \
|
||||
-e 's:-L/usr/X11R6/lib64::g' \
|
||||
-e 's:-L/usr/X11R6/lib::g' \
|
||||
-e 's:-I/usr/X11R6/include::g' \
|
||||
Makedefs || die "sed of Makedefs failed"
|
||||
|
||||
append-flags $(test-flags -fno-strict-aliasing -fwrapv)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make Samples || die "Samples failed"
|
||||
make Test || die "Test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
dodir /usr/bin
|
||||
dodir /usr/$(get_libdir)
|
||||
|
||||
make Install dest="${ED}/usr/$(get_libdir)/icon" || die "Make install failed"
|
||||
dosym /usr/$(get_libdir)/icon/bin/icont /usr/bin/icont
|
||||
dosym /usr/$(get_libdir)/icon/bin/iconx /usr/bin/iconx
|
||||
dosym /usr/$(get_libdir)/icon/bin/icon /usr/bin/icon
|
||||
dosym /usr/$(get_libdir)/icon/bin/vib /usr/bin/vib
|
||||
|
||||
cd "${S}/man/man1" || die
|
||||
doman "${PN}"t.1
|
||||
doman "${PN}".1
|
||||
rm -rf "${ED}"/usr/$(get_libdir)/${PN}/man || die
|
||||
|
||||
cd "${S}/doc" || die
|
||||
dodoc *.txt *.sed ../README
|
||||
# dohtml ignores all anything except .html files, no use here
|
||||
mkdir -p "${ED}"/usr/share/doc/${PF}/html
|
||||
cp -dpR *.htm *.gif *.jpg *.css "${ED}"/usr/share/doc/${PF}/html || die
|
||||
rm -rf "${ED}"/usr/$(get_libdir)/icon/{doc,README} || die
|
||||
|
||||
# optional Icon Programming Library
|
||||
if use iplsrc; then
|
||||
cd "${S}" || die
|
||||
dodir /usr/$(get_libdir)/icon/ipl
|
||||
rm -fv ipl/{BuildBin,BuildExe,CheckAll,Makefile} || die
|
||||
insinto /usr/$(get_libdir)/icon
|
||||
doins -r ipl
|
||||
fi
|
||||
}
|
@ -1,352 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator
|
||||
|
||||
MY_P=${PN}_$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
SLOT="0/${MAJOR_V}"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
|
||||
!icu? ( virtual/libiconv )
|
||||
mpi? ( virtual/mpi[cxx,threads] )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-1.52.0*"
|
||||
|
||||
REQUIRED_USE="mpi? ( threads )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_configuration="using python : : ${PYTHON} ;"
|
||||
fi
|
||||
|
||||
cat > user-config.jam << __EOF__
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT}etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT}etc/site-config.jam" && grep -q gentoodebug "${EROOT}etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT}etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT}usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
|
||||
"${FILESDIR}/remove-toolset-1.48.0.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-tuple.patch" \
|
||||
"${FILESDIR}/${P}-locale-utf.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-threads.patch" \
|
||||
"${FILESDIR}/${PN}-1.53.0-glibc-2.18-compat.patch" # bug 482372
|
||||
|
||||
# Avoid a patch for now
|
||||
for file in libs/context/src/asm/*.S; do
|
||||
cat - >> $file <<EOF
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
EOF
|
||||
done
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
ejam() {
|
||||
echo b2 "$@"
|
||||
b2 "$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[ "$(makeopts_jobs)" -gt 64 ] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard.
|
||||
append-cxxflags -std=gnu++98
|
||||
|
||||
use icu && OPTIONS+=" -sICU_PATH=/usr"
|
||||
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
|
||||
use mpi || OPTIONS+=" --without-mpi"
|
||||
use python || OPTIONS+=" --without-python"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build --prefix=\"${D}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared) --without-context"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export BOOST_ROOT="${S}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${EPYTHON} \
|
||||
|| die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \
|
||||
|| die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if use tools; then
|
||||
pushd tools > /dev/null || die
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
if use python; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${EPYTHON} ${dir} \
|
||||
|| die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
--includedir="${D}usr/include" \
|
||||
--libdir="${D}usr/$(get_libdir)" \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory.
|
||||
# https://svn.boost.org/trac/boost/ticket/2838
|
||||
if use mpi; then
|
||||
local moddir=$(python_get_sitedir)/boost
|
||||
dodir "${moddir}"
|
||||
mv "${D}usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
|
||||
cat << EOF > "${D}${moddir}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
rm -r "${D}"/usr/include/boost/python* || die
|
||||
fi
|
||||
|
||||
if ! use nls; then
|
||||
rm -r "${D}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
rm -r "${D}"/usr/include/boost/context || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
||||
dohtml \
|
||||
-A pdf,txt,cpp,hpp \
|
||||
*.{htm,html,png,css} \
|
||||
-r doc
|
||||
dohtml -A pdf,txt -r tools
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r libs
|
||||
doins -r more
|
||||
|
||||
# To avoid broken links
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
|
||||
pushd "${D}usr/$(get_libdir)" > /dev/null || die
|
||||
|
||||
local ext=$(get_libname)
|
||||
if use threads; then
|
||||
local f
|
||||
for f in *${ext}; do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||
done
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
if use tools; then
|
||||
dobin dist/bin/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r dist/share/boostbook
|
||||
fi
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED}"usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Yai for having symlinks that are nigh-impossible to remove without
|
||||
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||
# from the slotted versions.
|
||||
local symlink
|
||||
for symlink in "${EROOT}usr/include/boost" "${EROOT}usr/share/boostbook"; do
|
||||
[[ -L ${symlink} ]] && rm -f "${symlink}"
|
||||
done
|
||||
}
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
src_test() { :; }
|
@ -1,365 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator
|
||||
|
||||
MY_P=${PN}_$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
SLOT="0/${MAJOR_V}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
|
||||
IUSE="debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
|
||||
!icu? ( virtual/libiconv )
|
||||
mpi? ( virtual/mpi[cxx,threads] )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-${MAJOR_V}*"
|
||||
REQUIRED_USE="
|
||||
mpi? ( threads )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_configuration="using python : : ${PYTHON} ;"
|
||||
fi
|
||||
|
||||
cat > user-config.jam << __EOF__
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT}etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT}etc/site-config.jam" && grep -q gentoodebug "${EROOT}etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT}etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT}usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.53.0-library_status.patch" # bug 459112
|
||||
epatch "${FILESDIR}/${PN}-1.53.0-glibc-2.18-compat.patch" # bug 482372
|
||||
epatch "${FILESDIR}/${PN}-1.52.0-threads.patch"
|
||||
|
||||
# Avoid a patch for now
|
||||
for file in libs/context/src/asm/*.S; do
|
||||
cat - >> $file <<EOF
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
EOF
|
||||
done
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
ejam() {
|
||||
echo b2 "$@"
|
||||
b2 "$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[ "$(makeopts_jobs)" -gt 64 ] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
elif [[ ${CHOST} == *-winnt* ]]; then
|
||||
compiler=parity
|
||||
if [[ $($(tc-getCXX) -v) == *trunk* ]]; then
|
||||
compilerVersion=trunk
|
||||
else
|
||||
compilerVersion=$($(tc-getCXX) -v | sed '1q' \
|
||||
| sed -e 's,\([a-z]*\) \([0-9]\.[0-9]\.[0-9][^ \t]*\) .*,\2,')
|
||||
fi
|
||||
compilerExecutable=$(tc-getCXX)
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard.
|
||||
append-cxxflags -std=gnu++98
|
||||
|
||||
use icu && OPTIONS+=" -sICU_PATH=${EPREFIX}/usr"
|
||||
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
|
||||
use mpi || OPTIONS+=" --without-mpi"
|
||||
use python || OPTIONS+=" --without-python"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=${EPREFIX}/usr/share/boost-build --prefix=\"${ED}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)"
|
||||
OPTIONS+=" --without-context"
|
||||
|
||||
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=" -sNO_BZIP2=1"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export BOOST_ROOT="${S}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${EPYTHON} \
|
||||
|| die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \
|
||||
|| die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if use tools; then
|
||||
pushd tools > /dev/null || die
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
if use python; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${EPYTHON} ${dir} \
|
||||
|| die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
--includedir="${ED}usr/include" \
|
||||
--libdir="${ED}usr/$(get_libdir)" \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory.
|
||||
# https://svn.boost.org/trac/boost/ticket/2838
|
||||
if use mpi; then
|
||||
local moddir=$(python_get_sitedir)/boost
|
||||
# moddir already includes eprefix
|
||||
mkdir -p "${D}${moddir}" || die
|
||||
mv "${ED}usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
|
||||
cat << EOF > "${D}${moddir}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
rm -r "${ED}"/usr/include/boost/python* || die
|
||||
fi
|
||||
|
||||
if ! use nls; then
|
||||
rm -r "${ED}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
rm -r "${ED}"/usr/include/boost/context || die
|
||||
rm -r "${ED}"/usr/include/boost/coroutine || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
||||
dohtml \
|
||||
-A pdf,txt,cpp,hpp \
|
||||
*.{htm,html,png,css} \
|
||||
-r doc
|
||||
dohtml -A pdf,txt -r tools
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r libs
|
||||
doins -r more
|
||||
|
||||
# To avoid broken links
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
|
||||
pushd "${ED}usr/$(get_libdir)" > /dev/null || die
|
||||
|
||||
local ext=$(get_libname)
|
||||
if use threads; then
|
||||
local f
|
||||
for f in *${ext}; do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||
done
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
if use tools; then
|
||||
dobin dist/bin/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r dist/share/boostbook
|
||||
fi
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED}"usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Yai for having symlinks that are nigh-impossible to remove without
|
||||
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||
# from the slotted versions.
|
||||
local symlink
|
||||
for symlink in "${EROOT}usr/include/boost" "${EROOT}usr/share/boostbook"; do
|
||||
[[ -L ${symlink} ]] && rm -f "${symlink}"
|
||||
done
|
||||
}
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
src_test() { :; }
|
@ -1,365 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator
|
||||
|
||||
MY_P=${PN}_$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
SLOT="0/${MAJOR_V}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
|
||||
IUSE="debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
|
||||
!icu? ( virtual/libiconv )
|
||||
mpi? ( virtual/mpi[cxx,threads] )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-${MAJOR_V}*"
|
||||
REQUIRED_USE="
|
||||
mpi? ( threads )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_configuration="using python : : ${PYTHON} ;"
|
||||
fi
|
||||
|
||||
cat > user-config.jam << __EOF__
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT}etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT}etc/site-config.jam" && grep -q gentoodebug "${EROOT}etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT}etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT}usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.53.0-library_status.patch" # bug 459112
|
||||
epatch "${FILESDIR}/${PN}-1.53.0-glibc-2.18-compat.patch" # bug 482372
|
||||
epatch "${FILESDIR}/${PN}-1.52.0-threads.patch"
|
||||
|
||||
# Avoid a patch for now
|
||||
for file in libs/context/src/asm/*.S; do
|
||||
cat - >> $file <<EOF
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
EOF
|
||||
done
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
ejam() {
|
||||
echo b2 "$@"
|
||||
b2 "$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[ "$(makeopts_jobs)" -gt 64 ] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
elif [[ ${CHOST} == *-winnt* ]]; then
|
||||
compiler=parity
|
||||
if [[ $($(tc-getCXX) -v) == *trunk* ]]; then
|
||||
compilerVersion=trunk
|
||||
else
|
||||
compilerVersion=$($(tc-getCXX) -v | sed '1q' \
|
||||
| sed -e 's,\([a-z]*\) \([0-9]\.[0-9]\.[0-9][^ \t]*\) .*,\2,')
|
||||
fi
|
||||
compilerExecutable=$(tc-getCXX)
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard.
|
||||
append-cxxflags -std=gnu++98
|
||||
|
||||
use icu && OPTIONS+=" -sICU_PATH=${EPREFIX}/usr"
|
||||
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
|
||||
use mpi || OPTIONS+=" --without-mpi"
|
||||
use python || OPTIONS+=" --without-python"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=${EPREFIX}/usr/share/boost-build --prefix=\"${ED}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)"
|
||||
OPTIONS+=" --without-context --without-coroutine"
|
||||
|
||||
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=" -sNO_BZIP2=1"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export BOOST_ROOT="${S}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${EPYTHON} \
|
||||
|| die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \
|
||||
|| die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if use tools; then
|
||||
pushd tools > /dev/null || die
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
if use python; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${EPYTHON} ${dir} \
|
||||
|| die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
--includedir="${ED}usr/include" \
|
||||
--libdir="${ED}usr/$(get_libdir)" \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory.
|
||||
# https://svn.boost.org/trac/boost/ticket/2838
|
||||
if use mpi; then
|
||||
local moddir=$(python_get_sitedir)/boost
|
||||
# moddir already includes eprefix
|
||||
mkdir -p "${D}${moddir}" || die
|
||||
mv "${ED}usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
|
||||
cat << EOF > "${D}${moddir}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
rm -r "${ED}"/usr/include/boost/python* || die
|
||||
fi
|
||||
|
||||
if ! use nls; then
|
||||
rm -r "${ED}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
rm -r "${ED}"/usr/include/boost/context || die
|
||||
rm -r "${ED}"/usr/include/boost/coroutine || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
||||
dohtml \
|
||||
-A pdf,txt,cpp,hpp \
|
||||
*.{htm,html,png,css} \
|
||||
-r doc
|
||||
dohtml -A pdf,txt -r tools
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r libs
|
||||
doins -r more
|
||||
|
||||
# To avoid broken links
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
|
||||
pushd "${ED}usr/$(get_libdir)" > /dev/null || die
|
||||
|
||||
local ext=$(get_libname)
|
||||
if use threads; then
|
||||
local f
|
||||
for f in *${ext}; do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||
done
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
if use tools; then
|
||||
dobin dist/bin/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r dist/share/boostbook
|
||||
fi
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED}"usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Yai for having symlinks that are nigh-impossible to remove without
|
||||
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||
# from the slotted versions.
|
||||
local symlink
|
||||
for symlink in "${EROOT}usr/include/boost" "${EROOT}usr/share/boostbook"; do
|
||||
[[ -L ${symlink} ]] && rm -f "${symlink}"
|
||||
done
|
||||
}
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
src_test() { :; }
|
@ -1,95 +0,0 @@
|
||||
https://svn.boost.org/trac/boost/ticket/4657
|
||||
https://svn.boost.org/trac/boost/changeset/76290
|
||||
|
||||
--- libs/mpi/src/python/datatypes.cpp
|
||||
+++ libs/mpi/src/python/datatypes.cpp
|
||||
@@ -17,7 +17,9 @@
|
||||
|
||||
void export_datatypes()
|
||||
{
|
||||
+#if PY_MAJOR_VERSION < 3
|
||||
register_serialized(long(0), &PyInt_Type);
|
||||
+#endif
|
||||
register_serialized(false, &PyBool_Type);
|
||||
register_serialized(double(0.0), &PyFloat_Type);
|
||||
}
|
||||
--- libs/mpi/src/python/py_environment.cpp
|
||||
+++ libs/mpi/src/python/py_environment.cpp
|
||||
@@ -11,6 +11,9 @@
|
||||
* This file reflects the Boost.MPI "environment" class into Python
|
||||
* methods at module level.
|
||||
*/
|
||||
+
|
||||
+#include <locale>
|
||||
+#include <string>
|
||||
#include <boost/python.hpp>
|
||||
#include <boost/mpi.hpp>
|
||||
|
||||
@@ -50,11 +53,64 @@
|
||||
|
||||
// If anything changed, convert C-style argc/argv into Python argv
|
||||
if (mpi_argv != my_argv)
|
||||
+ {
|
||||
+#if PY_MAJOR_VERSION >= 3
|
||||
+
|
||||
+ wchar_t **argv_copy = (wchar_t **)PyMem_Malloc(sizeof(wchar_t*)*mpi_argc);
|
||||
+ /* We need a second copy, as Python might modify the first one. */
|
||||
+ wchar_t **argv_copy2 = (wchar_t **)PyMem_Malloc(sizeof(wchar_t*)*mpi_argc);
|
||||
+
|
||||
+ if (!argv_copy || !argv_copy2) {
|
||||
+ fprintf(stderr, "out of memory\n");
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ std::locale mylocale;
|
||||
+ mbstate_t mystate;
|
||||
+
|
||||
+ const std::codecvt<char, wchar_t, mbstate_t>& myfacet =
|
||||
+ std::use_facet<std::codecvt<char, wchar_t, mbstate_t> >(mylocale);
|
||||
+
|
||||
+ for (int i = 0; i < mpi_argc; i++)
|
||||
+ {
|
||||
+ size_t length = strlen(mpi_argv[i]);
|
||||
+
|
||||
+ wchar_t *dest = (wchar_t *) PyMem_Malloc(sizeof(wchar_t) * (length + 1));
|
||||
+
|
||||
+ const char *from_next;
|
||||
+ wchar_t *to_next;
|
||||
+
|
||||
+ std::codecvt<wchar_t,char,mbstate_t>::result myresult =
|
||||
+ myfacet.out(mystate,
|
||||
+ mpi_argv[i], mpi_argv[i] + length + 1, from_next,
|
||||
+ dest, dest+length+1, to_next);
|
||||
+
|
||||
+ if (myresult != std::codecvt<wchar_t,char,mbstate_t>::ok )
|
||||
+ {
|
||||
+ fprintf(stderr, "failure translating argv\n");
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
+ argv_copy2[i] = argv_copy[i] = dest;
|
||||
+ if (!argv_copy[i])
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ PySys_SetArgv(mpi_argc, argv_copy);
|
||||
+
|
||||
+ for (int i = 0; i < mpi_argc; i++) {
|
||||
+ PyMem_Free(argv_copy2[i]);
|
||||
+ }
|
||||
+ PyMem_Free(argv_copy);
|
||||
+ PyMem_Free(argv_copy2);
|
||||
+#else
|
||||
PySys_SetArgv(mpi_argc, mpi_argv);
|
||||
+#endif
|
||||
+ }
|
||||
|
||||
- for (int arg = 0; arg < my_argc; ++arg)
|
||||
- free(my_argv[arg]);
|
||||
- delete [] my_argv;
|
||||
+ for (int arg = 0; arg < mpi_argc; ++arg)
|
||||
+ free(mpi_argv[arg]);
|
||||
+ delete [] mpi_argv;
|
||||
|
||||
return true;
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
Index: boost/locale/utf.hpp
|
||||
===================================================================
|
||||
--- boost/locale/utf.hpp (revision 81589)
|
||||
+++ boost/locale/utf.hpp (revision 81590)
|
||||
@@ -219,16 +219,22 @@
|
||||
if(BOOST_LOCALE_UNLIKELY(p==e))
|
||||
return incomplete;
|
||||
tmp = *p++;
|
||||
+ if (!is_trail(tmp))
|
||||
+ return illegal;
|
||||
c = (c << 6) | ( tmp & 0x3F);
|
||||
case 2:
|
||||
if(BOOST_LOCALE_UNLIKELY(p==e))
|
||||
return incomplete;
|
||||
tmp = *p++;
|
||||
+ if (!is_trail(tmp))
|
||||
+ return illegal;
|
||||
c = (c << 6) | ( tmp & 0x3F);
|
||||
case 1:
|
||||
if(BOOST_LOCALE_UNLIKELY(p==e))
|
||||
return incomplete;
|
||||
tmp = *p++;
|
||||
+ if (!is_trail(tmp))
|
||||
+ return illegal;
|
||||
c = (c << 6) | ( tmp & 0x3F);
|
||||
}
|
||||
|
||||
Index: libs/locale/test/test_codepage_converter.cpp
|
||||
===================================================================
|
||||
--- libs/locale/test/test_codepage_converter.cpp (revision 81589)
|
||||
+++ libs/locale/test/test_codepage_converter.cpp (revision 81590)
|
||||
@@ -140,6 +140,20 @@
|
||||
TEST_TO("\xf8\x90\x80\x80\x80",illegal); // 400 0000
|
||||
TEST_TO("\xfd\xbf\xbf\xbf\xbf\xbf",illegal); // 7fff ffff
|
||||
|
||||
+ std::cout << "-- Invalid trail" << std::endl;
|
||||
+ TEST_TO("\xC2\x7F",illegal);
|
||||
+ TEST_TO("\xdf\x7F",illegal);
|
||||
+ TEST_TO("\xe0\x7F\x80",illegal);
|
||||
+ TEST_TO("\xef\xbf\x7F",illegal);
|
||||
+ TEST_TO("\xe0\x7F\x80",illegal);
|
||||
+ TEST_TO("\xef\xbf\x7F",illegal);
|
||||
+ TEST_TO("\xf0\x7F\x80\x80",illegal);
|
||||
+ TEST_TO("\xf4\x7f\xbf\xbf",illegal);
|
||||
+ TEST_TO("\xf0\x90\x7F\x80",illegal);
|
||||
+ TEST_TO("\xf4\x8f\x7F\xbf",illegal);
|
||||
+ TEST_TO("\xf0\x90\x80\x7F",illegal);
|
||||
+ TEST_TO("\xf4\x8f\xbf\x7F",illegal);
|
||||
+
|
||||
std::cout << "-- Invalid length" << std::endl;
|
||||
|
||||
/// Test that this actually works
|
@ -1,11 +0,0 @@
|
||||
--- boost/signals2/detail/variadic_slot_invoker.hpp.org 2012-11-20 09:15:55.000000000 +0400
|
||||
+++ boost/signals2/detail/variadic_slot_invoker.hpp 2012-11-20 09:19:56.000000000 +0400
|
||||
@@ -20,7 +20,7 @@
|
||||
// if compiler has std::tuple use it instead of boost::tuple
|
||||
// because boost::tuple does not have variadic template support at present.
|
||||
#ifdef BOOST_NO_CXX11_HDR_TUPLE
|
||||
-#include <boost/tuple.hpp>
|
||||
+#include <boost/tuple/tuple.hpp>
|
||||
#define BOOST_SIGNALS2_TUPLE boost::tuple
|
||||
#else
|
||||
#include <tuple>
|
@ -1,18 +0,0 @@
|
||||
Patch for compatibility with glibc 2.18
|
||||
Gentoo bugreport: https://bugs.gentoo.org/show_bug.cgi?id=482372
|
||||
Upstream fix: https://svn.boost.org/trac/boost/changeset/84950
|
||||
|
||||
--- boost_1_53_0/boost/cstdint.hpp 2012-12-11 22:42:26.000000000 +0800
|
||||
+++ boost_1_53_0.fix/boost/cstdint.hpp 2013-08-25 20:48:53.683000000 +0800
|
||||
@@ -41,7 +41,10 @@
|
||||
// so we disable use of stdint.h when GLIBC does not define __GLIBC_HAVE_LONG_LONG.
|
||||
// See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990
|
||||
//
|
||||
-#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))
|
||||
+#if defined(BOOST_HAS_STDINT_H) \
|
||||
+ && (!defined(__GLIBC__) \
|
||||
+ || defined(__GLIBC_HAVE_LONG_LONG) \
|
||||
+ || (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))
|
||||
|
||||
// The following #include is an implementation artifact; not part of interface.
|
||||
# ifdef __hpux
|
@ -1,57 +0,0 @@
|
||||
--- tools_orig/regression/src/library_status.cpp 2012-12-11 15:42:26.000000000 +0100
|
||||
+++ tools/regression/src/library_status.cpp 2013-07-11 16:15:54.000000000 +0200
|
||||
@@ -171,16 +171,17 @@
|
||||
// find_element ------------------------------------------------------------//
|
||||
|
||||
+ struct element_equal {
|
||||
+ const string & m_name;
|
||||
+ element_equal(const string & name) :
|
||||
+ m_name(name)
|
||||
+ {}
|
||||
+ bool operator()(const xml::element_ptr & xep) const {
|
||||
+ return xep.get()->name == m_name;
|
||||
+ }
|
||||
+ };
|
||||
+
|
||||
xml::element_list::const_iterator find_element(
|
||||
const xml::element & root, const string & name
|
||||
){
|
||||
- struct element_equal {
|
||||
- const string & m_name;
|
||||
- element_equal(const string & name) :
|
||||
- m_name(name)
|
||||
- {}
|
||||
- bool operator()(const xml::element_ptr & xep) const {
|
||||
- return xep.get()->name == m_name;
|
||||
- }
|
||||
- };
|
||||
return std::find_if(
|
||||
root.elements.begin(),
|
||||
@@ -203,17 +204,18 @@
|
||||
// attribute_value ----------------------------------------------------------//
|
||||
|
||||
+ struct attribute_equal {
|
||||
+ const string & m_name;
|
||||
+ attribute_equal(const string & name) :
|
||||
+ m_name(name)
|
||||
+ {}
|
||||
+ bool operator()(const xml::attribute & a) const {
|
||||
+ return a.name == m_name;
|
||||
+ }
|
||||
+ };
|
||||
+
|
||||
const string & attribute_value(
|
||||
const xml::element & element,
|
||||
const string & attribute_name
|
||||
){
|
||||
- struct attribute_equal {
|
||||
- const string & m_name;
|
||||
- attribute_equal(const string & name) :
|
||||
- m_name(name)
|
||||
- {}
|
||||
- bool operator()(const xml::attribute & a) const {
|
||||
- return a.name == m_name;
|
||||
- }
|
||||
- };
|
||||
xml::attribute_list::const_iterator itr;
|
||||
itr = std::find_if(
|
@ -1,11 +0,0 @@
|
||||
--- boostcpp.jam
|
||||
+++ boostcpp.jam
|
||||
@@ -377,7 +377,7 @@
|
||||
if $(layout) = versioned
|
||||
{
|
||||
result = [ common.format-name
|
||||
- <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
|
||||
+ <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
|
||||
-$(BUILD_ID)
|
||||
: $(name) : $(type) : $(property-set) ] ;
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
--- tools/cxxflags.orig 2006-12-13 22:56:53.000000000 +0100
|
||||
+++ tools/cxxflags 2006-12-13 22:57:30.000000000 +0100
|
||||
@@ -286,6 +286,7 @@
|
||||
if ($^O =~ /freebsd/i) {
|
||||
$flags{'mtlink'} .= " -pthread";
|
||||
$flags{'arextra'}.= "ranlib";
|
||||
+ $flags{'pic'} = '-fpic -shared';
|
||||
} elsif ($^O =~ /darwin/i) {
|
||||
$flags{'pic'} = '';
|
||||
$flags{'shared.ext'} = '.dylib';
|
@ -1,10 +0,0 @@
|
||||
--- src/libxml/node.cxx.orig 2008-04-05 02:55:35.804091000 +0200
|
||||
+++ src/libxml/node.cxx 2008-04-05 03:09:21.170667965 +0200
|
||||
@@ -51,6 +51,7 @@
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
#include <functional>
|
||||
+#include <cstring>
|
||||
|
||||
// libxml includes
|
||||
#include <libxml/tree.h>
|
@ -1,20 +0,0 @@
|
||||
--- xmlwrapp-0.5.0/src/libxml/node.cxx.orig 2007-07-06 08:13:31.000000000 +0200
|
||||
+++ xmlwrapp-0.5.0/src/libxml/node.cxx 2007-07-06 08:13:05.000000000 +0200
|
||||
@@ -512,10 +512,12 @@
|
||||
}
|
||||
}
|
||||
//####################################################################
|
||||
-std::ostream& xml::operator<< (std::ostream &stream, const xml::node &n) {
|
||||
- std::string xmldata;
|
||||
- n.node_to_string(xmldata);
|
||||
- stream << xmldata;
|
||||
- return stream;
|
||||
+namespace xml {
|
||||
+ std::ostream& operator<< (std::ostream &stream, const xml::node &n) {
|
||||
+ std::string xmldata;
|
||||
+ n.node_to_string(xmldata);
|
||||
+ stream << xmldata;
|
||||
+ return stream;
|
||||
+ }
|
||||
}
|
||||
//####################################################################
|
@ -1,33 +0,0 @@
|
||||
diff -Naur tests.orig/attributes/data/09.xml tests/attributes/data/09.xml
|
||||
--- tests.orig/attributes/data/09.xml 2006-10-24 21:45:02.000000000 +0200
|
||||
+++ tests/attributes/data/09.xml 2006-10-24 21:45:21.000000000 +0200
|
||||
@@ -1,2 +1,2 @@
|
||||
-<!DOCTYPE root SYSTEM "data/09.dtd">
|
||||
+<!DOCTYPE root SYSTEM "09.dtd">
|
||||
<root one="1"/>
|
||||
diff -Naur tests.orig/attributes/data/10.xml tests/attributes/data/10.xml
|
||||
--- tests.orig/attributes/data/10.xml 2006-10-24 21:45:02.000000000 +0200
|
||||
+++ tests/attributes/data/10.xml 2006-10-24 21:45:30.000000000 +0200
|
||||
@@ -1,3 +1,3 @@
|
||||
<?xml version="1.0" ?>
|
||||
-<!DOCTYPE example SYSTEM "data/10.dtd">
|
||||
+<!DOCTYPE example SYSTEM "10.dtd">
|
||||
<example>See?</example>
|
||||
diff -Naur tests.orig/document/data/14inc.xml tests/document/data/14inc.xml
|
||||
--- tests.orig/document/data/14inc.xml 2006-10-24 21:45:02.000000000 +0200
|
||||
+++ tests/document/data/14inc.xml 2006-10-24 21:45:09.000000000 +0200
|
||||
@@ -1 +1 @@
|
||||
-<subchild><innerchild self="yes"/></subchild>
|
||||
+<subchild xml:base="data/14inc.xml"><innerchild self="yes"/></subchild>
|
||||
diff -Naur tests.orig/xslt/runtest.pl tests/xslt/runtest.pl
|
||||
--- tests.orig/xslt/runtest.pl 2006-12-13 23:10:49.000000000 +0100
|
||||
+++ tests/xslt/runtest.pl 2006-12-13 23:11:05.000000000 +0100
|
||||
@@ -42,7 +42,7 @@
|
||||
sub runtests
|
||||
{
|
||||
###########################################################################
|
||||
- foreach (['a', 1], ['b', 0], ['c', 1]) {
|
||||
+ foreach (['b', 0]) {
|
||||
$test->run_test_exit_status("constructor (01$_->[0])", "./test_xslt-01 data/01$_->[0].xsl", $_->[1]);
|
||||
}
|
||||
###########################################################################
|
@ -1,12 +0,0 @@
|
||||
diff -urN ori/configure.pl xmlwrapp-0.4.0/configure.pl
|
||||
--- ori/configure.pl 2003-02-03 23:47:54.000000000 +0100
|
||||
+++ xmlwrapp-0.4.0/configure.pl 2003-03-24 12:21:07.000000000 +0100
|
||||
@@ -277,7 +277,7 @@
|
||||
$output =~ s/-I//g;
|
||||
my @include_dirs = split(/\s+/, $output);
|
||||
my $main_include_dir = undef;
|
||||
- my $xslt_include_dir = undef;
|
||||
+ my $xslt_include_dir = "/usr/include/libxml2";
|
||||
|
||||
foreach my $dir (@include_dirs) {
|
||||
if (-d "$dir${dirsep}libxml") {
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
|
||||
HOMEPAGE="http://sourceforge.net/projects/xmlwrapp/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${PN}-gentoo.diff" \
|
||||
"${FILESDIR}/${P}-tests.patch" \
|
||||
"${FILESDIR}/${P}-fbsd.patch" \
|
||||
"${FILESDIR}/${P}-gcc42_namespace.patch" \
|
||||
"${FILESDIR}/${P}-gcc-4.3.patch"
|
||||
|
||||
sed -i 's/-O2//' tools/cxxflags || die "sed tools/cxxflags failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf="--prefix /usr --libdir /usr/$(get_libdir) --disable-examples"
|
||||
use test && myconf="${myconf} --enable-tests"
|
||||
|
||||
export CXX="$(tc-getCXX)"
|
||||
./configure.pl ${myconf} || die "configure failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed -i "s%/usr%${D}/usr%g" Makefile || die "sed Makefile failed"
|
||||
emake install || die "emake install failed"
|
||||
|
||||
dodoc README docs/{CREDITS,TODO,VERSION}
|
||||
if use doc ; then
|
||||
dohtml "${S}"/docs/doxygen/html/*
|
||||
cd examples
|
||||
for ex in 0* ; do
|
||||
docinto examples/${ex}
|
||||
dodoc ${ex}/*
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
|
||||
HOMEPAGE="http://sourceforge.net/projects/xmlwrapp/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="dev-libs/boost:=
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
|
||||
# buildsystem forgot about this
|
||||
append-libs -lboost_system
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="/usr/share/doc/${PF}" \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
|
||||
HOMEPAGE="http://vslavik.github.io/xmlwrapp/"
|
||||
SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="dev-libs/boost:=[${MULTILIB_USEDEP}]
|
||||
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||
dev-libs/libxslt[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/boost-m4"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
# Unbundle boost.m4
|
||||
rm admin/boost.m4 || die
|
||||
|
||||
sed -i -e '/XMLWRAPP_VISIBILITY/d' configure.ac || die
|
||||
|
||||
eapply_user
|
||||
eautoreconf
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local ECONF_SOURCE=${BUILD_DIR}
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default_src_install
|
||||
prune_libtool_files
|
||||
}
|
@ -1,17 +1,7 @@
|
||||
AUX django-tables2-0.16.0-django-1.9-deprecation.patch 5274 SHA256 93743cbb814dbe10c2efcaca29fc2c759be83b4d0daba1c919bfcc72013f45c0 SHA512 0ecfbc1d5a82a9e8a3b4cbe0770d3c0b76f96335f60cd3c55c0427fa8642c57e3bc0fc4e3d31b16cb259792006203f0f536ab6e064642a63445ed1586166c7be WHIRLPOOL cffb52566481edf089e324553292a53f32be0f9fb73de6ad38feca6be66dce13bf6baf244aa77cef31cc7918bace02de649ed266bcbe93baddddc13d3346ac33
|
||||
DIST django-tables2-0.16.0.tar.gz 43672 SHA256 53a643166377c44a030d860f3c0f045c4b75e727432ddde4065a67c2df41bf33 SHA512 9d490bbcaab6049d74e81f25c0a2e1ebd3caa00930877661cc823dcfc429f020b3146ec778ccc840951e89f53047e8d6ad71cf7b689cfb76aa2eadf5db54280a WHIRLPOOL 907acbfb5599589ebf5dc49ebedd0f9e07003df7730a5bcc04667207140d9728fbed56afc08ed25167414bc4596a91e2106958223f5c48b5ccea2c6642b0365e
|
||||
DIST django-tables2-1.0.4.tar.gz 57679 SHA256 801b1df349f07f5b548cf4b3d5cddfc26e5969079c7d490f179fb649e76d24af SHA512 ae1381ab23b93759caef259b5063c2149a71c9a808bc4f0a621de454872b354d03e8d7002a95de693e4d3c456366341ac30f200edac069244a0b97d156295953 WHIRLPOOL 03cfd673a16692de118b4eafb7a3fec277daef4045d16508c9a97abcdf2321782703fb4e12b9f26e7fddf799e1d8040028f43a0584f4bdc59f481c504f21586f
|
||||
DIST django-tables2-1.0.5.tar.gz 981605 SHA256 f1407ab766b29acf753cdc1cd40e966589b2a57262e5ecc202c9f3b723f68a79 SHA512 460c1d7cf615e251671ab8aeb2fe396387cc0ef8f1bf3414c6b519ef528b7d16fa084669b5268b21ad5da6e85d0d0a94e2de159475e552b32ab4df5e12171c04 WHIRLPOOL 1f7dca4edd02aac180324c6f5207e66abb88bd373766837f47a8831a6e9fe8296d428afc3ea6f9878d9319f96b5d8d94c20dd504d59ce7637ffa0ef67b397bb3
|
||||
DIST django-tables2-1.0.6.tar.gz 970971 SHA256 29fda34506d220dba3e95c02b96fa3f323c91c8ffb6d957e51f49c29721752f6 SHA512 4b5d654c17ab2b38657e88ba8ee66170195b89b2490b09c66c9753b1710326353ff071e4a7baafaa44c26f2ec1f2985f03e36d073f64a6bfe6d8f02780aaf217 WHIRLPOOL 7904fc5795cc944a79949c34d6a3560b92c19450a3894d5bbf4cb748502c2e0082c9005c40106a7997f83272e03df53eca6e5a2e0b41bd85ac1c2f4c0532e59e
|
||||
DIST django-tables2-1.0.7.tar.gz 966838 SHA256 6f837b75b209db7a2d2bf279a02946bddc53310ed7e753dec8469924e10eb7e2 SHA512 672568e421616a9982ea37e527c6ab8bd9b96bc7a835616bdd1be8e7d9b350e9e43d137d0aa704660a5b788c13a9247a67912bafbe531bea08a6787bc6595be7 WHIRLPOOL 044897173464ac87222e1282cf40df7646593ff125bd7ee535e83aec3989d69a00695bc9c2d367fb08c4114855ecf53af6524a441de7639b2ed9818ce6cdeb25
|
||||
DIST django-tables2-1.1.0.tar.gz 966103 SHA256 46bdcae04087a20911dc10e30383743bca464696448e9351424efe2582a90499 SHA512 d7386df7651a3cdab42e40963d26594cd776614846fa7eda9208f0795b1f8c6270910904f44782480f0b782d0b139153805e41cdecd43f5bc2d30b67acb3fc6c WHIRLPOOL 11a4a573f96a198cd09b57a136bac1eaded18f704e1b117c7b4b49da26716447b31b1866d5da7058b3eb88e5372d5c9f6e0602a08ee221d03f20d617070c03a5
|
||||
EBUILD django-tables2-0.16.0-r1.ebuild 649 SHA256 2359a5f9b52044b56d95095d76840d3577a70b8e0d57fdab929ac0dd4580c5cf SHA512 a7ab3dedf0ddb2f622225a05f4432ae4ac37aa4ca5b2fc139a1a7be3ab0f8732df4272183bcc77ba62c5bb2898603806756373203412b84d4b8531a64f12ff68 WHIRLPOOL d6f21ac04189033162e7ea5b7bf9f0f3bc4ad0b5bd7820eaf35faaf89c0fb57347f5002c2b26bb572f19805c9608fee07d62abbd25e847ac4f9e0847ddf99d10
|
||||
EBUILD django-tables2-0.16.0.ebuild 587 SHA256 68720366b3783d9f67e2a592a72e687a86b2694e7723c6474647d1e8fe858e5d SHA512 a68bb4c507f08eff99262bd90f1cbbb7c3d43ec3b8667b8de9789d1a0af519534225f033bc3355aedbafd455f1f3b28e0934e342279d971042b464553160572f WHIRLPOOL 611a5c5fe0d170c95bc992e2b87b8418e417ea49102817a30708333327dedee292cd009f6c1bfa0ed55c7ebddfe5bcb667537c98d373509690d97eac483310a3
|
||||
EBUILD django-tables2-1.0.4.ebuild 587 SHA256 68720366b3783d9f67e2a592a72e687a86b2694e7723c6474647d1e8fe858e5d SHA512 a68bb4c507f08eff99262bd90f1cbbb7c3d43ec3b8667b8de9789d1a0af519534225f033bc3355aedbafd455f1f3b28e0934e342279d971042b464553160572f WHIRLPOOL 611a5c5fe0d170c95bc992e2b87b8418e417ea49102817a30708333327dedee292cd009f6c1bfa0ed55c7ebddfe5bcb667537c98d373509690d97eac483310a3
|
||||
EBUILD django-tables2-1.0.5.ebuild 587 SHA256 68720366b3783d9f67e2a592a72e687a86b2694e7723c6474647d1e8fe858e5d SHA512 a68bb4c507f08eff99262bd90f1cbbb7c3d43ec3b8667b8de9789d1a0af519534225f033bc3355aedbafd455f1f3b28e0934e342279d971042b464553160572f WHIRLPOOL 611a5c5fe0d170c95bc992e2b87b8418e417ea49102817a30708333327dedee292cd009f6c1bfa0ed55c7ebddfe5bcb667537c98d373509690d97eac483310a3
|
||||
EBUILD django-tables2-1.0.6.ebuild 587 SHA256 68720366b3783d9f67e2a592a72e687a86b2694e7723c6474647d1e8fe858e5d SHA512 a68bb4c507f08eff99262bd90f1cbbb7c3d43ec3b8667b8de9789d1a0af519534225f033bc3355aedbafd455f1f3b28e0934e342279d971042b464553160572f WHIRLPOOL 611a5c5fe0d170c95bc992e2b87b8418e417ea49102817a30708333327dedee292cd009f6c1bfa0ed55c7ebddfe5bcb667537c98d373509690d97eac483310a3
|
||||
EBUILD django-tables2-1.0.7.ebuild 587 SHA256 f5bbcfe2f89d35b233114062d40d180b58345742966854cc0750447300f64f11 SHA512 2196a5d682d646bfd3f12127f01037c4e996f4aac382c091449ef269487482f9f342a7c2917d19fdd5f3f735aaabde354c6be7849662f2cb9561949e2e06de24 WHIRLPOOL feff52dab94b9f8efc3bc5673310e4390147920f8a3a05851b5fa5f536b7582a10901a0d7e5d8b9a8b0e8da63f1f907f732bf0aeb363fd00b86b1b1242372492
|
||||
DIST django-tables2-1.1.1.tar.gz 965847 SHA256 5432506927d9a1b882afafbe6eaa9cd63ad207af89c42f18b8750de93baf95f4 SHA512 3fd92bf296cf081c43c31b415d7cc89ac7f0d60525d0320169ca3eb4a230d81a10162c33d5dec649044cd14eca243cfbca4ff62cd1b86cdca0a2e219abc36bf4 WHIRLPOOL 52d8416fc110e0ea77df94892130c1385dc12b988dba1c5ce779e771d1d352125ed269cd94a621a9fec2e94a7f5dcb836ba1ca1132b5d2bcdbda9716f2d1dea8
|
||||
EBUILD django-tables2-1.1.0.ebuild 587 SHA256 f5bbcfe2f89d35b233114062d40d180b58345742966854cc0750447300f64f11 SHA512 2196a5d682d646bfd3f12127f01037c4e996f4aac382c091449ef269487482f9f342a7c2917d19fdd5f3f735aaabde354c6be7849662f2cb9561949e2e06de24 WHIRLPOOL feff52dab94b9f8efc3bc5673310e4390147920f8a3a05851b5fa5f536b7582a10901a0d7e5d8b9a8b0e8da63f1f907f732bf0aeb363fd00b86b1b1242372492
|
||||
EBUILD django-tables2-1.1.1.ebuild 589 SHA256 e344da4b5de53bd8f6f1995104a9ff4e16a3e5bc6767f93a3bbf630b2c322c0b SHA512 4a8d6cbc05d2ba576d8602b8bcc2300d47a0d8f39c397a1abd685819f300539c7a8a53c49bff267b1b5e67bd3fc727bd3aabe4be993eec152ec83d3192a6dab1 WHIRLPOOL 0683924bdb69b1ebf675bdcb18dd4f89bf5a74dd6acdc700e64e76afe865d7a8c690ed80eab57a1b3427bd6fb22fb4ae38c3ee9f3d448d284e1082e7c784a031
|
||||
MISC ChangeLog 3651 SHA256 3c828eddee9036809030acc1077a2ba016e44a9b85242ac75e09b48f9afa5a99 SHA512 d78af9ad584cb2cdd39cf09dce29244a7aaeb2e36daaa9def6d14ea40d1df6e5906a7a63314fb749c10b659d3605bb6a1643c71424aaef33ff0e0528be467193 WHIRLPOOL 1f30bc12fd8a83d989c5ef5fb826ad15252a6dc9e8860156dcc9b9411f24a3a76ea0049b7623421405701fb21e928426da9f5fbee3b946a23e65ee4c2dfa2e1e
|
||||
MISC ChangeLog-2015 944 SHA256 89ada2d9b5267c1721d0aa4f40c94c3357c24d065d20336df9cba5dce8bb3715 SHA512 7bedfda4db143f95ab5125ea76372be04702a68188ff2305742ffccb4aa3801515a7886969d92387e96570be1aecdda23925451fddfa025dd510c3a16f8075fa WHIRLPOOL 2614f086ba769bbb22add0e3fdfb0f55c6bb4c9aac547bef7eafe8d22b72283a84e84b581bb0eaefddfd8daa91301694f854e1181ea98e6f6283429c6efe448f
|
||||
MISC metadata.xml 396 SHA256 21cb52830ae3a8b30fc92e7ca166cbc28e8cef8878cfad23a96eb498ac64e270 SHA512 1a44a48bf619579066e29ec19bf060321dc7b20ddc15798b2a8744b33a882c06d33b17bbf46191d75168fde5785029f3289f0f78dee96b7e2bbc81475eaecff6 WHIRLPOOL b8efc186d9a2606372e89ac82eecb54f0fe0152021727fddbd3b0e5d7514c0461a40159e32cf710fa12f7545f23d24c2aab7133b690f96e2ec89f0fd7ff666fa
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Table/data-grid framework for Django"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/django-tables2/ https://github.com/bradleyayers/django-tables2/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-django-1.9-deprecation.patch )
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Table/data-grid framework for Django"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/django-tables2/ https://github.com/bradleyayers/django-tables2/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Table/data-grid framework for Django"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/django-tables2/ https://github.com/bradleyayers/django-tables2/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Table/data-grid framework for Django"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/django-tables2/ https://github.com/bradleyayers/django-tables2/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Table/data-grid framework for Django"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/django-tables2/ https://github.com/bradleyayers/django-tables2/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,118 +0,0 @@
|
||||
From cb71f869bbc8aac3a14f3d4d1f67641e21892bba Mon Sep 17 00:00:00 2001
|
||||
From: Gert Steyn <gert@senseware.com>
|
||||
Date: Thu, 19 Mar 2015 12:20:42 +0200
|
||||
Subject: [PATCH] Changed from django.utils.datastructures.SortedDict
|
||||
(deprecated) to collections.OrderedDict
|
||||
|
||||
---
|
||||
django_tables2/columns/base.py | 6 +++---
|
||||
django_tables2/tables.py | 10 +++++-----
|
||||
django_tables2/templatetags/django_tables2.py | 4 ++--
|
||||
3 files changed, 10 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/django_tables2/columns/base.py b/django_tables2/columns/base.py
|
||||
index 20b3477..3b377e6 100644
|
||||
--- a/django_tables2/columns/base.py
|
||||
+++ b/django_tables2/columns/base.py
|
||||
@@ -1,9 +1,9 @@
|
||||
# coding: utf-8
|
||||
from __future__ import absolute_import, unicode_literals
|
||||
from django.db.models.fields import FieldDoesNotExist
|
||||
-from django.utils.datastructures import SortedDict
|
||||
from django_tables2.templatetags.django_tables2 import title
|
||||
from django_tables2.utils import A, AttributeDict, OrderBy, OrderByTuple
|
||||
+from collections import OrderedDict
|
||||
from itertools import islice
|
||||
import six
|
||||
import warnings
|
||||
@@ -498,7 +498,7 @@ class BoundColumns(object):
|
||||
A `BoundColumns` object is a container for holding `BoundColumn` objects.
|
||||
It provides methods that make accessing columns easier than if they were
|
||||
stored in a `list` or `dict`. `Columns` has a similar API to a `dict` (it
|
||||
- actually uses a `~django.utils.datastructures.SortedDict` interally).
|
||||
+ actually uses a `~collections.OrderedDict` interally).
|
||||
|
||||
At the moment you'll only come across this class when you access a
|
||||
`.Table.columns` property.
|
||||
@@ -508,7 +508,7 @@ class BoundColumns(object):
|
||||
"""
|
||||
def __init__(self, table):
|
||||
self.table = table
|
||||
- self.columns = SortedDict()
|
||||
+ self.columns = OrderedDict()
|
||||
for name, column in six.iteritems(table.base_columns):
|
||||
self.columns[name] = bc = BoundColumn(table, column, name)
|
||||
bc.render = getattr(table, 'render_' + name, column.render)
|
||||
diff --git a/django_tables2/tables.py b/django_tables2/tables.py
|
||||
index 01a0671..2f31069 100644
|
||||
--- a/django_tables2/tables.py
|
||||
+++ b/django_tables2/tables.py
|
||||
@@ -9,9 +9,9 @@
|
||||
import sys
|
||||
from django.core.paginator import Paginator
|
||||
from django.db.models.fields import FieldDoesNotExist
|
||||
-from django.utils.datastructures import SortedDict
|
||||
from django.template import RequestContext
|
||||
from django.template.loader import get_template
|
||||
+from collections import OrderedDict
|
||||
import six
|
||||
import warnings
|
||||
|
||||
@@ -172,10 +172,10 @@ def __new__(mcs, name, bases, attrs):
|
||||
if hasattr(base, "base_columns"):
|
||||
parent_columns = list(base.base_columns.items()) + parent_columns
|
||||
# Start with the parent columns
|
||||
- attrs["base_columns"] = SortedDict(parent_columns)
|
||||
+ attrs["base_columns"] = OrderedDict(parent_columns)
|
||||
# Possibly add some generated columns based on a model
|
||||
if opts.model:
|
||||
- extra = SortedDict()
|
||||
+ extra = OrderedDict()
|
||||
# honor Table.Meta.fields, fallback to model._meta.fields
|
||||
if opts.fields:
|
||||
# Each item in opts.fields is the name of a model field or a
|
||||
@@ -194,7 +194,7 @@ def __new__(mcs, name, bases, attrs):
|
||||
attrs["base_columns"].update(extra)
|
||||
|
||||
# Explicit columns override both parent and generated columns
|
||||
- attrs["base_columns"].update(SortedDict(cols))
|
||||
+ attrs["base_columns"].update(OrderedDict(cols))
|
||||
# Apply any explicit exclude setting
|
||||
for exclusion in opts.exclude:
|
||||
if exclusion in attrs["base_columns"]:
|
||||
@@ -204,7 +204,7 @@ def __new__(mcs, name, bases, attrs):
|
||||
opts.sequence.expand(attrs["base_columns"].keys())
|
||||
# Table's sequence defaults to sequence declared in Meta
|
||||
#attrs['_sequence'] = opts.sequence
|
||||
- attrs["base_columns"] = SortedDict(((x, attrs["base_columns"][x]) for x in opts.sequence))
|
||||
+ attrs["base_columns"] = OrderedDict(((x, attrs["base_columns"][x]) for x in opts.sequence))
|
||||
|
||||
# set localize on columns
|
||||
for col_name in attrs["base_columns"].keys():
|
||||
diff --git a/django_tables2/templatetags/django_tables2.py b/django_tables2/templatetags/django_tables2.py
|
||||
index 1e72d74..1ca91de 100644
|
||||
--- a/django_tables2/templatetags/django_tables2.py
|
||||
+++ b/django_tables2/templatetags/django_tables2.py
|
||||
@@ -5,12 +5,12 @@
|
||||
from django.template import TemplateSyntaxError, Variable, Node
|
||||
from django.template.loader import get_template, select_template
|
||||
from django.template.defaultfilters import stringfilter, title as old_title
|
||||
-from django.utils.datastructures import SortedDict
|
||||
from django.utils.http import urlencode
|
||||
from django.utils.html import escape
|
||||
from django.utils.safestring import mark_safe
|
||||
import django_tables2 as tables
|
||||
from django_tables2.config import RequestConfig
|
||||
+from collections import OrderedDict
|
||||
import re
|
||||
import six
|
||||
import tokenize
|
||||
@@ -35,7 +35,7 @@ def token_kwargs(bits, parser):
|
||||
"""
|
||||
if not bits:
|
||||
return {}
|
||||
- kwargs = SortedDict()
|
||||
+ kwargs = OrderedDict()
|
||||
while bits:
|
||||
match = kwarg_re.match(bits[0])
|
||||
if not match or not match.group(1):
|
@ -1,7 +1,7 @@
|
||||
DIST enum34-1.0.4.tar.gz 32944 SHA256 d3c19f26a6a34629c18c775f59dfc5dd595764c722b57a2da56ebfb69b94e447 SHA512 21b91f1d0e15cc909e733473f603077eff7222c90da84b0a5f2db921ba41ac996b9237cc8adf1d07913b7eaf8f8e70ac6955abbb191f2e7cc54966710a1c96a9 WHIRLPOOL 178d1d5a9ec4e5a7a467e31c9b28e1f799e593e36a0c9a888f64ec86051277cb1c50ae01ed81c95cd3f7ae1e7f287dda9b4049c7e1977fcd427711fcf3990792
|
||||
DIST enum34-1.0.tar.gz 32331 SHA256 384b593703b057e0b19d90ff62844b1c8796da2e6bd9957d6ce9119bdeade635 SHA512 8eefcb42449927e419c87016d534b1fb335a85daa49c7ae3cc4549bc92dbb6d1a02158542a8cba1fbff4bbad2c4830c6f465b13e8d5ec6d2aae5752efecdf1d3 WHIRLPOOL 28b02767afe416404ba9d0c4db972c869383a72cfc6cb1a75f93b01e2636bac139743f5acb2dbe06083c655a1854cfb8a3c7f1ce1eba340a38d457e3e71e63b3
|
||||
EBUILD enum34-1.0.4.ebuild 765 SHA256 7d20450c7f5619eb0ee06dbe1a38a174093fab49d98f6b6bd92fdbb19495bb2a SHA512 258ab7f87ddb66dff4663b32bfc2e13d57051f527d94b4f525e50cba74ac50e88431c71bd1199c758aefff27607f0ae7e3ee3d89b99fe49fe07d66900735c532 WHIRLPOOL a7c939dd56de40475f5bdf99d0e2456259240e63cb3869003e7a83aee4c6f729e60d2641f42bd309f562fdeabe2acaa7ed5c972264d299f61f4e447814b8b91d
|
||||
EBUILD enum34-1.0.ebuild 650 SHA256 5f362421507041fd13c4bc73e2df9c55db0bb2e5e57a4fad2def43a71c76f528 SHA512 70ef48e610335738ab328b723e77338b542acb88e2ea9f0fb1e85596f2102fe99ba571fe44724ac391b63b603c077cc2e2d77f1eb27a4dc81500d214ece0533f WHIRLPOOL 04db751f6bbcd4e71c8045b9bec29c87b4b2b1fab38a238768935537b6698e3c7bd98443290f0eb8defb3e9b34653984c76dc2e07858c3c0ed970fb8fbe3412b
|
||||
DIST enum34-1.1.2.tar.gz 46757 SHA256 2475d7fcddf5951e92ff546972758802de5260bf409319a9f1934e6bbc8b1dc7 SHA512 61e47d27969237f5e0de814f42e8f9217147f3d2d3081a1fadaf665cee293af1dd978420fb918000ac9f0fe323249faf7993f204660acdebff880bca1dde2487 WHIRLPOOL 9c9a77a9ea042473032b77ade2d5faabf4d176a70fd1931c55d534eced5a2f0140a1c486d99445500e8ab304f14ec5eaa91bcf7a5ba238def557cb3de39f9840
|
||||
EBUILD enum34-1.0.4.ebuild 750 SHA256 65c82c59dd11b12a2ee764a17d382e2bfaa4e54ec2b1517b1ef12f3a2178d40e SHA512 a217120f07d848b7b0686b63aade0a8e399950bd31c94e64281e7ae0d5ff128f798536006ad64daa4d276a6fc3d0b5914d15e4c729f7b8e1212817a9ee210495 WHIRLPOOL 4723990c532f3c87136be807bc98be67ac853991015e64e0b76da33e7d29fa04f7bdebf903c8004a6b907f5e30c7ccace5bf1a1153dabe0f0bcd7e7766cc13df
|
||||
EBUILD enum34-1.1.2.ebuild 695 SHA256 5218c1184b0b9718a73995148fb977c8e2fb385b044b4ca0095a163680379fcf SHA512 bc21836dea21cf3e78f29e9c6952aa9ea8c2309515b41d097af83c6b9eaf239eb51a22acf93351e85de7e93b9cd74050c4796b7f543ff7840e1c89e850b8759e WHIRLPOOL 0c6218dbda776492adf79be973c650e861e0704be88dfd8fd273e54f89f98a2f0fcf8b03292cf882c22b55833546d397d96e9ca6a003551beacaf6ffe0a5642b
|
||||
MISC ChangeLog 3004 SHA256 e474e7d745929639ac8690388d2138018237836482e5ad6c67eb44bdbbce7870 SHA512 bce4bf35148bedef85de218782532a4b583d1d327125bd5586cdb3a547f177e6ec7f6ea2f7547f4bdc2edbd36a88a1b2e42dfefdd847c202d926140ff666d881 WHIRLPOOL 422e8867680bc54e608cc862142ce0cda7689fb99baf23f751b989c031b6098b55dc0230cdc46330fae40934a19bf2f9453e76af8783a400c48a6ff9dd27eafa
|
||||
MISC ChangeLog-2015 2726 SHA256 07a00a02ef2dcd1d4b2bda65b5302f44f3c022faf6030b0c4c4b9d312a26a667 SHA512 804539a2749ce6c4a850f1a9920ffbd42ce9c1634eeb50c35e0f462605797c30d39d4d70df004144963874d09ec1483bcf31787645e9f625bd578541ae071d80 WHIRLPOOL 39819c7d1c003c3944bd2b6493339d17ed9e17dd6385777e308318d8b89ae71f7a01f2da629f5d3fd4d2c848b142b3774d93c48b53dc4fe29d76c50eceb64ae2
|
||||
MISC metadata.xml 482 SHA256 4bbde14262a53f88bb83b3047567dd908217d12f1c17877edf70974e82d3240b SHA512 3aa0300b7a187d1d423770fb6a8d8daeecac16891cadb14436e5ed39f9e2b9c65668a4008db1c10d7d43ecfb6a3bacedb94a589f87cd8160b32c8d6cee075a84 WHIRLPOOL 68d44ae3409d3681a0ed65bf3223e0d70fe2380e701b9c054676f6c43dbc9dbbfc667ef5ee487615530518da2057a82a385fde343d9d7bc98ba43a454ce4422a
|
||||
|
@ -1,9 +1,11 @@
|
||||
DIST futures-2.2.0.tar.gz 26786 SHA256 151c057173474a3a40f897165951c0e33ad04f37de65b6de547ddef107fd0ed3 SHA512 5f2a835b4b3f6bf1c4f086984a2e1d6ab30004b9af9298ef8afb23549014695ba26b43500dad3ee873e52aacd75911a42cd4ec9dfae6522cb99476a480dc83ee WHIRLPOOL 5c38f64759d0f2a15a536e8a5cb5c7473ce61d46242fc0c0bc737dfe91ce9b6573c1291a6f305953b96cd6298e1e41f7e27b45a2f0c2647315826ad9a1246ccd
|
||||
DIST futures-3.0.2.tar.gz 24908 SHA256 dc3fc91508e49e0fd2f8625f0132d16e49c80f882e7e1d565c56b0d5dfbae257 SHA512 01525c16914506d1e82910c5994aacc011d1ed01e91b7e403203ed1aa22a8caa3ff759ff399dd72628bc211dcab0893852ac177f792711ee9f9037a64c7e5723 WHIRLPOOL a59740472ca7cf339beb9ed44095d7f02b5701fcb2a28e41adc4dc6da63f23e5a629602010183ed611c4f60ba1a109563bd87242adb729ece12b57d63379e160
|
||||
DIST futures-3.0.3.tar.gz 24959 SHA256 2fe2342bb4fe8b8e217f0d21b5921cbe5408bf966d9f92025e707e881b198bed SHA512 2fa14df90e583ca86c47441b170a93435eb82fd37bb2e15d98e79c32fbe40fc3f602d762805de05fa8007df4a3ce92840915be59481b94ab4863aae884da74bd WHIRLPOOL 661a1174815766717eb7b130929c7aeef08079228df8f092093ee6cf40f84041ae6729cc7c0f2b05080efd0d80c0f7885c3ae333f7e5f3d21ccf2cfc20cbaa44
|
||||
DIST futures-3.0.4.tar.gz 25091 SHA256 19485d83f7bd2151c0aeaf88fbba3ee50dadfb222ffc3b66a344ef4952b782a3 SHA512 490a42b547614e2a02fae487861ba8c8409c2e7c556ba81c6ea7a3096d06f7e083983b1e9b99dc978c4badc1dc30272f4a5cfa87c38b3d0ab8029673ee66f52c WHIRLPOOL 5f3809d710743638b8aa3afdae0125771096858c88a8b2c5c533187736dad8b6bc8c38dad327b98d36183574b072c9268751645caa16132ac8df32715262f741
|
||||
EBUILD futures-2.2.0.ebuild 1040 SHA256 953966336637b2677cddc2e4633a84935e3f39af7ec8cc86012b1e255b38d391 SHA512 96395cf4ef2be27081f4c5e8beaf1baaab4663152ace8aa9cffd63564a0edd3258e7d8eaa5010336efe1718b4f8e926d02438ce39c76a00302ed131fbaf49a66 WHIRLPOOL 9b673fbd64f8dcb1823a5d1f73b625a19c0d03f011b933d97276e79cd2e8b616af5a95d8acc6948d07bf17d28d6537905f79abec609c0b796ef816c5b44771c7
|
||||
EBUILD futures-3.0.2.ebuild 1042 SHA256 15f265259bc76588f7df927f5bd027b9a28582c9fb1726e205eeda0e25786ddc SHA512 996bc3a9a6fe7190e454634690112244e72e71e0c07d68a0a7d9678373ed6055c90437a6ad2af5f3820e60ae5ff6e66d957c4ac3ce67d641ccb41585bbd710a1 WHIRLPOOL 793659d98845be67dc22c362c4629e438dff803c3cbd34cea713ac36f51174d18f79bbddcdc625e34fc67ecfef7072fefe801622811b6ea6e9f41a9465e9d77a
|
||||
EBUILD futures-3.0.3.ebuild 1087 SHA256 44a5365b682734f393a8c44570bb22ecfd1fb35bb74c55863de5df207cb25c6c SHA512 155e0273c10c1c2e6513ec553a9b3d282fdadccfbce61c4691b2365d5823b4e5627efb1f4a0f8bf91ac1c13ad9510c9fd471223cd12355947707a091fcda4ef7 WHIRLPOOL 7bf54bca7bbae44fb1b9f925f4ee563321bc3a2fb46bf1aff0167c60202b787c5c79164e8be3ed2d7d9bfae97309e04b7fbbe1a535cc7434395dfc843437c1dc
|
||||
EBUILD futures-3.0.4.ebuild 877 SHA256 4afab8cd2bb6a95621ae61b566f21e0d414e4e078be5f74cb8ff90a771114bb0 SHA512 e1af7875fac9a20247a57ea43cb01539a4d6aabb34e87fc4a5997167254e91bdd7a4d15b55355a8cd3a71aa06a434ef3a0236524fc5975efe741135928f57320 WHIRLPOOL 076f289e64389a16a8ab3bf6d177a11a3fae5161313ac39eb25ee9eeed55ce016e24bf17e48f15a2bc34fb9d541f6819cd0a559f34e2ef423c9a98fe16579121
|
||||
MISC ChangeLog 5311 SHA256 b8fdd17c5c130ad07ea7c99ddc20d39ebc5eea773c0e6672ae1a7d6d49b52ecb SHA512 577fffe4f1fd0d5573c44fbc78684f76a5f8db8fcb0fe1c399c034a04a9338b81f7745deb8816b83aacb6bd8ffcf34dbc865bd669cd7ecb696f777f5649aa423 WHIRLPOOL 821578197447a315bf4a033695e3bf53085952d186e136db7aac3a1e75f619f23cab712906babaefa9f47473cec7ad16b2ed359f194192fadc74872271c40d44
|
||||
MISC ChangeLog-2015 2528 SHA256 da01eaf6a1fddc32e34248deb91fedcf59f34419924151107936ef810535a646 SHA512 50450d9419492267a313ff8df10bd709d1b959fd60d914689a3de1e4db71fb197acb0be903ce67771a8000dfbdeddf10330f4ec60b4055111139eb0029bb1b6c WHIRLPOOL 94a942fbf61cb1ee6ad67aec32dbcf19d22ee491d27f5034ec0314056bd32fd349af81a5d70a50f388383abc492ad6e728d51cf7749b0558b375a57aaffd00ea
|
||||
MISC metadata.xml 310 SHA256 3156dce7e9e3a82ba0d74f0b723a68ce309fdb23a7d3505b034ee0bc6f7080f4 SHA512 a6efb8ac5fff2d6eab08681ade46c776ad393e65ac9c5fdbe53977ec7cc852e05b82d7466001caa91021eeda0e03ff6513322b90251b8d273b72d80ca30ef20f WHIRLPOOL bd72826cd5ab21e6a11337447d3848524df1a01f0a98c0cd6d416d47c107e2a7abddc34d16da23ca9b2b6c2d25c1b52e60fb4360a4004e964aef7e2dadd1f3f6
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Backport of the concurrent.futures package from Python 3.2"
|
||||
HOMEPAGE="https://code.google.com/p/pythonfutures https://pypi.python.org/pypi/futures"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test_futures.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES )
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,13 +1,9 @@
|
||||
DIST hypothesis-1.12.0.tar.gz 76679 SHA256 5e90a8fa249de9c492b4fa573f6f2dc489de9dd3ed3e2a59754b393c42624362 SHA512 107747d835dbe27fe25a429a8be66166005d3f0514d56d585505e99a4e4427afc210b7b6a7459858988f37182e6e4797ffcd1fa0511f8ae985725a1c2bbe73d4 WHIRLPOOL 0539637b819e9d3e4e96d5997299366d68a4e16f9ad5fcbf576048a761172e8568f2538de77b787f36c60ed09758ec5b8a962ae936f8f22d90ffb9551f63d008
|
||||
DIST hypothesis-1.14.0.tar.gz 77977 SHA256 be2bffac70569cb21d6007b0e0d4b013008e16fb66e6bc8090022310eccebd89 SHA512 427f45517ab63505ffe5c10c205f49140325cc3d7479232119bd9dd21b96c86fae563fa875e8882221a58194034bceafa884a2ba47db101b160f70cfe4dfd1a2 WHIRLPOOL ac003596fef4f33db2925102736e694754a573b2d840584f968e1034ceb6e132a97001987df3c1a958564df37db812e517243e7f1cbf1f61dccb9feb9d9b6b25
|
||||
DIST hypothesis-1.15.0.tar.gz 81149 SHA256 50c6a17b0cef31e4bec840b619da4407f179d1859c0e0052133681fd7220fc7f SHA512 19fd79f23e7df81805876c0507b86a34b5196cfda9a35ff8bfe5279de4ce28edc4f048993fd4bce76d484aed27638ccd29914654bb3fbd1bb27478ac573347e3 WHIRLPOOL f6f3aadf79ed33e678b0f55a23b418a2450797eb0131f646a8d5aa64ddfbfd883510120fb62f6056d75af65a327ec86c3d9bd237be16cd69255a9fbe804cb827
|
||||
DIST hypothesis-1.18.1.tar.gz 84868 SHA256 839d382393684e9544cfc855b6a19e1121391bd720a7ace5a6865408c0db0768 SHA512 2b0bc4916efdafc935247bf0d2a9eae434fb63103c51840011ae497b4a93e3d0e86ded54f586f024bccfc93c990e50d3c35652aa6a531897247577132ef4339a WHIRLPOOL 2dd8db37c279b1d16314ac4374c5dc16bb959362216c718b606c6cf4819c1e874e4f1867c2fd31dafe188765a0a5456a55d325c390e09929b32aee52b11f227a
|
||||
DIST hypothesis-1.19.0.tar.gz 86227 SHA256 0e977a3492f5488ed9dd4a872cefae0934ad4ccd0229a6c483ef5ca0aaaddd6d SHA512 3b2cd671498bd0bc88c93b2753f35b02f737533dd8dbc786420a37a417d145e4f1c579741966394f85b7df4939e61f77315e6158b29e22f9bde07d31e161e009 WHIRLPOOL 52b444e6e3fa0c514ebb9816cd489b2441b213581e241f76ab5aa5c410ca08bedef92f0b608c32c421f74ba84a0e26850a2aaf9f2d9f7229aa176d9e501175a0
|
||||
DIST hypothesis-2.0.0.tar.gz 76894 SHA256 b9bfe9884dcca0268157f015992e6cdd404d16dab18c2df403c458b6afab46d1 SHA512 7a5f5931b8f427a1cef8ef1735d995a6f5d854acec163bdedf369eb166ed289e024d70c6e5fd556bf8b1e0844d600460f97906cd43f70400995c7919bce20ab3 WHIRLPOOL c669c831c24c2dafeeead8b3e0a24bdfe69017bbf7eb94936b0ce22feac502b3ccdade37cff4b6141d97d79500578b6ef080d0f8fbe8e1c54aca7bfe4db40c42
|
||||
EBUILD hypothesis-1.12.0.ebuild 848 SHA256 66e78cc558e020d26ac141e9009fd116a516d08c8e1621f1d7f04f4011f79d97 SHA512 ad3d578d307c8a867128d474791f4df41df21b96e5424ee41c260975aead920cfcb376d7d0ac2799d56da25360e6a8942b28fe0c345cfe5da8dfe57af312bb2d WHIRLPOOL a1e7ce77981661612ce696aa68ca77250b00d72e5b8ccbb4c048da1430514f4de6a3ace25a20b35e78b714ba2fe5a4d70023b1112770582d7ca05925df0285e4
|
||||
EBUILD hypothesis-1.14.0.ebuild 857 SHA256 6d9b21b28a97ff23222b246157bf4fca322c6ccac343d95553a5b5530af70b6e SHA512 6a273e741731fec4ffa3ecba173a387441b9d116e71e4daaf9b58d34c72a2f2ed2e57b48b16e523110260372cf1d785b0bd0e75630c1e802dcdcc48f410d5cf4 WHIRLPOOL 597b2b6bd32e886aa0eab575927448836fc3b8851e6cd2ad1720e1a7ceb0aba46e2d9fc5e27e2327db68b21b275deb5b17e91068f55d82b361dff18f798da2ab
|
||||
EBUILD hypothesis-1.15.0.ebuild 857 SHA256 6d9b21b28a97ff23222b246157bf4fca322c6ccac343d95553a5b5530af70b6e SHA512 6a273e741731fec4ffa3ecba173a387441b9d116e71e4daaf9b58d34c72a2f2ed2e57b48b16e523110260372cf1d785b0bd0e75630c1e802dcdcc48f410d5cf4 WHIRLPOOL 597b2b6bd32e886aa0eab575927448836fc3b8851e6cd2ad1720e1a7ceb0aba46e2d9fc5e27e2327db68b21b275deb5b17e91068f55d82b361dff18f798da2ab
|
||||
EBUILD hypothesis-1.18.1.ebuild 857 SHA256 e0d7d0af0c01cd0edbcfc5ff804e143d13235ea0825a0bc08aa06d18129e6de1 SHA512 06178e5c2e2fe30bf93b1adb088b30cec5715eb6aaedf600013da20c7b5bc41a36e241c622c7e92b7a4b1aa5d8f3421fbc6080ecf0016ef24d2c92f11f97dd30 WHIRLPOOL 2a858b089642b9437486458cc5d3be408d367df23433249de31c5db3286490d30c89376d066b1ca8548ca4326e0f65f63448ea9a3b35198fae759ea520e8a5e7
|
||||
EBUILD hypothesis-1.19.0.ebuild 857 SHA256 e0d7d0af0c01cd0edbcfc5ff804e143d13235ea0825a0bc08aa06d18129e6de1 SHA512 06178e5c2e2fe30bf93b1adb088b30cec5715eb6aaedf600013da20c7b5bc41a36e241c622c7e92b7a4b1aa5d8f3421fbc6080ecf0016ef24d2c92f11f97dd30 WHIRLPOOL 2a858b089642b9437486458cc5d3be408d367df23433249de31c5db3286490d30c89376d066b1ca8548ca4326e0f65f63448ea9a3b35198fae759ea520e8a5e7
|
||||
EBUILD hypothesis-2.0.0.ebuild 857 SHA256 e0d7d0af0c01cd0edbcfc5ff804e143d13235ea0825a0bc08aa06d18129e6de1 SHA512 06178e5c2e2fe30bf93b1adb088b30cec5715eb6aaedf600013da20c7b5bc41a36e241c622c7e92b7a4b1aa5d8f3421fbc6080ecf0016ef24d2c92f11f97dd30 WHIRLPOOL 2a858b089642b9437486458cc5d3be408d367df23433249de31c5db3286490d30c89376d066b1ca8548ca4326e0f65f63448ea9a3b35198fae759ea520e8a5e7
|
||||
MISC ChangeLog 6344 SHA256 ea72ff6ca97bc6cba413cbab4f7b3317c42540650b896b44b02e6db4a2fc872e SHA512 e6a91fce76f585b61bd3f2a933d248af1bd2592e1e3cb8f789a9b78a4a14e50dccea7ab25215c3fde60ac8bf517ac7baa3e4b16d72d1b702b651c5e62ad53b94 WHIRLPOOL 63c1db67fc23f636df2bb4f591f55edd4df7fcea571cca43ca0ec8cedff443b5fe3f65dd37a0122475641d80d3d5e4e822a9305f82afbf0e9197153032672c62
|
||||
MISC ChangeLog-2015 643 SHA256 8bd7afabf7b29c9cef84286964de6f612b036e52c56234c7daf0ef38463425bd SHA512 6d0960bab281c57ff2ed827062421fd636f8dfe1b388530fe02858883158d2a47cb95521736d23799f8928e2d7a8c108894dd05b8725531da9156df850bac405 WHIRLPOOL 40eb3e014b2dac792d9668b27c1281f7044878bb26224141a030a92f265d3e83a651c3faeb4c92e3655502f1205f53e9bc7fd7afc8059fb178fc808670a00cca
|
||||
MISC metadata.xml 373 SHA256 2fda97bf4d44f275db884f4b903ffa81d147e4ed6a7815c99c794508a7079992 SHA512 4afd72d123e00422c0262cb4ffb53daef620f34ffdfa67480114bb065de64b99ccff6286945ca3a8c4db999f7f87d3fa081bf50cf7b9b8571e7fcc6e7644c047 WHIRLPOOL 3a80f3d28a5637dc0629758db3c11e2880bfdf6c391fa48f6bc1f0772b0cb08f28b732484a96fa09f970344e778bd46818fc967d3623bd5fb1e5511a0f41bb90
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A library for property based testing"
|
||||
HOMEPAGE="https://github.com/DRMacIver/hypothesis"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "datetime support" dev-python/pytz
|
||||
optfeature "numpy support" dev-python/numpy
|
||||
optfeature "django support" dev-python/django dev-python/pytz
|
||||
optfeature "pytest support" dev-python/pytest
|
||||
# optfeature "fake-factory support" dev-python/fake-factory
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A library for property based testing"
|
||||
HOMEPAGE="https://github.com/DRMacIver/hypothesis"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "datetime support" dev-python/pytz
|
||||
optfeature "numpy support" dev-python/numpy
|
||||
optfeature "django support" dev-python/django dev-python/pytz
|
||||
optfeature "pytest support" dev-python/pytest
|
||||
# optfeature "fake-factory support" dev-python/fake-factory
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
DIST joblib-0.8.4.tar.gz 314213 SHA256 f185b87199525e0805281960f9f91c4f2e382e5834f05678cfcfa8ec666a4d2b SHA512 37d9a107c0f8f80c30cbcf7e4520a571eb925efdfb8729ca681fb12b3ec79cfd63c4b53660e560bbb3bc162664f79ab1d9fa7207f3dac00b5d5cddcdc12169c9 WHIRLPOOL f887c0153b4fa691e2289a9d3237a1b9ee51fabd7f6f3a54c7914f4296e23d50010ba822846723566fac5bcfd40c7b23c458121b6eff18d8ce15d6317ae5e638
|
||||
DIST joblib-0.9.2.tar.gz 480557 SHA256 aa20324c09428e35a93517156b5355aa69e070661cdcb3c983249c814d5f7b84 SHA512 8fb5362a6816cb9fb04611c7e2b0b9abdcee216932c966f960f490380d00a4931ddb2abbf3b30e73dca75d05056bcb4863ac92fe0d2a3e6d3842d1f116c1a3f9 WHIRLPOOL 0a04c3045979b23ddfd9554d748d42a7cbc7bed1cd02a7e68ceddc26273fe1c4aeb2c1b51597b5a3a4785aa180cabaa4f90ddd23988ef70cc66edcd8105e0120
|
||||
DIST joblib-0.9.3.tar.gz 445258 SHA256 ac68f659cd4cfdb102423e9d87f9d94fe1d76f1e02dcbf8c99aea7fcb223be4d SHA512 dada1e628c6f875c663cbb5e7c3339e4a56482f89bcc323f95f996821111c4d5fdc1e66511bd6158dd4b255e5d3d0de9321b7fee42c3e51ec9dcc01695a8235d WHIRLPOOL ef60a41e5939b758ec049a2739b9a0c980e6cb401c4e5f45e2036bf329660cca6b02fb65879bffdbde4aef0f45229529ac6fb769244bb0790ec35bd0dc283f84
|
||||
DIST joblib-0.9.4.tar.gz 453488 SHA256 e5faacf0da7b3035dbca9d56210962b86564aafca71a25f4ea376a405455cd60 SHA512 492d7dcd3c743f24dd9cff18cc7c7c831fdbfbf279ef7cc75a52fb5474d493623f6d4e985e4caf5bb358addb800f9fea8e018f37caf0a95503f3efdf9b1ccd84 WHIRLPOOL 51bcc2ae1b7315e3ae6f1ae69dbb93e4a330103efd8c463f2671945c76e19cada4820f25a16de76786d7ef5ddb0f180c19ff894934bf77d76cc646886218c480
|
||||
EBUILD joblib-0.8.4.ebuild 1173 SHA256 d3cb8fbb8f38dde8658a08b33e6a0eba67dbd6d01b9f7001ae0d0d2c9fb4aa94 SHA512 5dd4a94b4de7cd57e91126b8436423babc7489c2760740a3228e9a24d1ec32b89affff155f592ee247aeba9a7bba1da07d2b9a8bcf6209a2fe89bb4c47bcf19b WHIRLPOOL 3e1eb5b850ed907869122d587350d6d984d4f75c39d54f78c3b33dc4c4a76512ccc5c8f854b0071513fb5df529821fdefd9f92937dee261f4ebe3dd0ad6d2624
|
||||
EBUILD joblib-0.9.2.ebuild 1210 SHA256 0d67d82a7a34eb58e555040872aacbf5bbd1e9cf7f11b1982a0e0e7dfd5877ca SHA512 7ef9b640c92f1e14856beb3eefcf21df83b877f99abe22e1591fa5904d351672e8e90be3cb12a7ddffc347b55ccfb1357eb95b1a2cbcec2d3b269f773d172d13 WHIRLPOOL 4d3642f58b56f2a3544776fe1e7b4ade737f8b49fd85a97b30deb8baded113e282a2b411a1ad18ad2e7be4247a5693704c676336b8dbb9aff3278863d10c6612
|
||||
EBUILD joblib-0.9.3.ebuild 1210 SHA256 0d67d82a7a34eb58e555040872aacbf5bbd1e9cf7f11b1982a0e0e7dfd5877ca SHA512 7ef9b640c92f1e14856beb3eefcf21df83b877f99abe22e1591fa5904d351672e8e90be3cb12a7ddffc347b55ccfb1357eb95b1a2cbcec2d3b269f773d172d13 WHIRLPOOL 4d3642f58b56f2a3544776fe1e7b4ade737f8b49fd85a97b30deb8baded113e282a2b411a1ad18ad2e7be4247a5693704c676336b8dbb9aff3278863d10c6612
|
||||
EBUILD joblib-0.9.4.ebuild 1210 SHA256 5537d49605c2ecfb285fa7ea292b53d036082eb1a85e4503f9548b689e73c94d SHA512 2d63dd9ef8bdcc27457053bed17dccfe59d9c627e3202769409a1f0b8ad00691e509fa276ca5cc83f21e3d24953299049f6baaf8497333c6e8d7d2d3142e9526 WHIRLPOOL 600b3507d3fba70b9da61b365ee049cab1ecee3f4a921d0b91a6ef2b6bb6e38a48431121afc661191028a57b451811e719d351995751626c701622bebe7e6ca4
|
||||
MISC ChangeLog 3341 SHA256 0f8fadc2d2c174400d26618148b4a6891270ada7ddc7370a7c310c973a056812 SHA512 800b035a3aa0d1dc57b6aa5f206d270e0e733d9f6fb2d5ed18c1f2d6bc4d4e65d0ae7325c5602fd97140e298bdf332cad06c72e94cacb46dfe916cd497634eaf WHIRLPOOL d1fa6251808af76c5ae48d8382120d7db4bc33417f28344564c02ba40467242cdd39d8255284ebd8ac224f73947cf1b0b5f862ba177e7ed10f27a52b3bc366bb
|
||||
MISC ChangeLog-2015 2403 SHA256 6b1d73132e7d1307051cb0c189c0b254ef2e80d250b45d554d251464665147a9 SHA512 df116493f7ff8bc49b1b34137682decb4f9314fd453072538f96ef17fc81cf7db164b85c6746a14e9e04fa41f9801059584d73fcfbcfaaad880bce41e2956705 WHIRLPOOL b9ebdcfca02ff7c86b3c40a69a30a6c8377e20020c7b06aea2ffb779ba46798a3d03140150d159de6f236afa3a4479367f133ef802a0512b32640af5aa79f873
|
||||
MISC metadata.xml 832 SHA256 bad2be506555504519b4f04feb32f505057ee1cfee731680d079429373315bdb SHA512 af7c23a51fa4ad666546900aca84ebd07412ab36f305ce4650df5cecdfcda3c24ff7d56322495c191a83fa99d00d968fc19284053f77620885f03bf4555f2353 WHIRLPOOL 0e1959373491aa5d4fe59d8f894886b8e2fca0fa7c58674bb8a7cebbbe9100589d2a20b6c00c6c7dcd96d0fdcc43ec00c1b843ea2c4f10a205dd30583904f364
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to provide lightweight pipelining in Python"
|
||||
HOMEPAGE="http://pythonhosted.org/joblib/ https://github.com/joblib/joblib"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
# Usual; req'd for testsuite
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build -b html -c doc/ doc/ doc/html || die "docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/joblib/joblib/issues/143
|
||||
if [[ "${EPYTHON}" == pypy ]]; then
|
||||
sed -e 's:test_func_inspect_errors:_&:' -i ${PN}/test/test_func_inspect.py || die
|
||||
sed -e 's:test_parallel_pickling:_&:' -i ${PN}/test/test_parallel.py || die
|
||||
fi
|
||||
|
||||
nosetests -w ${PN}/test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST prettytable-0.7.1.tar.bz2 21499 SHA256 599bc5b4b9602e28294cf795733c889c26dd934aa7e0ee9cff9b905d4fbad188 SHA512 1a7aa604f608483b107401ddca9721ddea673ea1415d2a514948f7399835784e0a9025f0e5236f4109890e5924da345bd111893200730501b496c136465c204f WHIRLPOOL cbde4e7053eb82749a21f1ac7e0a9ab7368f9dfbe64f0e434da085dc30f24931110e87c508c500bb340adec6d928dae53f1652d1601a5718311a9e414a2b789c
|
||||
DIST prettytable-0.7.2.tar.bz2 21755 SHA256 853c116513625c738dc3ce1aee148b5b5757a86727e67eff6502c7ca59d43c36 SHA512 f3a3fe6fa29f4ef090ff6cac06549ebd9db8b387e7b25fc64c4e37c8444586f50355c5573f38caabc72360aa68054aa189a67aa37f0bd13b872862ecd9151e71 WHIRLPOOL 1b27332ea8b2c83ec13b981508f429881bacacb87ac4a8c51a42b6071daa6d1278a48f3359547efae2c7f9eb1fe5d6b13e2d4232543722aa3aab1f30f9fccfbe
|
||||
EBUILD prettytable-0.7.1-r1.ebuild 610 SHA256 9b031f8ba68c97a4289db9755882c210def8809145b70906118b652399477cc8 SHA512 c34f90f354ed15a8364b5161a08c738ce2d347eda3fdf9a2ed59743fe9270a2a1ebffe5e69ebc33e5e9450c228ccc057a3e0dac0a5a728b9ac0cc4b06cbcc6eb WHIRLPOOL 7ee4c8c8551b2d8e60bc51a4c11d9a748a73d62de9679457dce6fe30a99947c3f7ea7ec3d16ad94022b050988afa8bcd1b0cf12b815b0fc3eb568c77254b8fd1
|
||||
EBUILD prettytable-0.7.2.ebuild 612 SHA256 b8330c2eb3becc9091e62a95b67fe6f7facec2b7e2848e3c5baad0af9441c75c SHA512 3c311f0dd951d11a8bcba182db20aae9eee52be8ea4ca4fb041edb065501072eee67e5ac8236e7d476df1c1892bbaf6ce1dbf1a2e94e5ab583484043b896b0d0 WHIRLPOOL 21f0eba8e67d49fe78b409a6f553cc9131913e0ba52c578f200c7d08fc5e90cf595822f648f89a348915e4e1744ae6b9057caf353f6e7903b539b53ef2f4ee85
|
||||
EBUILD prettytable-0.7.2.ebuild 614 SHA256 45dde047db95ff28b499f764551c8b637a76b5741647e0173a20ec608010f0e0 SHA512 5a67711956a24117f63dd1257898b27d997ce8eced1cfc47c16b9f4bf99bb5dac6724346e15d6fcce5fdafc9cfa167e8bfba7f5d8bdf15f62a3e8e7296e2420f WHIRLPOOL a2abdc24e28033b875cc085125eb617afeeef1c9e23c64a95b50a71c04fd82abd1d24a8c3bcb2cdb9f1ffaf8be056b555c244bcb69afb971366b125b76c0833d
|
||||
MISC ChangeLog 2507 SHA256 f78a8fd59134f45c6a46ae912fffdc0d260411858a53e2cbfda27068ad688c75 SHA512 94a46d3cd90d7f2e102e95023af4e3ee307fd7667b3a7695ea197e5967456a5f47689e056e46792ea8a7ef01767ea5b119f0a14ee909d91145b7e35171302e3e WHIRLPOOL d24c0675c5db7dbd48ccc39dd17b31a467e153cdb25534def50b0aad77653ac14388b65dbf37443c4ce7e8be072035307822542c0f25fa6f99c067a76b13a63c
|
||||
MISC ChangeLog-2015 2623 SHA256 7fa969f48fa415f505df117437772a25be3c75bb36942306fe5f877741565ff9 SHA512 f62aa772ed4f44c3a75dc81c0aa9643502aa30f36c83db7c358cf3a779708b564dcf9bec1d20d588e4c9e52a0acc81cdabb2416f0331082be2e7156a49cf41e6 WHIRLPOOL 851da6c9007fa2447b0472afcda0aff73870c30413f71061ff5edce12d969d36b7245dfd0b1adf2bc5e232407a4a1412e2cd0c7f76728ea83603b29b527be957
|
||||
MISC metadata.xml 388 SHA256 c0755914f7e382ce8af51311d5d1ac9057a4ea62cc640abdf015ddbe40fe0bc3 SHA512 7ac1cfd03216f171bf432f35b21bd6b43d297e77f41dffe5c5c5c4d85614c799252182a06bd5a116b5b831c06df115dcb933f1b2fd051eca8676f0aca7997d58 WHIRLPOOL b123d27466e708f01586a3e995771c02d2fc4e22829617c6d9aad1066089ce24ddfc33282215edc1e715227fcfbfc51e2c2e6d10b1171298f29e56402cc3e49c
|
||||
|
@ -0,0 +1,3 @@
|
||||
DIST pyrsistent-0.11.10.tar.gz 62646 SHA256 db0469748e74f72b6142aa60bf9a5a15b4a080f47d9ed2fb7c6c083756264149 SHA512 cc0caf78b596e2cd9a5960be354a7ecae50a6f324295e1d882100e85208145735d5154a8b17eb297b99d48a6b1edb36cf8bdae781efef046f097f53af00f732b WHIRLPOOL d0ac9088c0afaec1672eb8b4e29c8b3f85f7bb064f360d54a21f0d70daa4ea9d37ab8f947bbba41a0695fc8a5e2f6e73c263748791952c3b32eb7134d2c8d74b
|
||||
EBUILD pyrsistent-0.11.10.ebuild 861 SHA256 acb717cf14d6c7a214499536c0066ea296e3a413c529d50d443e516969370022 SHA512 7bbb1203f23daa917b854d4fcc7131797b5ce8493c9c15dd3ba3c3c1ae993f654b772d839760cafcebdabece9e7e7e61a9db2799f0d8cd31ad9eb50c093df7b4 WHIRLPOOL 9cd55db143dff4755534b2a343b24325da5b941b08ac37b6accea0b313fc79a02cf6602bc6ed9915f3704b8b1b0355324eeb9cd6c12468e7ffa083c1a8805c97
|
||||
MISC metadata.xml 463 SHA256 2bef09bfab09b17afb7412cd3bd2e91f0b3df0d20de9addf17a792b3165fcfc8 SHA512 35dcb447ef31213eb0cf2ea4b6e9a999a307f550939c724a54b851631fa34b83137cad50e86fde3e4de47f98d89cfce5c61dd650fca0d9f594451cc5fe983275 WHIRLPOOL 4006abc3c4fc63cb0fe3df27e48f628498092098caf612ba817abdadcf95da8d45c5232f1633687a5a1e61379f036e772dd628d0fe4cb70f2f7d50caea725703
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pyrsistent</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>tobias.l.gustafsson@gmail.com</email>
|
||||
<name>Tobias Gustafsson</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Persistent/Functional/Immutable data structures"
|
||||
HOMEPAGE="http://github.com/tobgu/pyrsistent/ http://pypi.python.org/pypi/pyrsistent"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
# https://github.com/tobgu/pyrsistent/issues/78
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST rnc2rng-2.4.tar.gz 13014 SHA256 c73d9635f6f83883454a92f12ec98d9bf087ce7412eca89aed672204d30a01fc SHA512 082b2985e1fac17792b7513db67c0f467147a69a0c1f1d904665ea99b4ba4042e27cf7398f42b94f26c4fd6dc7a807505429d7d08f0537017d0dbac94cb9474b WHIRLPOOL 23d7b50e32c41ac2be480eaf2d07e5f557441976b33d686b7a0411caf2f96a4ceb5149d5ff26f744357744b3dc088723b8f9f9a4a13804cbe4cb494f3e5c3ff2
|
||||
EBUILD rnc2rng-2.4.ebuild 523 SHA256 334a92443f9c112de6aa74536cd1dad8f1f3b955e32e50c1b8a3a774f0c7579d SHA512 2a9c8712b8687bc862e8249c9ceefd641c2a2b8d07dbe5aebd9baad9873dd34b3c5e7f44e3fa97afaaf08e07a0e3b3bc922309d676ffbed1eca6d1c5abd66786 WHIRLPOOL be70815f29dae045496df852fd20d93f40a290224a06079a59597a8b35c6b4f06d3a739e2675ad0768b6076c551a23b5c0140a23beca960f3ba617e4a394af5d
|
||||
MISC metadata.xml 241 SHA256 6a255872700d3f46f1c3a9e595d699b3b49e54c3645ab99e0eefb9e2f1eb3dcb SHA512 c08296e4a38b117f69ea32449a960a9b55f03b09e6c8314e1ec923cef3419ec2b7e9b4580bcd44779439c39bfb5f741b75df3c3c024dbd0ecb4aff195162175e WHIRLPOOL 2e25bc37fe24cc1c4a959f7cf38dfd6677697ead3b13066adda02a17ab5e803a887132657c3027a894b2dcff2f87a76f3a681fd5e7b83b8622fbb710f2a7e3a5
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>djc@gentoo.org</email>
|
||||
<name>Dirkjan Ochtman</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="RELAX NG Compact to regular syntax conversion library"
|
||||
HOMEPAGE="https://github.com/djc/rnc2rng"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/rply[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test.py
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extensions to the Python standard library unit testing framework"
|
||||
HOMEPAGE="https://github.com/testing-cabal/testtools"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/extras[${PYTHON_USEDEP}]
|
||||
dev-python/mimeparse[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.11[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
>=dev-python/unittest2-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/traceback2[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
dev-python/testscenarios[${PYTHON_USEDEP}]
|
||||
dev-python/fixtures[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m testtools.run testtools.tests.test_suite || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
DIST maxitest-1.5.4.tar.gz 13723 SHA256 d03018f2a0d0414b7ce9df7a1326e6b0d615323b109084f3191472027d60a24c SHA512 b2b7c0ac561f7f62f94a86d1f84b1aa4e9dfe65840607ebc1178055e82a759aed74637a721c7eeb234e5efdf52ef6386e36097dcb165bbd001758a96e588d8e6 WHIRLPOOL c3fbc53e5e23da0e85fcdab9578af13b278dca9bea6738ca9ebe6eeecb8e72783e5c147d4e79dbe03185e365856dbdcbadf8a936916393946fd0f9ae5b3bf097
|
||||
DIST maxitest-1.5.5.tar.gz 13753 SHA256 5b8da0bca9b099da51f2abd14c6490b178debb4d79e545b377ee29cf4110cf31 SHA512 0136597d86a5d760c221e96bf84dfe36ae18b32450d0f955760903a8eb97232bf112e2c11528f9cb293972e6a1e0531fa459c132c8551a2861d57e7de9f5a642 WHIRLPOOL bf99b3402814d04254307b917d19f97ff32d6a43c75a71cef8994ac629f98cd23e909b69a6eb5404cfb707cde9175a8a95efe1aaf1a011952db908c8245a261e
|
||||
DIST maxitest-1.5.6.tar.gz 13751 SHA256 629e8c27b35158eb4bbbfecb47ac50434f47d13ceb094bcf657df1389bfd2f3d SHA512 7228c0b39a374a1193be63959b827c5657420b9effe451971e46a3d29c80f71fb684801011d531855340c853400250e149ae1cf0d73bda1800facc2ea072c500 WHIRLPOOL 1878bf3069e4debfc317a3b5bb360be96be05ed22e7c9bbbafcb410018d1a2009c964eec16864ab02dd619bbb657e3bc067bc82d0acd5f3962a797fdde6db918
|
||||
EBUILD maxitest-1.5.4.ebuild 1184 SHA256 b48c4c12e6ce66bf6ca305b93b5222fad768f5efc1a62bc501decce85677265b SHA512 f84528d25c44668da5a897ebf801524e8dc174116fcdf49bb6fa1394ea52c78575eee67b24a3b253b111b4bd2e61f7b8dbdca483040b2d6c347dd8bc84240cca WHIRLPOOL 50b5dc17fb1665ea4107818f3bb4a3b547081d6932ff1b13e54c71367e3611aad120d165f7a2d1981719a9d1722b258ffab8fdfc883023537574c5006b3e77cb
|
||||
EBUILD maxitest-1.5.5.ebuild 1299 SHA256 ce85496d11904b6360f599493e1d6fdfbc49f60c97759d73a7e7db7d5531f85b SHA512 85c926c208e508b632f9d7259c469d14604c9919632abdcb895cdb0c1526ed7ffebebc16def8d907e8aa36f672628589c7f95b9b26e501d4dab60786a4920093 WHIRLPOOL 7554e57d0feca459a8a455a271b3f5f386dcfc8d85f27541f75d4a7ffbf174d5ea61c0ed73ad63aa5df0206f2c292d3525d1405ab17c855e789cce7928edb177
|
||||
EBUILD maxitest-1.5.6.ebuild 1299 SHA256 ce85496d11904b6360f599493e1d6fdfbc49f60c97759d73a7e7db7d5531f85b SHA512 85c926c208e508b632f9d7259c469d14604c9919632abdcb895cdb0c1526ed7ffebebc16def8d907e8aa36f672628589c7f95b9b26e501d4dab60786a4920093 WHIRLPOOL 7554e57d0feca459a8a455a271b3f5f386dcfc8d85f27541f75d4a7ffbf174d5ea61c0ed73ad63aa5df0206f2c292d3525d1405ab17c855e789cce7928edb177
|
||||
MISC ChangeLog 1791 SHA256 caf3ef4eb0614a14aa749c9d1231180b723ddc8574a584ff90c7a4e40f014157 SHA512 53b5ef59618b35d3376b31d1951a5686222a5dcff15f2fc2b0da009eb8580df767858ad75dc6559fba4d24e204ccbc272b2e8d0b21e716d66d1bf21df5883d87 WHIRLPOOL 1f028f0e49855b7e2855db953f2eb9c9c354e55125d253d96ebc2cef942e3900e67affd20842f151861d35f215050cc97154390de2ee84a21481751d29950428
|
||||
MISC metadata.xml 332 SHA256 b6742448d2d6b28289a9862d0d6f1e8f34c6606bd628914cdcb312c95e460753 SHA512 ad86da72b8bc8895b0e09bc9e435eefec9ca1738e8b34aceaa959b2431b35c2732c704bd68a02d02c3c88912c20395f8601e2d42ec26f5d15c064893c0ceff0e WHIRLPOOL 72c2d39e3aa6fa17cb556f77e023f421c87e333c149d7a10a3f6e3db8eebe664c1a744f43e34a708c3f64425fe11c7ce0a479dc3f9ecaa8d77e482213a6e1587
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="Readme.md"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit versionator ruby-fakegem
|
||||
|
||||
DESCRIPTION="Minitest + all the features you always wanted"
|
||||
HOMEPAGE="https://github.com/grosser/maxitest"
|
||||
SRC_URI="https://github.com/grosser/maxitest/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "<dev-ruby/minitest-5.9.0:5"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/bundler )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -f Gemfile.lock || die
|
||||
# Remove developer-only gems from the gemspec and avoid git issues
|
||||
sed -i -e '/\(bump\|wwtd\)/ s:^:#:' \
|
||||
-e 's/git ls-files/find/' \
|
||||
${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
sed -i -e '/byebug/ s:^:#:' Gemfile || die
|
||||
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Use the correct target
|
||||
sed -i -e '/sh/ s:ruby:'${RUBY}':' \
|
||||
-e '/sh/ s:mtest:'${RUBY}' -S mtest:' \
|
||||
spec/maxitest_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
PATH="${S}/bin:${PATH}" RSPEC_VERSION=3 ruby-ng_rspec spec
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST origin-1.1.0.tar.gz 37519 SHA256 5876264ef7095e58b7516487551afd7c357cefc7d235d3e5028fc94bf7e0aeb5 SHA512 0f4de9e31a172c687e38065020e895991b53e69467e7e5a8368f34ad58b80cc03b14f9cc1f264303dbfef6f88f71fd3477b850a6a5d08871e049048336f650b2 WHIRLPOOL 2bc807bbe7554730c13d7a5e6550f3716c4758a317d004cdb4ee1fac09e08490051a2beef07d168357d702454501053f2e9574d27f89fd635c4664787f18905f
|
||||
DIST origin-2.1.1.tar.gz 42764 SHA256 e710ae991fa512b6d5cfc9a5540a170ea389de010fd83d6d953195f18892a7fd SHA512 91b4e2b7bc02b5530eb96025b4a7e92e9ad0fd27d9676b9149f66993df928e0a1027e3cc89f537549e7f9135fb5b5414211a3c624677475b84c22fb68c74dc54 WHIRLPOOL 213fc74ff94f9dbea88ddef11a4e6f3551733e430d54d4d9726601699d12977531b16d54a7b56849d3aef3b55fe8509ea9aad59982807942c5e33c7a6fa236ae
|
||||
DIST origin-2.2.0.tar.gz 43739 SHA256 c900a051f51354ac1962935c5d12b8ed28c47470ccf41c735c826346891efa6d SHA512 01befdad8aa22ee6778916d02310c1808de8a88047cf19bf0546940d32585974249cc544038c4cd0ccea94651d58e1c1966972bbdb98687f38cd4325994ebd8c WHIRLPOOL dfcd8b4d41eb12dabbfe60b8648b4a51c714dd58da133fcc5cbfbc76380a0d8a9b05aed867486719d1f71031d45e85881a461bad89dd7b78039957d887c1ffe7
|
||||
EBUILD origin-1.1.0.ebuild 823 SHA256 8d7e4e68b7334f385c1511e8f84facd06b44d1ea7c5a33b7c461e635c81c93cb SHA512 b9ef85e6cf073ec8c5dc05b7ebd441bb115189527d377461e44805674279ede47e6c9cea218ebb6480768e5e5e5c8c803eb87a7fc3e9206053f51cedc45d12b1 WHIRLPOOL b4d5bef238bdfa777f3b9b55b561cbcf0724e5c4ec30af5b30dc2dc987f1d41c52f5f7a5add2cbf2e1b3c23edb83f9f60a76e1c2f000aaa8078db8affa673275
|
||||
EBUILD origin-2.1.1.ebuild 796 SHA256 4d2e833117abfb8791b5c3d38b4147a43e96736f870b8d8ad27520d41866fff7 SHA512 0673bce47b7c9ee84be89a564f5f2412c70933f0b1d6af072a57a3f02bc39a932d3ef7b48b0004c0bd06c839705123399984a4c8779f26ab9749c78d66d49c56 WHIRLPOOL a3ee8d873f51c1a9761165a3fccf7aaa640a343881e90998a250de82980acad7d8081353436762ee67041dc311446e791df4187f5b1d73b4cc67077a6dc015ae
|
||||
EBUILD origin-2.2.0.ebuild 789 SHA256 c29b484ae1022e620dedaeb91a18b6da69830abf71250b140fa7951d2d10afba SHA512 5ac0e0695da1f2607b2cab0f436ea383112298cc49fa253238b5faea92c0a75f645d058d6bd5f36487f7de90c3161530cfd5c477959944d4e5118a61b9d727ff WHIRLPOOL 399717f66d594c9bb611a447a9a5c76b2deb64af2cba348f7432766b180087da375d5c8898a121797c8c7bd5d2f4f40def157a99d0a62a7c631e10f88359fe88
|
||||
MISC ChangeLog 2474 SHA256 dc12c75fea7f8141a48452d103f77b1ec0609796e788b039da109ade1e1cf3d4 SHA512 f488b1a247550c830606a625fbb5de4cc70bdded62bfeca00c83f3affa4514cacf3e60b4cbd4967ee1fe07d7635ae1d182f8043197407d3dc29ee4ce117555e0 WHIRLPOOL a8c7974fbaffff9caab2aaeb70ddd1c56193c3c8d17ad6a17044cadfb86e081b6a21de73f01828b840d2f1eafdd5d2087e119e6f1747bada18a317a16a2d44d5
|
||||
MISC ChangeLog-2015 2548 SHA256 47fa6de966c1703946e7c1cbbfff15640c0f667b78d6742c17bfa9b2aa870ddc SHA512 2aa622d71bbe8831ca3876ac3284a226a286e26a475a46a08e8a105b1c1ae0d8930774ff3ac30c78ef81af67fd10b69c8825149f8e8339074bb8fd4072bb4c34 WHIRLPOOL 5708c1470d0610dc1ca092699e8eeb2b8fc461bdd07ad47ea8023bf1fac6ded97b5f2a06a124e5827ddb3d06bf86207d1f9e489feaab2d15e35141002dc38a27
|
||||
MISC metadata.xml 340 SHA256 ff19ec7c0cfceb6b59bb6a54081bbc948f3ee7b08b7e4e1861baa44431d8f36c SHA512 dc82aefa45cc9e2017afc6604183c9e15c6776224ec50e9957297d3dc2e517df89d5154a12a4c30cad0d54f9d27960efc9f36e7648a4c397f882785e2e9b27c2 WHIRLPOOL 1165138cca3b9e75399e16de59e0d8fa712f3083507761a937e477758ebd01b6a1afab6cc909ffedc5e4270b3f32f1c5f2ee5844404129a4625ac0c0e8a00c28
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="mongoid"
|
||||
GITHUB_PROJECT="${PN}"
|
||||
|
||||
MY_PV="${PV/_rc/.rc}"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Origin is a simple DSL for generating MongoDB selectors and options"
|
||||
HOMEPAGE="http://mongoid.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${MY_PV}.tar.gz -> ${GITHUB_PROJECT}-${MY_PV}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
=dev-ruby/activesupport-4*
|
||||
>=dev-ruby/i18n-0.6:0.6
|
||||
>=dev-ruby/tzinfo-0.3.22:0
|
||||
)"
|
@ -1,7 +1,9 @@
|
||||
DIST ruby-mp3info-0.8.6-git.tgz 88463 SHA256 1b52aff957da105641fcb1713a4afdb031aa6dcc064b1f81f36b744e00754f1f SHA512 3b536850d18a6ab0da9a9d096c79b78e6ec2b8fec78a551dc1b44a94b97a77a37fbb8db7d3fc6fa41c1b0732d949de624b89bf28119752c0486f703a1d0873ea WHIRLPOOL 8edbd44d271f77fa2eee2cb4cbba1b30af626e4a496dc55b91b3ac5470e237b651c715fa56ace937ab985ea1640823f11ccd0e30afc8de7fd0c5a8e344658e9e
|
||||
DIST ruby-mp3info-0.8.7-git.tgz 89119 SHA256 f7e5df39b44748f7ceb2d246ecbafbc66b35144d0e7b789db3e04993d5bfea8b SHA512 4b1cfdd4c94d98a78fddeb67639265c5d1aa333fae847ac42663bb93d2e8380d46b6e87482c117001cc14ad9b1f6f2cc2dbb865c5fd12c4ec22e6ca26565685a WHIRLPOOL 8345b8d5e6ad5254a5313dfbf310953c8904e38586cea4d029c73ad4c09700fe25064d807528ae83d45da32511b8c3a254d721b3350f340984958ba9ec391cd5
|
||||
DIST ruby-mp3info-0.8.8-git.tgz 89283 SHA256 0a114f8223865531f6423f7f8c4c351d7db3dc0e91b3eaa8b3dbf4098a313357 SHA512 8cfd98cdd04e214b2905ebb7563f2af16833985efdbf53339233902d1a3c323936edac4e618c96b6903ff6282d9e2e6f399f80dae3b98deb32971e00b4efce6c WHIRLPOOL f64bf52ffc17ddedf527f494c76bfa8791de6a3a79e309ee13ff217202edee2f6655a1009771643cf9ea1d7c23a6f9dbb87474e9ac3e65ac19eb8444ae7f57b8
|
||||
EBUILD ruby-mp3info-0.8.6.ebuild 849 SHA256 bbe7378ae9965c51ed64970920b2d1a8806492d52b1c9ba10958ca9451967d70 SHA512 f7049c81930f1bd60322977f051df2d7b5f0bcb9e54d85f72f74a7b48395685d9b94d0f78b4329467d0fbf0b555e197bf9b6f6617c99a5b87f0fc4a65a084198 WHIRLPOOL 1fe5cf9b3a1868c912fdf913d5fbb679e047ef158d0b468dbf47ae19b1d0b2448196a1829788dac081d192ad7932725ff1df45ade3cb3dff55ad74f61d29305e
|
||||
EBUILD ruby-mp3info-0.8.7.ebuild 849 SHA256 bbe7378ae9965c51ed64970920b2d1a8806492d52b1c9ba10958ca9451967d70 SHA512 f7049c81930f1bd60322977f051df2d7b5f0bcb9e54d85f72f74a7b48395685d9b94d0f78b4329467d0fbf0b555e197bf9b6f6617c99a5b87f0fc4a65a084198 WHIRLPOOL 1fe5cf9b3a1868c912fdf913d5fbb679e047ef158d0b468dbf47ae19b1d0b2448196a1829788dac081d192ad7932725ff1df45ade3cb3dff55ad74f61d29305e
|
||||
EBUILD ruby-mp3info-0.8.8.ebuild 708 SHA256 50c10936ce513403473ef10f484f8ff8c1e2e9b0f024b81120f99227cf431f5e SHA512 51dfefd7252d4b44b97b32911ee5d967397b43f5be465667e237e93cc81965da914e98457306c7156de4d8ff5cb2f4c5484c4693007d3bfcee74a9b389812d43 WHIRLPOOL 8dc112541ce6d92226890212ab27c2d87677f80ebd6adc74f502ae11ec2ffa2a516896563c2438db2d11b9bb049b784f3d462247d29d3ed7f42a936749b5ca6d
|
||||
MISC ChangeLog 3180 SHA256 5021526bec101cf600a2562f276bf3d5f8f8cd228bcb22b9a3775d73012a83c4 SHA512 29de13c711e5b03446cfb6f2e34120eee1fe5d86b79ad374ee3edb2160dab2694510b0e2a3f1ba88dc0d7a9157ba2e0a32bc7ca7a2bb5380984fda74f808f6a0 WHIRLPOOL 0d1a7b28ed1c176847b933544d871383c8daf503dcb4adb20e0f28fed80b2c4da846206bf520b3ae71eac778ee0ea4e893ff38b36f0a22b2c0c7c9608445c424
|
||||
MISC ChangeLog-2015 5912 SHA256 6e40a5f16a75ac1727dd9b9415b1673c10bf70d66eaeb2efb6c9b10eb1ffada4 SHA512 b980eab90add020b58121eb89be2cbc72cb7128a938d49286528eb17b53533967c6419620d2a706a080a91800d1ad3e4845228212496c913c8d0c960db82f55c WHIRLPOOL 4c57343fab1bb8bb4e48c178d181800ef5ad738a3b6d40bd5972de2749702c5f9b0b51f24c48794a73253ee6f40caa7255e5a8ac9200395b2eb5a77734a78727
|
||||
MISC metadata.xml 345 SHA256 d907aa33ce7abf2fb37af4fe3e9b89d021927a65e31dfbf59d2b97a0b7d0636e SHA512 653b0c5748b47debdeeebfa0f61e04c5fce8b7c96a2d45bc57ac20088b3a379d8b3e06d7e919d51681233023034a7251bef6bb79c9d20b68b9bd51fbbb19c56e WHIRLPOOL 08b08e322c0b7dcc2697cb0fbc544d992e93a6ad7499c3f03cf4b8d3aa30225d4a97827574b389b7e691cad27c7571e26fc6c876f5e3a4a34e5b419f2f1892b7
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A pure Ruby library for access to mp3 files (internal infos and tags)"
|
||||
HOMEPAGE="http://rubyforge.org/projects/ruby-mp3info/"
|
||||
SRC_URI="https://github.com/moumar/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND+=" test? ( media-sound/id3v2 )"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/hoe )"
|
||||
ruby_add_bdepend "test? ( dev-ruby/hoe dev-ruby/test-unit:2 )"
|
@ -1,137 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
inherit eutils flag-o-matic python toolchain-funcs versionator
|
||||
|
||||
MY_PV=$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="A system for large project software construction, simple to use and powerful"
|
||||
HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
|
||||
SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT=0
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples python test"
|
||||
|
||||
REQUIRED_USE="test? ( python )"
|
||||
|
||||
RDEPEND="!<dev-libs/boost-1.34.0
|
||||
!<=dev-util/boost-build-1.35.0-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-apps/diffutils )"
|
||||
|
||||
S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \
|
||||
"${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \
|
||||
"${FILESDIR}/${PN}-1.50.0-fix-test.patch" \
|
||||
"${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch"
|
||||
|
||||
# Remove stripping option
|
||||
cd "${S}/engine"
|
||||
sed -i -e 's|-s\b||' \
|
||||
build.jam || die "sed failed"
|
||||
|
||||
# Force regeneration
|
||||
rm jambase.c || die
|
||||
|
||||
# This patch allows us to fully control optimization
|
||||
# and stripping flags when bjam is used as build-system
|
||||
# We simply extend the optimization and debug-symbols feature
|
||||
# with empty dummies called 'none'
|
||||
cd "${S}"
|
||||
sed -i \
|
||||
-e 's/\(off speed space\)/\1 none/' \
|
||||
-e 's/\(debug-symbols : on off\)/\1 none/' \
|
||||
tools/builtin.jam || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use python; then
|
||||
# replace versions by user-selected one (TODO: fix this when slot-op
|
||||
# deps are available to always match the best version available)
|
||||
sed -i \
|
||||
-e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \
|
||||
engine/build.jam || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd engine
|
||||
|
||||
local toolset
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
toolset=darwin
|
||||
else
|
||||
# Using boost's generic toolset here, which respects CC and CFLAGS
|
||||
toolset=cc
|
||||
fi
|
||||
|
||||
CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin engine/bin.*/{bjam,b2}
|
||||
|
||||
insinto /usr/share/boost-build
|
||||
doins -r "${FILESDIR}/site-config.jam" \
|
||||
boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \
|
||||
build kernel options tools util
|
||||
|
||||
rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
|
||||
if ! use python; then
|
||||
find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
|
||||
fi
|
||||
|
||||
dodoc changes.txt hacking.txt release_procedure.txt \
|
||||
notes/build_dir_option.txt notes/relative_source_paths.txt
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd test
|
||||
|
||||
export TMP="${T}"
|
||||
|
||||
DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py
|
||||
|
||||
if [[ -s test_results.txt ]]; then
|
||||
eerror "At least one test failed: $(<test_results.txt)"
|
||||
die "tests failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize /usr/share/boost-build
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup /usr/share/boost-build
|
||||
}
|
@ -1,140 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
inherit eutils flag-o-matic multilib python toolchain-funcs versionator
|
||||
|
||||
MY_PV=$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="A system for large project software construction, simple to use and powerful"
|
||||
HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
|
||||
SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT=0
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-aix ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples python test"
|
||||
|
||||
REQUIRED_USE="test? ( python )"
|
||||
|
||||
RDEPEND="!<dev-libs/boost-1.34.0
|
||||
!<=dev-util/boost-build-1.35.0-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-apps/diffutils )"
|
||||
|
||||
S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \
|
||||
"${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \
|
||||
"${FILESDIR}/${PN}-1.50.0-fix-test.patch" \
|
||||
"${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch"
|
||||
|
||||
# Remove stripping option
|
||||
# Fix python components build on multilib systems, bug #496446
|
||||
cd "${S}/engine"
|
||||
sed -i \
|
||||
-e 's|-s\b||' \
|
||||
-e "/libpython/s/lib ]/$(get_libdir) ]/" \
|
||||
build.jam || die "sed failed"
|
||||
|
||||
# Force regeneration
|
||||
rm jambase.c || die
|
||||
|
||||
# This patch allows us to fully control optimization
|
||||
# and stripping flags when bjam is used as build-system
|
||||
# We simply extend the optimization and debug-symbols feature
|
||||
# with empty dummies called 'none'
|
||||
cd "${S}"
|
||||
sed -i \
|
||||
-e 's/\(off speed space\)/\1 none/' \
|
||||
-e 's/\(debug-symbols : on off\)/\1 none/' \
|
||||
tools/builtin.jam || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use python; then
|
||||
# replace versions by user-selected one (TODO: fix this when slot-op
|
||||
# deps are available to always match the best version available)
|
||||
sed -i \
|
||||
-e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \
|
||||
engine/build.jam || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd engine
|
||||
|
||||
local toolset
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
toolset=darwin
|
||||
else
|
||||
# Using boost's generic toolset here, which respects CC and CFLAGS
|
||||
toolset=cc
|
||||
fi
|
||||
|
||||
CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin engine/bin.*/{bjam,b2}
|
||||
|
||||
insinto /usr/share/boost-build
|
||||
doins -r "${FILESDIR}/site-config.jam" \
|
||||
boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \
|
||||
build kernel options tools util
|
||||
|
||||
rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
|
||||
if ! use python; then
|
||||
find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
|
||||
fi
|
||||
|
||||
dodoc changes.txt hacking.txt release_procedure.txt \
|
||||
notes/build_dir_option.txt notes/relative_source_paths.txt
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd test
|
||||
|
||||
export TMP="${T}"
|
||||
|
||||
DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py
|
||||
|
||||
if [[ -s test_results.txt ]]; then
|
||||
eerror "At least one test failed: $(<test_results.txt)"
|
||||
die "tests failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize /usr/share/boost-build
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup /usr/share/boost-build
|
||||
}
|
@ -1,140 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
inherit eutils flag-o-matic multilib python toolchain-funcs versionator
|
||||
|
||||
MY_PV=$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="A system for large project software construction, simple to use and powerful"
|
||||
HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
|
||||
SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT=0
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-aix ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples python test"
|
||||
|
||||
REQUIRED_USE="test? ( python )"
|
||||
|
||||
RDEPEND="!<dev-libs/boost-1.34.0
|
||||
!<=dev-util/boost-build-1.35.0-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-apps/diffutils )"
|
||||
|
||||
S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \
|
||||
"${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \
|
||||
"${FILESDIR}/${PN}-1.49.0-darwin-gentoo-toolchain.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-darwin-no-python-framework.patch" \
|
||||
"${FILESDIR}/${PN}-1.54.0-fix-test.patch" \
|
||||
"${FILESDIR}/${PN}-1.54.0-support_dots_in_python-buildid.patch"
|
||||
|
||||
# Remove stripping option
|
||||
# Fix python components build on multilib systems, bug #496446
|
||||
cd "${S}/engine"
|
||||
sed -i \
|
||||
-e 's|-s\b||' \
|
||||
-e "/libpython/s/lib ]/$(get_libdir) ]/" \
|
||||
build.jam || die "sed failed"
|
||||
|
||||
# Force regeneration
|
||||
rm jambase.c || die
|
||||
|
||||
# This patch allows us to fully control optimization
|
||||
# and stripping flags when bjam is used as build-system
|
||||
# We simply extend the optimization and debug-symbols feature
|
||||
# with empty dummies called 'none'
|
||||
cd "${S}"
|
||||
sed -i \
|
||||
-e 's/\(off speed space\)/\1 none/' \
|
||||
-e 's/\(debug-symbols : on off\)/\1 none/' \
|
||||
tools/builtin.jam || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use python; then
|
||||
# replace versions by user-selected one (TODO: fix this when slot-op
|
||||
# deps are available to always match the best version available)
|
||||
sed -i \
|
||||
-e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \
|
||||
engine/build.jam || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd engine
|
||||
|
||||
local toolset
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
toolset=darwin
|
||||
else
|
||||
# Using boost's generic toolset here, which respects CC and CFLAGS
|
||||
toolset=cc
|
||||
fi
|
||||
|
||||
CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python "${EROOT}"/usr) || die "building bjam failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin engine/bin.*/{bjam,b2}
|
||||
|
||||
insinto /usr/share/boost-build
|
||||
doins -r "${FILESDIR}/site-config.jam" \
|
||||
boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \
|
||||
build kernel options tools util
|
||||
|
||||
rm "${ED}/usr/share/boost-build/build/project.ann.py" || die "removing faulty python file failed"
|
||||
if ! use python; then
|
||||
find "${ED}/usr/share/boost-build" -iname "*.py" -delete || die "removing experimental python files failed"
|
||||
fi
|
||||
|
||||
dodoc changes.txt hacking.txt release_procedure.txt \
|
||||
notes/build_dir_option.txt notes/relative_source_paths.txt
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd test
|
||||
|
||||
export TMP="${T}"
|
||||
|
||||
DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py
|
||||
|
||||
if [[ -s test_results.txt ]]; then
|
||||
eerror "At least one test failed: $(<test_results.txt)"
|
||||
die "tests failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize /usr/share/boost-build
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup /usr/share/boost-build
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
--- tools/common.jam
|
||||
+++ tools/common.jam
|
||||
@@ -759,7 +759,15 @@
|
||||
switch $(f:G)
|
||||
{
|
||||
case <base> :
|
||||
- result += $(name:B) ;
|
||||
+ local matched = [ MATCH "^(boost.*python)-.*" : $(name) ] ;
|
||||
+ if $(matched) = boost_python || $(matched) = boost_mpi_python
|
||||
+ {
|
||||
+ result += $(name) ;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ result += $(name:B) ;
|
||||
+ }
|
||||
|
||||
case <toolset> :
|
||||
result += [ join-tag $(f:G=) : [ toolset-tag $(name) : $(type) :
|
@ -1,11 +0,0 @@
|
||||
--- test/startup_v2.py.orig 2012-08-19 11:48:12.020600368 +0200
|
||||
+++ test/startup_v2.py 2012-08-19 11:48:28.564516623 +0200
|
||||
@@ -14,7 +14,7 @@
|
||||
return re.match(expected,actual,re.DOTALL) != None
|
||||
|
||||
# Test the v1 startup behavior.
|
||||
-t = BoostBuild.Tester(match=match_re, boost_build_path='', pass_toolset=0)
|
||||
+t = BoostBuild.Tester(match=match_re, boost_build_path='/invalid/location', pass_toolset=0)
|
||||
|
||||
t.set_tree('startup')
|
||||
|
@ -1,10 +1,8 @@
|
||||
DIST debootstrap_1.0.67.tar.gz 61863 SHA256 0a12e0a2bbff185d47711a716b1f2734856100e8784361203e834fed0cffa51b SHA512 751cfabdcefa6de099f12377f4e5ac611d97952197040c8d194abc0ac8f3abd59c21110828592bfa2c7a92299db57fe8c6ee0991e11894470f444a71cfd25151 WHIRLPOOL 64acdd3bda9f901b90621a1ce26671075f1a24da748b00ffc1ef9d554fb6ef04bed964988679a168df9e82780a30876c48b6d381dcbe41bd9a7c0f5a8119b261
|
||||
DIST debootstrap_1.0.74.tar.gz 62347 SHA256 ae1d1a8d6212f7721be489608230a185721b798d114f8c56b67c4a5e123586bf SHA512 19c2cbbe66eafab73715f0449d84a689f8f1c766ecb14496e6eb77d792a7950d181d2e1bf9b07c8b27d692f94b8e247174d0a04200fb0404a9f3b17d7a898b83 WHIRLPOOL 652dddde71cb300c7dd672a8bb40b39ccf017a4b07f468d75b1d306160701065a34b398f44a6f897415388920f2982cd6c0ee40a64e38caf23e0e1ee3bf0a5f7
|
||||
DIST debootstrap_1.0.75.tar.gz 61897 SHA256 4fdc5daf7bce3816a7faa916e7cbd6d45357f241f0d845bec0015c06fd7c7cd6 SHA512 bbf4a9e33ee0b398064aa12ba77c7e2ad8fba0e050a8d821341c9c065f8554476aaa6c67f93e3255f85828b98643080f331aee9de6a901a9d5fb5cbcb8ed6beb WHIRLPOOL dca8e385102ef03ea970320fc1fea8a8f44fc09b78384591911df046afb0f14157e90fafb3cf8c021ea7568e22eea9f26674eb07cfb25b21ed72810cf0957c7a
|
||||
DIST debootstrap_1.0.76.tar.gz 63584 SHA256 d3cdffe78ec94a7576e106fe04f6b967c90fc88b5bfe925509214e098494619f SHA512 af7349faa26f8a4f73d687957ca267c27346ee927f2a9a95c220d18e273253e604ecbd6e0fddce89e995e7f39d1a31dac4482ab5f999042785618e85774a10bc WHIRLPOOL 4f95eefc04cee565a40395b89eb9499df19aca9a0cd3c8ab41456245e80e23858d1456324f7987cf384c445c52f546692e60d9873dab4aa07895117a239773bc
|
||||
DIST devices.tar.gz 47835 SHA256 0d93f93c8b21160069d14e74f8f990a2e0e1e5a90dc828b29e6b3f5aa5829e48 SHA512 994ec8d72e3d52d2d872f7ff0da2336e4cbd3a5fa73bb6cdb9e06f5e7f5b8c69cea639c738fdba1186f382d6dcf62e7746fface664bfbd744aac24b16f034432 WHIRLPOOL 222963bb920e1311bc2f481bba04e49f386b60cce6ce0576424896277e0c4fc6a339d4403d587744c32b0bfb1db6391f200fa8d66117e3f21e1c12f35365d732
|
||||
EBUILD debootstrap-1.0.67.ebuild 915 SHA256 f94930b7693d55189cf268b438770d79722ee62cf62cade2dcae6d346e07e129 SHA512 cbf76e931844886f6c1d9717501d1fb722c1c5113504426b4ed13a69ebbffdfa9c882663b022be2eaed63a7f27f5c0442349cf2362c12adc05077d0ff249e9ac WHIRLPOOL e10339702c4d3f76358baa2be92c7792de4d63ec4937f1042c5bcf2d8e6698e8a47d02e8f87bc4e626d8227646e0e558a335c3c8ce9796081048e6b8002ce737
|
||||
EBUILD debootstrap-1.0.74.ebuild 924 SHA256 ae711d3b96144113f1461de5881d1776de65123fe1bdcebc29b6379dd151ab0f SHA512 0f9ab5ea25ef3e65e9250ce39d165f121680363a1e2bedb5a2df67aa8dfa0439c86033fc41e75646b96778a8f7bbb8f125ad5e4b6edf43d807e60b7873f47354 WHIRLPOOL 0d1e32453955ce51801c5e420d9b2260c35a4a33d3c76e503a93375ec62102cb424cb8ad17ce03ac0f2698116055857d444c38aea40bdb5e0a92ac23985811f1
|
||||
EBUILD debootstrap-1.0.75.ebuild 936 SHA256 e3c5bfc63a3f3a2c246a418456e8b34202b2f035623314acf2ba52c61ce1cb0c SHA512 d924e63a1d41d598b802870be66bdbcce96c8b62cf58a2c6013e96799e8b97a923d027be73c4f51fa61d3725dd6c7aad3f99aa7939cc30533f395cc8c78bc932 WHIRLPOOL ea39d3001253ce4592c7d17c31edf939f1e6fa6f8f91c30625b47b534d08144bba57c83286b0b7f0f6f07c07dab72c90a382e8dc9143f963570d649068b7692d
|
||||
EBUILD debootstrap-1.0.75.ebuild 935 SHA256 c2c3f9a422b74c5030f2e4ae692ccbc77f7cae903e3057082e57a8d0d60351b3 SHA512 412dfd0d6ef608b02afbe68a9007af28b0079a8fb2109b316ab649c1553b691a7b0d8f69f55d5ef582f313ca4e49b29d1790e70ff263d853c19db022454b9d8e WHIRLPOOL c92b27b25707bd6a4a7d3ba4c862f8c2771189d3281a8df07d487a1e6ef0ddc63b3d6ce303dcf8b59e379f9fa946ca3bb5209db6a582dfb784163128ba221c14
|
||||
EBUILD debootstrap-1.0.76.ebuild 944 SHA256 803d7782fe1c9862dae8fc1ae0d4378d05c7ca6852cbd22c425cd89df09172d0 SHA512 49ac3d2ef75a0866b20f04d1d95c2b00f6b144d642f6208ab2e3b67ad9db26631519c0fcb6278241609a52782441a0cf0fbab8dd4ecc52b434cebf79a4a4d33b WHIRLPOOL a0634f2993e588e06bae673b83ec05b869e23575e47284e7ac6e0f9c46488cfecf0bcac46006dd98d294f7b81ef7b24a88832236df28f669e8002172e8a546cf
|
||||
MISC ChangeLog 5102 SHA256 d8c684ac2013e301864108c3e3ab6058a84fd7a3682e957a2e1904889ee6d8b5 SHA512 07587d32449f0976eabc91e959c934472c8673e83d3d2a45db415e33462be1ca29babbd82002a738471d06ff0992cb14bcb9c21ba032decea0dc0c018e216cbe WHIRLPOOL f92a5a72712b5e70255c694fba4331b84e1d4379f65b8f2dd36109e817380f94837d44add74616e41b3647c94d8cda7e8a8880083dee4ce930fcbf020cf2eb9f
|
||||
MISC ChangeLog-2015 35849 SHA256 1534b0e16da4ea353547125a29fd69abed3b8d5b0e42c582f3397a92a66de966 SHA512 cad43266da4f1f23992ffacf32c35b8ab75bb90a277542faa081ba688eceb00d81f5f207fe11e3f9f4b04298d69d551e81bf0936c0fef4fb1b00ea805896f7ac WHIRLPOOL 91364f1501c5797fa3d667db65226313ba0310574a8a343dbbb3dad10c1d3852bcb738c1e779b2ed9dcff6e81ba52fb39d8d0e1ca1968017bc377e4aef2efb9f
|
||||
MISC metadata.xml 368 SHA256 347d7a6bf82857bac75ad35bf1c5deed70f6b6b32c653672af5c9787903daa89 SHA512 9b21a6fba435a634f6856000a2338448c5528b3c10b1c0d1800afeb68980e89db01622e63e0db9dfbf9db9f19b1b7fe0ae1529b8d9a2794c11f0e7acf39e92cd WHIRLPOOL 598cd6e5b46948c6a7d5bd415cd8ad2bdb0ad2efdcc53ecb94b768fa9f69314b2e36c432ddfb1440bca47c11efc4b4d4aae6e1fd037787fcc2b6a5a8e04be7ab
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Debian/Ubuntu bootstrap scripts"
|
||||
HOMEPAGE="http://packages.qa.debian.org/d/debootstrap.html"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz
|
||||
mirror://gentoo/devices.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/dpkg
|
||||
net-misc/wget
|
||||
sys-devel/binutils
|
||||
"
|
||||
|
||||
DOCS=( TODO debian/changelog )
|
||||
|
||||
src_unpack() {
|
||||
unpack ${PN}_${PV}.tar.gz
|
||||
cp "${DISTDIR}"/devices.tar.gz "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
return
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
doman debootstrap.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version ${CATEGORY}/${PN} && ! has_version app-crypt/gnupg; then
|
||||
elog "To check Release files against a keyring"
|
||||
elog " (--keyring=K), please install app-crypt/gnupg."
|
||||
fi
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST RBTools-0.7.4.tar.gz 158594 SHA256 1626d449eae9d03a8e3e5c0125f77a86eefdc615b86ba7ee1368b238521de198 SHA512 c12d254f1eeb7a8d06a1ab7cbb952f45975da355b436a7514cf9fa0c3fe60b713daa79874c8cf7df05b13acb22441cf6ae06e442b238b5481a01cdaf15f6c5c9 WHIRLPOOL b6116eb6445994dadb3c6003e8fdecf60d9fa17257988c9822b69c5cf19ae369e31c9a07315c14e27cdce35697f0eef16207306f0e6a5ec8fa47a9d0aa66680b
|
||||
DIST RBTools-0.7.5.tar.gz 160657 SHA256 4f252a3d5ad4a2d25883b9adf0c6ee17ef56146bd9c0586e0aa2a2790748c069 SHA512 f5c795929d8fb09b3f39c18e747096d56205c6fbf73e4a04a5898b5adc058d092e41f835ba6cea8b4b94bc5747cbbdf988131ad66e637cc77e0d59a4509786ef WHIRLPOOL ee414239c9289b1ac17b6fa6e63fcb42c058bde9cd3bb69a8d13e5c038c77a942de48d63091c5e8b499dc47e62f5b469d22ebbba66050138b35c355c02d98d89
|
||||
EBUILD rbtools-0.7.4.ebuild 655 SHA256 cecd74e0bb67c9251daaf563988c6aac926ffad7bdf8b78e268d536bc72b7b07 SHA512 7ff3d688dabf43eb64e00343dbdc019cc7651dc67d4491ad07ec95c88d3f8935d0ffa2450dbb371f0fae023807baa65eb7350bbd802a7e1df78609d2901e1e9f WHIRLPOOL 2c14d472739966097161221004c0d5f66f5e36ecf137229e2b630635aee1ff8417fa0a80fb1ea102ba02b5f35f84cfa90c8d306204830085d40a621d1ff24518
|
||||
EBUILD rbtools-0.7.5.ebuild 657 SHA256 7c87eb04f4bda1ca8bc62b0a74e615323b556c3e19f84931d8df81a19421a25e SHA512 b44076649b5a6197e6834216a8071279dda642c7fc1e90cef878e1f3f0f334285c61a3de503ebf151a8bc38d46ef9eca3e2e130d7800bbf785ae01bc7960983d WHIRLPOOL cfcb3fa1512c05d64f06a56f7a3d7e0aa83f99542f5d54c564fe327fbdc4e3ca0a1432f2571ce7e2ddf7221050c58a0a76771a84624b96cc658a9effdcb98a50
|
||||
EBUILD rbtools-0.7.5.ebuild 656 SHA256 f15981ce08c8b1735fe87dc4ce1a8a7eb0275c737625afe7ac4c3e28096b0a17 SHA512 b609df0fcb86c996d0c8f24abd7df8260cd6a7b7788675a68cc4f103d64193cb04e264c01ab646d15346120e373aa2877ccf3f9757b27a2d43b0043ef6019647 WHIRLPOOL 115f39612b6aa6ff3ea3803c3d29bd8aff010a6cf353c494400adadc6d755b4cb88986c52b818d986c5014cdbb6e727945fd4148dc1d9a290b956d42b28f6aa9
|
||||
MISC ChangeLog 3213 SHA256 f1b093f0090f5d086d532d9f764fd16eb7c89b294926df1c0c9f0ee3992c6fb6 SHA512 3f0627987321edfb43f2ee8896f994e76e4c833ba569ba80e256e45548c12f72cc4b539170bd165f2b15267b7599f9a21d627d31cb7d1b847a976188af78e973 WHIRLPOOL aaccd4f4ee4aba9ff6476094ef1801bdac9742e45c102da3cad44cdc971d04a6385443ab3e87493504709638a5c4b53f8032eb354250d874a4d3fdf5973697ba
|
||||
MISC ChangeLog-2015 6415 SHA256 680f6acfc0e3d5c5354d8006e474faa22aaef8db188537718b482cfcf8a138cc SHA512 b9f62ed8622ade4718c51c0c38f4bafcb1941c7490742d4b0f8e94a094c2566162acda1f94b83be7c0b1ab4f796436455497124565fd3c32c8728acd855ad708 WHIRLPOOL c98cb1f22883d4a17a1026e7bcf47935f1efabe96460501a33c93d1d1ec4099a32488a7881c47fbff8b7eca0b82bd8f6e6d338f604a4a5e2b505d1969915d63b
|
||||
MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c
|
||||
|
@ -1 +1 @@
|
||||
Wed, 27 Jan 2016 04:43:53 +0000
|
||||
Wed, 27 Jan 2016 12:14:10 +0000
|
||||
|
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201601-04">
|
||||
<title>OpenSMTPD: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in OpenSMTPD, the worst
|
||||
allowing remote attackers to execute arbitrary code.
|
||||
</synopsis>
|
||||
<product type="ebuild">opensmtpd</product>
|
||||
<announced>January 27, 2016</announced>
|
||||
<revised>January 27, 2016: 1</revised>
|
||||
<bug>562034</bug>
|
||||
<bug>562290</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="mail-mta/opensmtpd" auto="yes" arch="*">
|
||||
<unaffected range="ge">5.7.3_p1</unaffected>
|
||||
<vulnerable range="lt">5.7.3_p1</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>OpenSMTPD is a lightweight but featured SMTP daemon from OpenBSD.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in OpenSMTPD. Please
|
||||
review the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could possibly execute arbitrary code with the
|
||||
privileges of the process, or cause a Denial of Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All OpenSMTPD users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=mail-mta/opensmtpd-5.7.3_p1"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Fri, 02 Oct 2015 13:05:33 +0000">mrueg</metadata>
|
||||
<metadata tag="submitter" timestamp="Wed, 27 Jan 2016 06:43:42 +0000">mrueg</metadata>
|
||||
</glsa>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue