# ChangeLog for dev-python/python-openid
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v 1.13 2010/02/08 08:49:17 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/ChangeLog,v 1.14 2010/06/28 20:04:00 arfrever Exp $
+
+*python-openid-2.2.5 (28 Jun 2010)
+
+ 28 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -python-openid-2.2.4.ebuild, +python-openid-2.2.5.ebuild:
+ Version bump.
08 Feb 2010; Peter Volkov <pva@gentoo.org> python-openid-2.2.4.ebuild:
Add inherit eutils for epatch.
AUX python-openid-2.0.0-gentoo-test_fetchers.diff 566 RMD160 91cbdce39271f96f7ce3a913533be65150b6bf4b SHA1 dc63b2a9f340ebcc4c82cd5516be2d697e11ba8b SHA256 f1628b4743a74cc5bc354531bb58888498d1d46ec802ee5b26f1761356912908
-DIST python-openid-2.2.4.tar.bz2 320342 RMD160 91f692c7a90e0de0bd7339bce97a42379b8923c1 SHA1 45599d46ebb36bf4cbf617622abe736c59ccb8e1 SHA256 23052a7d0bc6b7af71df29e1315b9a047ffa84adc705a3c65024fbe1661608b3
-EBUILD python-openid-2.2.4.ebuild 1485 RMD160 885fef91ef385bdcee1a3424c5325f215fe61b5b SHA1 6829c3c282170dc5be32c71c5b6ca08910037191 SHA256 e6a0db29195fb0feb3ce4004f4b637d12a595ab66ff7073560b95955908c4e5f
-MISC ChangeLog 2856 RMD160 78beb132095c743bc89f9d198cce8b81e61404e8 SHA1 705e79044cbd209bbae6350338186a14334293a2 SHA256 fabd0baad0254e4b3d78e1532cb7cecff542ac187f33b48bee5fe2b1575dda29
+DIST python-openid-2.2.5.tar.gz 300524 RMD160 6ba011970c99ac46141655d32d82e633e4bd408d SHA1 add5a399576afd69c8368a7f6ba83287f3a62514 SHA256 cb518b0804ccfa859d143753d33f49204c7d994cb08d1a2736fb841a1e7722e3
+EBUILD python-openid-2.2.5.ebuild 1574 RMD160 8e3cc214be3f68f7c404db4994107e367f4c4032 SHA1 d60b612baa1bed33d890f49a053b53b9d3036dbb SHA256 b374334987a1bf576f182a78a7667536a3f1a6fc5640caf6829c51de5e2a10ae
+MISC ChangeLog 3047 RMD160 befceccb1079efb69d42fffe9e938451cd7f4d1e SHA1 4659709e82a142e0952743d37b6798ac2bab7a21 SHA256 be0392165deb724d30d939911e1c87411eebafa085bad931b74579bb2cb6eda2
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-openid/python-openid-2.2.5.ebuild,v 1.1 2010/06/28 20:04:00 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+inherit distutils eutils
+
+DESCRIPTION="OpenID support for servers and consumers."
+HOMEPAGE="http://www.openidenabled.com/openid/libraries/python/ http://pypi.python.org/pypi/python-openid"
+# Downloaded from http://github.com/openid/python-openid/downloads
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples mysql postgres sqlite"
+
+RDEPEND="mysql? ( >=dev-python/mysql-python-1.2.2 )
+ postgres? ( dev-python/psycopg )
+ sqlite? ( || ( dev-lang/python[sqlite] >=dev-python/pysqlite-2 ) )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/openid-python-openid-b666238"
+
+PYTHON_MODNAME="openid"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # Patch to fix confusion with localhost/127.0.0.1
+ epatch "${FILESDIR}/${PN}-2.0.0-gentoo-test_fetchers.diff"
+
+ # Disable broken tests from from examples/djopenid.
+ sed -e "s/django_failures =.*/django_failures = 0/" -i admin/runtests || die "sed admin/runtests failed"
+}
+
+src_test() {
+ # Remove test that requires running db server.
+ sed -e '/storetest/d' -i admin/runtests
+
+ testing() {
+ "$(PYTHON)" admin/runtests
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}