diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2007-05-31 16:32:20 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2007-05-31 16:32:20 +0000 |
commit | e190b568908721c256bb9c6da5e2db7baf65c042 (patch) | |
tree | 457ae43e0979a3f3b7a21e569447fd57746e7944 /dev-python/python-urljr | |
parent | Add ~x86-fbsd keyword. (diff) | |
download | gentoo-2-e190b568908721c256bb9c6da5e2db7baf65c042.tar.gz gentoo-2-e190b568908721c256bb9c6da5e2db7baf65c042.tar.bz2 gentoo-2-e190b568908721c256bb9c6da5e2db7baf65c042.zip |
Initial commit.
(Portage version: 2.1.2.8)
Diffstat (limited to 'dev-python/python-urljr')
-rw-r--r-- | dev-python/python-urljr/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/python-urljr/Manifest | 20 | ||||
-rw-r--r-- | dev-python/python-urljr/files/digest-python-urljr-1.0.1 | 3 | ||||
-rw-r--r-- | dev-python/python-urljr/files/python-urljr-1.0.1-gentoo-test_fetchers.patch | 11 | ||||
-rw-r--r-- | dev-python/python-urljr/metadata.xml | 6 | ||||
-rw-r--r-- | dev-python/python-urljr/python-urljr-1.0.1.ebuild | 32 |
6 files changed, 83 insertions, 0 deletions
diff --git a/dev-python/python-urljr/ChangeLog b/dev-python/python-urljr/ChangeLog new file mode 100644 index 000000000000..be9c2714ce62 --- /dev/null +++ b/dev-python/python-urljr/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-python/python-urljr +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-urljr/ChangeLog,v 1.1 2007/05/31 16:32:20 pythonhead Exp $ + +*python-urljr-1.0.1 (31 May 2007) + + 31 May 2007; Rob Cakebread <pythonhead@gentoo.org> + +files/python-urljr-1.0.1-gentoo-test_fetchers.patch, + +python-urljr-1.0.1.ebuild: + Initial commit. + diff --git a/dev-python/python-urljr/Manifest b/dev-python/python-urljr/Manifest new file mode 100644 index 000000000000..46687d70f1ac --- /dev/null +++ b/dev-python/python-urljr/Manifest @@ -0,0 +1,20 @@ +AUX python-urljr-1.0.1-gentoo-test_fetchers.patch 540 RMD160 df94e6e997c84503dcfc81da28f547acfe54d99b SHA1 90bc3d8653b1037afc1574091c0c8037af6b6d57 SHA256 e5abd501e27df586d736a477ee064e4a5807f61032e105e6e18bc3b88522861d +MD5 aa78e3f621e22a9b78205f922ee34e2e files/python-urljr-1.0.1-gentoo-test_fetchers.patch 540 +RMD160 df94e6e997c84503dcfc81da28f547acfe54d99b files/python-urljr-1.0.1-gentoo-test_fetchers.patch 540 +SHA256 e5abd501e27df586d736a477ee064e4a5807f61032e105e6e18bc3b88522861d files/python-urljr-1.0.1-gentoo-test_fetchers.patch 540 +DIST python-urljr-1.0.1.tar.gz 16570 RMD160 e8759f267b28b5cc4c341f0db6db41d1502a776b SHA1 272935670b9ab61e8378f980d20df7e817aae231 SHA256 723bc0c1b58d34ca41b9d3ec57ba5e9cb16283e49d8ac152d455476cc249bff6 +EBUILD python-urljr-1.0.1.ebuild 755 RMD160 6b8398e83b63f3c1a49c37c0b6716dfeebe93123 SHA1 db51b173f6a85ca4da508828e4ed077799cc8e3c SHA256 ddcb5010bcaa70fc422ab1ae0de3b0b11311bae2c4ef688038a27bbbdcf0952e +MD5 f0e7e5195394491df91f6a72df2c99e6 python-urljr-1.0.1.ebuild 755 +RMD160 6b8398e83b63f3c1a49c37c0b6716dfeebe93123 python-urljr-1.0.1.ebuild 755 +SHA256 ddcb5010bcaa70fc422ab1ae0de3b0b11311bae2c4ef688038a27bbbdcf0952e python-urljr-1.0.1.ebuild 755 +MISC ChangeLog 317 RMD160 97ac25c19f3ccd837d08e2ac9b3ffa792bc75063 SHA1 c3966168e75eae97a2f8cc4700e68084fc0582ab SHA256 ca946eb879299bf74602234082f54154efcfa345649c6858cb8948010dfe78e9 +MD5 4853630fe29f174df6d01d65cb652aa8 ChangeLog 317 +RMD160 97ac25c19f3ccd837d08e2ac9b3ffa792bc75063 ChangeLog 317 +SHA256 ca946eb879299bf74602234082f54154efcfa345649c6858cb8948010dfe78e9 ChangeLog 317 +MISC metadata.xml 220 RMD160 48799d68a63eeae1a32bc7bfc8a1a6865f176f03 SHA1 cb801d6ab7bf0585e6bc9cf92176f99932088b10 SHA256 81d2720b1c773403199857cf2859f92c2921f8dfa9631bb00812ffb0f9641b79 +MD5 2726409538593299f87a805b9ee444d3 metadata.xml 220 +RMD160 48799d68a63eeae1a32bc7bfc8a1a6865f176f03 metadata.xml 220 +SHA256 81d2720b1c773403199857cf2859f92c2921f8dfa9631bb00812ffb0f9641b79 metadata.xml 220 +MD5 8b6d9d1aa84156a67b0a2db5dd65118c files/digest-python-urljr-1.0.1 253 +RMD160 3d3cbf2d74bc6827a27abb0c52850019d1310219 files/digest-python-urljr-1.0.1 253 +SHA256 ae88e1b9b182ed5cdc3795e2beb83177f50336f395b044ddebe129d8cf267d65 files/digest-python-urljr-1.0.1 253 diff --git a/dev-python/python-urljr/files/digest-python-urljr-1.0.1 b/dev-python/python-urljr/files/digest-python-urljr-1.0.1 new file mode 100644 index 000000000000..14962a6f742d --- /dev/null +++ b/dev-python/python-urljr/files/digest-python-urljr-1.0.1 @@ -0,0 +1,3 @@ +MD5 0b120d08dc4538ed5c4ee5c77447b865 python-urljr-1.0.1.tar.gz 16570 +RMD160 e8759f267b28b5cc4c341f0db6db41d1502a776b python-urljr-1.0.1.tar.gz 16570 +SHA256 723bc0c1b58d34ca41b9d3ec57ba5e9cb16283e49d8ac152d455476cc249bff6 python-urljr-1.0.1.tar.gz 16570 diff --git a/dev-python/python-urljr/files/python-urljr-1.0.1-gentoo-test_fetchers.patch b/dev-python/python-urljr/files/python-urljr-1.0.1-gentoo-test_fetchers.patch new file mode 100644 index 000000000000..5a451e4a5600 --- /dev/null +++ b/dev-python/python-urljr/files/python-urljr-1.0.1-gentoo-test_fetchers.patch @@ -0,0 +1,11 @@ +--- urljr/test/test_fetchers.py.orig 2007-05-31 09:16:31.000000000 -0700 ++++ urljr/test/test_fetchers.py 2007-05-31 09:17:47.000000000 -0700 +@@ -8,6 +8,8 @@ + # XXX: make these separate test cases + + def failUnlessResponseExpected(expected, actual): ++ expected.final_url = expected.final_url.replace("localhost", "127.0.0.1") ++ actual.final_url = actual.final_url.replace("localhost", "127.0.0.1") + assert expected.final_url == actual.final_url + assert expected.status == actual.status + assert expected.body == actual.body diff --git a/dev-python/python-urljr/metadata.xml b/dev-python/python-urljr/metadata.xml new file mode 100644 index 000000000000..7b4c64f109b6 --- /dev/null +++ b/dev-python/python-urljr/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription>JanRain's URL Utilities</longdescription> +</pkgmetadata> diff --git a/dev-python/python-urljr/python-urljr-1.0.1.ebuild b/dev-python/python-urljr/python-urljr-1.0.1.ebuild new file mode 100644 index 000000000000..3de68d116cf4 --- /dev/null +++ b/dev-python/python-urljr/python-urljr-1.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-urljr/python-urljr-1.0.1.ebuild,v 1.1 2007/05/31 16:32:20 pythonhead Exp $ + + +NEED_PYTHON=2.3 +PYTHON_MODNAME="urljr" + +inherit distutils eutils + + +DESCRIPTION="JanRain's URL Utilities" +HOMEPAGE="http://www.openidenabled.com/openid/libraries/python/" +SRC_URI="http://www.openidenabled.com/resources/downloads/python-openid/${P}.tar.gz" +LICENSE="LGPL-2.1" +KEYWORDS="~x86" +SLOT="0" +IUSE="curl test" +RDEPEND="curl? ( >=dev-python/pycurl-7.15.1 ) + test? ( >=dev-python/pycurl-7.15.1 )" + +src_unpack() { + unpack ${A} + cd ${S} + #Test fails if it finds 'localhost' instead of '127.0.0.1' + epatch ${FILESDIR}/${P}-gentoo-test_fetchers.patch +} + +src_test() { + PYTHONPATH=. "${python}" admin/runtests || die "tests failed" +} + |