parent
1455a420fc
commit
512746fc33
@ -1,3 +1,2 @@
|
||||
DIST ansible-1.8.4.tar.gz 758916 SHA256 d37c04b3abce9b036a6c8311fccb360c5cbc3ec895445f805243b0448d239ec1 SHA512 abba45df12144a6b32447404ffda57a08f43a20e8875c8cb052435d8447271b1c1895c5cb8cf584b10ba8bac7e24ee242e99494b7b9a21c8df40cea54b48b3e0 WHIRLPOOL c7de6a99c5bcce2aa987e5cc551bca939f78562f91e5a48484aa776fbc1bee9ca9f61e446ab5f179aef2da81fa8e2685f116f3f10505240956f40530c90964f5
|
||||
DIST ansible-1.9.0.1.tar.gz 916591 SHA256 b2193fd9a4061ab624fa67311796419a759de06b4f321d37169b22ba3831331c SHA512 4548847f7644ced6ec099ac80871da4c113145b541d0a1cf32f3fc00898c86cd6e494ee08fca81cbdf0f96ff9f714c6b5d7eff29e37a9f76f460cb5bcbc5cf30 WHIRLPOOL ae06e315191c61847b3f3779299c6591c8456525aaf70aa94e9c655bf18e441197104bd48d14d8aafc5ced747a5429fdcc094c059eaba3d18edeb8339c0b29b7
|
||||
DIST ansible-1.9.1.tar.gz 917471 SHA256 a6f975d565723765a4d490ff40cede96833a745f38908def4950a0075f1973f5 SHA512 5f0d9842f1b797f287db6ef1941868b783d80209210ba2d3469aaa3f028436df5e95f305818de5b7b8bce8b66d6758fcac01e7d36febe1a24bcba556f79ef385 WHIRLPOOL 423f35cd0218a12df90a7e4efbc0a08bfeff89b826f336c05d44fc9a92e8f7fc7e6ce5a178bfe159a843fa5f946dfec4ce7b0de400d836d3cb11d04114ffec4a
|
||||
|
@ -1,40 +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/ansible/ansible-1.8.4.ebuild,v 1.3 2015/04/19 09:45:51 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 readme.gentoo
|
||||
|
||||
DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
|
||||
HOMEPAGE="http://ansible.com/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r examples
|
||||
|
||||
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -1 +1 @@
|
||||
DIST mongo-tools-3.0.2.tar.gz 2150689 SHA256 a476318b0fbdd432985911a8e32d73635bff2c4466a9cbcb76f52f3fe70e04eb SHA512 9c10ea0c7c0c6d30a1fdc0f5fbf8e4816c178c16a71a8b6643265cd0e7022b7ea00c9469cb26fb7a5de5531cc62f67e5b38943f6c34eb8f1a6ddb41b84efad72 WHIRLPOOL 07c928d8617aaec9a1b1851481d0c81c540171b69f60757186e2dcfacc1ea57d9986ff868d28160eefc7dcb880d28f380e80599eb4c44b3adfdee0b84ec5c594
|
||||
DIST mongo-tools-3.0.3.tar.gz 2151771 SHA256 17deff3d1adf2b456b3d4dc6096e6d0ff4b0d4dd799adcdb3c64f12acfa3204f SHA512 16a702cb48f2dde750dd493a4011616cce037606686af900403dcfc353fa31933704dbf4433c328eb3aa1fec60c6de251554a76a84e4f406544337a0fd3570f3 WHIRLPOOL e86749536afad3f2201d36509207bfd256ed7f534f12a7b92d3318d0db54f7293aeb2a7915f9f5358d6b74f03838b29f5bf5580c94ca1cfd68b482d35bc2e7bd
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/mongo-tools/mongo-tools-3.0.2.ebuild,v 1.2 2015/04/10 07:40:15 ultrabug Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/mongo-tools/mongo-tools-3.0.3.ebuild,v 1.1 2015/05/13 08:24:58 ultrabug Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,3 +1 @@
|
||||
DIST OOoFBTools-2.30.zip 4799069 SHA256 5d8866645c6679dcd4dfbaa57cd2d6a94aecb2694554407217d5f7275b5c4083 SHA512 3947a22504cb2a4fe33b91dc0c5a6d94022acb296fece6962f858ea9545466a746be583dd6c45e442a6708cc8fe8d02fe8cdaded2435acceb9422a963047d713 WHIRLPOOL 391666630d33600aa9b11c08592dbc0ec24e683d8790bb87e45d200e7890ec80acc080916b7c24dbbeff965e8485701895b241856e11b916838ac69e44c5cd8c
|
||||
DIST OOoFBTools-2.31.zip 4793991 SHA256 e123bc3297a63997b8afdca8804f199043a1c976449ca4e6cbf588ff0f20a15a SHA512 a0d735b597d6f4dd67473e9f6f210243c1404b00222f2a31b4494ac71641a0df53e750d7eac2879bf21e949a79034beac2a1f4eb0d74c214c9a4ca3f8c6cf43b WHIRLPOOL 3176eef69d1d48803f47225487ebf8217a2f32f5557f51deacf1be9c7118ff273a9391b491b1d1cd5e716b14593f59543a60ad89a6425f83fe2894649e63af5f
|
||||
DIST OOoFBTools-2.34.zip 4810850 SHA256 9fea8bb702c484547378f2771bbb16065b09f9b36954b87970de6fa2b54a58b5 SHA512 0d470837a1bdea713b2b711bc73774748513bdb29ecf4bedaadc770b544980ecfcf1f820e41194a77b11c2abc1432d491f111a32b812ecce769a76ac71154fc9 WHIRLPOOL a4fc2e5ebe85c83e8f037914d07145eae586dcff27fab550768f9cdf30c95d28ea8ee670ab897caf3ea294cd9e70590eb0705689484a799eadc0b16a26194799
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-officeext/ooofbtools/ooofbtools-2.30.ebuild,v 1.3 2014/12/28 12:12:12 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="OOoFBTools"
|
||||
|
||||
OFFICE_EXTENSIONS=(
|
||||
"${MY_PN}.oxt"
|
||||
)
|
||||
|
||||
inherit office-ext-r1
|
||||
|
||||
DESCRIPTION="Extension for converting and processing eBooks in FictionBook2 format with validator"
|
||||
HOMEPAGE="https://sourceforge.net/projects/fbtools/"
|
||||
SRC_URI="mirror://sourceforge/fbtools/files/release/${MY_PN}-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="dev-libs/libxml2"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
OFFICE_EXTENSIONS_LOCATION="${S}"
|
||||
|
||||
src_prepare() {
|
||||
# Remove Windows cruft
|
||||
pushd "${WORKDIR}/${MY_PN}.oxt" 2>/dev/null
|
||||
rm -r win32 || die
|
||||
popd 2>/dev/null
|
||||
}
|
||||
|
||||
src_install() {
|
||||
office-ext-r1_src_install
|
||||
dodoc ChangeLog*
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-officeext/ooofbtools/ooofbtools-2.31.ebuild,v 1.3 2015/02/25 15:54:19 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="OOoFBTools"
|
||||
|
||||
OFFICE_EXTENSIONS=(
|
||||
"${MY_PN}.oxt"
|
||||
)
|
||||
|
||||
inherit office-ext-r1
|
||||
|
||||
DESCRIPTION="Extension for converting and processing eBooks in FictionBook2 format with validator"
|
||||
HOMEPAGE="https://sourceforge.net/projects/fbtools/"
|
||||
SRC_URI="mirror://sourceforge/fbtools/files/release/${MY_PN}-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="dev-libs/libxml2"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
OFFICE_EXTENSIONS_LOCATION="${S}"
|
||||
|
||||
src_prepare() {
|
||||
# Remove Windows cruft
|
||||
pushd "${WORKDIR}/${MY_PN}.oxt" 2>/dev/null
|
||||
rm -r win32 || die
|
||||
popd 2>/dev/null
|
||||
}
|
||||
|
||||
src_install() {
|
||||
office-ext-r1_src_install
|
||||
dodoc ChangeLog*
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-3.0.2.ebuild,v 1.1 2015/04/09 20:05:54 ultrabug Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-3.0.3.ebuild,v 1.1 2015/05/13 08:25:21 ultrabug Exp $
|
||||
|
||||
EAPI=5
|
||||
SCONS_MIN_VERSION="2.3.0"
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ftdi_eeprom/ftdi_eeprom-1.0.ebuild,v 1.1 2015/05/13 10:42:51 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Utility to program external EEPROM for FTDI USB chips"
|
||||
HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-embedded/libftdi[tools]"
|
||||
|
||||
pkg_setup() {
|
||||
elog "This tool has moved to libftdi itself (via USE=tools)."
|
||||
elog "Please install that package and remove this one."
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/libftdi-1.2.ebuild,v 1.1 2015/05/13 10:46:17 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
MY_P="${PN}1-${PV}"
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Userspace access to FTDI USB interface chips"
|
||||
HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="cxx doc examples python static-libs tools"
|
||||
|
||||
RDEPEND="virtual/libusb:1
|
||||
cxx? ( dev-libs/boost )
|
||||
python? ( dev-lang/python )
|
||||
tools? (
|
||||
!<dev-embedded/ftdi_eeprom-1.0
|
||||
dev-libs/confuse
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use cxx FTDIPP)
|
||||
$(cmake-utils_use doc DOCUMENTATION)
|
||||
$(cmake-utils_use examples EXAMPLES)
|
||||
$(cmake-utils_use python PYTHON_BINDINGS)
|
||||
$(cmake-utils_use static-libs STATICLIBS)
|
||||
$(cmake-utils_use tools FTDI_EEPROM)
|
||||
-DCMAKE_SKIP_BUILD_RPATH=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
|
||||
if use doc ; then
|
||||
# Clean up crap man pages. #356369
|
||||
rm -vf "${CMAKE_BUILD_DIR}"/doc/man/man3/_* || die
|
||||
|
||||
doman "${CMAKE_BUILD_DIR}"/doc/man/man3/*
|
||||
dohtml "${CMAKE_BUILD_DIR}"/doc/html/*
|
||||
fi
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc examples/*.c
|
||||
fi
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-3.4.4.ebuild,v 1.1 2015/05/13 08:59:39 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ http://pypi.python.org/pypi/lxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~arm64"
|
||||
IUSE="beautifulsoup3 doc examples +threads test"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.23
|
||||
beautifulsoup3? (
|
||||
$(python_gen_cond_dep 'dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]' 'python2*')
|
||||
$(python_gen_cond_dep 'dev-python/beautifulsoup:python-3[${PYTHON_USEDEP}]' 'python3*')
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/cssselect[${PYTHON_USEDEP}] )
|
||||
"
|
||||
# lxml tarball contains files pregenerated by Cython.
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i '/sys\.path/d' test.py || die
|
||||
|
||||
# seems to be broken
|
||||
rm src/lxml/tests/test_elementpath.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
local test
|
||||
for test in test.py selftest.py selftest2.py; do
|
||||
einfo "Running ${test}"
|
||||
"${PYTHON}" ${test} -vv -p || die "Test ${test} fails with ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
use examples && local EXAMPLES=( samples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST openpyxl-1.7.0.tar.bz2 592566 SHA256 2c2c0dff10524223c1eaede8edbe18e6ed145123f6c4900e126c08f70a81b507 SHA512 bdcdd6a301cf515862ef051edd0d2a5ba9c8983f53774e3e427627250a5d0a433c6c40d632f42f8ba2e6f120d42b16ba9cb5d5df381b57775e5619de59b14629 WHIRLPOOL ebd0ec23e99ea98b127ddd74cd380f4c55e787376acca0545cd4ba38081388389cfcaeb77aed189483b7e71f682eefc5e9758ad4c0d18aab59f34927630f5d5c
|
||||
DIST openpyxl-1.9.0.tar.bz2 5227868 SHA256 688aeebf42e103018a274c34c6f186e496395e0c7a06180df684626b307134e4 SHA512 a739f02de9e1a4c4a134e025ac1eee47ed39e7d0fbf79dc4fc73187bfddf2b1ffe2cc1414b69bfd087620fcecddbecc199b72c21c39df72671079c73031b6cfc WHIRLPOOL 022289cfe340a41b87748579e6fd99fcaedb4aa6969cb896da78c3614abca44dbd87d7d71c0ff8cce40f4fd84b32391ef355a50a3baf0bc5b515d48ca3e00766
|
||||
DIST openpyxl-2.0.2.tar.bz2 5243087 SHA256 85dda6b3333af0ee5abfd26d6613a20c12175edb9d6fb29bab2261a74e43d66d SHA512 4137becf4986a3e944d0f0905dafae89faafc09375ec48a46abdf924af4f604bc1e08f67a50bc16de0c2920309cc1b2438e5c485f15a926b24fd5bbf77a4eff6 WHIRLPOOL 5c5902a30e0ca438d383344cddfb6099ffc464a2beb09ff81beb188867985a51d43ada0bf888921d9717238a6420c2ac7ad9e100144bd61e5d1d45bf15ce2f4d
|
||||
DIST openpyxl-2.1.0.tar.bz2 5286312 SHA256 60b64a18ccec5b4850c9b41cc8481c6dba3227926469b98d78279bc016eeabb0 SHA512 e537d1b2e1caae3932fde38295865609a4b1f9607378f5223bdfa8d219671331729453eb20092f7583ee3663200e40e8e3bd6a38119096c731d60d7efe2893dd WHIRLPOOL 0ba8228b4b942ef39136efb5d19695d5d619c3e3e77ad8ca402d2f933435e70c4b83adcdd400d36a491bfaa334644bee0668e823c420df5d199cabbf035cf948
|
||||
DIST openpyxl-2.2.2.tar.gz 108530 SHA256 2eec264a2eb42a9353319f0f939cfeacf75cf88b803fbf02d0dd5cc53f13b705 SHA512 207f1a3dca973206800529169ea1e68c40a70db5af1acf874b21ab7d1b1636e075a5c23ab98d3b40a397c78f9f3eebe6367be7dd2d5443c07a2443a58ea6835e WHIRLPOOL f34bfc7dc15620a20a29ab101a9eac47ba68ecb8eb4a994adfd0cb54a811e64d89c5210009f3c6dccfe85bf8806506e1f9b3e78f1da217033e03c981ec085de0
|
||||
|
@ -1,28 +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/openpyxl/openpyxl-1.7.0.ebuild,v 1.1 2014/12/07 14:31:43 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Pure python reader and writer of Excel OpenXML files"
|
||||
HOMEPAGE="http://bitbucket.org/ericgazoni/openpyxl-328/wiki/Home"
|
||||
SRC_URI="https://bitbucket.org/ericgazoni/openpyxl-328/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jdcal[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,28 +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/openpyxl/openpyxl-1.9.0.ebuild,v 1.1 2014/12/07 14:06:15 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Pure python reader and writer of Excel OpenXML files"
|
||||
HOMEPAGE="http://bitbucket.org/ericgazoni/openpyxl-328/wiki/Home"
|
||||
SRC_URI="https://bitbucket.org/ericgazoni/openpyxl-328/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jdcal[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,43 +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/openpyxl/openpyxl-2.0.2.ebuild,v 1.2 2014/10/28 07:49:09 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Pure python reader and writer of Excel OpenXML files"
|
||||
HOMEPAGE="http://bitbucket.org/ericgazoni/openpyxl/wiki/Home"
|
||||
SRC_URI="https://bitbucket.org/ericgazoni/openpyxl/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-python/jdcal[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all(){
|
||||
sed -e "s: 'sphinx.ext.intersphinx',::" \
|
||||
-i doc/source/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/openpyxl/openpyxl-2.2.2.ebuild,v 1.1 2015/05/13 12:50:14 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Pure python reader and writer of Excel OpenXML files"
|
||||
HOMEPAGE="http://openpyxl.readthedocs.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/jdcal[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
# tests aren't contained in tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
py.test || die "Testing failed with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/openpyxl/openpyxl-9999.ebuild,v 1.1 2015/05/13 12:50:14 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1 mercurial
|
||||
|
||||
DESCRIPTION="Pure python reader and writer of Excel OpenXML files"
|
||||
HOMEPAGE="http://openpyxl.readthedocs.org"
|
||||
SRC_URI=""
|
||||
EHG_REPO_URI="https://bitbucket.org/openpyxl/openpyxl"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/jdcal[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
py.test || die "Testing failed with ${EPYTHON}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pandas-0.15.2.tar.gz 4575541 SHA256 4a1ded49c77e109e2d5d078248f1f809962d81b508541c702d25a369af27ba17 SHA512 cc7e9c4baf7b3cce7793ea75d6c5e76f6238961f40b5045b209b046d5338762c1815b2bf62e39a56ae6c3a2d1a07ab6c7f8c5a769f9086913e573507a3ba1c41 WHIRLPOOL 0a277169d45148cd66c2f3e2cd402bcfd3dc44db2b73a05055e163b1e5f9afe817acbdf2b978112999b6cc877b5f31dbaf3990bd050cf8f1726a189c70f678d0
|
||||
DIST pandas-0.16.0.tar.gz 4771233 SHA256 4013de6f8796ca9d2871218861823bd9878a8dfacd26e08ccf9afdd01bbad9f1 SHA512 2375adc08e5129d591b2cce173a5dd5a86f94fa17fec862580af1f735da0a973fd0040d8405bf3bfd24c258630e2d2e2419f719abc3ee63dda59df43b8929e41 WHIRLPOOL cae6e600476156d26dca685d759568ab198bf34653dca6caa5dfda659346f84ebb32503ce689d91e83c2ab2798dd9855c21683cb6d88a4d03f39db0cbca2716d
|
||||
DIST pandas-0.16.1.tar.gz 4959316 SHA256 570d243f8cb068bf780461b9225d2e7bef7c90aa10d43cf908fe541fc92df8b6 SHA512 273b600cf32001aaa08fb99790b9fcd989845c1de524c76ed42d26807b6751fc7a08e702134ef359ecb13b7de79eede4efe1be1f96aa23d0e2fbd8ab59cec630 WHIRLPOOL 858c10799998711c928ed587c7a7d060346b930b3a8df9d7c0d1fa9916a990344e92443005be1c85a8b0728412591777156fe81a7caf20556d4051c7b7693a84
|
||||
|
@ -0,0 +1,130 @@
|
||||
pandas/compat/__init__.py | 14 ++++++++++++++
|
||||
pandas/tests/test_series.py | 3 ++-
|
||||
pandas/tseries/tests/test_daterange.py | 2 +-
|
||||
pandas/tseries/tests/test_period.py | 8 ++++----
|
||||
pandas/tseries/tests/test_timeseries.py | 6 +++---
|
||||
pandas/tslib.pyx | 6 +++++-
|
||||
6 files changed, 29 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
|
||||
index 6be0fac..2a27362 100644
|
||||
--- a/pandas/compat/__init__.py
|
||||
+++ b/pandas/compat/__init__.py
|
||||
@@ -26,6 +26,7 @@ Python 2.6 compatibility:
|
||||
|
||||
Other items:
|
||||
* OrderedDefaultDict
|
||||
+* platform checker
|
||||
"""
|
||||
# pylint disable=W0611
|
||||
import functools
|
||||
@@ -754,3 +755,16 @@ class OrderedDefaultdict(OrderedDict):
|
||||
def __reduce__(self): # optional, for pickle support
|
||||
args = self.default_factory if self.default_factory else tuple()
|
||||
return type(self), args, None, None, list(self.items())
|
||||
+
|
||||
+
|
||||
+# https://github.com/pydata/pandas/pull/9123
|
||||
+def is_platform_windows():
|
||||
+ return sys.platform == 'win32' or sys.platform == 'cygwin'
|
||||
+
|
||||
+
|
||||
+def is_platform_linux():
|
||||
+ return sys.platform == 'linux2'
|
||||
+
|
||||
+
|
||||
+def is_platform_mac():
|
||||
+ return sys.platform == 'darwin'
|
||||
diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
|
||||
index 22f8aee..925cfa8 100644
|
||||
--- a/pandas/tests/test_series.py
|
||||
+++ b/pandas/tests/test_series.py
|
||||
@@ -5398,7 +5398,8 @@ class TestSeries(tm.TestCase, CheckNameIntegration):
|
||||
def test_getitem_setitem_datetime_tz_dateutil(self):
|
||||
tm._skip_if_no_dateutil();
|
||||
from dateutil.tz import tzutc
|
||||
- from dateutil.zoneinfo import gettz
|
||||
+ from pandas.tslib import _dateutil_gettz as gettz
|
||||
+
|
||||
tz = lambda x: tzutc() if x == 'UTC' else gettz(x) # handle special case for utc in dateutil
|
||||
|
||||
from pandas import date_range
|
||||
diff --git a/pandas/tseries/tests/test_daterange.py b/pandas/tseries/tests/test_daterange.py
|
||||
index 841d81c..69b1d84 100644
|
||||
--- a/pandas/tseries/tests/test_daterange.py
|
||||
+++ b/pandas/tseries/tests/test_daterange.py
|
||||
@@ -441,7 +441,7 @@ class TestDateRange(tm.TestCase):
|
||||
def test_month_range_union_tz_dateutil(self):
|
||||
_skip_if_windows_python_3()
|
||||
tm._skip_if_no_dateutil()
|
||||
- from dateutil.zoneinfo import gettz as timezone
|
||||
+ from pandas.tslib import _dateutil_gettz as timezone
|
||||
tz = timezone('US/Eastern')
|
||||
|
||||
early_start = datetime(2011, 1, 1)
|
||||
diff --git a/pandas/tseries/tests/test_period.py b/pandas/tseries/tests/test_period.py
|
||||
index 70c706f..0218af6 100644
|
||||
--- a/pandas/tseries/tests/test_period.py
|
||||
+++ b/pandas/tseries/tests/test_period.py
|
||||
@@ -101,15 +101,15 @@ class TestPeriodProperties(tm.TestCase):
|
||||
pytz.timezone('Europe/Brussels').normalize(p).tzinfo)
|
||||
|
||||
def test_timestamp_tz_arg_dateutil(self):
|
||||
- import dateutil
|
||||
+ from pandas.tslib import _dateutil_gettz as gettz
|
||||
from pandas.tslib import maybe_get_tz
|
||||
p = Period('1/1/2005', freq='M').to_timestamp(tz=maybe_get_tz('dateutil/Europe/Brussels'))
|
||||
- self.assertEqual(p.tz, dateutil.zoneinfo.gettz('Europe/Brussels'))
|
||||
+ self.assertEqual(p.tz, gettz('Europe/Brussels'))
|
||||
|
||||
def test_timestamp_tz_arg_dateutil_from_string(self):
|
||||
- import dateutil
|
||||
+ from pandas.tslib import _dateutil_gettz as gettz
|
||||
p = Period('1/1/2005', freq='M').to_timestamp(tz='dateutil/Europe/Brussels')
|
||||
- self.assertEqual(p.tz, dateutil.zoneinfo.gettz('Europe/Brussels'))
|
||||
+ self.assertEqual(p.tz, gettz('Europe/Brussels'))
|
||||
|
||||
def test_timestamp_nat_tz(self):
|
||||
t = Period('NaT', freq='M').to_timestamp()
|
||||
diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py
|
||||
index 0c4961d..6c20b02 100644
|
||||
--- a/pandas/tseries/tests/test_timeseries.py
|
||||
+++ b/pandas/tseries/tests/test_timeseries.py
|
||||
@@ -417,9 +417,9 @@ class TestTimeSeries(tm.TestCase):
|
||||
def test_timestamp_to_datetime_explicit_dateutil(self):
|
||||
_skip_if_windows_python_3()
|
||||
tm._skip_if_no_dateutil()
|
||||
- import dateutil
|
||||
+ from pandas.tslib import _dateutil_gettz as gettz
|
||||
rng = date_range('20090415', '20090519',
|
||||
- tz=dateutil.zoneinfo.gettz('US/Eastern'))
|
||||
+ tz=gettz('US/Eastern'))
|
||||
|
||||
stamp = rng[0]
|
||||
dtval = stamp.to_pydatetime()
|
||||
@@ -1807,7 +1807,7 @@ class TestTimeSeries(tm.TestCase):
|
||||
def test_append_concat_tz_dateutil(self):
|
||||
# GH 2938
|
||||
tm._skip_if_no_dateutil()
|
||||
- from dateutil.zoneinfo import gettz as timezone
|
||||
+ from pandas.tslib import _dateutil_gettz as timezone
|
||||
|
||||
rng = date_range('5/8/2012 1:45', periods=10, freq='5T',
|
||||
tz='dateutil/US/Eastern')
|
||||
diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx
|
||||
index 40dbbd7..4feeaec 100644
|
||||
--- a/pandas/tslib.pyx
|
||||
+++ b/pandas/tslib.pyx
|
||||
@@ -41,7 +41,11 @@ from datetime import time as datetime_time
|
||||
# dateutil compat
|
||||
from dateutil.tz import (tzoffset, tzlocal as _dateutil_tzlocal, tzfile as _dateutil_tzfile,
|
||||
tzutc as _dateutil_tzutc)
|
||||
-from dateutil.zoneinfo import gettz as _dateutil_gettz
|
||||
+from pandas.compat import is_platform_windows
|
||||
+if is_platform_windows():
|
||||
+ from dateutil.tz import gettz as _dateutil_gettz
|
||||
+else:
|
||||
+ from dateutil.zoneinfo import gettz as _dateutil_gettz
|
||||
|
||||
from pytz.tzinfo import BaseTzInfo as _pytz_BaseTzInfo
|
||||
from pandas.compat import parse_date, string_types, PY3, iteritems
|
@ -0,0 +1,130 @@
|
||||
pandas/compat/__init__.py | 14 ++++++++++++++
|
||||
pandas/tests/test_series.py | 3 ++-
|
||||
pandas/tseries/tests/test_daterange.py | 2 +-
|
||||
pandas/tseries/tests/test_period.py | 8 ++++----
|
||||
pandas/tseries/tests/test_timeseries.py | 6 +++---
|
||||
pandas/tslib.pyx | 6 +++++-
|
||||
6 files changed, 29 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
|
||||
index 6be0fac..2a27362 100644
|
||||
--- a/pandas/compat/__init__.py
|
||||
+++ b/pandas/compat/__init__.py
|
||||
@@ -26,6 +26,7 @@ Python 2.6 compatibility:
|
||||
|
||||
Other items:
|
||||
* OrderedDefaultDict
|
||||
+* platform checker
|
||||
"""
|
||||
# pylint disable=W0611
|
||||
import functools
|
||||
@@ -754,3 +755,16 @@ class OrderedDefaultdict(OrderedDict):
|
||||
def __reduce__(self): # optional, for pickle support
|
||||
args = self.default_factory if self.default_factory else tuple()
|
||||
return type(self), args, None, None, list(self.items())
|
||||
+
|
||||
+
|
||||
+# https://github.com/pydata/pandas/pull/9123
|
||||
+def is_platform_windows():
|
||||
+ return sys.platform == 'win32' or sys.platform == 'cygwin'
|
||||
+
|
||||
+
|
||||
+def is_platform_linux():
|
||||
+ return sys.platform == 'linux2'
|
||||
+
|
||||
+
|
||||
+def is_platform_mac():
|
||||
+ return sys.platform == 'darwin'
|
||||
diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
|
||||
index 22f8aee..925cfa8 100644
|
||||
--- a/pandas/tests/test_series.py
|
||||
+++ b/pandas/tests/test_series.py
|
||||
@@ -5398,7 +5398,8 @@ class TestSeries(tm.TestCase, CheckNameIntegration):
|
||||
def test_getitem_setitem_datetime_tz_dateutil(self):
|
||||
tm._skip_if_no_dateutil();
|
||||
from dateutil.tz import tzutc
|
||||
- from dateutil.zoneinfo import gettz
|
||||
+ from pandas.tslib import _dateutil_gettz as gettz
|
||||
+
|
||||
tz = lambda x: tzutc() if x == 'UTC' else gettz(x) # handle special case for utc in dateutil
|
||||
|
||||
from pandas import date_range
|
||||
diff --git a/pandas/tseries/tests/test_daterange.py b/pandas/tseries/tests/test_daterange.py
|
||||
index 841d81c..69b1d84 100644
|
||||
--- a/pandas/tseries/tests/test_daterange.py
|
||||
+++ b/pandas/tseries/tests/test_daterange.py
|
||||
@@ -441,7 +441,7 @@ class TestDateRange(tm.TestCase):
|
||||
def test_month_range_union_tz_dateutil(self):
|
||||
_skip_if_windows_python_3()
|
||||
tm._skip_if_no_dateutil()
|
||||
- from dateutil.zoneinfo import gettz as timezone
|
||||
+ from pandas.tslib import _dateutil_gettz as timezone
|
||||
tz = timezone('US/Eastern')
|
||||
|
||||
early_start = datetime(2011, 1, 1)
|
||||
diff --git a/pandas/tseries/tests/test_period.py b/pandas/tseries/tests/test_period.py
|
||||
index 70c706f..0218af6 100644
|
||||
--- a/pandas/tseries/tests/test_period.py
|
||||
+++ b/pandas/tseries/tests/test_period.py
|
||||
@@ -101,15 +101,15 @@ class TestPeriodProperties(tm.TestCase):
|
||||
pytz.timezone('Europe/Brussels').normalize(p).tzinfo)
|
||||
|
||||
def test_timestamp_tz_arg_dateutil(self):
|
||||
- import dateutil
|
||||
+ from pandas.tslib import _dateutil_gettz as gettz
|
||||
from pandas.tslib import maybe_get_tz
|
||||
p = Period('1/1/2005', freq='M').to_timestamp(tz=maybe_get_tz('dateutil/Europe/Brussels'))
|
||||
- self.assertEqual(p.tz, dateutil.zoneinfo.gettz('Europe/Brussels'))
|
||||
+ self.assertEqual(p.tz, gettz('Europe/Brussels'))
|
||||
|
||||
def test_timestamp_tz_arg_dateutil_from_string(self):
|
||||
- import dateutil
|
||||
+ from pandas.tslib import _dateutil_gettz as gettz
|
||||
p = Period('1/1/2005', freq='M').to_timestamp(tz='dateutil/Europe/Brussels')
|
||||
- self.assertEqual(p.tz, dateutil.zoneinfo.gettz('Europe/Brussels'))
|
||||
+ self.assertEqual(p.tz, gettz('Europe/Brussels'))
|
||||
|
||||
def test_timestamp_nat_tz(self):
|
||||
t = Period('NaT', freq='M').to_timestamp()
|
||||
diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py
|
||||
index 0c4961d..6c20b02 100644
|
||||
--- a/pandas/tseries/tests/test_timeseries.py
|
||||
+++ b/pandas/tseries/tests/test_timeseries.py
|
||||
@@ -417,9 +417,9 @@ class TestTimeSeries(tm.TestCase):
|
||||
def test_timestamp_to_datetime_explicit_dateutil(self):
|
||||
_skip_if_windows_python_3()
|
||||
tm._skip_if_no_dateutil()
|
||||
- import dateutil
|
||||
+ from pandas.tslib import _dateutil_gettz as gettz
|
||||
rng = date_range('20090415', '20090519',
|
||||
- tz=dateutil.zoneinfo.gettz('US/Eastern'))
|
||||
+ tz=gettz('US/Eastern'))
|
||||
|
||||
stamp = rng[0]
|
||||
dtval = stamp.to_pydatetime()
|
||||
@@ -1807,7 +1807,7 @@ class TestTimeSeries(tm.TestCase):
|
||||
def test_append_concat_tz_dateutil(self):
|
||||
# GH 2938
|
||||
tm._skip_if_no_dateutil()
|
||||
- from dateutil.zoneinfo import gettz as timezone
|
||||
+ from pandas.tslib import _dateutil_gettz as timezone
|
||||
|
||||
rng = date_range('5/8/2012 1:45', periods=10, freq='5T',
|
||||
tz='dateutil/US/Eastern')
|
||||
diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx
|
||||
index 66f14bf..a0d4ee0 100644
|
||||
--- a/pandas/tslib.pyx
|
||||
+++ b/pandas/tslib.pyx
|
||||
@@ -41,7 +41,11 @@ from datetime import time as datetime_time
|
||||
# dateutil compat
|
||||
from dateutil.tz import (tzoffset, tzlocal as _dateutil_tzlocal, tzfile as _dateutil_tzfile,
|
||||
tzutc as _dateutil_tzutc)
|
||||
-from dateutil.zoneinfo import gettz as _dateutil_gettz
|
||||
+from pandas.compat import is_platform_windows
|
||||
+if is_platform_windows():
|
||||
+ from dateutil.tz import gettz as _dateutil_gettz
|
||||
+else:
|
||||
+ from dateutil.zoneinfo import gettz as _dateutil_gettz
|
||||
|
||||
from pytz.tzinfo import BaseTzInfo as _pytz_BaseTzInfo
|
||||
from pandas.compat import parse_date, string_types, PY3, iteritems
|
@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.16.1.ebuild,v 1.1 2015/05/13 12:50:55 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic virtualx
|
||||
|
||||
DESCRIPTION="Powerful data structures for data analysis and statistics"
|
||||
HOMEPAGE="http://pandas.pydata.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc excel html test R"
|
||||
|
||||
EXTRA_DEPEND="
|
||||
>=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)]
|
||||
dev-python/openpyxl[${PYTHON_USEDEP}]
|
||||
dev-python/pymysql[${PYTHON_USEDEP}]
|
||||
dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)]
|
||||
dev-python/psycopg:2[${PYTHON_USEDEP}]
|
||||
dev-python/statsmodels[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/xlsxwriter[${PYTHON_USEDEP}]
|
||||
"
|
||||
CDEPEND="
|
||||
>dev-python/numpy-1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
>=dev-python/cython-0.19.1[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/openpyxl[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytables-3.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/rpy[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2_7')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2_7')]
|
||||
x11-misc/xclip
|
||||
)
|
||||
test? (
|
||||
${EXTRA_DEPEND}
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)"
|
||||
# dev-python/statsmodels invokes a circular dep
|
||||
# hence rm from doc? ( ), again
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/numexpr-2.1[${PYTHON_USEDEP}]
|
||||
dev-python/bottleneck[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytables[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
excel? (
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2_7')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2_7')]
|
||||
)
|
||||
html? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}] )
|
||||
)
|
||||
R? ( dev-python/rpy[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-zoneinfo.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed download during build
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/source/conf.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# To build docs the need be located in $BUILD_DIR,
|
||||
# else PYTHONPATH points to unusable modules.
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
cp -ar "${S}"/doc . && cd doc || die
|
||||
LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local test_pandas='not network and not disabled'
|
||||
[[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow'
|
||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
||||
VIRTUALX_COMMAND="nosetests"
|
||||
PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
|
||||
virtualmake --verbosity=3 -A "${test_pandas}" pandas
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
dodoc -r "${BUILD_DIR}"/lib/doc/build/html
|
||||
einfo "An initial build of docs is absent of references to statsmodels"
|
||||
einfo "due to circular dependency. To have them included, emerge"
|
||||
einfo "statsmodels next and re-emerge pandas with USE doc"
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local x
|
||||
elog "Please install"
|
||||
for x in ${EXTRA_DEPEND}; do
|
||||
optfeature "additional functionality" "${x%%[*}"
|
||||
done
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST pymongo-2.6.3.tar.gz 324241 SHA256 cabe1d785ad5db6ed8ff70dcb9c987958fc75400f066ec78911ca3f37184a4e2 SHA512 6da3cbf035b52379c24df37b76e1eb743b12c1026116e28e4e7b6450e2674d730f9c8c2dd85f352c6ee4c9f604decaffc2dbc57fe64268bd7522d8ce155cca9e WHIRLPOOL ac36dd88c4311237ecda66a6008fa0d89d0670e331df6c49a08a1d3bc4ddcafe72e8e003009c206d3ac12afb1b14afe2d3615834a5a8df5ce30442f7b49fdbf2
|
||||
DIST pymongo-2.7.2.tar.gz 381455 SHA256 8fb45e3edec006f4b11580fc579bec7781a8b3201ce0abf31593f086070e51f6 SHA512 0e78495462d670c168e716a7c34e05f6a11a203f0bf9b32c1488608343588a48cbbb76ce715411b310359de19d9cd57c75f80ac7d8195a122a760cec22e8d0c7 WHIRLPOOL 6cb7eedc530908c2fdb17b6e31561d9c860d6fd1edddb4d66288c3fe11bc199ebc58538a70508b2540b827077f62345a86729644fdf8d37c1b9934de03e77543
|
||||
DIST pymongo-2.8.1.tar.gz 399521 SHA256 300ea5762d059c07d1bb2578f35bd0e55bc31753951e2de3d6fe2ed54438e374 SHA512 8d02829eb8683572ffe8c1be5ee50a4c778e1a0b938820859be215b583e719d079183b1a26bc074fad7e31e8944756b82b146657ad528123514b59c725f6d7aa WHIRLPOOL b0c8c373771d3a4525ddf30db5903a6b1241aa1e160e688c215bef21395d598faa65f12e57ea8fe0f16d1c0eaa0abad02ebf3e0b9df2acb8e1c8e6ff9c20a214
|
||||
DIST pymongo-3.0.1.tar.gz 381044 SHA256 d26076e838335d33d10f35f5b94a5a618a7aea5519c889b9ec473b23200b1237 SHA512 2aed2c4c7cfc9fc8e4cca0ae1159279cd195528b4004a0fff06bef9527336a2d509bcf9cd4cde1339ed7f114f5919166ed7ad5e6e8e109f365fe9f2935b89d88 WHIRLPOOL b5432e4336964f0bce07d3b5ae3b89329718e53f25eefff589c13f0717c884188fe9a4fae9275abc991bad43bfef54481fe684e720d64d36de086475c277dfac
|
||||
DIST pymongo-3.0.2.tar.gz 382486 SHA256 eb4a2102a82603f94306be2081af0ddbbd6d9c21d65e1dc761f0fecffda4c831 SHA512 9203e96424c5cd8406e525a0680ee6b13a3bc79d24cb389a6920aa5164d63dad1e9f306bf79ef54a0fda65ad624a50128c21e4546fc2d6d92e6a71e2ab5163fb WHIRLPOOL e8b519c34c49f2183370020d0b9507bc4c319006df044dac9ecc481e41d95901457d732392948ab8e3d494e2b622c169788a618399513fb966d40deea9905a90
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-3.0.1.ebuild,v 1.1 2015/04/22 12:55:08 ultrabug Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-3.0.2.ebuild,v 1.1 2015/05/13 08:27:29 ultrabug Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-15.1.0.ebuild,v 1.1 2015/05/13 08:01:25 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="Twisted SSHv2 implementation"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
=dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,126 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-15.1.0.ebuild,v 1.1 2015/05/13 07:47:46 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils flag-o-matic twisted-r1
|
||||
|
||||
DESCRIPTION="An asynchronous networking framework written in Python"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86 ~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="crypt gtk serial test"
|
||||
|
||||
RDEPEND=">=dev-python/zope-interface-3.6.0[${PYTHON_USEDEP}]
|
||||
crypt? ( >=dev-python/pyopenssl-0.10[${PYTHON_USEDEP}]
|
||||
dev-python/service_identity[${PYTHON_USEDEP}] )
|
||||
gtk? ( dev-python/pygtk:2[${PYTHON_USEDEP}] )
|
||||
serial? ( dev-python/pyserial[${PYTHON_USEDEP}] )"
|
||||
DEPEND="test? ( ${RDEPEND} )"
|
||||
|
||||
PATCHES=(
|
||||
# Give a load-sensitive test a better chance of succeeding.
|
||||
"${FILESDIR}/${PN}-2.1.0-echo-less.patch"
|
||||
|
||||
# Skip a test if twisted conch is not available
|
||||
# (see Twisted ticket #5703)
|
||||
"${FILESDIR}/${PN}-12.1.0-remove-tests-conch-dependency.patch"
|
||||
|
||||
# Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable.
|
||||
"${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
# Disable tests failing with root permissions.
|
||||
sed \
|
||||
-e "s/test_newPluginsOnReadOnlyPath/_&/" \
|
||||
-e "s/test_deployedMode/_&/" \
|
||||
-i twisted/test/test_plugin.py
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
# Needed to make the sendmsg extension work
|
||||
# (see http://twistedmatrix.com/trac/ticket/5701 )
|
||||
local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
|
||||
pushd "${TEST_DIR}"/lib > /dev/null || die
|
||||
|
||||
# Skip broken tests.
|
||||
|
||||
# http://twistedmatrix.com/trac/ticket/5375
|
||||
sed -e "/class ZshIntegrationTestCase/,/^$/d" -i twisted/scripts/test/test_scripts.py \
|
||||
|| die "sed failed"
|
||||
|
||||
# Prevent it from pulling in plugins from already installed twisted packages.
|
||||
rm -f twisted/plugins/__init__.py
|
||||
|
||||
# An empty file doesn't work because the tests check for doc strings in all packages.
|
||||
echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
|
||||
|
||||
# https://twistedmatrix.com/trac/ticket/6920 6921
|
||||
# Just re-exposing them to list a full list of deficits
|
||||
# sed -e 's:test_basicOperation:_&:' -i twisted/scripts/test/test_tap2deb.py || die
|
||||
# sed -e 's:test_inspectCertificate:_&:' -i twisted/test/test_sslverify.py || die
|
||||
|
||||
# Requires twisted-web, twisted-lore and twisted-names, creating a circ. dep and fail even if installed.
|
||||
# test_loreDeprecation and test_exist failures appeared in version 14.0.0.
|
||||
# Possibly due to over taxing of the distutils_install_for_testing function
|
||||
rm -f twisted/python/test/test_release.py || die
|
||||
sed -e 's:test_loreDeprecation:_&:' -i twisted/test/test_twisted.py || die
|
||||
sed -e 's:test_exist:_&:' -i twisted/python/test/test_dist3.py || die
|
||||
|
||||
# Requires connection to the network
|
||||
sed -e 's:test_multiListen:_&:' -i twisted/test/test_udp.py || die
|
||||
|
||||
# Appeared in version 14.0.0; https://twistedmatrix.com/trac/ticket/7422; known failures
|
||||
# Upstream somewhat unreceptive
|
||||
# The last of these invokes a hang or a long delay
|
||||
sed -e 's:test_dataReceivedThrows:_&:' \
|
||||
-e 's:test_resumeProducingThrows:_&:' \
|
||||
-e 's:test_resumeProducingAbortLater:_&:' \
|
||||
-e 's:test_resumeProducingAbort:_&:' \
|
||||
-e 's:test_fullWriteBufferAfterByteExchange:_&:' \
|
||||
-i twisted/internet/test/test_tcp.py || die
|
||||
sed -e 's:test_logPrefix:_&:' -i twisted/internet/test/connectionmixins.py || die
|
||||
|
||||
if ! "${TEST_DIR}"/scripts/trial twisted; then
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
cd "${D%/}$(python_get_sitedir)" || die
|
||||
|
||||
# create 'Twisted' egg wrt bug #299736
|
||||
local egg=( Twisted_Core*.egg-info )
|
||||
[[ -f ${egg[0]} ]] || die "Twisted_Core*.egg-info not found"
|
||||
ln -s "${egg[0]}" "${egg[0]/_Core/}" || die
|
||||
|
||||
# own the dropin.cache so we don't leave orphans
|
||||
touch twisted/plugins/dropin.cache || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newconfd "${FILESDIR}/twistd.conf" twistd
|
||||
newinitd "${FILESDIR}/twistd.init" twistd
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-lore/twisted-lore-15.1.0.ebuild,v 1.1 2015/05/13 08:02:31 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="Twisted documentation system"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]
|
||||
=dev-python/twisted-web-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-mail/twisted-mail-15.1.0.ebuild,v 1.1 2015/05/13 08:03:13 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="A Twisted Mail library, server and client"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]
|
||||
=dev-python/twisted-names-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-names/twisted-names-15.1.0.ebuild,v 1.1 2015/05/13 08:03:53 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="A Twisted DNS implementation"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-news/twisted-news-15.1.0.ebuild,v 1.1 2015/05/13 08:04:35 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="Twisted News is an NNTP server and programming library"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]
|
||||
=dev-python/twisted-mail-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-pair/twisted-pair-15.1.0.ebuild,v 1.1 2015/05/13 08:05:08 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="Twisted low-level networking"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]
|
||||
dev-python/eunuchs[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# https://twistedmatrix.com/trac/ticket/7433
|
||||
PATCHES=( "${FILESDIR}"/14.0.0-tests.patch )
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-runner/twisted-runner-15.1.0.ebuild,v 1.1 2015/05/13 08:05:49 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="Twisted Runner is a process management library and inetd replacement"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/twisted-web-15.1.0.ebuild,v 1.1 2015/05/13 08:06:33 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
MY_PN="TwistedWeb"
|
||||
DESCRIPTION="Twisted web server, programmable in Python"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="soap"
|
||||
|
||||
DEPEND="=dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
soap? ( dev-python/soappy[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_prepare_all() {
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
# Disable tests failing with root permissions.
|
||||
sed -e "s/test_forbiddenResource/_&/" -i twisted/web/test/test_static.py
|
||||
sed -e "s/testDownloadPageError3/_&/" -i twisted/web/test/test_webclient.py
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
# testsuite has a PYTHONPATH oddity, currently appears to require a system install to effectively import,
|
||||
# putting in question as to whether it is a testsuite
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-words/twisted-words-15.1.0.ebuild,v 1.1 2015/05/13 08:07:16 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="Twisted Words contains Instant Messaging implementations"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]
|
||||
=dev-python/twisted-web-${TWISTED_RELEASE}*[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1 @@
|
||||
DIST ruby-oembed-0.8.14.gem 275456 SHA256 08367b29bd64fe21b388542902ab14736a5afeb06bc85b016d325b987981a336 SHA512 ff4bff8a1788283869b27d0e36f6e44daad6926de8ee033d2cba5bb0360207830bc61ab63977c3de66c17f4f60700adbecb3da8257056b940ef2f4232e5592a9 WHIRLPOOL c349cb8032c28a13f6ee98d9ff7319eb12bcfea120be08da313b60b88462db58bb375d8c806c426410514043a3f31457736e6a081f53c8ab377aa849dd690295
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-oembed/ruby-oembed-0.8.14.ebuild,v 1.1 2015/05/13 07:09:48 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An oEmbed consumer library written in Ruby."
|
||||
HOMEPAGE="https://github.com/judofyr/ruby-oembed"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test?
|
||||
(
|
||||
dev-ruby/json
|
||||
dev-ruby/vcr:1
|
||||
dev-ruby/xml-simple
|
||||
dev-ruby/nokogiri
|
||||
dev-ruby/fakeweb
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler but keep vcr version requirement
|
||||
rm -f Gemfile || die
|
||||
sed -i -e '1igem "vcr", "~> 1.0"' spec/spec_helper.rb || die
|
||||
|
||||
# Fix broken spec (fix taken from upstream commit)
|
||||
sed -i -e '127,135 s/should_receive/to receive/' spec/providers_spec.rb || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST vcr-1.11.3.gem 87552 SHA256 6dcdd782d631b1464192d47db2a5a86d2325c80a723a4b2970f47da98f006f1d SHA512 0d62b0699e42484a4ba385a2ec653881183b44d85fd46ffc1ea693ebb746b225566cdb2799cdb60235c24adecd7575e0f20d743968326eeeb5b24fbd3232354a WHIRLPOOL f2c91385bc6dd68340f1a4960f3ec4944afd1907d33c8163ebe99d1e72c5b0f45e665463161654d4a330d2cfad25674b8a8e97a3cf2e1ae309d7ae6c4fd2be09
|
||||
DIST vcr-2.9.3.gem 152576 SHA256 041361620a613e18c514b5e680bfbed3a8db69e1ffe5916957ba36966dd92190 SHA512 2d71a84439fb92393641d211372b476bb2b55c70dff8c8f17a4af9fcb3e8f9104e1da860cfeafc8ceea9499023c7f6206124dee36ee9690188cc444bab61b2a7 WHIRLPOOL 0994aab3f00da3c628fe1ad5e752bc694b6096ace92edeb1d3f5877864a80ffdd4c3d1ce69d0119ca91dae8d72a6172de1901ab4db1c27750bf83f25825c0052
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/vcr/vcr-1.11.3.ebuild,v 1.1 2015/05/13 06:55:02 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Records your test suite's HTTP interactions and replay them during future test runs."
|
||||
HOMEPAGE="https://github.com/myronmarston/vcr/"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="1"
|
||||
IUSE="test"
|
||||
|
||||
# Tests require all supported HTTP libraries to be present, and it is
|
||||
# not possible to avoid some of them without very extensive patches.
|
||||
RESTRICT="test"
|
@ -1,2 +1,3 @@
|
||||
DIST mercurial-3.3.2.tar.gz 4165131 SHA256 67c617c740ac706f923371a26f02339b27cd6c36e5d3fb2ccad0dc02361527fa SHA512 f151ea3187b70d70a82f643aaacd2742d0ce5f996590eab008332a7f28df5a19e99634ff33b0509ad38d2b6b411627413a457255df8a8e45025246beebb6fcc1 WHIRLPOOL 740b1ebb68f7c8baf3e6a9b023be2423677e3189221dc302c0601b514193e27eaaf73985c9536c6aa03fa0c5b9be8c092cd7b3eaca5f77ee24bfa276bbb6109c
|
||||
DIST mercurial-3.3.3.tar.gz 4167447 SHA256 a445367f0dcbaf3a6279bfa743b364e729be0d1f0c852cb6d37f297916ffae13 SHA512 bea215b0bd9e8603ade019f01ae0600dd1d1ad77675b38b5e13d86c43dd2c58b6c86c252517f0fcab6444c171e9f53537e4e170739c991ac08a1111169fe545d WHIRLPOOL e5fd41c6d27d7fce8559a2d15b33e24cf702d9497326e2c1062fe2acd22e7ad16cd6981d3dadb5a7458f12dcd35cc98583f53bc3188d99a9638daddb7d95657b
|
||||
DIST mercurial-3.4.tar.gz 4289081 SHA256 ff1da0545cdd46ebcf473176d55937a22bb55fff51cdff9d4c2f900fc80baf10 SHA512 a61b0d4cf528136991243bb23ac972c11c50ab5681d09f8b2d12cf7d37d3a9d76262f7fe6e7a1834bf6d03e8dc0ebbd9231da982e049e09830341dabefe5d064 WHIRLPOOL 200374186efa25cc22315c6125ead6af9ba2952205f9547d37b33f9bfd3b97b255f0aa29c703793fd4563022b29377cf12689394d921b598396a366a386c8556
|
||||
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-3.4.ebuild,v 1.1 2015/05/13 07:10:55 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Scalable distributed SCM"
|
||||
HOMEPAGE="http://mercurial.selenic.com/"
|
||||
SRC_URI="http://mercurial.selenic.com/release/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bugzilla emacs gpg test tk"
|
||||
|
||||
RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
tk? ( dev-lang/tk )
|
||||
app-misc/ca-certificates"
|
||||
DEPEND="emacs? ( virtual/emacs )
|
||||
test? ( app-arch/unzip
|
||||
dev-python/pygments[${PYTHON_USEDEP}] )"
|
||||
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
|
||||
|
||||
python_prepare_all() {
|
||||
# fix up logic that won't work in Gentoo Prefix (also won't outside in
|
||||
# certain cases), bug #362891
|
||||
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
strip-flags -ftracer -ftree-vectorize
|
||||
# Note: make it impl-conditional if py3 is supported
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
"${PYTHON}" setup.py build_mo || die
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
rm -r contrib/{win32,macosx} || die
|
||||
if use emacs; then
|
||||
cd contrib || die
|
||||
elisp-compile mercurial.el || die "elisp-compile failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newbashcomp contrib/bash_completion hg
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins contrib/zsh_completion _hg
|
||||
|
||||
rm -f doc/*.?.txt
|
||||
dodoc CONTRIBUTORS
|
||||
cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
|
||||
|
||||
dobin hgeditor
|
||||
dobin contrib/hgk
|
||||
python_foreach_impl python_doscript contrib/hg-ssh
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
|
||||
*.el mercurial.spec)
|
||||
for f in ${RM_CONTRIB[@]}; do
|
||||
rm -r contrib/$f || die
|
||||
done
|
||||
|
||||
dodoc -r contrib
|
||||
docompress -x /usr/share/doc/${PF}/contrib
|
||||
doman doc/*.?
|
||||
|
||||
cat > "${T}/80mercurial" <<-EOF
|
||||
HG="${EPREFIX}/usr/bin/hg"
|
||||
EOF
|
||||
doenvd "${T}/80mercurial"
|
||||
|
||||
insinto /etc/mercurial/hgrc.d
|
||||
doins "${FILESDIR}/cacerts.rc"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd tests &>/dev/null || die
|
||||
rm -rf *svn* # Subversion tests fail with 1.5
|
||||
rm -f test-archive* # Fails due to verbose tar output changes
|
||||
rm -f test-convert-baz* # GNU Arch baz
|
||||
rm -f test-convert-cvs* # CVS
|
||||
rm -f test-convert-darcs* # Darcs
|
||||
rm -f test-convert-git* # git
|
||||
rm -f test-convert-mtn* # monotone
|
||||
rm -f test-convert-tla* # GNU Arch tla
|
||||
#rm -f test-doctest* # doctest always fails with python 2.5.x
|
||||
rm -f test-largefiles* # tends to time out
|
||||
|
||||
popd &>/dev/null || die
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local TEST_DIR
|
||||
|
||||
rm -rf "${TMPDIR}"/test
|
||||
distutils_install_for_testing
|
||||
cd tests || die
|
||||
"${PYTHON}" run-tests.py --verbose \
|
||||
--tmpdir="${TMPDIR}"/test \
|
||||
--with-hg="${TEST_DIR}"/scripts/hg \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
|
||||
elog "If you want to convert repositories from other tools using convert"
|
||||
elog "extension please install correct tool:"
|
||||
elog " dev-vcs/cvs"
|
||||
elog " dev-vcs/darcs"
|
||||
elog " dev-vcs/git"
|
||||
elog " dev-vcs/monotone"
|
||||
elog " dev-vcs/subversion"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST tortoisehg-3.3.2.tar.gz 8226128 SHA256 779beb06588897d1c42fc463fecc4b61498f7cac76681fe1c1f017ecd811719a SHA512 4b7e1422731507aa8947b0e8e7746a6daa004186833db200122927c4e5a2f2cb1fbbf12f89089e3ee82d1a22fdb3c7745465188cbf3e14d73d831b953f2b2d9f WHIRLPOOL 34fce6c6383ae94eb4d6fbca854068535ac39b50746dbcc3ee9460976231dc68c3c5f824dc31082838505bdaeaf3620306ceea867d8ac5571d00ee1f1192e867
|
||||
DIST tortoisehg-3.3.3.tar.gz 8230380 SHA256 a22ec794b0152b25b085447a253594dde27f71863149b9471ec70669687fb47f SHA512 ed15a2ce76647f6c2d9df2daebc62f983eec6a27ea15a808060d83968cfee2c22f643b2ed6fb48bf06dd5d7cb9f4178e756e539eec2ca43e74fe4c8cfc7da4cf WHIRLPOOL d069dbe4ca109aaf2ebf9dd73f2d87343c2c71a8d5a894a5b7278a5edc878aa7eda56f9d53dca8968d1e730eea94a9f814a5cd76fb4af522a506753a5342cb47
|
||||
DIST tortoisehg-3.4.tar.gz 8230401 SHA256 d3ac14e374b551e3f7ebc14f15648250b68f103de3fbfea24fd866110299145c SHA512 9c968529432bc32f8dd1ce14415623687c0b37755fc5de97f6f8acfb395b61084a7ea92501552d77ff162c9394cbebd372423ecbd5986b6b647eb172e74a3388 WHIRLPOOL fc827fc0410d58f6963e0fa12f7d8b509675acfd94d31ca92eb628102d5bdfb3687591302be58ee8bb95b7f502dbb163dd68807f4ad7bf490521f07a08161b01
|
||||
|
@ -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-vcs/tortoisehg/tortoisehg-3.4.ebuild,v 1.1 2015/05/13 07:12:37 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://www.bitbucket.org/${PN}/targz/downloads/${P}.tar.gz"
|
||||
HG_DEPEND=">=dev-vcs/mercurial-3.3 <dev-vcs/mercurial-3.5"
|
||||
else
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
|
||||
EHG_REVISION="stable"
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
HG_DEPEND="dev-vcs/mercurial"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Set of graphical tools for Mercurial"
|
||||
HOMEPAGE="http://tortoisehg.bitbucket.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="${HG_DEPEND}
|
||||
dev-python/iniparse[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[svg,${PYTHON_USEDEP}]
|
||||
dev-python/qscintilla-python[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=dev-python/sphinx-1.0.3 )"
|
||||
|
||||
# Workaround race condition in build_qt
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
if [[ ${LINGUAS+set} ]]; then
|
||||
cd i18n/tortoisehg || die
|
||||
local x y keep
|
||||
for x in *.po; do
|
||||
keep=false
|
||||
for y in ${LINGUAS}; do
|
||||
if [[ ${y} == ${x%.po}* ]]; then
|
||||
keep=true
|
||||
break
|
||||
fi
|
||||
done
|
||||
${keep} || rm "${x}" || die
|
||||
done
|
||||
cd "${S}" || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
|
||||
if use doc ; then
|
||||
dohtml -r doc/build/html/
|
||||
fi
|
||||
newicon -s scalable icons/scalable/apps/thg-logo.svg thg_logo.svg
|
||||
domenu contrib/thg.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "When startup of ${PN} fails with an API version mismatch error"
|
||||
elog "between dev-python/sip and dev-python/PyQt4 please rebuild"
|
||||
elog "dev-python/qscintilla-python."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue