diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-02-10 05:27:36 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-02-10 05:27:36 +0000 |
commit | 6facc005f347667f88f35417c2fa45fd25d215a7 (patch) | |
tree | 2af296a4631d9a12f009fd0e5116b2dc771f2b90 /dev-python/logilab-common | |
parent | Update HOMEPAGE (bug #456378). (diff) | |
download | gentoo-2-6facc005f347667f88f35417c2fa45fd25d215a7.tar.gz gentoo-2-6facc005f347667f88f35417c2fa45fd25d215a7.tar.bz2 gentoo-2-6facc005f347667f88f35417c2fa45fd25d215a7.zip |
Reinstated patch to fix locale/utf8 in test, py3 specific, cited and tested in Bug #454402
Diffstat (limited to 'dev-python/logilab-common')
-rw-r--r-- | dev-python/logilab-common/Manifest | 13 | ||||
-rw-r--r-- | dev-python/logilab-common/files/logilab-common-0.59.0-utf8-test.patch | 27 | ||||
-rw-r--r-- | dev-python/logilab-common/logilab-common-0.59.0.ebuild | 5 |
3 files changed, 32 insertions, 13 deletions
diff --git a/dev-python/logilab-common/Manifest b/dev-python/logilab-common/Manifest index 117b2f709a28..4ef3be279f94 100644 --- a/dev-python/logilab-common/Manifest +++ b/dev-python/logilab-common/Manifest @@ -1,7 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX logilab-common-0.59.0-syntax.patch 520 SHA256 77a17ccefe982a2cc64a39b678b9b75253e19ad4f4e9550d7b360c4b3fc5d41a SHA512 deb6d7e4b44dfa8092bd531362a64dfb51fee841e4b4123fb18a7c4cc4f6ce41d222be508c73a2aa62cc8cffd347febd04a648b939b510740316a3f668e3f435 WHIRLPOOL 1840b91834bda4eee3d96e85a6a85d6486a219a82904b606fa29c2d6b4807ef01826e990f1fac2a00f5a03d02fdac16f80a426b2fcfa2707045ed90119fd649d +AUX logilab-common-0.59.0-utf8-test.patch 1198 SHA256 d4cc82d7430efb8415c45cd0d85fa7cc37175627c6f430720f03647d2c5990e5 SHA512 427d5ea7068f43d92c15f21f353aca261c0d1672c0fc0597152db2fbe3eb73ea70d1fbd71817037908714f2a0d4131e015ebbea5f2ddcfef3b1b9391d17d7c9d WHIRLPOOL 6ec162a5514167dd76fd9762ebd2af3756d4a23bf348b4e6a5931660d58ed2c69e74f9173363ea3d2453172cc3da82d2475fe44bdb7f91ab95ebf7c92ce0be5c DIST logilab-common-0.55.2.tar.gz 182524 SHA256 3242039f4e0732b510e03ef638f1ea43e65ddb7154164a9bda02514ee514f99a SHA512 bbc5b3ee84e53a20ddd04be9703022ae73b163537c9a9d812ec4c49fdfdfa9758c3a45e065cb8fb693cca2deb1dfbd032493923ab3000f59d88945139f95719a WHIRLPOOL 8d5f6c62ebf5e5ced1902f4dfed457b94aa879b92ceb854ed715b0d2975a82ebefb38f64bf4f1ff6bf7a57ae63ec4a56f867782d1e0739ed1ee35474e3490b92 DIST logilab-common-0.57.1.tar.gz 181975 SHA256 102c4860cad1ffaee98e6746ad89de4e5c40b63a569d4e131379b84c4907ed0a SHA512 84d4be823fbbff0944a6f9162dc365feea6e6116d43c2c5a65726a4e7347c771fbecaf9a4d8d81c3cdd7f79ab9a6697ab1def0bf1f4219cb947c8b1a7012c023 WHIRLPOOL 95914ed46451447f2b023fc4b86bc8c27bc2d9a99c2b7e73da6ea704877a8ed761c56cf4562afccffb6d6b7da0853cc5575922c790de7f81438a0c6c343286b0 DIST logilab-common-0.57.2.tar.gz 182851 SHA256 feb56645bf944cbbb4d193e77d5780463084c0d2b50370885054f9144e0da86e SHA512 cbc4f96bced643b8ad0d49d06124bce68bcfbff04195c71b6ab9057dfc836f9b509f31d97c4ff35b2ccaba98a01dc6de095bc125ed37c20cbc378cb5d8d35646 WHIRLPOOL 13d4090e829d575ba438de260f014c5352bc5745f96209d2df54e580c10daf7db9ec5f1afb0d406614844b9fba347792b6fe7e5d66705b53e747336c54d05296 @@ -15,13 +13,6 @@ EBUILD logilab-common-0.58.1-r1.ebuild 2654 SHA256 e7f56d5e5ebdd4a654a11e53a4818 EBUILD logilab-common-0.58.1.ebuild 2099 SHA256 4a117044779e7de41aa23b420c05f42ae64c8cfd593473897f8ff8f4d2ee1d9b SHA512 ea3b1c25c7dcb62859209f3b93374a58a7f84d502ce72fb22753099ad0295919af4ec45f5f779c7feb152b38669016c67ac11fa6a38c63cf1482b697dc6dbfde WHIRLPOOL 64435bf497d7bd92e0a59c34fb3809f4339e176179a830a044aad007b0e20018d110a4d31a8c2c18185cafea76fbcd77b626274f01c3deffb8a013b3cb744f7a EBUILD logilab-common-0.58.3-r1.ebuild 2639 SHA256 2f4a816d5d2842c8a1b58dc899f6a9bcc4bb5f1836dcc7438af0f825cecb8bbd SHA512 1ed2258213a04a216f8c5c2a095e39eeaa5bdd5afd5152a6cdfb42f20c1ceb9d1a4e30d99728fc8391def76021d493950bb80acc5e049ebda37c2e9e9f7b7489 WHIRLPOOL ca936c0cfc1cf633e29e2204a97b98eb8e047f65e11a9819d6e6cbc3f5ed1123116d58c6c86c6d8f02f7bc3d66f3d83d48f7baaec49c7af387d7568c4015eae3 EBUILD logilab-common-0.58.3.ebuild 2651 SHA256 25b8be1c03f29cff9f2f53dafa38972db5b639e5de0f500593760eb998cf4ea5 SHA512 f1cef916c5e23768e198434c6169912b0870f4291aeb593367ff03e99712a556a0c1bd47738250a9dcf9ec56f2e5568c776361124595e58f8c2dc9d7ec15855f WHIRLPOOL a63d479dd6e9f052a7f9ecd884ba8a3c34610c9f179513b8eb331a972a639543dde5aaec982d4b5053c5c8b9573b9e8466897e063f64a329f721d1c13148eb9a -EBUILD logilab-common-0.59.0.ebuild 2737 SHA256 0eda8914a807e74341bf28fe70730aaa1b5eb8deb586d1af782086798be94c7b SHA512 ab2206ff6ec608965e44cd5ebe080b339222e87ebd0821d6b8eb6790b65bc2e8d544c1140b3c4ea18208db36fa573e6343e8eba9a59bfb2f590f0cc6d6ac93e2 WHIRLPOOL adbb7e177fcf302338e14ed13ebc12d1173e68db8a14f3b896eb87c4f01b7272ab68e8e028e9e8a0910c51891f5f4f2154c6833130163ca4926c370b3ce1a284 +EBUILD logilab-common-0.59.0.ebuild 2776 SHA256 55d5b5680490657ad847803dfe8991eba1fac249fc778721f0a5fcd610490f2f SHA512 fd3e5e42aef44d91437d5785eac54bbdbcf1fc9794f8792b92fd6b8bfc55b8c5e8521735f786c13de1e397902d6ad447b02cb5f2d8a3b95b28c6599845fe1cda WHIRLPOOL 5fd01c432c2f6c25a8c763214712ea8178336d1d80d6579c3699aa8a239a7446bf42ec9f959a71711f5657733a16bd30e6ef445cc530f3384bfadcd5553c27c8 MISC ChangeLog 19686 SHA256 a9786b514515d2fda4e3c4ec20c5c92e664250be1d532b870061d3d75fb6cf11 SHA512 0dfd3c377e4c6fc20c09f0b145ff8690bcb6eab4d091267a1efa6a736adfa98d0ec428ad961378b80285b96dc248d01cb9201279d357f3b63df4a91440486e9a WHIRLPOOL a9c6845f17c55ddf55ac43b84d82d5e3f12e77c054edc280b51332cb3d9ad8f7929c9a0abec5e1818ac6d5e54bd9c8c300ca7903826effdbb3c726d1d8236747 MISC metadata.xml 237 SHA256 523ae42d51ae087b615a63e6b30e3c6c1d3910f2ccc0c03685d6939756660c16 SHA512 74f7a5fc9ffe80a474f05ed5ab7fe94511ea85f65325d3f16c5cb9af5b072b9aaab5ddf99464e34d12a47dd4861a76e16486fc8815a502036530ed74c73047db WHIRLPOOL d95ffbf06f4021d81c7b5f17bc1c240e47db7a3344526c053ae504d8442658d93ffc13d9f89e91991d6327fc92b31bd9499a9ec3f57830dd9834ca3b349b1e1f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iF4EAREIAAYFAlEWq/QACgkQC77qH+pIQ6Q5MwEAwYf793UUWQ+ETd3Ndw+QoOOn -WAlVNkQf2j0rCMwPjz4BAKmCistbX/pI6tvXirqrQUstZkiZbleDkr7hTWDxmDe/ -=8co5 ------END PGP SIGNATURE----- diff --git a/dev-python/logilab-common/files/logilab-common-0.59.0-utf8-test.patch b/dev-python/logilab-common/files/logilab-common-0.59.0-utf8-test.patch new file mode 100644 index 000000000000..0896e1fa0b0c --- /dev/null +++ b/dev-python/logilab-common/files/logilab-common-0.59.0-utf8-test.patch @@ -0,0 +1,27 @@ +diff -ur logilab-common-0.59.0.orig/test/unittest_umessage.py logilab-common-0.59.0/test/unittest_umessage.py +--- test/unittest_umessage.py 2013-01-24 01:42:03.000000000 +0800 ++++ test/unittest_umessage.py 2013-02-10 00:53:58.431767641 +0800 +@@ -21,15 +21,20 @@ + + from logilab.common.testlib import TestCase, unittest_main + from logilab.common.umessage import UMessage, decode_QP ++import sys, io + + DATA = join(dirname(abspath(__file__)), 'data') + + class UMessageTC(TestCase): + + def setUp(self): +- msg1 = email.message_from_file(open(join(DATA, 'test1.msg'))) +- self.umessage1 = UMessage(msg1) +- msg2 = email.message_from_file(open(join(DATA, 'test2.msg'))) ++ if sys.version_info >= (3, 2): ++ msg1 = email.message_from_file(io.open(join(DATA, 'test1.msg'), encoding='utf8')) ++ msg2 = email.message_from_file(io.open(join(DATA, 'test2.msg'), encoding='utf8')) ++ else: ++ msg1 = email.message_from_file(open(join(DATA, 'test1.msg'))) ++ msg2 = email.message_from_file(open(join(DATA, 'test2.msg'))) ++ self.umessage1 = UMessage(msg1) + self.umessage2 = UMessage(msg2) + + def test_get_subject(self): diff --git a/dev-python/logilab-common/logilab-common-0.59.0.ebuild b/dev-python/logilab-common/logilab-common-0.59.0.ebuild index 8d5f933206a4..962f5fb14c45 100644 --- a/dev-python/logilab-common/logilab-common-0.59.0.ebuild +++ b/dev-python/logilab-common/logilab-common-0.59.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.0.ebuild,v 1.5 2013/02/09 20:05:07 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.0.ebuild,v 1.6 2013/02/10 05:27:36 idella4 Exp $ EAPI=5 # broken with python3.3, bug #449276 @@ -32,7 +32,8 @@ DEPEND="${RDEPEND} doc? ( dev-python/epydoc )" PATCHES=( - "${FILESDIR}"/${P}-syntax.patch + "${FILESDIR}"/${P}-syntax.patch \ + "${FILESDIR}"/${P}-utf8-test.patch ) python_prepare_all() { |