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 | 0ebe3291efa48f255a8b85b899c4cf62fa456ad1 (patch) | |
tree | f90716a3d77d4c0ef3ea6aa24a0df2d585429169 | |
parent | Add ~x86-fbsd keyword. (diff) | |
download | historical-0ebe3291efa48f255a8b85b899c4cf62fa456ad1.tar.gz historical-0ebe3291efa48f255a8b85b899c4cf62fa456ad1.tar.bz2 historical-0ebe3291efa48f255a8b85b899c4cf62fa456ad1.zip |
Initial commit.
Package-Manager: portage-2.1.2.8
-rw-r--r-- | dev-python/python-urljr/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/python-urljr/Manifest | 30 | ||||
-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, 93 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..1e7e21f28859 --- /dev/null +++ b/dev-python/python-urljr/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 870 RMD160 5f7ee52fac45d3da71b23f950a51fc1b73a54a2e SHA1 60ff052d2aaa78e3594e30cfcc7b3498b5d7eaf7 SHA256 fe9ba388aa2a2a1de685f344b856f4c8bd5ce5214e8a857af5fd241f123d3757 +MD5 8216b8197ebae549f07997c37c52e23c python-urljr-1.0.1.ebuild 870 +RMD160 5f7ee52fac45d3da71b23f950a51fc1b73a54a2e python-urljr-1.0.1.ebuild 870 +SHA256 fe9ba388aa2a2a1de685f344b856f4c8bd5ce5214e8a857af5fd241f123d3757 python-urljr-1.0.1.ebuild 870 +MISC ChangeLog 416 RMD160 2bb946ff0647d5f88dccc1a47d009fe1fc00548e SHA1 04ba89d001686085ee460b0f4818428c55019976 SHA256 567d35c3ff043173e0927d3117a75dca05a7afefaeb73a0721de3e5c710f7e7b +MD5 5f31db5518e7bc039359785997380572 ChangeLog 416 +RMD160 2bb946ff0647d5f88dccc1a47d009fe1fc00548e ChangeLog 416 +SHA256 567d35c3ff043173e0927d3117a75dca05a7afefaeb73a0721de3e5c710f7e7b ChangeLog 416 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.4 (GNU/Linux) + +iD8DBQFGXvij96cFzIajWwkRAuRCAJ45XBtClpa9ds1+qR8Gi+VOtL9JiwCgtgvS +SQZsb4iI6xi1TVxmkpHWTw4= +=+IAq +-----END PGP SIGNATURE----- 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" +} + |