summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-calculators/units/ChangeLog10
-rw-r--r--sci-calculators/units/Manifest12
-rw-r--r--sci-calculators/units/files/units-2.02-UTF8.patch19
-rw-r--r--sci-calculators/units/units-2.02-r1.ebuild35
4 files changed, 69 insertions, 7 deletions
diff --git a/sci-calculators/units/ChangeLog b/sci-calculators/units/ChangeLog
index bffbf53de2df..b2abffe0c730 100644
--- a/sci-calculators/units/ChangeLog
+++ b/sci-calculators/units/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-calculators/units
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.66 2013/09/07 13:40:04 jer Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.67 2014/02/04 08:37:25 jer Exp $
+
+*units-2.02-r1 (04 Feb 2014)
+
+ 04 Feb 2014; Jeroen Roovers <jer@gentoo.org> +units-2.02-r1.ebuild,
+ +files/units-2.02-UTF8.patch:
+ Fix XML encoding.
07 Sep 2013; Jeroen Roovers <jer@gentoo.org> -units-2.01.ebuild:
Old.
diff --git a/sci-calculators/units/Manifest b/sci-calculators/units/Manifest
index 45853cc0331c..333113e43fa1 100644
--- a/sci-calculators/units/Manifest
+++ b/sci-calculators/units/Manifest
@@ -2,14 +2,16 @@
Hash: SHA256
AUX units-2.01-install.patch 2008 SHA256 7487ec8d4d887cae48e6696361a5777b461eec48f1f2d2100b15fc593a578ab1 SHA512 73dfabad8fdbf24798e51f5104c0a68b28b30c53b162c28facd36cc53f5d68afa269decc04d4055475b17b4e5d932f449d174b41aab9546b5e6f2e32e0410203 WHIRLPOOL a3da2bc69feeb54360284e3d1158d68a2e0c29f784348b0e47c953d676c1398e1dd3d221b9800b4a4c5c32d98320bd2606df66e5fd7698385fb9a7e742e263d2
+AUX units-2.02-UTF8.patch 619 SHA256 c5f26a6813710abc86532631d29ababaddfedff7d143b51a1748bb3b20fbf4b2 SHA512 91fd9c325058648799af3e55207fa37287986e3233cbac341fed1de9b001182b724b0c69e97e4d331f864150ec6ac44a28ff153b1146c2c1a60db49744231d78 WHIRLPOOL a50d04e9ae4bb9e90aaca3bfc7cf9bbdca9f31ec01c78f3365dbe3f64b58b8cbbe16a5248a168f546c02aa913ab28062a2d6417378d31b528f5b76837d297953
DIST units-2.02.tar.gz 768135 SHA256 2b34fa70c9319956135b990afc1ac99d411ba5b291b5d29e4a89fdf052944e9a SHA512 83cb6d2ac00304a5e14fd7c5137f70993bc2ea2f67852e4e64e2a718402c118ee3eaeb2bd251a1dca612fb6a995cd86b4c3eb353754540a14bd4d51cf1f5b0ed WHIRLPOOL d7253e97575cb6e85a6be5b30fe8be88fa1625e2d289f5e7c7f65a1b6baa96aa29978b0a212724977d81d67c664ced2dee5dd7b6e2c376550684ff7a1c9ca6e3
+EBUILD units-2.02-r1.ebuild 817 SHA256 6166b29cdf679763de51d6fc175560ee49124d796a9e73ec309e0992d4aafaa7 SHA512 2a922e427410278b1d75a536fa3bc2b4d064d08953872827fae85558288214d73cbbb8a699d04a90d3c337c15195b2fd46deb226ae66f7867f81b8a979b3db15 WHIRLPOOL a74978ee29679cd036cadbc324aa176c23aeecc4bccd42cc1e006a0eb1004f3dac2be0ac731343abd1a5b758c9ed6e0c2c3aa8bbc50678b7e17582efe2f21a25
EBUILD units-2.02.ebuild 764 SHA256 a9984269297145797b0fad51581763b4b1b56d6721828dbfc1d57cb2505e874c SHA512 48a0c874637d54b873934b0bf488d3e6dd28a788bc3ab25d750f9a5d76d5343ce86c2510f8f0e912aef03660e455844108d8b11296c0d3a2e82c0d4c26faf667 WHIRLPOOL 74825569fa4f5e3083c10023830e6a5f026a464f26496e8b9d04023366d64c3d4fff3bae3c86aeeddbb2efd6ef16a29048e868b628eceb7b86490069f04a59f5
-MISC ChangeLog 9590 SHA256 b5def9aa45aec7c555b37b617857a9dc35b17a325c467e077a1c6b71448d1139 SHA512 7b63c4b6a24c783286eca0d90220cba36a6720ec8dbce45f8049a22aa52545d5defde5851881487cb5c0481bf5a6f0d29206787d04e1815431592bd9a6362128 WHIRLPOOL f67aeb7e3980cb952d283620db98973e9f6122573cfb7388689f38ae76a916b2d7167d4da229d2e2d0867b22830d8bdff04bdb7e13f1a8e42f85bae6691de03b
+MISC ChangeLog 9743 SHA256 1aa6fc5426ca12b33a966a1282aa682f641916a80c5905e0fb96dea282922f9e SHA512 9df43a102723835581d7c10c687e2448ae6a4e8f281b4a0e96ab76bc359470a234b6a91a837f7b756a8b33d07b211669852f1584d193305ec2929465173ea2f0 WHIRLPOOL 1bb761ca3a3d49444462976d24bd6652590857de170608472bb2e42c0ee006df571ff2de18258d9586df64eaedbc76559dbd134c9284305976e7c53f99f1b9e2
MISC metadata.xml 224 SHA256 d7ffc52704d4bc0180f6f1c448ea4bdd0e3ff3a562384dc944af4a00debc9620 SHA512 6487ad35c6f3d2e4876714919e7bb01fd65f57e7753cbfc318130727dded4fcf8632a06ab9b7a3016fc1ab127434d1d20de2dd0ef2cc63ad162023f2dbf64b1e WHIRLPOOL 879ad2c41f2e1297b677803b2b0478ed2affc91059b198524795e1a128cf8ab6b9fbe78b53bdd3421041f27b419bce387a267e389111125cd55b05e260abc998
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlIrLLUACgkQVWmRsqeSphN/EgCdH+znkoy1iGyZjHF0ny4pANO9
-xp4AnjK82J+hSQhwHZzbpAAQqpN1/3Ua
-=VWjQ
+iEYEAREIAAYFAlLwpsYACgkQVWmRsqeSphO3SACdEaJKq23dZwaIvOcsu/xOwNOr
+ag8AnRFM85QFQ/tCufRzZ3JkrOJ/KEHL
+=UIN0
-----END PGP SIGNATURE-----
diff --git a/sci-calculators/units/files/units-2.02-UTF8.patch b/sci-calculators/units/files/units-2.02-UTF8.patch
new file mode 100644
index 000000000000..51d73d804e87
--- /dev/null
+++ b/sci-calculators/units/files/units-2.02-UTF8.patch
@@ -0,0 +1,19 @@
+--- a/units_cur 2013-07-10 01:02:17.000000000 +0200
++++ b/units_cur 2014-02-04 09:13:07.613075137 +0100
+@@ -6,6 +6,7 @@
+ # Modified to use xml format output from timegenie instead of text file
+
+ import datetime
++import codecs
+ import sys
+ import urllib
+ import xml.etree.ElementTree as ET
+@@ -31,7 +32,7 @@
+ # print codes here
+
+ codes = [x.find('code').text for x in currencies]
+-names = [x.find('description').text for x in currencies]
++names = [x.find('description').text.encode('utf-8') for x in currencies]
+ values = [x.find('rate').text for x in currencies]
+
+ names = [x.lower().replace(' ','') for x in names]
diff --git a/sci-calculators/units/units-2.02-r1.ebuild b/sci-calculators/units/units-2.02-r1.ebuild
new file mode 100644
index 000000000000..6a51434053ad
--- /dev/null
+++ b/sci-calculators/units/units-2.02-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-2.02-r1.ebuild,v 1.1 2014/02/04 08:37:25 jer Exp $
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Unit conversion program"
+HOMEPAGE="http://www.gnu.org/software/units/units.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="FDL-1.3 GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="
+ >=sys-libs/readline-4.1-r2
+"
+RDEPEND="
+ || (
+ dev-lang/python:2.5[xml]
+ dev-lang/python:2.6[xml]
+ dev-lang/python:2.7[xml]
+ )
+ ${DEPEND}
+"
+
+DOCS=( ChangeLog NEWS README )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.01-install.patch
+ epatch "${FILESDIR}"/${PN}-2.02-UTF8.patch
+ eautoreconf
+}