diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/python-urljr |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-urljr')
-rw-r--r-- | dev-python/python-urljr/Manifest | 6 | ||||
-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 | 9 | ||||
-rw-r--r-- | dev-python/python-urljr/python-urljr-1.0.1-r1.ebuild | 27 |
4 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/python-urljr/Manifest b/dev-python/python-urljr/Manifest new file mode 100644 index 000000000000..ec7ecdcd245d --- /dev/null +++ b/dev-python/python-urljr/Manifest @@ -0,0 +1,6 @@ +AUX python-urljr-1.0.1-gentoo-test_fetchers.patch 540 SHA256 e5abd501e27df586d736a477ee064e4a5807f61032e105e6e18bc3b88522861d SHA512 bb07e8adabdc9d03265d2f651c5c02d62227dddd85905daacc9986f119a7ea7db2743242d79df8cfc35f44ab1f90cbe9199c6457b110d97a8861d84aa92e5365 WHIRLPOOL 92cc9c2bd1d59d8e772009ab99a1dac2552b9814ed123c0e000414d5c29834c940efe06b402932bea8ebea664c3cf4d6112c27b97a7cd96c8be37b37f7229ca5 +DIST python-urljr-1.0.1.tar.gz 16570 SHA256 723bc0c1b58d34ca41b9d3ec57ba5e9cb16283e49d8ac152d455476cc249bff6 SHA512 fff9e5f557ff8fa88e122f535134320043f9a14fd8048234bef762af666f4c088d50c6bc8dd3d173154e80eb8e076f0fb6749e39dd9c6f88c7ab763314dad0ad WHIRLPOOL 5919e01df94373ad98b3fa2622ddf45b9f7abeadbc8b8ace0dc4f8b38ef5be85b43c696cf349f815f6273811bb65940b339667aefcccba8ae9aff5364afb2a20 +EBUILD python-urljr-1.0.1-r1.ebuild 730 SHA256 beeee381e4fbf04e4e6e469bd7b56b7512d4ac2006cf12910a8937b54492c20f SHA512 92643bf7047829ab154be59973ad41fbab0fc82b76b10fd122d402d59d3cb9c7e34527783a3856975fa577c23a0e7c1fca69ba1a5fdfb4f7854d34040cdf4491 WHIRLPOOL 170487c78b07f227ab81f4b38dc5012ba05326dd14bfa5fcab268ac35ab393be869409d8637eeb85649462a433f680d148884cd7be66545ddd0f50b4377d3f84 +MISC ChangeLog 2506 SHA256 863f4abaf7bf42fb59354766669ed5672d2a7820d95654d4ce8da3b954d94826 SHA512 299db99a4a7202b0a48bf3b6319716f6b3873b3c593db2b6aef198822d0a3ea48f1ddae28b9746c99a62cc3ecab07253758fc53a28caee6084c2d7d5d6cfc7e1 WHIRLPOOL 5796f3bbf4952d963a3882d294e8f02e891af2fbd212d033832a21295049c15f55138431a9b2220bdadc113b7068ef0d9b7c3bd57ecd1f54e78e677c809f09ee +MISC ChangeLog-2015 850 SHA256 a7d5aca8083438fabef680bbcabea86635c23a5e20c66f32be780af9dc7fc0cc SHA512 a8bfac881a960b5d3beff3bb29aa855c5bad30cb43dd08e091d408080f1907a0f0b51abfb76f987690ff5448be0b0437bc71a1419149d7132e754a9863e76ddc WHIRLPOOL 64954b9d7ae23653ac8a0828814b5ac733448386af29fab7e0616fcaded5e13418fd3aafb0815e717f4907778a45c63cfbef7f77b9f27ae8d2deb62358e9f29c +MISC metadata.xml 300 SHA256 fdef4b82bf250b7ec5c4b2a50cae3cee1aa4a0a020b490440aa63dfcc345ba25 SHA512 6968c0889e20fc4e26fc8626d9dcc25a97e6c755b323c181291bafcb5186e519f48e52664e01b4e14cc49561af1fff365f90bcada9c876ae65487ce81639fc76 WHIRLPOOL 6949403b0c80400be05b15a43bcf97280b4c8d77393e3d118ba1d66472250b65b7a3c6df426dfc62a7f22b8f0fcf72661e81956af9ec490c7d9f66b850a89377 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..7dddf61089b2 --- /dev/null +++ b/dev-python/python-urljr/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription>JanRain's URL Utilities</longdescription> +</pkgmetadata> diff --git a/dev-python/python-urljr/python-urljr-1.0.1-r1.ebuild b/dev-python/python-urljr/python-urljr-1.0.1-r1.ebuild new file mode 100644 index 000000000000..65ba00ef80e3 --- /dev/null +++ b/dev-python/python-urljr/python-urljr-1.0.1-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +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" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="curl test" + +RDEPEND="curl? ( >=dev-python/pycurl-7.15.1[${PYTHON_USEDEP}] )" +DEPEND="" + +REQUIRED_USE="test? ( curl )" +# test fails if it finds 'localhost' instead of '127.0.0.1' +PATCHES=( "${FILESDIR}/${P}-gentoo-test_fetchers.patch" ) + +python_test() { + PYTHONPATH=. "${PYTHON}" admin/runtests || die "tests failed" +} |