summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-08-05 03:53:12 +0000
committerMike Gilbert <floppym@gentoo.org>2012-08-05 03:53:12 +0000
commitea63d84dd4012de5426185f2963baffcf2932ce7 (patch)
tree78aefe8973a08d5bbd3e9e8215937d03cb211f72 /dev-python/sphinxcontrib-googleanalytics
parentVersion bump, remove 6.1.5 because it's somewhat broken and unsupported for K... (diff)
downloadhistorical-ea63d84dd4012de5426185f2963baffcf2932ce7.tar.gz
historical-ea63d84dd4012de5426185f2963baffcf2932ce7.tar.bz2
historical-ea63d84dd4012de5426185f2963baffcf2932ce7.zip
Fix unicode issue in setup.py for bug 429914.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'dev-python/sphinxcontrib-googleanalytics')
-rw-r--r--dev-python/sphinxcontrib-googleanalytics/ChangeLog6
-rw-r--r--dev-python/sphinxcontrib-googleanalytics/Manifest15
-rw-r--r--dev-python/sphinxcontrib-googleanalytics/files/setup.py.utf-8.patch16
-rw-r--r--dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1.ebuild9
4 files changed, 41 insertions, 5 deletions
diff --git a/dev-python/sphinxcontrib-googleanalytics/ChangeLog b/dev-python/sphinxcontrib-googleanalytics/ChangeLog
index 87cda6fca25c..78e1002f839f 100644
--- a/dev-python/sphinxcontrib-googleanalytics/ChangeLog
+++ b/dev-python/sphinxcontrib-googleanalytics/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/sphinxcontrib-googleanalytics
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-googleanalytics/ChangeLog,v 1.1 2012/06/28 19:36:52 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-googleanalytics/ChangeLog,v 1.2 2012/08/05 03:53:12 floppym Exp $
+
+ 05 Aug 2012; Mike Gilbert <floppym@gentoo.org> +files/setup.py.utf-8.patch,
+ sphinxcontrib-googleanalytics-0.1.ebuild:
+ Fix unicode issue in setup.py for bug 429914.
*sphinxcontrib-googleanalytics-0.1 (28 Jun 2012)
diff --git a/dev-python/sphinxcontrib-googleanalytics/Manifest b/dev-python/sphinxcontrib-googleanalytics/Manifest
index 7632ee6d1480..c31339c8c7fb 100644
--- a/dev-python/sphinxcontrib-googleanalytics/Manifest
+++ b/dev-python/sphinxcontrib-googleanalytics/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX setup.py.utf-8.patch 409 SHA256 8d6b86bb22521cdeea772fea086f868dd9d3051580a9f1b987628af9890a9447 SHA512 eaaef102cd6f25096e895a37bee9711c951f1e633b1850ba16d76a803c227cdeca7a2c640d2ab9b639e21e93ee2701423e000ee283d4caf686ebccf642ae21d6 WHIRLPOOL 0448a36ba1445c64e0d158751e0b07ace5cf8a0a616fae42ef4ef32a37bc69ac8a31a0cb937bca76205baf949e66b348f45058d18b664ea25056017dcb9b0c8e
DIST sphinxcontrib-googleanalytics-0.1.tar.gz 2892 SHA256 92b7d74a45defb01e7d29e86fd8206eba42c896b2272cbd1b4b4f6a7d178d5a8 SHA512 fdec9108f9c1d86c6c59cd2bcfa55d82cd5cd48aca5b7aecec7734f3cd29b0f6c080aad7b7009148e3d95b7cf80af38ffb6ba230879495f3c1488ddb661fbf48 WHIRLPOOL 32115511eb21cdb7a202b9b63a4568f31f64a9d98d4dfd25cd6d15628cbd7873d8666f9969d25a3db569f25389d43028214d7d805ec07961c9d96f9991f9c10f
-EBUILD sphinxcontrib-googleanalytics-0.1.ebuild 630 SHA256 715cc59ad9639592643a05fd1b9fcfe0fe6a2928925119c60aa83cdb78f7d0a2 SHA512 3ddfbf24d91aa453dedf6c705b88e692d6e4a791ff0dc494fa0201185d27a51d713f3b70a7f28b276d14ce79a68d232feb98b5dcefbaba9637a5c4b230ea2914 WHIRLPOOL 39f28c97ae492bb3ebde7b1086205011e9b71736fd6cc474f127ab52cfdc1b42e27a23337e82772ad84f967f645052d1f5bacbdab34a15c45d657923459eeef1
-MISC ChangeLog 449 SHA256 b1e88a78234b38ed2a507f9655c922385b045345ff596090195b09849a5991a4 SHA512 18c14418f637b431fdbf179fdc5e86c47b0edc514d48662c8c73c9e873991498e1164c76846ed13b8ee1f4aafb5b88a41d43f5a1bd84b646ab47975a029e832d WHIRLPOOL 393eae14e8f406d2ba494afa35673dfed51bbcb1f0bdc9b963840f4f0709e6cac308f999b7fc06df86d8a131d3037fb94fd07eea97920f454e0cfa708720b70b
+EBUILD sphinxcontrib-googleanalytics-0.1.ebuild 722 SHA256 0d094294fcb38dab1be7169ad971aad4d0d12dfd35b57aa1c1dfee36dc24ca00 SHA512 e4727420297361f6b07a8c3958f4ee8235b00e4d4ed0ef6d5a1918ae99ddeed9a0d5db7fe5e009ffb722d4f51ae1656b7a09b357827807c9a66413612b789a66 WHIRLPOOL 17c98c220a07064b65efcddc0860277d35ab622e0d08663049a414533d7501243beec4d586ec41aca615b750e8db85b9a8e6ef7dc58427165724791e8f92a1a5
+MISC ChangeLog 620 SHA256 8876bbca2a30decf5d90b3d7e1fd60e770290b73e8edf63e5dc99adb9db28b28 SHA512 d3cab3698b60528883e924ddc0a356e23d3f9889341c2188c821a622c70dfca97e6b9b833b885df124ce73c9636798ed887dce49d0adaf2884dc51ae3e7400b3 WHIRLPOOL b3c081516aaeafce0405adbbb12f059573f4e16da56897a501036c66a62496fd85300d664a0db92026018812c22b186c9e2a9fb51bb5e2fb3269358baf5ee1a1
MISC metadata.xml 252 SHA256 59ceb59eebae2135ea502c6c714f92b3dc1db83fed773065097bf8a24f926afe SHA512 940f6dc72efdbbf244dc564539fd0e09f4df2550bc44c1c0868e3588da9c028e54ff1c97fa53109882ed4177dd6a4f4fdcf424ef072b0f92d279fb01ab305fa8 WHIRLPOOL a6e7a7d211b5fac86a1069fc1e7eb5f138217b022d4d3deddba2280df81f0ebcfe31b5f22b905e22684f22df8306ff3afd30353bc4f10b0d073691e0ed75e789
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAlAd7i4ACgkQC77qH+pIQ6QAswEAmGbKwrRJ47PaYOPmhDJCzG5/
+fhuGhi7/0SaBP/FcvNEA/1ygMy0oyMgQ46q/C5nvIXXaT4Xnte4IV2/WXR/F8cSi
+=PKXF
+-----END PGP SIGNATURE-----
diff --git a/dev-python/sphinxcontrib-googleanalytics/files/setup.py.utf-8.patch b/dev-python/sphinxcontrib-googleanalytics/files/setup.py.utf-8.patch
new file mode 100644
index 000000000000..b3b9f58d1b2d
--- /dev/null
+++ b/dev-python/sphinxcontrib-googleanalytics/files/setup.py.utf-8.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/show_bug.cgi?id=429914
+--- setup.py
++++ setup.py
+@@ -1,10 +1,11 @@
+ # -*- coding: utf-8 -*-
+
++import codecs
+ import os
+ from setuptools import setup, find_packages
+
+ HERE = os.path.dirname(os.path.abspath(__file__))
+-long_desc = open(os.path.join(HERE, 'README')).read()
++long_desc = codecs.open(os.path.join(HERE, 'README'), encoding='utf-8').read()
+
+ requires = ['Sphinx>=0.6']
+
diff --git a/dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1.ebuild b/dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1.ebuild
index 9f9d50882de9..48504cca125d 100644
--- a/dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1.ebuild
+++ b/dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1.ebuild,v 1.1 2012/06/28 19:36:52 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1.ebuild,v 1.2 2012/08/05 03:53:12 floppym Exp $
EAPI="4"
SUPPORT_PYTHON_ABIS="1"
-inherit distutils
+inherit distutils eutils
DESCRIPTION="Sphinx extension googleanalytics"
HOMEPAGE="http://bitbucket.org/birkenfeld/sphinx-contrib"
@@ -20,3 +20,8 @@ DEPEND="dev-python/setuptools"
RDEPEND=">=dev-python/sphinx-0.6"
PYTHON_MODNAME="sphinxcontrib"
+
+src_prepare() {
+ epatch "${FILESDIR}/setup.py.utf-8.patch"
+ distutils_src_prepare
+}