diff options
author | Alexys Jacob <ultrabug@gentoo.org> | 2012-01-30 13:22:01 +0000 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2012-01-30 13:22:01 +0000 |
commit | 6dda4a3121086e6ebe7fab85b9439a17d210f3de (patch) | |
tree | 5afca4365b9f3cf3940cd03e1a83251f0f3ab9d0 /dev-python | |
parent | Bump for #390527 (diff) | |
download | historical-6dda4a3121086e6ebe7fab85b9439a17d210f3de.tar.gz historical-6dda4a3121086e6ebe7fab85b9439a17d210f3de.tar.bz2 historical-6dda4a3121086e6ebe7fab85b9439a17d210f3de.zip |
version bump, fix #401247
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pymongo/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pymongo/Manifest | 10 | ||||
-rw-r--r-- | dev-python/pymongo/pymongo-2.1.1.ebuild | 60 |
3 files changed, 73 insertions, 6 deletions
diff --git a/dev-python/pymongo/ChangeLog b/dev-python/pymongo/ChangeLog index 80f2b7c65a0d..9b69dc4a9953 100644 --- a/dev-python/pymongo/ChangeLog +++ b/dev-python/pymongo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pymongo -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.8 2011/12/13 17:47:42 ultrabug Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.9 2012/01/30 13:22:01 ultrabug Exp $ + +*pymongo-2.1.1 (30 Jan 2012) + + 30 Jan 2012; <alexys@gentoo.org> +pymongo-2.1.1.ebuild: + Version bump wrt #401247 *pymongo-2.1 (13 Dec 2011) diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index 167097e738a0..3ae935c8d4b5 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -2,15 +2,17 @@ Hash: SHA256 DIST pymongo-2.0.1.tar.gz 171745 RMD160 b6c1b6bdcd8165e6d8e124c2fbcd316b392e49e2 SHA1 864b839f71e28f3f37b6b375c8c13c7a4cca1ee1 SHA256 608b0a1ab378a6f0a74035f6a0e05c00903d47139784b00c56fe47665bfd685c +DIST pymongo-2.1.1.tar.gz 199974 RMD160 e114d9e95d3e2512e054552571eb66b93229e1e0 SHA1 f6d479ce863cf202aaa687d9f7739ffb47b4f421 SHA256 7dd891ce2088a2d21f172102be530cc3083571a0f1eecfa0aff612da8076c37b DIST pymongo-2.1.tar.gz 197271 RMD160 a9bcbb4de71cbfa8b9674873f2662f5f55974288 SHA1 5900ac2708a5c18107ed510b90f965b3475d678e SHA256 49dbefef8d37fc0b09c0383b71ac9eab23c05170ea95f51a86bd8ffd20dd5bee EBUILD pymongo-2.0.1.ebuild 1591 RMD160 b0b314f485b4635996e54bf9746c213a7daa8f5e SHA1 8ff548fd729360cc57cad1df4a8b9ffafcdb8609 SHA256 793a83d3e5c7d82abbea98950bc88ba52c6a1ebdcfed862c1eef55fcf48ecb5a +EBUILD pymongo-2.1.1.ebuild 1591 RMD160 d8c9055502cf5d2a8faf493a17699235d38ef930 SHA1 fe27a878bf8254f924f9c13caa19f0a4ffe9de90 SHA256 ef00ef6eada405215a6e8ed97894780122ca1221ae8e1f7c6e0aa7d08dfd9a96 EBUILD pymongo-2.1.ebuild 1589 RMD160 912512a7d94764a39e46996a6c44a46718b4147e SHA1 efe74945cf28a444adf2e09a9ee9d2cb7d5e96f8 SHA256 2332916dad1de7716193dad84a0ec11db1b40f37dbd8630f55219b374b798be6 -MISC ChangeLog 1535 RMD160 e5cae8fe8b2ddd12f77ffd71c29a4a85c3be4933 SHA1 81c1d32a4be077c489015b4c0313f63bc833b6c8 SHA256 fe5ab685a83dfc5b0629c3656eb6160a556aba8efb7dd77fa06b1fb1249c18b5 +MISC ChangeLog 1651 RMD160 868ad34188f2714564bd7e780f62ecc94d460adb SHA1 d9f16af9a83b422a3cf914380c9d73cf0ab0a12a SHA256 df096660ec8ba8b0bddb2f458e6533234df7957b8094e360ab7fc1a3c0a9c1fc MISC metadata.xml 694 RMD160 1d6d2af4cdf7c49941e76d513bf8d8dd5901b644 SHA1 63cd5ef490540b63c4ff109293aee3050b8704e4 SHA256 dd920b33859be9feb702c513e64c29c4b8bbede22f011c6e9ddf4301d555533e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iF4EAREIAAYFAk7nj8cACgkQKiQSS7ZY+hNh0AD9HBW8pouiPCYOMtkXCWvrGXCJ -DmH/fcaYN+2oxmGwEEkBANp+pYVWCam52b5vZMXsCE6116PO4+j01GdcdVxzT4+5 -=Fppw +iF4EAREIAAYFAk8mmYUACgkQKiQSS7ZY+hN36QEAkRRNXL1MDU5bqHAP49ykdC9b +psk7+mHigSLeaF2lcecA/AkranhY99hM6132gZVkxVpce3HxuQCGWAH29WnPIAuw +=Hbbo -----END PGP SIGNATURE----- diff --git a/dev-python/pymongo/pymongo-2.1.1.ebuild b/dev-python/pymongo/pymongo-2.1.1.ebuild new file mode 100644 index 000000000000..24be56e29b53 --- /dev/null +++ b/dev-python/pymongo/pymongo-2.1.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.1.1.ebuild,v 1.1 2012/01/30 13:22:01 ultrabug Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython" +DISTUTILS_SRC_TEST="nosetests" + +inherit distutils + +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 mod_wsgi" + +RDEPEND="dev-db/mongodb" +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/sphinx )" + +PYTHON_MODNAME="bson gridfs pymongo" + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + mkdir html + sphinx-build doc html || die "Generation of documentation failed" + fi +} + +distutils_src_test_pre_hook() { + mkdir -p "${T}/tests-${PYTHON_ABI}/mongo.db" + mongod --dbpath "${T}/tests-${PYTHON_ABI}/mongo.db" --fork --logpath "${T}/tests-${PYTHON_ABI}/mongo.log" +} + +src_test() { + distutils_src_test + killall -u "$(id -nu)" mongod +} + +src_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_src_install $(use mod_wsgi && echo --no_ext) + + if use doc; then + dohtml -r html/* || die "Error installing docs" + fi +} |