parent
d5ee665b5f
commit
8c7bcb3c06
@ -1,5 +1,3 @@
|
|||||||
DIST mongo-tools-3.0.5.tar.gz 2160877 SHA256 a0a46dabe493d32bda8dec4ca2e4b06c150b405d8184769d50936eb9bc6d126e SHA512 6434708f60c3edc08f439ecd1ae06f634a1897449f1244d9dc3c3024d6146329cfdadaff14a50ba7f35a4bee2bb302b00141d9f388d99a50c4391218c5e9d3e3 WHIRLPOOL d66563c12021bc84a951c7bd125827f958808e577c391252d815a89916fdb86187269d75f9d36a33828132d98040d328cc090ff4fdbc764e3bab15f5fcdb623c
|
|
||||||
DIST mongo-tools-3.0.6.tar.gz 2161424 SHA256 ed4ebb42efe99f1eeac5ed128f4ae9b10e172396ad06eaae61d3a30c301c2a12 SHA512 ad9e635a6be911116e4a5ddaa4f509c6418036bf9fa4e1ea3940ce3bcc1a5479b403d26d2865b9938a66ed5b38ec4830b307baa7552cc4cf46cc0353dea8853f WHIRLPOOL 29e5364825795c5661ca595e294115d2a06ea43f0b0039bd56d31fd50c1325709a053ebbfc23d54954c4783229be218a6b426ffc6f301149fd946927aad62283
|
|
||||||
DIST mongo-tools-3.0.7.tar.gz 2183495 SHA256 3136b8df6e7c81b5cf6609b3cd6113d69ea6c067d5bfd25b2e0dbabef9173ca0 SHA512 ff410f25a42e76f55716e6e478564aaeefd3999cf0e9db718969877709974d099c479690e81d6f639c27b0a4d9b59d193c43f1c31dc027b594f1fef33129cb5a WHIRLPOOL 3e3ac13de56c7abd5fd80dcfe5f94090aa78d240598ed0c879365b275bfab5da07aaf8c5b94ad27e3a6f7c0d24d6a68bbb5e54612b4fa2928efbf880c5c40dfc
|
|
||||||
DIST mongo-tools-3.0.8.tar.gz 2185550 SHA256 b9860339ed59ed57bb29b26c820578c690baa2aaec98fe743561cc95023815f1 SHA512 95ea8377aef747f66ce827300cbc38bfa5b660ad25e4d66cf0dc9899cfe81ff2a67e9383a22c08158fed2d622a6f4d3b315e1234fb6118f246ef17f9cffa129a WHIRLPOOL 00298e54c8fd17a51a3293101defee94219c46929862695e08b2c21a66e59290b341f07c89add38dacfa8295c3fe83ce61cd3911e7489ddd75c2a65721910cce
|
DIST mongo-tools-3.0.8.tar.gz 2185550 SHA256 b9860339ed59ed57bb29b26c820578c690baa2aaec98fe743561cc95023815f1 SHA512 95ea8377aef747f66ce827300cbc38bfa5b660ad25e4d66cf0dc9899cfe81ff2a67e9383a22c08158fed2d622a6f4d3b315e1234fb6118f246ef17f9cffa129a WHIRLPOOL 00298e54c8fd17a51a3293101defee94219c46929862695e08b2c21a66e59290b341f07c89add38dacfa8295c3fe83ce61cd3911e7489ddd75c2a65721910cce
|
||||||
|
DIST mongo-tools-3.0.9.tar.gz 2185557 SHA256 41705fe815d189d6985ac6abad0b7467186488600cc3031732a25fea5c69a09f SHA512 d4b8d89242a0ab5b678eec7f9a75ad8cf199769046a399741960c605c7d0dc34d5f5e30d956ff4d51b01bc93b1841e132dc2daf6dade9b32d035f2c2f261e520 WHIRLPOOL ce8911d89d9874f1fbc18b63546b641866e94a7160edd705aece48f05b63a67dfc111cd44940a0956bc1d1e42431b33ea69d5f24eb216e99fcb080b55281ec89
|
||||||
DIST mongo-tools-3.2.1.tar.gz 2226762 SHA256 e2a0527b8987ae954fc9ca071987b4c58ff53aa2bc0a4d8b03337f4d8aff1d89 SHA512 52e7402c232915e8bc481598a5f3a311ef7f4058448735ed14e142da180baf19aac95e641dbe58d0c71e114f35889d1cfa6a321114e4cf21edf7c525bf548249 WHIRLPOOL d0e30417f478c8f0aa7936638c0bec87f01dc278946dcde3187dbb060631126eaee2f0cdc535212cd2ad350f0c281d7398d66cb6416b7a0906d6c8e5d3cc5e19
|
DIST mongo-tools-3.2.1.tar.gz 2226762 SHA256 e2a0527b8987ae954fc9ca071987b4c58ff53aa2bc0a4d8b03337f4d8aff1d89 SHA512 52e7402c232915e8bc481598a5f3a311ef7f4058448735ed14e142da180baf19aac95e641dbe58d0c71e114f35889d1cfa6a321114e4cf21edf7c525bf548249 WHIRLPOOL d0e30417f478c8f0aa7936638c0bec87f01dc278946dcde3187dbb060631126eaee2f0cdc535212cd2ad350f0c281d7398d66cb6416b7a0906d6c8e5d3cc5e19
|
||||||
|
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Id$
|
# $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,8 +1,6 @@
|
|||||||
DIST 20140409-mms-monitoring-agent.zip 40122 SHA256 9c4f89cfba10b4604512ab21eb082248104aeabe7e813b852db2b86f47d7ecb2 SHA512 5290a813c407251b5e4def813ce6fe7e09d6c3a1907fd409e326b15b07aed39f7db3a28710ecdaffe2771136c9433253c5d1857c823844a4b75dd38f1d15eefd WHIRLPOOL ce80870e2618f3d9ed80af41b1069ed5bd97af475089564eed1bc111e820c048bc5cbaa03f859349e772fe232f876127e0627c75c135a9b2e196ab13258ed9f1
|
DIST 20140409-mms-monitoring-agent.zip 40122 SHA256 9c4f89cfba10b4604512ab21eb082248104aeabe7e813b852db2b86f47d7ecb2 SHA512 5290a813c407251b5e4def813ce6fe7e09d6c3a1907fd409e326b15b07aed39f7db3a28710ecdaffe2771136c9433253c5d1857c823844a4b75dd38f1d15eefd WHIRLPOOL ce80870e2618f3d9ed80af41b1069ed5bd97af475089564eed1bc111e820c048bc5cbaa03f859349e772fe232f876127e0627c75c135a9b2e196ab13258ed9f1
|
||||||
DIST mongodb-src-r2.6.11.tar.gz 16461163 SHA256 e1a64a1ef7114f3e8ed3c7acaa4e97ffe30e2b57a1a5f2a40f0018bad3b8d12f SHA512 43b8c5e1ffde2c7f4bead392a95fdb34169419b8296acf04a17894379647c09bbec91be88037ab447da399f03a2c7c54c9d7613df0baa6e9e48e1267327ca937 WHIRLPOOL 083c897f83992c64a89e595058b7695671ca7e9339be2a54d14cf8a200d5063f4a33c320c02e45f5d3bd6367b5acf67a80677c92abba9a92a647d7310a2e6316
|
DIST mongodb-src-r2.6.11.tar.gz 16461163 SHA256 e1a64a1ef7114f3e8ed3c7acaa4e97ffe30e2b57a1a5f2a40f0018bad3b8d12f SHA512 43b8c5e1ffde2c7f4bead392a95fdb34169419b8296acf04a17894379647c09bbec91be88037ab447da399f03a2c7c54c9d7613df0baa6e9e48e1267327ca937 WHIRLPOOL 083c897f83992c64a89e595058b7695671ca7e9339be2a54d14cf8a200d5063f4a33c320c02e45f5d3bd6367b5acf67a80677c92abba9a92a647d7310a2e6316
|
||||||
DIST mongodb-src-r2.6.8.tar.gz 14545274 SHA256 1997f60d9de17320f22c604d8aa1cbe5f38d877142cd0e9130fe3dae7b311a06 SHA512 6fa69750debb40d0be4d5d057125320d97e882e30c43c664fcb6ec6a9e6a8bff5e63637fc8952a6d898556b2c2ce84254d135387dc0879bf65dbd5e91b8732ef WHIRLPOOL ba87ca07258ad4df90c92bc300da6cc661117a98f254a8ba62ac362a857ecc2462eb9ddf1d929a6e2187853233053e975aa02139f880d736e47e542a9504bd28
|
DIST mongodb-src-r2.6.8.tar.gz 14545274 SHA256 1997f60d9de17320f22c604d8aa1cbe5f38d877142cd0e9130fe3dae7b311a06 SHA512 6fa69750debb40d0be4d5d057125320d97e882e30c43c664fcb6ec6a9e6a8bff5e63637fc8952a6d898556b2c2ce84254d135387dc0879bf65dbd5e91b8732ef WHIRLPOOL ba87ca07258ad4df90c92bc300da6cc661117a98f254a8ba62ac362a857ecc2462eb9ddf1d929a6e2187853233053e975aa02139f880d736e47e542a9504bd28
|
||||||
DIST mongodb-src-r3.0.5.tar.gz 26332788 SHA256 05b16a7991aa65b1d396a3dc622107fba3216fffa8b9ed0817e76ae95f5f7fdb SHA512 17c66f9501e6517feba069f85bb468a421c45300306977ebfed71e6ce120e2bed64f14698e470c644360e23f40132171d64ac85f0962aa3ba824a48cf228775a WHIRLPOOL 7ed1f2b0daf7cb9ff081e69823e79504b8c99a221c74c2a541d673febacad9e555ef34eb4f2e97effe7e6fddafb81b903ab5a4ac8c4e8951640a0f2c6828ba14
|
|
||||||
DIST mongodb-src-r3.0.6.tar.gz 26241944 SHA256 609f6bd416ed11898b49406332b8ff301de239ba72df0bdbf1603233229c822d SHA512 1990e9011ae586e30aef28be58f9fc6d8b7f45b787dbde9785c82eff6fb0a70ea45152e450c032a898e6464bbb9b1683082f2a072ba874f7532e167330658175 WHIRLPOOL 4090cfb5912f81e6329d3c3680009037f22cd406611f78dc0ddd6fc9a63ee5261c7751fe83c60add2d5917f57b2a3c2796c48abb6f633157a8811d0571793a35
|
|
||||||
DIST mongodb-src-r3.0.7.tar.gz 26261343 SHA256 2d25bae7c3bfb3c0e168fcad526dc212da72faaeae6d1573db631cacb172a7e7 SHA512 183691c5dc137ea4b86d53d24d2935fd66ed8de60fbf5eca0a0a39c159be1f29043cd655cde1a213a98a76b2b3e6369dbccf790b02a1cc4b622c067ad3c0c91b WHIRLPOOL 986d962e76122142ca810eb7fe13ef66c88c7e354f066292836fc1207fa64c8bbb7fc49d1392db503c8a594d2593e2a19d831d7367462fcfa43eea38768e6323
|
|
||||||
DIST mongodb-src-r3.0.8.tar.gz 26245612 SHA256 3574f2f577e212ff1876485e1502c91f70f996fbbcc5a4657fe440ac76bd97a5 SHA512 3b8578ed2a6196cda0867d219214e1dc9fe95ecaa8320cdee3766c9a8a78e9cf66013769a3fbbf03ccf9a35d97e02a1eaa5fe8fc7429a0d76dd78486db7520ac WHIRLPOOL ded0b84b940c66b8a7ef6b363f179a4b2c1ddc23a3077b9cadb01f76c2a90956f0a720e713d4806db6132ac96b1026b82c2bf966ec3869af095e12590ea04d0e
|
DIST mongodb-src-r3.0.8.tar.gz 26245612 SHA256 3574f2f577e212ff1876485e1502c91f70f996fbbcc5a4657fe440ac76bd97a5 SHA512 3b8578ed2a6196cda0867d219214e1dc9fe95ecaa8320cdee3766c9a8a78e9cf66013769a3fbbf03ccf9a35d97e02a1eaa5fe8fc7429a0d76dd78486db7520ac WHIRLPOOL ded0b84b940c66b8a7ef6b363f179a4b2c1ddc23a3077b9cadb01f76c2a90956f0a720e713d4806db6132ac96b1026b82c2bf966ec3869af095e12590ea04d0e
|
||||||
|
DIST mongodb-src-r3.0.9.tar.gz 26249669 SHA256 5b6f189458739a327a2ad4a5ecab4f733c6a6751ccb067ec8879a0f98f2b97c3 SHA512 4ebcd89394ea0ccbd84adde1a6ce1776d86873bea13520c31bf3a783a922598cadd9ce1c11998f028e5e1affe6cb6639d1a4ff9c0e5771ff88bed873ddf7dc97 WHIRLPOOL a7d6cb51ee62717bcc2e612ae8e72ea43be7c9867c0de3fa2afc1d5c731bc3b1ca04ac70a351feaba71c27e00cf6cbf9b9997c4276362f98a725350aff37b750
|
||||||
DIST mongodb-src-r3.2.1.tar.gz 26397562 SHA256 50431a3ba5ab68bd0bed4a157a8528ca27753a63cf101f13135255e4e9d42f15 SHA512 5ce0af3e70010e3602dd2f7c49c80feee1c89903a694db038543a7f399f4296f2c04bf3aee7089da0b24aa9239aa79823e6f5408bf0f3c6fade6166e94070309 WHIRLPOOL de59175ad56577ffc5a90358e2f387c901a8353bb3b98ef6861d917480d853f926de7645ee4a2d8a704824609f251c82ead6e6cd95e982be18271677cfd6e2b3
|
DIST mongodb-src-r3.2.1.tar.gz 26397562 SHA256 50431a3ba5ab68bd0bed4a157a8528ca27753a63cf101f13135255e4e9d42f15 SHA512 5ce0af3e70010e3602dd2f7c49c80feee1c89903a694db038543a7f399f4296f2c04bf3aee7089da0b24aa9239aa79823e6f5408bf0f3c6fade6166e94070309 WHIRLPOOL de59175ad56577ffc5a90358e2f387c901a8353bb3b98ef6861d917480d853f926de7645ee4a2d8a704824609f251c82ead6e6cd95e982be18271677cfd6e2b3
|
||||||
|
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Id$
|
# $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,3 +1 @@
|
|||||||
DIST xmlwrapp-0.5.0.tgz 442550 SHA256 af3b71a6983c5c08e00096f5bb9f8ce61de3147f020aef327624043736d5ac73 SHA512 edc8d524e114a8699befec28f43828127b24c2edfa4f71c66f3d0bbe20fc8a96b273a1f6a028ed5cb7388213c789477c76256c5f9cece73aa581e7823636bdb9 WHIRLPOOL 33504b10fbb436f5767c74fec24e13aaed403bc8709f53846c54299f3c5f4f36dfce48b3ddc14aea64af02b547ff2c958090dd178b1e81fc0c52251b3beaee5b
|
|
||||||
DIST xmlwrapp-0.6.3.tar.gz 910879 SHA256 1701fa2960cf2afd70b8ebee2740cbe893d4318a3c269319e657e5738d802ab2 SHA512 28a283aaaf4e9e6690f4a720784fd72ca83606e416bafb5343c4160325834772fb7b4d4604269cdb1bbc5dfd95cc03bdb338fdd08a99d113fcf00532df2239bd WHIRLPOOL e60eb6d73362ff2acc647bfb75b5a3b698623e8b7aff7be98f82f52672d771d0fe9464b7f2474edf903a78bb14ca5fb4a8c77c43ec2fad6c17e898a55375ffe7
|
|
||||||
DIST xmlwrapp-0.7.1.tar.gz 1453771 SHA256 3787f05715081257d970ac0c03141f705d9eeb03bd3747c2f4c5a77103b30728 SHA512 73aaa9821f861edaab8e83d97414c9525ae7f6281a4812d8df6239e10ec76dd941cc0a8ed4769469084f694642c2f0c978f6c7477c63f99735a8cc9d98d7b9a0 WHIRLPOOL fba8d428856fc7512b1cf54a3b0f3cee94cf440cbb6f4670d630192a9ee01b94b37797cfc836429d30af9e9b075a885ff1c2844e304b3303f1161f380f7bdb02
|
DIST xmlwrapp-0.7.1.tar.gz 1453771 SHA256 3787f05715081257d970ac0c03141f705d9eeb03bd3747c2f4c5a77103b30728 SHA512 73aaa9821f861edaab8e83d97414c9525ae7f6281a4812d8df6239e10ec76dd941cc0a8ed4769469084f694642c2f0c978f6c7477c63f99735a8cc9d98d7b9a0 WHIRLPOOL fba8d428856fc7512b1cf54a3b0f3cee94cf440cbb6f4670d630192a9ee01b94b37797cfc836429d30af9e9b075a885ff1c2844e304b3303f1161f380f7bdb02
|
||||||
|
@ -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,6 +1,2 @@
|
|||||||
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
|
DIST django-tables2-1.1.0.tar.gz 966103 SHA256 46bdcae04087a20911dc10e30383743bca464696448e9351424efe2582a90499 SHA512 d7386df7651a3cdab42e40963d26594cd776614846fa7eda9208f0795b1f8c6270910904f44782480f0b782d0b139153805e41cdecd43f5bc2d30b67acb3fc6c WHIRLPOOL 11a4a573f96a198cd09b57a136bac1eaded18f704e1b117c7b4b49da26716447b31b1866d5da7058b3eb88e5372d5c9f6e0602a08ee221d03f20d617070c03a5
|
||||||
|
DIST django-tables2-1.1.1.tar.gz 965847 SHA256 5432506927d9a1b882afafbe6eaa9cd63ad207af89c42f18b8750de93baf95f4 SHA512 3fd92bf296cf081c43c31b415d7cc89ac7f0d60525d0320169ca3eb4a230d81a10162c33d5dec649044cd14eca243cfbca4ff62cd1b86cdca0a2e219abc36bf4 WHIRLPOOL 52d8416fc110e0ea77df94892130c1385dc12b988dba1c5ce779e771d1d352125ed269cd94a621a9fec2e94a7f5dcb836ba1ca1132b5d2bcdbda9716f2d1dea8
|
||||||
|
@ -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,2 +1,2 @@
|
|||||||
DIST enum34-1.0.4.tar.gz 32944 SHA256 d3c19f26a6a34629c18c775f59dfc5dd595764c722b57a2da56ebfb69b94e447 SHA512 21b91f1d0e15cc909e733473f603077eff7222c90da84b0a5f2db921ba41ac996b9237cc8adf1d07913b7eaf8f8e70ac6955abbb191f2e7cc54966710a1c96a9 WHIRLPOOL 178d1d5a9ec4e5a7a467e31c9b28e1f799e593e36a0c9a888f64ec86051277cb1c50ae01ed81c95cd3f7ae1e7f287dda9b4049c7e1977fcd427711fcf3990792
|
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
|
DIST enum34-1.1.2.tar.gz 46757 SHA256 2475d7fcddf5951e92ff546972758802de5260bf409319a9f1934e6bbc8b1dc7 SHA512 61e47d27969237f5e0de814f42e8f9217147f3d2d3081a1fadaf665cee293af1dd978420fb918000ac9f0fe323249faf7993f204660acdebff880bca1dde2487 WHIRLPOOL 9c9a77a9ea042473032b77ade2d5faabf4d176a70fd1931c55d534eced5a2f0140a1c486d99445500e8ab304f14ec5eaa91bcf7a5ba238def557cb3de39f9840
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
DIST futures-2.2.0.tar.gz 26786 SHA256 151c057173474a3a40f897165951c0e33ad04f37de65b6de547ddef107fd0ed3 SHA512 5f2a835b4b3f6bf1c4f086984a2e1d6ab30004b9af9298ef8afb23549014695ba26b43500dad3ee873e52aacd75911a42cd4ec9dfae6522cb99476a480dc83ee WHIRLPOOL 5c38f64759d0f2a15a536e8a5cb5c7473ce61d46242fc0c0bc737dfe91ce9b6573c1291a6f305953b96cd6298e1e41f7e27b45a2f0c2647315826ad9a1246ccd
|
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.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.3.tar.gz 24959 SHA256 2fe2342bb4fe8b8e217f0d21b5921cbe5408bf966d9f92025e707e881b198bed SHA512 2fa14df90e583ca86c47441b170a93435eb82fd37bb2e15d98e79c32fbe40fc3f602d762805de05fa8007df4a3ce92840915be59481b94ab4863aae884da74bd WHIRLPOOL 661a1174815766717eb7b130929c7aeef08079228df8f092093ee6cf40f84041ae6729cc7c0f2b05080efd0d80c0f7885c3ae333f7e5f3d21ccf2cfc20cbaa44
|
||||||
|
DIST futures-3.0.4.tar.gz 25091 SHA256 19485d83f7bd2151c0aeaf88fbba3ee50dadfb222ffc3b66a344ef4952b782a3 SHA512 490a42b547614e2a02fae487861ba8c8409c2e7c556ba81c6ea7a3096d06f7e083983b1e9b99dc978c4badc1dc30272f4a5cfa87c38b3d0ab8029673ee66f52c WHIRLPOOL 5f3809d710743638b8aa3afdae0125771096858c88a8b2c5c533187736dad8b6bc8c38dad327b98d36183574b072c9268751645caa16132ac8df32715262f741
|
||||||
|
@ -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,5 +1,3 @@
|
|||||||
DIST hypothesis-1.12.0.tar.gz 76679 SHA256 5e90a8fa249de9c492b4fa573f6f2dc489de9dd3ed3e2a59754b393c42624362 SHA512 107747d835dbe27fe25a429a8be66166005d3f0514d56d585505e99a4e4427afc210b7b6a7459858988f37182e6e4797ffcd1fa0511f8ae985725a1c2bbe73d4 WHIRLPOOL 0539637b819e9d3e4e96d5997299366d68a4e16f9ad5fcbf576048a761172e8568f2538de77b787f36c60ed09758ec5b8a962ae936f8f22d90ffb9551f63d008
|
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-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
|
||||||
|
@ -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,3 +1,4 @@
|
|||||||
DIST joblib-0.8.4.tar.gz 314213 SHA256 f185b87199525e0805281960f9f91c4f2e382e5834f05678cfcfa8ec666a4d2b SHA512 37d9a107c0f8f80c30cbcf7e4520a571eb925efdfb8729ca681fb12b3ec79cfd63c4b53660e560bbb3bc162664f79ab1d9fa7207f3dac00b5d5cddcdc12169c9 WHIRLPOOL f887c0153b4fa691e2289a9d3237a1b9ee51fabd7f6f3a54c7914f4296e23d50010ba822846723566fac5bcfd40c7b23c458121b6eff18d8ce15d6317ae5e638
|
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.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.3.tar.gz 445258 SHA256 ac68f659cd4cfdb102423e9d87f9d94fe1d76f1e02dcbf8c99aea7fcb223be4d SHA512 dada1e628c6f875c663cbb5e7c3339e4a56482f89bcc323f95f996821111c4d5fdc1e66511bd6158dd4b255e5d3d0de9321b7fee42c3e51ec9dcc01695a8235d WHIRLPOOL ef60a41e5939b758ec049a2739b9a0c980e6cb401c4e5f45e2036bf329660cca6b02fb65879bffdbde4aef0f45229529ac6fb769244bb0790ec35bd0dc283f84
|
||||||
|
DIST joblib-0.9.4.tar.gz 453488 SHA256 e5faacf0da7b3035dbca9d56210962b86564aafca71a25f4ea376a405455cd60 SHA512 492d7dcd3c743f24dd9cff18cc7c7c831fdbfbf279ef7cc75a52fb5474d493623f6d4e985e4caf5bb358addb800f9fea8e018f37caf0a95503f3efdf9b1ccd84 WHIRLPOOL 51bcc2ae1b7315e3ae6f1ae69dbb93e4a330103efd8c463f2671945c76e19cada4820f25a16de76786d7ef5ddb0f180c19ff894934bf77d76cc646886218c480
|
||||||
|
@ -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
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
DIST pyrsistent-0.11.10.tar.gz 62646 SHA256 db0469748e74f72b6142aa60bf9a5a15b4a080f47d9ed2fb7c6c083756264149 SHA512 cc0caf78b596e2cd9a5960be354a7ecae50a6f324295e1d882100e85208145735d5154a8b17eb297b99d48a6b1edb36cf8bdae781efef046f097f53af00f732b WHIRLPOOL d0ac9088c0afaec1672eb8b4e29c8b3f85f7bb064f360d54a21f0d70daa4ea9d37ab8f947bbba41a0695fc8a5e2f6e73c263748791952c3b32eb7134d2c8d74b
|
@ -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 @@
|
|||||||
|
DIST rnc2rng-2.4.tar.gz 13014 SHA256 c73d9635f6f83883454a92f12ec98d9bf087ce7412eca89aed672204d30a01fc SHA512 082b2985e1fac17792b7513db67c0f467147a69a0c1f1d904665ea99b4ba4042e27cf7398f42b94f26c4fd6dc7a807505429d7d08f0537017d0dbac94cb9474b WHIRLPOOL 23d7b50e32c41ac2be480eaf2d07e5f557441976b33d686b7a0411caf2f96a4ceb5149d5ff26f744357744b3dc088723b8f9f9a4a13804cbe4cb494f3e5c3ff2
|
@ -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
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST testtools-0.9.36.tar.gz 201717 SHA256 20a1b0d6325f1303ff8112a272047057b73217aac85424aa4065b87641a04499 SHA512 1cb29deb2fb7cd0eebd9affb06e877487989163d0c4452db8051d75b936b0c4ac6443649d52f83cd3695421b361af7dc75507b037528ac0f7cfde9b4b201ad08 WHIRLPOOL 5561c4ef316c31f5c0099beb93eba307328669e43bef36e8da6b1856bf3f75c6b4d81fc0cb777e8397cb246512203c7951c93a52b2a5877e4764cf2e0a749e22
|
DIST testtools-0.9.36.tar.gz 201717 SHA256 20a1b0d6325f1303ff8112a272047057b73217aac85424aa4065b87641a04499 SHA512 1cb29deb2fb7cd0eebd9affb06e877487989163d0c4452db8051d75b936b0c4ac6443649d52f83cd3695421b361af7dc75507b037528ac0f7cfde9b4b201ad08 WHIRLPOOL 5561c4ef316c31f5c0099beb93eba307328669e43bef36e8da6b1856bf3f75c6b4d81fc0cb777e8397cb246512203c7951c93a52b2a5877e4764cf2e0a749e22
|
||||||
DIST testtools-1.8.0.tar.gz 207976 SHA256 8afd6400fb4e75adb0b29bd09695ecb2024cd7befab4677a58c147701afadd97 SHA512 b5f0201222d1e8c60fb7c2793bcd38e1c96c6f9fae99e9f3e784d17230c9abbf7325053d501c07e752bad2da36b49e2c79a25d0c20cb9a2f426057f839a77b3a WHIRLPOOL 71d4082197a9c179862fc3c63eadc37d6ff776f0a62e5fb08c296a5bf7109dc5110a2104a1ed15ca97c523aa0afb9e7124805ec6a6ae18f7605d7641abd9c54a
|
DIST testtools-1.8.0.tar.gz 207976 SHA256 8afd6400fb4e75adb0b29bd09695ecb2024cd7befab4677a58c147701afadd97 SHA512 b5f0201222d1e8c60fb7c2793bcd38e1c96c6f9fae99e9f3e784d17230c9abbf7325053d501c07e752bad2da36b49e2c79a25d0c20cb9a2f426057f839a77b3a WHIRLPOOL 71d4082197a9c179862fc3c63eadc37d6ff776f0a62e5fb08c296a5bf7109dc5110a2104a1ed15ca97c523aa0afb9e7124805ec6a6ae18f7605d7641abd9c54a
|
||||||
DIST testtools-1.8.1.tar.gz 209327 SHA256 155ed29086e48156519e15f7801b702c15ba34d8700d80ba606101f448a3839f SHA512 0bd765bd3cc82a38c980d251427f9f32d44c377aa753d2d83c36fb8cfaeb8a10cfc86a38899b89ff454fe11742ab5e309439980e12a8bbae19b3d9df799803d9 WHIRLPOOL 06f654e447b6ae42cffbff454886dc1016746bf218c90e89c4b9361af2dc709acdfdcd0100c1624dffc1f72dec5c8037dd4357aa373a6413abf945c0d27868e1
|
DIST testtools-1.8.1.tar.gz 209327 SHA256 155ed29086e48156519e15f7801b702c15ba34d8700d80ba606101f448a3839f SHA512 0bd765bd3cc82a38c980d251427f9f32d44c377aa753d2d83c36fb8cfaeb8a10cfc86a38899b89ff454fe11742ab5e309439980e12a8bbae19b3d9df799803d9 WHIRLPOOL 06f654e447b6ae42cffbff454886dc1016746bf218c90e89c4b9361af2dc709acdfdcd0100c1624dffc1f72dec5c8037dd4357aa373a6413abf945c0d27868e1
|
||||||
|
DIST testtools-1.9.0.tar.gz 221760 SHA256 b46eec2ad3da6e83d53f2b0eca9a8debb687b4f71343a074f83a16bbdb3c0644 SHA512 d4d78fb3fd105789e1ee749c66f4612494557af963ba7c3bf5b3c322609bb2ce98c6027f714cbf71720fe248d72a459b554aa65374c6a0b56904b7dabb38a112 WHIRLPOOL 926e738afd86fe945765f9fa08fa40deed7e73db4f37eb2fca9fa30321e28cda9c99e86a1e583853fe1abf93919a71c808131d2cd0694cded3d7203a406fc8d9
|
||||||
|
@ -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,2 +1,3 @@
|
|||||||
DIST maxitest-1.5.4.tar.gz 13723 SHA256 d03018f2a0d0414b7ce9df7a1326e6b0d615323b109084f3191472027d60a24c SHA512 b2b7c0ac561f7f62f94a86d1f84b1aa4e9dfe65840607ebc1178055e82a759aed74637a721c7eeb234e5efdf52ef6386e36097dcb165bbd001758a96e588d8e6 WHIRLPOOL c3fbc53e5e23da0e85fcdab9578af13b278dca9bea6738ca9ebe6eeecb8e72783e5c147d4e79dbe03185e365856dbdcbadf8a936916393946fd0f9ae5b3bf097
|
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.5.tar.gz 13753 SHA256 5b8da0bca9b099da51f2abd14c6490b178debb4d79e545b377ee29cf4110cf31 SHA512 0136597d86a5d760c221e96bf84dfe36ae18b32450d0f955760903a8eb97232bf112e2c11528f9cb293972e6a1e0531fa459c132c8551a2861d57e7de9f5a642 WHIRLPOOL bf99b3402814d04254307b917d19f97ff32d6a43c75a71cef8994ac629f98cd23e909b69a6eb5404cfb707cde9175a8a95efe1aaf1a011952db908c8245a261e
|
||||||
|
DIST maxitest-1.5.6.tar.gz 13751 SHA256 629e8c27b35158eb4bbbfecb47ac50434f47d13ceb094bcf657df1389bfd2f3d SHA512 7228c0b39a374a1193be63959b827c5657420b9effe451971e46a3d29c80f71fb684801011d531855340c853400250e149ae1cf0d73bda1800facc2ea072c500 WHIRLPOOL 1878bf3069e4debfc317a3b5bb360be96be05ed22e7c9bbbafcb410018d1a2009c964eec16864ab02dd619bbb657e3bc067bc82d0acd5f3962a797fdde6db918
|
||||||
|
@ -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,2 +1,3 @@
|
|||||||
DIST origin-1.1.0.tar.gz 37519 SHA256 5876264ef7095e58b7516487551afd7c357cefc7d235d3e5028fc94bf7e0aeb5 SHA512 0f4de9e31a172c687e38065020e895991b53e69467e7e5a8368f34ad58b80cc03b14f9cc1f264303dbfef6f88f71fd3477b850a6a5d08871e049048336f650b2 WHIRLPOOL 2bc807bbe7554730c13d7a5e6550f3716c4758a317d004cdb4ee1fac09e08490051a2beef07d168357d702454501053f2e9574d27f89fd635c4664787f18905f
|
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.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
|
||||||
|
@ -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,2 +1,3 @@
|
|||||||
DIST ruby-mp3info-0.8.6-git.tgz 88463 SHA256 1b52aff957da105641fcb1713a4afdb031aa6dcc064b1f81f36b744e00754f1f SHA512 3b536850d18a6ab0da9a9d096c79b78e6ec2b8fec78a551dc1b44a94b97a77a37fbb8db7d3fc6fa41c1b0732d949de624b89bf28119752c0486f703a1d0873ea WHIRLPOOL 8edbd44d271f77fa2eee2cb4cbba1b30af626e4a496dc55b91b3ac5470e237b651c715fa56ace937ab985ea1640823f11ccd0e30afc8de7fd0c5a8e344658e9e
|
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.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
|
||||||
|
@ -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,4 +1,3 @@
|
|||||||
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.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
|
DIST devices.tar.gz 47835 SHA256 0d93f93c8b21160069d14e74f8f990a2e0e1e5a90dc828b29e6b3f5aa5829e48 SHA512 994ec8d72e3d52d2d872f7ff0da2336e4cbd3a5fa73bb6cdb9e06f5e7f5b8c69cea639c738fdba1186f382d6dcf62e7746fface664bfbd744aac24b16f034432 WHIRLPOOL 222963bb920e1311bc2f481bba04e49f386b60cce6ce0576424896277e0c4fc6a339d4403d587744c32b0bfb1db6391f200fa8d66117e3f21e1c12f35365d732
|
||||||
|
@ -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 +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>
|
@ -1 +1 @@
|
|||||||
Wed, 27 Jan 2016 04:43:53 +0000
|
Wed, 27 Jan 2016 12:14:11 +0000
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue