public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pymongo: metadata.xml ChangeLog pymongo-1.11-r1.ebuild
@ 2011-07-06 14:30 Alexys Jacob (ultrabug)
  0 siblings, 0 replies; only message in thread
From: Alexys Jacob (ultrabug) @ 2011-07-06 14:30 UTC (permalink / raw
  To: gentoo-commits

ultrabug    11/07/06 14:30:30

  Modified:             metadata.xml ChangeLog
  Added:                pymongo-1.11-r1.ebuild
  Log:
  Add mod_wsgi to IUSE to fix working problems with mod_wsgi.
  
  (Portage version: 2.1.10.3/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  dev-python/pymongo/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pymongo/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	11 Apr 2011 12:40:40 -0000	1.1
+++ metadata.xml	6 Jul 2011 14:30:30 -0000	1.2
@@ -16,4 +16,7 @@
 	for working with MongoDB, and is the recommended way to work 
 	with MongoDB from Python.
 	</longdescription>
+	<use>
+		<flag name="mod_wsgi">Disable the C extension to work with mod_wsgi.</flag>
+	</use>
 </pkgmetadata>



1.4                  dev-python/pymongo/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog	12 May 2011 09:22:56 -0000	1.3
+++ ChangeLog	6 Jul 2011 14:30:30 -0000	1.4
@@ -1,18 +1,10 @@
 # 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.3 2011/05/12 09:22:56 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.4 2011/07/06 14:30:30 ultrabug Exp $
 
-*pymongo-1.11 (12 May 2011)
+*pymongo-1.11-r1 (06 Jul 2011)
 
-  12 May 2011; Ultrabug <ultrabug@gentoo.org> +pymongo-1.11.ebuild:
-  Version bump, thanks to Mohamed Elmi Guessod for spotting.
-
-  26 Apr 2011; Ultrabug <ultrabug@gentoo.org> pymongo-1.10.1.ebuild:
-  Add a warning for test phase, wrt #364671.
-
-*pymongo-1.10.1 (11 Apr 2011)
-
-  11 Apr 2011; Ultrabug <ultrabug@gentoo.org> +pymongo-1.10.1.ebuild,
-  +metadata.xml:
-  initial import from sunrise, ebuild written by Johan Bergström.
+  06 Jul 2011; Ultrabug <ultrabug@gentoo.org> +pymongo-1.11-r1.ebuild,
+  metadata.xml:
+  Add mod_wsgi to IUSE to fix working problems with mod_wsgi.
 



1.1                  dev-python/pymongo/pymongo-1.11-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/pymongo-1.11-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pymongo/pymongo-1.11-r1.ebuild?rev=1.1&content-type=text/plain

Index: pymongo-1.11-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-1.11-r1.ebuild,v 1.1 2011/07/06 14:30:30 ultrabug Exp $

EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
DISTUTILS_SRC_TEST="nosetests"

inherit distutils

DESCRIPTION="Python driver for MongoDB"
HOMEPAGE="http://github.com/mongodb/mongo-python-driver"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc mod_wsgi test"

RDEPEND="|| ( dev-lang/python:2.7 dev-lang/python:2.6 dev-lang/python:2.5 >=dev-python/celementtree-1.0.5 )"
DEPEND="${RDEPEND}
	dev-python/setuptools
	doc?  ( dev-python/sphinx )
	test? ( dev-db/mongodb )"

pkg_setup() {
	if use test; then
		ewarn "WARNING: You need a running instance of mongod in order to test this package !"
		sleep 3
	fi
}

src_compile() {
	distutils_src_compile

	if use doc; then
		mkdir html
		sphinx-build doc html || die "building docs failed"
	fi
}

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
	local myopts=""
	use mod_wsgi && myopts="--no_ext"

	distutils_src_install ${myopts}

	if use doc; then
		dohtml -r html/* || die "Error installing docs"
	fi
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-06 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06 14:30 [gentoo-commits] gentoo-x86 commit in dev-python/pymongo: metadata.xml ChangeLog pymongo-1.11-r1.ebuild Alexys Jacob (ultrabug)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox