parent
05a2c0a94a
commit
9d9cb24996
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/diamond/diamond-9999.ebuild,v 1.3 2015/03/02 13:19:23 grobian Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/python-diamond/Diamond.git"
|
||||
S=${WORKDIR}/diamond-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/python-diamond/Diamond/archive/v${PV}.tar.gz -> python-diamond-${PV}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
S=${WORKDIR}/Diamond-${PV}
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python daemon that collects and publishes system metrics"
|
||||
HOMEPAGE="https://github.com/python-diamond/Diamond"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test mongo mysql snmp redis"
|
||||
|
||||
RDEPEND="dev-python/configobj
|
||||
dev-python/setproctitle
|
||||
mongo? ( dev-python/pymongo )
|
||||
mysql? ( dev-python/mysql-python )
|
||||
snmp? ( dev-python/pysnmp )
|
||||
redis? ( dev-python/redis-py )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock )"
|
||||
|
||||
src_prepare() {
|
||||
# adjust for Prefix
|
||||
sed -i \
|
||||
-e '/default="\/etc\/diamond\/diamond.conf"/s:=":="'"${EPREFIX}"':' \
|
||||
bin/diamond* \
|
||||
|| die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" ./test.py || die "Tests fail with ${PYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
export VIRTUAL_ENV=1
|
||||
distutils-r1_python_install
|
||||
mv "${ED}"/usr/etc "${ED}"/ || die
|
||||
rm "${ED}"/etc/diamond/*.windows # won't need these
|
||||
sed -i \
|
||||
-e '/pid_file =/s:/var/run:/run:' \
|
||||
"${ED}"/etc/diamond/diamond.conf.example || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
keepdir /var/log/diamond
|
||||
}
|
@ -1,167 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.8-r6.ebuild,v 1.1 2015/02/12 18:04:48 perfinion Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools java-pkg-opt-2 python-r1 eutils
|
||||
|
||||
DESCRIPTION="SELinux policy tools"
|
||||
HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml"
|
||||
SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${P}/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~swift/patches/setools/${P}-01-fedora-patches.tar.gz
|
||||
http://dev.gentoo.org/~swift/patches/setools/${P}-03-gentoo-patches.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X debug java python"
|
||||
|
||||
DEPEND=">=sys-devel/automake-1.12.1
|
||||
>=sys-libs/libsepol-2.4
|
||||
>=sys-libs/libselinux-2.4
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
>=dev-db/sqlite-3.2:3
|
||||
dev-libs/libxml2:2
|
||||
virtual/pkgconfig
|
||||
java? (
|
||||
dev-lang/swig:1
|
||||
>=virtual/jdk-1.4
|
||||
)
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/swig:1
|
||||
)
|
||||
X? (
|
||||
>=dev-lang/tk-8.4.9
|
||||
>=gnome-base/libglade-2.0
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
)"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-2.1.4
|
||||
>=sys-libs/libselinux-2.3
|
||||
>=dev-db/sqlite-3.2:3
|
||||
dev-libs/libxml2:2
|
||||
java? ( >=virtual/jre-1.4 )
|
||||
X? (
|
||||
>=dev-lang/tk-8.4.9
|
||||
>=dev-tcltk/bwidget-1.8
|
||||
>=gnome-base/libglade-2.0
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
# setools dirs that contain python code to build
|
||||
PYTHON_DIRS="libapol/swig/python libpoldiff/swig/python libqpol/swig/python libseaudit/swig/python libsefs/swig/python python"
|
||||
|
||||
pkg_setup() {
|
||||
local myld=$(tc-getLD)
|
||||
|
||||
if use java; then
|
||||
java-pkg-opt-2_pkg_setup
|
||||
fi
|
||||
|
||||
${myld} -v | grep -q "GNU gold" && \
|
||||
ewarn "Bug #467136 shows us that the gold linker doesn't work with setools for now."
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/setools3-userspace-2.4-compatibility.patch"
|
||||
|
||||
EPATCH_MULTI_MSG="Applying various (Fedora-provided) setools fixes... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
EPATCH_MULTI_MSG="Applying various (Gentoo) setool fixes... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
EPATCH_EXCLUDE="0010-fix-lsetfilecon_raw-call-bug-509532.patch 0005-update-on-py_functions-for-python3.patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
# Disable broken check for SWIG version.
|
||||
sed -e "s/AC_PROG_SWIG(2.0.0)/AC_PROG_SWIG/" -i configure.ac || die "sed failed"
|
||||
# Use swig1.3
|
||||
sed -e 's/AC_PATH_PROG(\[SWIG\],\[swig\])/AC_PATH_PROG([SWIG],[swig1.3])/' -i m4/ac_pkg_swig.m4 || die "failed to set swig1.3"
|
||||
# Fix build failure due to double __init__.py installation
|
||||
sed -e "s/^wrappedpy_DATA = qpol.py \$(pkgpython_PYTHON)/wrappedpy_DATA = qpol.py/" -i libqpol/swig/python/Makefile.am || die
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
# Python bindings are built/installed manually.
|
||||
sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed"
|
||||
# Make PYTHON_LDFLAGS replaceable during running `make`.
|
||||
sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed"
|
||||
done
|
||||
|
||||
# bug #424581, Need to use MKDIR_P for automake 1.12+.
|
||||
find . -name 'Makefile.*' -exec sed -i -e 's:mkdir_p:MKDIR_P:g' {} + || die;
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Disable byte-compilation of Python modules.
|
||||
echo '#!/bin/sh' > py-compile
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-java-prefix=${JAVA_HOME} \
|
||||
--disable-selinux-check \
|
||||
--disable-bwidget-check \
|
||||
$(use_enable python swig-python) \
|
||||
$(use_enable java swig-java) \
|
||||
$(use_enable X swig-tcl) \
|
||||
$(use_enable X gui) \
|
||||
$(use_enable debug)
|
||||
|
||||
# work around swig c99 issues. it does not require
|
||||
# c99 anyway.
|
||||
sed -i -e 's/-std=gnu99//' "${S}/libseaudit/swig/python/Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LD="$(tc-getLD).bfd" || die "Failed to build setools"
|
||||
|
||||
if use python; then
|
||||
building() {
|
||||
python_export PYTHON_INCLUDEDIR
|
||||
python_export PYTHON_SITEDIR
|
||||
python_export PYTHON_LIBS
|
||||
emake LD="$(tc-getLD).bfd" \
|
||||
SWIG_PYTHON_CPPFLAGS="-I${PYTHON_INCLUDEDIR}" \
|
||||
PYTHON_LDFLAGS="${PYTHON_LIBS}" \
|
||||
pyexecdir="${PYTHON_SITEDIR}" \
|
||||
pythondir="${PYTHON_SITEDIR}" \
|
||||
-C ${1};
|
||||
}
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
python_foreach_impl building ${dir};
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
python_export PYTHON_SITEDIR
|
||||
emake DESTDIR="${D}" \
|
||||
pyexecdir="${PYTHON_SITEDIR}" \
|
||||
pythondir="${PYTHON_SITEDIR}" \
|
||||
-C ${1} install
|
||||
}
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
python_foreach_impl installation ${dir};
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,13 +1,7 @@
|
||||
DIST ROOTPrimer-5.34.18.pdf 2308794 SHA256 39cd18fac66b2de4e829aaffb819b43b11579b38ffb2e45b12e8216f8457c74f SHA512 95e5c7af8a949d842a19d71b97de6f2c6a0e866a4f786e008303cd25bbaab5d658ded299bd667788d3ba462c30b0fda321327b53a4f50352360d1cf51a39ef57 WHIRLPOOL ad534bdfbaf45a574e67b0c1ee9be5e8931dfee87963bbe4c89cd7a39a1baa5f3e72991df656513303c1553e72933bad02e41172a2c8bcad3e8a9a23f6181e22
|
||||
DIST ROOTPrimerLetter-5.34.18.pdf 2310846 SHA256 b12ae7e21a084ba847337bfb4e3fbcb784d98a67178d87c399eeea0369580b93 SHA512 96012a25d0f9d408f3310aa2949db9027e8e8b8768298d83b719963628806022e570842fa3a6927eb77c7d81957842684b93fa02a5652a74037b1f44c9c72449 WHIRLPOOL 451b5f3b4c3abb2292a45a8546353245efedc7d1293e6179cd1a7ea9544d4cb08e075629b2930994fe31c20695bf1c4ed1773e37b4e6ccf684dc8317cc464782
|
||||
DIST ROOTUsersGuideA4-5.34.18.pdf 11215583 SHA256 99a6391945ad45c00c5e82919057222da86e366323d2b6ad6ba7b706c9f495ff SHA512 317b03b3e0ae12cf3999738ad01a31e31504524e97bd445a53e1b8d67dd5fa53317ff1448768a083f6d17c43e2b669f7e7930fbe8d0f83159a4d6ec699ff13f7 WHIRLPOOL 47edaa6ee921f1bb096e17735834029b4857b8fdff6ac64656c0e1af5763693f569ebb3329a28e58afe37278eacc5359f23e982b97ede5072ddd647200116119
|
||||
DIST ROOTUsersGuideLetter-5.34.18.pdf 11223423 SHA256 35149e7bb88ec9255e678d0a054e58e2aafc9c5a9682a8e8446a1988f1f68bc7 SHA512 b01fc67a636f0c678ee97f172e1f27cc2b6d248745b9637c375073b622608d238235cfb5e5c27d87553517f6d58a6206bc3f7648c31c6d44551271151a0f18ce WHIRLPOOL ef61d997de0ab7f32221974f3bf4dee0ce2d808d9f11c1cb798748da82521957f530ddd34f3c7ee3f1dc137a73cad8300e9878d9eaa973a3268751eefbe475f2
|
||||
DIST RooFit_Users_Manual_2.91-33.pdf 1330062 SHA256 101c4e4c41962238fcabf1caa86cafc51241a1800594491b2e62ef8b565a5646 SHA512 732d7dea3541b51e5f0b9b5b70dae57e1bdbb2504c4222d5e5095ec0f9b67307011c1f31c2c95be419b53dd8426f52f62f6c9370084208176a2ed3d7f25d783b WHIRLPOOL 033897bef4bdb13246a81ea6749f7895e6c4d639752e932130234ad9153bb399a4e5d416237850da27f139d3cccc53d9adb7a077abf20d257ce057157d6c3696
|
||||
DIST Spectrum-5.34.18.pdf 4467779 SHA256 9c77554d528835934a997f8c2c64f2c6ddf39790fc5484cebd612e1d6323cb04 SHA512 ae85e2d796ce35c92e9c9243eb19b06a68276e1dc91782e4eb125a68a61612ec4034842374bbd725e59eb78fb93ed88f8d6848a51c813575cecccb94904b45e8 WHIRLPOOL 4478450e5576bfed73e423f2f0d23b6d51acb120faad9b6cc9e5eeed845130565bfa8b32a67b6dad517a2551ff318473d1476b4df372c0ed0cbacf726984f6fd
|
||||
DIST SpectrumLetter-5.34.18.pdf 4470679 SHA256 d5aaecdc2e1498e89d1f4ef7bafb3a207ee4440dc8bc15e8de599d603ee66638 SHA512 410f028fc2dc93ae26b72562821c121b4ab6103f9ee91c6e5a6094c7b452cea6885dc16f3cb1b8eb3430ea2aadf41a9864a71a6b79aa14ea6cbc4cc35bb24b1b WHIRLPOOL 18ea25aaa219b972677f7ff1ab41a0bb816b0059012f1617931e0dacae9adfb62940b8ad1346e28e4eb2f9c86f501dc884022230655d911c007da0e8986e9352
|
||||
DIST TMVAUsersGuide-v4.2.0.pdf 4099493 SHA256 b61614d14289a20f5fa429f79e474e596cdabb807632c901347479ad425791b9 SHA512 a52f36bdf9791c2e1c4b17f08dbcb100927d11c0db1d69ec611437017f80d90be557baf530af10aabc4d07dac626f1736352abd71845dba5e2c0899ff5b126d4 WHIRLPOOL 5be3affaf45dc6086329a82d582f95c9a251fedb7943fd84c14310b91504b7318db0d992a7da8e9da8b0b0fbbf4a7c58b7339bc4b529221804afb9988342829c
|
||||
DIST info.png 2060 SHA256 51de6661250f3fb71c6c8250cbc4bdc4dc4283cc90240b4dc1ee6168e8d40279 SHA512 81a730eefbe7a7e15d5840491402c7644bf7ed5d5f8f3830ed9457b343cc7882480e993ea84aef93500742cd0fe8469859cd2c925e5582b91ef56406804ae276 WHIRLPOOL 02ea6daf9e3d21947ebf5dd01c455a13f2fcbf9981be34a150056a3510122ca49e3d137d4f242c7218d4d06ace09566d513a04f09071723ac244f5a38e982bac
|
||||
DIST roofit_quickstart_3.00.pdf 501576 SHA256 65aaf9e0c88352e265fd55b97a2503a9ee4a51d3219daff69c6f7f6427fe22cf SHA512 e8e1bd3bb3ead0ae3883512d7ff297651b99937fd5df0b61cf559ea5dd6cfbda35dfd8ebc953ed11a12f471849f6e95e05869b58a1e433ea6e5d1d1aa08bbb93 WHIRLPOOL a58b221272e3b2775639bf934f63cd06919105871ad736a84e18e6f3949a579301d1c6d69df39576dcc11867aa27274f5c78f36146a929698437b1a0c310aebe
|
||||
DIST root-banner.png 132555 SHA256 d165e1cc175f654ff79af39193a6144678f600e14a53dd20e2b216b3e8951e94 SHA512 139347f396e88c8062d847d612949204cb80e551a826d926950ca8ab967f0d496487fed17a227fc796ae4db23fca758d91a0af7943142adbed358e98d7667b1f WHIRLPOOL dd23e26acf9303b404cda8135d6946af3b1abba3dfdff8d80e56096f810d50a01ebfb52dc1e6ee1d1b99fbb5859dc850e0e368155339b5007294d95ce8909857
|
||||
DIST root_v5.32.03.source.tar.gz 55529362 SHA256 575057c429625df69f0fa5c303287acefff185cda8cf8d1e9a6b2d21097d5ae6 SHA512 2e067eb9c6bbda5cf4df6973a3cf5307540247fb07c349f7ee74c0cf6a4abbb63f585a9ff67139cae985250fc5c5106b5ea03d7d9d2bcd20269e0ec8760ebd02 WHIRLPOOL 87dbf6f55f82001e07afc3b467e95f841f185f1f67d1dbd953f73e8aa9127ef8485db84100d6e9a08f0ae6aa5b45a565398eb6723145fff16c07e5158bb3e3ab
|
||||
DIST root_v5.34.18.source.tar.gz 74218396 SHA256 9196dce7d76b31e5bcabd985bd31bc4d9b7c8c4d0c7ce84f730efa4ef82a3567 SHA512 7c659d1a92e6ad1b901956cf0a04aacc391c936eb2881528d105f61373128e5fd4caad6e76988050a8a8bc69a8ba0b53055974b4c618800345127ae2e6dd7a14 WHIRLPOOL 15221bbdabd5abd50dc87e3cc8fa3de24c5888e3ac0a75535983c8ec0718433c84c2400da59d27f3b83b687c7c5f5d60bf769c8a1eefce45dd7d39cbc002a6b7
|
||||
DIST rootdrawing-logo.png 15051 SHA256 1dfd913cad53a3ebd6bf560d14df918cab5a295cc7d155944a8e27284af83a6b SHA512 14aa13ebfed3c9412d7d7d04c250740b25fe3af6bcb07e618045a5cec2dc23698a251fd7df2db1a6c37331084db99b029b387ea81c25ac825fc7ae10ad164a68 WHIRLPOOL 877a959a5aead73ba69dbb805c9869cbd6a047ea476bd4e7fef80781563a61d20dad49dd4d8b0005bfc58e8f7c7d38efbb3e085a95974feb81dfc9e339c18741
|
||||
DIST root_v5.34.26.source.tar.gz 75171961 SHA256 c1fd2a249bb7210914b42e35dba4f1262cfa46b79ef7a41f73d7f08f8c54a643 SHA512 f5da5e20d1763608a32d78c48581e574a3f51aef47ecf6987a4064d1fb3234dfc9f626e041a17213f881f52f807ed6a6da60bf1d24951fa7dc2cadd94f8dd8b4 WHIRLPOOL 77b48b815c971642da68b71732a0ea3372648634281be634037b13cb58488f7075ec8bfc9a684e55d85cd9b038f229be29b19a15dfc829f0ce63a5f17241c23c
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- root/html/src/THtml.cxx.orig 2012-05-25 16:18:10.000000000 +0400
|
||||
+++ root/html/src/THtml.cxx 2012-05-29 19:22:40.810563296 +0400
|
||||
@@ -1913,6 +1913,9 @@
|
||||
void THtml::CreateStyleSheet() const {
|
||||
// Write the default ROOT style sheet.
|
||||
CopyFileFromEtcDir("ROOT.css");
|
||||
+ CopyFileFromEtcDir("info.png");
|
||||
+ CopyFileFromEtcDir("root-banner.png");
|
||||
+ CopyFileFromEtcDir("rootdrawing-logo.png");
|
||||
CopyFileFromEtcDir("shadowAlpha.png");
|
||||
CopyFileFromEtcDir("shadow.gif");
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
diff --git a/core/base/doc/macros/fillpatterns.C b/core/base/doc/macros/fillpatterns.C
|
||||
index b0a5132..fca81c8 100644
|
||||
--- a/core/base/doc/macros/fillpatterns.C
|
||||
+++ b/core/base/doc/macros/fillpatterns.C
|
||||
@@ -20,11 +20,11 @@ TCanvas * fillpatterns()
|
||||
|
||||
// Fixed patterns.
|
||||
for (i=1; i<=5; i++) {
|
||||
- box(j++, 0.01, y-bh, 0.19, y);
|
||||
- box(j++, 0.21, y-bh, 0.39, y);
|
||||
- box(j++, 0.41, y-bh, 0.59, y);
|
||||
- box(j++, 0.61, y-bh, 0.79, y);
|
||||
- box(j++, 0.81, y-bh, 0.99, y);
|
||||
+ box(j, 0.01, y-bh, 0.19, y); j++;
|
||||
+ box(j, 0.21, y-bh, 0.39, y); j++;
|
||||
+ box(j, 0.41, y-bh, 0.59, y); j++;
|
||||
+ box(j, 0.61, y-bh, 0.79, y); j++;
|
||||
+ box(j, 0.81, y-bh, 0.99, y); j++;
|
||||
y = y-bh-db;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ TCanvas * fillpatterns()
|
||||
return Pat;
|
||||
}
|
||||
|
||||
-box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
|
||||
+void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
|
||||
{
|
||||
// Draw an box using the fill pattern "pat" with the "pat" value
|
||||
// written on top.
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.18.ebuild,v 1.1 2014/03/18 19:19:00 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
ROOT_PN="root"
|
||||
PATCH_PV="5.34.01"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
_GIT=git-r3
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
inherit eutils multilib toolchain-funcs virtualx ${_GIT}
|
||||
|
||||
DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)"
|
||||
HOMEPAGE="http://root.cern.ch/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${ROOT_PN}"
|
||||
VIRTUALX_REQUIRED="always"
|
||||
|
||||
DEPEND="
|
||||
~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl]
|
||||
virtual/pkgconfig
|
||||
${_GIT_DEP}"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.patch
|
||||
# prefixify the configure script
|
||||
sed -i \
|
||||
-e 's:/usr:${EPREFIX}/usr:g' \
|
||||
configure || die "prefixify configure failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# we need only to setup paths here, html docs doesn't depend on USE flags
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--etcdir="${EPREFIX}"/etc/root \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
|
||||
--testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
|
||||
--with-cc=$(tc-getCC) \
|
||||
--with-cxx=$(tc-getCXX) \
|
||||
--with-f77=$(tc-getFC) \
|
||||
--with-ld=$(tc-getCXX) \
|
||||
--with-afs-shared=yes \
|
||||
--with-llvm-config="${EPREFIX}"/usr/bin/llvm-config \
|
||||
--with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \
|
||||
--nohowto
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# video drivers may want to access hardware devices
|
||||
cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
|
||||
[[ -n "${cards}" ]] && addpredict "${cards}"
|
||||
|
||||
ROOTSYS="${S}" Xemake html
|
||||
# if root.exe crashes, return code will be 0 due to gdb attach,
|
||||
# so we need to check if last html file was generated;
|
||||
# this check is volatile and can't catch crash on the last file.
|
||||
[[ -f htmldoc/timespec.html ]] || die "looks like html doc generation crashed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/doc/${PF}
|
||||
# too large data to copy
|
||||
mv htmldoc/* "${ED}usr/share/doc/${PF}/"
|
||||
docompress -x "${EPREFIX}/usr/share/doc/${PF}/"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/zile/zile-2.4.9.ebuild,v 1.9 2013/05/26 15:56:25 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Zile is a small Emacs clone"
|
||||
HOMEPAGE="http://www.gnu.org/software/zile/"
|
||||
SRC_URI="mirror://gnu/zile/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ppc sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="acl test"
|
||||
|
||||
RDEPEND="dev-libs/boehm-gc
|
||||
sys-libs/ncurses
|
||||
acl? ( virtual/acl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-lang/perl )"
|
||||
|
||||
QA_AM_MAINTAINER_MODE=".*help2man.*" #450278
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
$(use_enable acl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# AUTHORS, FAQ, and NEWS are installed by the build system
|
||||
dodoc README THANKS
|
||||
|
||||
# Zile should never install charset.alias (even on non-glibc arches)
|
||||
rm -f "${ED}"/usr/lib/charset.alias
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST wanderlust-2.14.0-20050405.patch.gz 3926 SHA256 240f32ece554b2afe7142ea557b41d0eb9667b8003ca00d390abe62e4b68ce16 SHA512 103e8eda374eab453363f3a735d877e313ff341e09abd66093bd090b404738d42d98edf5d1c9c8e8966963bf972d462aebc28ea6e470126af9266188247c4044 WHIRLPOOL 22518205351c26fe38e4c734778a3754fced5309a21395bd471b82f76e19baddeb333561572b8b4be9d02d744c8d9f7212c97270167af463e983d336393b280b
|
||||
DIST wanderlust-2.15.9_p20130619.tar.xz 818124 SHA256 cabc2f1a025d6c93484bc60dcda0672a9a8eef6c2c1932a21cfa6f2e2f377bcb SHA512 91bdcc1b29370b7be7a2072f4d8c638b3c0604ba31b5419952b848af268e73a3f199f07a88caabec56f66b38013e0f9cd7c1de26b46d1062ddff782e8080d4e0 WHIRLPOOL 99eac7cb2a623389161dc1e9cc0883b89e92d411c93757180140d94c7ce352d0b76a392bdd4439f551ecc5bd934b70a15391df6a60103ad97f1b3fd63de6b95a
|
||||
DIST wanderlust-2.15.9_pre20120923.tar.xz 815844 SHA256 651dcbf171909d00f09f53821baae2b01e63cec1396d3b9142ed5b2e45a07c14 SHA512 2b58354e129db0dbe20c28d478bec7e0c5e9b26e115894f64fac223aa93df943758c7207ec1f00a4d75cf76991265fbc33899b1cc6871f13fe56ba001001e58b WHIRLPOOL 8f5f75963c1dd3d933e6ccc97317609fd483a8eb2ef41f584a725ecd65d9cd4d47f5287edb482cff08173cc79f5b4e7e22b026099022ee94104216a54ebd6b3b
|
||||
DIST wl-2.14.0.tar.gz 1101505 SHA256 883b61e7e9560aff35efcf7d0d48b0ddd7cde598895ffd111ff214072253eb1f SHA512 edb49c0c9ddbd50cba4ce4cdd1b2d609cee9553d063aeb4775d0b43e0ed83cc6374aa47b11b3ff94a55827f7a9a29f7c1054e0fd9b3a5a25a2c410b241d268d2 WHIRLPOOL 14e3c879e98ffbe2ae7e4ed1b63328f1937b7ca31aebae500b1bf100a6ca5db78f72c87ecd2f0aa65d1e3468741d2753e0ac2ddc98d9108482935bef0590a03b
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/wanderlust/wanderlust-2.15.9_pre20120923.ebuild,v 1.3 2014/08/02 17:36:05 armin76 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Yet Another Message Interface on Emacsen"
|
||||
HOMEPAGE="https://github.com/wanderlust/wanderlust
|
||||
http://emacswiki.org/emacs/WanderLust"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="bbdb ssl linguas_ja"
|
||||
|
||||
RDEPEND=">=app-emacs/apel-10.6
|
||||
virtual/emacs-flim
|
||||
app-emacs/semi
|
||||
bbdb? ( app-emacs/bbdb )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_configure() {
|
||||
local lang="\"en\""
|
||||
use linguas_ja && lang="${lang} \"ja\""
|
||||
echo "(setq wl-info-lang '(${lang}) wl-news-lang '(${lang}))" >>WL-CFG
|
||||
use ssl && echo "(setq wl-install-utils t)" >>WL-CFG
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake info
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
LISPDIR="${ED}${SITELISP}" \
|
||||
PIXMAPDIR="${ED}${SITEETC}/wl/icons" \
|
||||
install
|
||||
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" wl || die
|
||||
|
||||
insinto "${SITEETC}/wl/samples/en"
|
||||
doins samples/en/*
|
||||
doinfo doc/wl*.info
|
||||
dodoc BUGS ChangeLog INSTALL NEWS README.md
|
||||
|
||||
if use linguas_ja; then
|
||||
insinto "${SITEETC}/wl/samples/ja"
|
||||
doins samples/ja/*
|
||||
dodoc BUGS.ja INSTALL.ja NEWS.ja README.ja
|
||||
fi
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-1.0.ebuild,v 1.1 2015/03/02 09:50:16 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs unpacker
|
||||
|
||||
DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
|
||||
HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
|
||||
SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
|
||||
http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
|
||||
http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="caps python"
|
||||
|
||||
RDEPEND="caps? ( sys-libs/libcap )
|
||||
python? ( dev-python/pyelftools )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils"
|
||||
|
||||
_emake() {
|
||||
emake \
|
||||
USE_CAP=$(usex caps) \
|
||||
USE_PYTHON=$(usex python) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
||||
if use prefix || ! use kernel_linux || \
|
||||
has_version '<sys-libs/glibc-2.10'
|
||||
then
|
||||
econf $(use_with caps) $(use_with python)
|
||||
else
|
||||
tc-export CC
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
_emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
_emake DESTDIR="${ED}" PKGDOCDIR='$(DOCDIR)'/${PF} install
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST t1utils-1.37.tar.gz 169956 SHA256 42bdce77aaf12b33ca6d193e01a2d2c0012f755435a6d25921f94733ee61cec3 SHA512 72b6eec7669be078f11927f0d8061fe9956f9a37c159cedb95344abedb7c79687c774916024f3eec2279d1b4e6d1430c78a8c8e2c95c563cb1df316d0c863a9f WHIRLPOOL bc49f264b4ff789a0c0521fafecee4735e9240e7cfca37a2289e09660c87ebaf6de3fa92921d3671494edfe6ee18ecec307fb0c7c66822c1205dec49a1689cda
|
||||
DIST t1utils-1.38.tar.gz 174513 SHA256 fc9f1ae744b22a6ecf5f54296d2d6229f1ce14c19aa7306e96ee7bb994bcddde SHA512 4cdfa5eab621b76f6226edee2167b26f01af4714d109dc4699a959a99170a0652fd8b119ec09aa908eb8ab6cec3af3ea10bf2886b209f3e2902ccf1ffca879b7 WHIRLPOOL fc706b8e5b5bdad56dcf2aa5a8bcb621f6d1f03188da6a95acadd3501db0ba1c4af2759b96f3842a8c7260f5711ec052172bf9540ed6d17e01a4f0fb1d4dd8af
|
||||
DIST t1utils-1.39.tar.gz 175047 SHA256 0faef3e5c4927b38b05ac99ee177b7d7cddbbf5b4452f98b244f684b52b0d4c4 SHA512 930fa0f264136fdc5d3d18e9a3b45c4818413d01ed12a32daa1b5ecfcc0ea4d6554faf428c6bab9247a2cfc16973787c0b6f0dfbb0273fa6a03a3e8d1d501301 WHIRLPOOL 976452434ea273cc1a42973cec28cd7587925490e37369715eeebb5e1d4aebca829d61893060512d621fe9393dd3758d670f0e1827347d8240cb622aa7afa1be
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/t1utils/t1utils-1.39.ebuild,v 1.1 2015/03/02 10:45:52 aballier Exp $
|
||||
|
||||
IUSE=""
|
||||
|
||||
DESCRIPTION="Type 1 Font utilities"
|
||||
SRC_URI="http://www.lcdf.org/type/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.lcdf.org/type/#t1utils"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
!<media-libs/freetype-1.4_pre20080316"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc NEWS README
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-7.1.0.ebuild,v 1.1 2015/03/02 09:20:53 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
# weird failures
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
|
||||
HOMEPAGE="http://www.parrot.org/"
|
||||
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/all/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
|
||||
|
||||
RDEPEND="sys-libs/readline
|
||||
dev-libs/libffi
|
||||
opengl? ( media-libs/freeglut )
|
||||
nls? ( sys-devel/gettext )
|
||||
unicode? ( >=dev-libs/icu-2.6:= )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.4 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
doc? ( dev-perl/JSON )"
|
||||
|
||||
DEPEND="dev-lang/perl[doc?]
|
||||
${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
myconf="--disable-rpath"
|
||||
use unicode || myconf+=" --without-icu"
|
||||
use ssl || myconf+=" --without-crypto"
|
||||
use gdbm || myconf+=" --without-gdbm"
|
||||
use nls || myconf+=" --without-gettext"
|
||||
use gmp || myconf+=" --without-gmp"
|
||||
use opengl || myconf+=" --without-opengl"
|
||||
use pcre || myconf+=" --without-pcre"
|
||||
|
||||
perl Configure.pl \
|
||||
--ccflags="${CFLAGS}" \
|
||||
--linkflags="${LDFLAGS}" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
|
||||
$myconf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
|
||||
# occasionally dies in parallel make
|
||||
emake -j1 || die
|
||||
if use doc ; then
|
||||
emake -j1 html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
|
||||
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
|
||||
dosym /usr/bin/parrot-ops2c /usr/bin/ops2c || die
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
doins -r examples/* || die
|
||||
fi
|
||||
if use doc; then
|
||||
insinto "/usr/share/doc/${PF}/editor"
|
||||
doins -r editor || die
|
||||
cd docs/html
|
||||
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
|
||||
pmc.html tools.html docs src tools || die
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST ocamlnet-3.7.3.tar.gz 3352779 SHA256 4ddc6928856d57b613de8889708f04a7bba04571b7bf1c525418cf9e3d8b4468 SHA512 adbff363df8e96a886b0c0bd7aa9243f3406e1a5dd3589101e272d11f4d8edaab2980c8297de9a6701305a8cb9391152ce08ffa5e1f8d95d12fc0edbe6a8f899 WHIRLPOOL 5d6b00458337f0aa277d4ca9b6b1c95485398761f5c8986d2ee14e45fd70901c9914917c8fff529f1fe8967f162760d11f4f7a833e1a812549238ea821797395
|
||||
DIST ocamlnet-3.7.7.tar.gz 3357674 SHA256 5b8e464a874018c5e48fc1edc752b83e014061f19316b5b14df8422d939e7609 SHA512 b500a92e6c5dc4d96ac26352923d78cb3a8b555deda038c41860aecbd20ee9ccbcfee949014c91f1266c937ae03fadd72c322e3cbe6456d23fd20b871114df6a WHIRLPOOL ceb4a9fc5d43fe89487589ae14c4bdf58d6c3d99d3a9ebc07fa722e894106899a2ae2aca91a47338d8004017fdd0d23632e187d96ec51479b43955daddbbb893
|
||||
DIST ocamlnet-4.0.1.tar.gz 4327486 SHA256 0ea290405ef0be3f56be99a767f286ac22725d11b1ec429aa3c90e2f4434466d SHA512 67f24249ff0a93634f79108ced261a338301727648187ce26c9b109386b741e8b5488121b893084d9b49a20faa9cd153c3b3cb228035daf4bd90b74d86da28e1 WHIRLPOOL 1202a5e7371a8e45c6820123fd71915d7efeea328722d14cdc7f423c7f9f0da791906613519fc319ee430929f0fad1269a221e923f48041025a34f78840b2d2c
|
||||
DIST ocamlnet-4.0.2.tar.gz 4604051 SHA256 586e10b00ab1a60eaa5a10dd9bcf51487c7b657b65f093a2afdf8f24d3389f31 SHA512 d28615fcef5b73d857e9e3f637195dbd787631997c5594a589a5b1192f2cb6e61a3271b4872045dbdee9074ca892731ce66fa5e0d9efcdda6f96319a0c6049a6 WHIRLPOOL f01a2165ebaff143f9cacce28c80721e2f7d11b1577a39bf18ddfa7483d72308d36395c32f12f9cabc3295e1c1eaaa813f4d8f96425cfc4876097656682164b7
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlnet/ocamlnet-4.0.2.ebuild,v 1.1 2015/03/02 10:49:29 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils findlib
|
||||
|
||||
MY_P=${P/_beta/test}
|
||||
DESCRIPTION="Modules for OCaml application-level Internet protocols"
|
||||
HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
|
||||
SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB GPL-2+"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="gtk kerberos tk httpd +ocamlopt +pcre ssl zip"
|
||||
RESTRICT="installsources"
|
||||
|
||||
# the auth-dh compile flag has been disabled as well, since it depends on
|
||||
# ocaml-cryptgps, which is not available.
|
||||
|
||||
RDEPEND=">=dev-ml/findlib-1.0
|
||||
pcre? ( >=dev-ml/pcre-ocaml-5:= )
|
||||
>=dev-lang/ocaml-3.10.2:=[ocamlopt?]
|
||||
tk? ( || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] ) )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
gtk? ( >=dev-ml/lablgtk-2:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
zip? ( dev-ml/camlzip:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
ocamlnet_use_with() {
|
||||
if use $1; then
|
||||
echo "-with-$2"
|
||||
else
|
||||
echo "-without-$2"
|
||||
fi
|
||||
}
|
||||
|
||||
ocamlnet_use_enable() {
|
||||
if use $1; then
|
||||
echo "-enable-$2"
|
||||
else
|
||||
echo "-disable-$2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
-bindir /usr/bin \
|
||||
-datadir /usr/share/${PN} \
|
||||
$(ocamlnet_use_enable ssl gnutls) \
|
||||
$(ocamlnet_use_enable gtk gtk2) \
|
||||
$(ocamlnet_use_enable kerberos gssapi) \
|
||||
$(ocamlnet_use_enable pcre pcre) \
|
||||
$(ocamlnet_use_enable tk tcl) \
|
||||
$(ocamlnet_use_enable zip zip) \
|
||||
$(ocamlnet_use_with httpd nethttpd) \
|
||||
|| die "Error : econf failed!"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 all
|
||||
if use ocamlopt; then
|
||||
emake -j1 opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export STRIP_MASK="*/bin/*"
|
||||
findlib_src_install
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST Test-Trap-v0.2.2.tar.gz 46055 SHA256 7af9967a771102ebbd88b5f2ccbaf15b0dbea74e22095b0ae7a0a07ad35325b2 SHA512 4131bdb98e1b327c66c9b01f48a58a7aaba7f4805fcc24642cc5f9b6025650f490f38dd90c92897f6b4e12b0ae3db4c7961946b2b2e5df3207493e435beee7b8 WHIRLPOOL a2d05be10c99a3c7e271031d705e41ab54b0492da411e69d43557caf957d5e161d58ddb70853c275de358fceccf4c81d18c9d14cff954d7871a317d47b544715
|
||||
DIST Test-Trap-v0.2.3.tar.gz 48072 SHA256 96c085ab4baa8d4d3810ce15e60af65bfcabd0ee45bde6a163379ac0cc443cc4 SHA512 d4c57f115960e60fb04eed702360a722dedde17d3bea1316d4d92ad63e2ed39012d447a5e8723ac15585375a896fad91113ac942ea0834d0c89b956488fc5428 WHIRLPOOL 9fc8353ea107ce2fbfcc618d8f30f11f1cf32622ca4a2d1c1bfa820b2c7464d38f1d4b9a12b75f7e57a88fa74b05d831d326f15e2bc3e286be50c4de09f011a5
|
||||
DIST Test-Trap-v0.2.4.tar.gz 48373 SHA256 9ec18229bbe918f424786fe4bde57f374359dd988d25433bb325b3d994f67ce0 SHA512 2008e876a277359bb377d2557530666dcf9efeb5b046db2a8987bd0b31864522ccde951faace4698280dffa31e045cc09ed873adaf45fe351d8947bbe04e0f0d WHIRLPOOL 59dcfd5dbd86f042ffc31c48e82d8412d2d0b12395ff88dcd59e1e17cbfd0de44041d5599ddc22090e5862a00ccaac680c98bd6d1677338634c86c6156a5eb2b
|
||||
DIST Test-Trap-v0.2.5.tar.gz 49204 SHA256 f899287a063d306226b78fd55eaf7ae570d3a1e5dcee51539ff1b2299bbf4257 SHA512 e836d567bcab1a1fd1ddcbaeb5c7582464f4275007328192937db1333cedbea1e3afee9100dcaebe3a870da27899cf45ab68d9b0aaa55ae67713b147b48fd93b WHIRLPOOL 368183907b7749e84932674ad119b3e0ca080358a68d801834f3f8b9a9de3f0fe9877bbaf6177703182cff674a2513ae8906022306573e6aacb559889781db25
|
||||
DIST Test-Trap-v0.3.0.tar.gz 54147 SHA256 7c840e7dd83369d5d50b60c4bcb6f2a97fc8c8d3d3134de1e5351e0408fb6415 SHA512 cd1e3c806482b16db9a069118a71afc7d20cfc2f18503af84201335c9fd1bc8af4187ab8a299939a500abf2382bd6168bb85db0cc51306c435cd3cffd079a85c WHIRLPOOL 2202b0dcf7c2ed14b1d028aec88dcae6078d603f940504d9348b1f46e8fb6814ee45fc0d7e385e8d9e4c5a4bf6df9ce645e73e6d231fb40f214a02603d1aa74b
|
||||
DIST Test-Trap-v0.3.2.tar.gz 54901 SHA256 399b9309c669d161dcd9ee2e1377aa4027e7428ff4f5ffd07cc16852e725054b SHA512 2c8985b316885975b6c07a6da03d55daea8bb212400a5db90ab7aecf1c5a79cd2682db46b39a3353e8bdd4a7e79fef86c26cec731d02561755852e48c09ad129 WHIRLPOOL 71cae91602aeea5d66b92c68800faee0c4ae5f19c8d4f5819a2a10d78618fc9c82bf4edfd440efc39be03bd8c5ca5ec38b0e04495eb33030dbe3feef5aebf8ac
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Trap/Test-Trap-0.2.3.ebuild,v 1.2 2014/01/30 23:14:28 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=EBHANSSEN
|
||||
MODULE_VERSION=v${PV}
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Trap exit codes, exceptions, output, etc"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS=" ~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
# Carp??
|
||||
RDEPEND="
|
||||
dev-perl/Data-Dump
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-IO
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-Module-Build-0.30
|
||||
test? (
|
||||
>=dev-perl/Test-Tester-0.107
|
||||
)"
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Trap/Test-Trap-0.2.4.ebuild,v 1.1 2014/05/26 06:38:19 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=EBHANSSEN
|
||||
MODULE_VERSION=v${PV}
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Trap exit codes, exceptions, output, etc"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS=" ~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
# Carp??
|
||||
RDEPEND="
|
||||
dev-perl/Data-Dump
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-IO
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-Module-Build-0.30
|
||||
test? (
|
||||
>=dev-perl/Test-Tester-0.107
|
||||
)"
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Trap/Test-Trap-0.2.5.ebuild,v 1.1 2014/11/17 09:32:30 jlec Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Trap/Test-Trap-0.3.2.ebuild,v 1.1 2015/03/02 07:10:39 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,5 +1,2 @@
|
||||
DIST alembic-0.6.0.tar.gz 407260 SHA256 ad28e2e4f8bb712d1e67abc709b0735525541e0ebc509dbf00bcd383b5c602ca SHA512 e93fcc14efef85f9235f4d5e1c2d3d3f8b83717b0f703713b86206ad941eee981fc8baee8bfa099ecb5bdeefcf12b84b6549fed2048ff360e43388c49b4538fb WHIRLPOOL b2f678ed4ee9f30b464134ad7801ec8d731dc3427bd6b85600070c258993b5107de9964837dada1eeb0fc53d30ba3affa7fc0cf6ea050e4cef75719fea467742
|
||||
DIST alembic-0.6.3.tar.gz 437722 SHA256 35dfad44254bd0731ac611de211957a37dcc8d53b67a134c187e0b32a8b43842 SHA512 683784dd10c76f91f0cc54224b85afcd2ced17fee0d161cf82d8c6644441b907bda32497b84ffb09e90b602f68da20bdf853d40f14100894c124abc16f50562e WHIRLPOOL 861a7b07ff93885748c02bfda2443fd5a9842226c7f18541db654504732b039493e6107acc265ec90bb9cb0862bb90bb875308ad0ee7f9aa726c335c746bc228
|
||||
DIST alembic-0.6.4.tar.gz 458365 SHA256 5a0a36c747c28f50366ac046da43f50055c84d1d9d8ed3c09b9b5b9a6c516832 SHA512 8bcc294329b58f672582384e98bd015933efcaa4345f28e67b34bd623cce7a7cd532837ddfe71e286c73c98d70f161cb722b5dd285a4a381c2a912329c196324 WHIRLPOOL 0ee984b07a8fccc4ab00439d3e40b51361c34166b1fad083f401e9ec230b4b665d0acba890e24183e250791785f419bada9c28b92bc87ebd016982f00ccff264
|
||||
DIST alembic-0.6.7.tar.gz 467942 SHA256 55c35e897d2970bae45345ff4c8a190e773a08f4289299de694ebfebfb0c6946 SHA512 21bf62bb035cac6686599ec3a5a7dcd8505ca590f37f5667990f18b3070b1490ca083950cec9714fe10947ca05df9598e14c69eb915d3e5d5d958414d00dc5f6 WHIRLPOOL b3a10fbef104167cbd89f08e6dfe00a2559b2e6d620026539af64911d23f5db60873c91c995d55204bbaed6646f2f7f9b834e477c690d0b5abd8050de3e1fdd9
|
||||
DIST alembic-0.7.4.tar.gz 604836 SHA256 550f10b2266f689778eced2fed899bfd05755737478454b97fb99385f2e780e5 SHA512 258d2f7fe046e7fd662fae0b68ba19988cc59fd1d0d8bb6e1b3b0ea133d076d649d6bc99933ac50be538d1c4d64062b2b2d259cb042d9bbddf7346d0283af383 WHIRLPOOL eaa17f8b0bd91ca8eb11292bc0be45443b43564b06ec1461c5d6b60dcbd3777c443c6a355164057334080a7dbf37f32cf591f176deb52afdb12d7ca79de4a766
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/alembic-0.6.0.ebuild,v 1.3 2014/07/06 12:36:26 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="database migrations tool, written by the author of SQLAlchemy"
|
||||
HOMEPAGE="https://bitbucket.org/zzzeek/alembic"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test doc"
|
||||
|
||||
RDEPEND=">=dev-python/sqlalchemy-0.7.9
|
||||
dev-python/mako"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r test.cfg tests "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
if [[ ${EPYTHON} == python3* ]]; then
|
||||
2to3 -w -n tests || die
|
||||
fi
|
||||
nosetests || die "Testing failed with ${EPYTHON}"
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/alembic-0.6.3.ebuild,v 1.3 2014/07/06 12:36:26 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
#RESTRICT="test" # 501362
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="database migrations tool, written by the author of SQLAlchemy"
|
||||
HOMEPAGE="https://bitbucket.org/zzzeek/alembic"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test doc"
|
||||
|
||||
RDEPEND=">=dev-python/sqlalchemy-0.7.3[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
~dev-python/sqlalchemy-0.8.2[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r test.cfg tests "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
if [[ ${EPYTHON} == python3* ]]; then
|
||||
2to3 -w -n tests || die
|
||||
fi
|
||||
nosetests || die "Testing failed with ${EPYTHON}"
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/alembic/alembic-0.6.4.ebuild,v 1.2 2014/07/06 12:36:26 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="database migrations tool, written by the author of SQLAlchemy"
|
||||
HOMEPAGE="https://bitbucket.org/zzzeek/alembic"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test doc"
|
||||
|
||||
# requires.txt cites 'SQLAlchemy>=0.7.3' which is really both old and silly
|
||||
# because it shatters the testsuite. If 'someone' cares to adhere to correct form
|
||||
# and edit to -0.7.3, feel free, and then pick up the pieces.
|
||||
RDEPEND=">=dev-python/sqlalchemy-0.8.4[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
# For test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# suite passes all if run from source. The residual fail & error are quite erroneous
|
||||
sed -e 's:class SourcelessVersioningTest(VersioningTest):#&:' \
|
||||
-e 's:sourceless = True:#&:' \
|
||||
-e 's:test_needs_flag:_&:' \
|
||||
-i tests/test_versioning.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests tests || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST pymongo-2.5.2.tar.gz 303234 SHA256 84ac1da67d0dabc711fa8259324d4e94b26a85411bcf0c12dc80a427d9f93ecc SHA512 6137bfcd60776b819a4ca4eb09ba3058a62696ab3533646c5f735ec4d336aa888cf0b8b1975acf1522bbd04416ff4337bf8481a0506421730dfdf712232c75c7 WHIRLPOOL 65c9ef69dd75af13ec7e05e77d2f9afc19c32723901bdf28488121770f53dec340721cb6e891d8cd9009547d95957f61dbf9bef72e725f79bcab38a41d94fba7
|
||||
DIST pymongo-2.6.3.tar.gz 324241 SHA256 cabe1d785ad5db6ed8ff70dcb9c987958fc75400f066ec78911ca3f37184a4e2 SHA512 6da3cbf035b52379c24df37b76e1eb743b12c1026116e28e4e7b6450e2674d730f9c8c2dd85f352c6ee4c9f604decaffc2dbc57fe64268bd7522d8ce155cca9e WHIRLPOOL ac36dd88c4311237ecda66a6008fa0d89d0670e331df6c49a08a1d3bc4ddcafe72e8e003009c206d3ac12afb1b14afe2d3615834a5a8df5ce30442f7b49fdbf2
|
||||
DIST pymongo-2.7.1.tar.gz 378724 SHA256 4810d302b8e132b99bfb6eeabcc71490cfc9d4064d84df593feb305121ed3535 SHA512 76fbeeedfe15a8b905983f056e93a340c604d55161df541e1c465ad6b6907578a3ba6b89d5b335c5ba0bacb19393c3ffd071763ec75da5a62266a4bf89c1708d WHIRLPOOL 08674f75e36a2bae07875f0b3af074ddb289a38b77d5e8ba478aaee9fe843d95e211258a4830c4da6ad23aac6169223a445912bc4e5dbc1ca56ae651b95d2e37
|
||||
DIST pymongo-2.7.2.tar.gz 381455 SHA256 8fb45e3edec006f4b11580fc579bec7781a8b3201ce0abf31593f086070e51f6 SHA512 0e78495462d670c168e716a7c34e05f6a11a203f0bf9b32c1488608343588a48cbbb76ce715411b310359de19d9cd57c75f80ac7d8195a122a760cec22e8d0c7 WHIRLPOOL 6cb7eedc530908c2fdb17b6e31561d9c860d6fd1edddb4d66288c3fe11bc199ebc58538a70508b2540b827077f62345a86729644fdf8d37c1b9934de03e77543
|
||||
DIST pymongo-2.7.tar.gz 376543 SHA256 8320bbbb8ca76de86bd47c253cfbfc4aedae3439fc57f6a9f8fdfa15a00bd601 SHA512 da7d10d9d413ecaac92888ebdec05247992586c5a2432770083a704805e17816788a71aa0f25d5cddebd98320a1c8f5f46b59f1c4b1ff9590454bf894510b387 WHIRLPOOL 520ff0501edf47204d9c61e229dba825c29a1ff8238d8555891638adf5e37f94220eca554f7082c1b196f6c97823d19fb174f5fff7816284fa56d4a610001ed7
|
||||
DIST pymongo-2.8.tar.gz 394529 SHA256 0543f65364fb54fb54b954136cf6b5e689ab12a7c1d15c59c52d3d0c5fa73935 SHA512 5ff223d1652cb32c236b3e3de30308c17aa3de2fa558f639cc3212ec2cf46b2fffc69341ee5998fc75fe4981d3dd340a544503ab3dad3aeda53a07382b19779a WHIRLPOOL 28ef0b6cd80d19b88bc435d7c66202f4fa3fd72f5b3012f36bd21b0311bd7e5c49339803b3d88356fc1640cf32aaf4cc0d5c62daf811472edcaf62a59a152832
|
||||
|
@ -1,132 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.5.2.ebuild,v 1.3 2014/03/31 21:17:23 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
|
||||
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="http://github.com/mongodb/mongo-python-driver http://pypi.python.org/pypi/pymongo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc kerberos mod_wsgi test"
|
||||
|
||||
RDEPEND="dev-db/mongodb"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
kerberos? ( dev-python/pykerberos )"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.5.1-greenlet.patch )
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
mkdir html || die
|
||||
sphinx-build doc html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
# 1.5G of disk space per run.
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --smallfiles --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
#https://jira.mongodb.org/browse/PYTHON-521, py2.[6-7] has intermittent failure with gevent
|
||||
pushd "${BUILD_DIR}"/../ > /dev/null
|
||||
if [[ "${EPYTHON}" == python3* ]]; then
|
||||
2to3 --no-diffs -w test
|
||||
fi
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Maintainer note:
|
||||
# In order to work with mod_wsgi, we need to disable the C extension.
|
||||
# See [1] for more information.
|
||||
# [1] http://api.mongodb.org/python/current/faq.html#does-pymongo-work-with-mod-wsgi
|
||||
distutils-r1_python_install $(use mod_wsgi && echo --no_ext)
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.7-r1.ebuild,v 1.2 2014/06/01 13:58:45 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="http://github.com/mongodb/mongo-python-driver http://pypi.python.org/pypi/pymongo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc kerberos test"
|
||||
|
||||
RDEPEND="dev-db/mongodb"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
kerberos? ( dev-python/pykerberos )"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
mkdir html || die
|
||||
sphinx-build doc html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
# 1.5G of disk space per run.
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --smallfiles --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
#https://jira.mongodb.org/browse/PYTHON-521, py2.[6-7] has intermittent failure with gevent
|
||||
pushd "${BUILD_DIR}"/../ > /dev/null
|
||||
if [[ "${EPYTHON}" == python3* ]]; then
|
||||
2to3 --no-diffs -w test
|
||||
fi
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue