summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gentoo.org>2012-05-27 21:30:12 +0000
committerStanislav Ochotnicky <sochotnicky@gentoo.org>2012-05-27 21:30:12 +0000
commit2a8adf3252a130c50f34fb0cf8daf695d0591f8b (patch)
tree24195141cf684776792c4b3a4c1bcfa4f9d539b3 /dev-python/unidecode
parentAdd missing jdk dep for jar command. (diff)
downloadhistorical-2a8adf3252a130c50f34fb0cf8daf695d0591f8b.tar.gz
historical-2a8adf3252a130c50f34fb0cf8daf695d0591f8b.tar.bz2
historical-2a8adf3252a130c50f34fb0cf8daf695d0591f8b.zip
New ebuild for unidecode python module
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-python/unidecode')
-rw-r--r--dev-python/unidecode/ChangeLog10
-rw-r--r--dev-python/unidecode/Manifest24
-rw-r--r--dev-python/unidecode/metadata.xml20
-rw-r--r--dev-python/unidecode/unidecode-0.04.9.ebuild24
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-python/unidecode/ChangeLog b/dev-python/unidecode/ChangeLog
new file mode 100644
index 000000000000..3d2b3a4ec62f
--- /dev/null
+++ b/dev-python/unidecode/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/unidecode
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/unidecode/ChangeLog,v 1.1 2012/05/27 21:30:12 sochotnicky Exp $
+
+*unidecode-0.04.9 (27 May 2012)
+
+ 27 May 2012; Stanislav Ochotnicky <sochotnicky@gentoo.org>
+ +unidecode-0.04.9.ebuild, +metadata.xml:
+ New ebuild for unidecode python module
+
diff --git a/dev-python/unidecode/Manifest b/dev-python/unidecode/Manifest
new file mode 100644
index 000000000000..c63686353455
--- /dev/null
+++ b/dev-python/unidecode/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+DIST Unidecode-0.04.9.tar.gz 196659 RMD160 8ca1c7bb80dcb313b93d3bb6d47576c106e7a14e SHA1 c705b71ea08978012b5800f038b1de1a3ba81426 SHA256 95df723427e7e1872349e2c3aef54c77c1df48fa57563d050bf56f43ba1d4d14
+EBUILD unidecode-0.04.9.ebuild 601 RMD160 b9eb5902844b006b9be6169dfba4745c2e82cdc2 SHA1 e0578af8cf10f6624da2fe0fc05c2796b37b011f SHA256 e452fa5fa13c287afd82d1f8d5e2ff955449fac4c6d8b46d141f292eb7c677c5
+MISC ChangeLog 397 RMD160 b324158f265789d591014ba4db767de9548a9a0d SHA1 4d60581e43b4e440a726427044d1556dd8be8ea1 SHA256 5cf28d96e7ec078d78c186508e8bef9aebea85e090d02bd88a7500e9ceb718f6
+MISC metadata.xml 1615 RMD160 1de099a2538fcfde1631dc1b2555c065d761b8ec SHA1 34cbed38ec9a1f557a2070b673f4678ec8f0d7e6 SHA256 9fb1bf21aa6e6b1b5beaa8ff8f21ada601342ede685621782fbe2d9a4464b549
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBCgAGBQJPwpz5AAoJELy9dS57CHJBeQgP/iCpxehvnIbmAe+KM57oxu0E
+qe+O8pY0u+y0kH8pZO19Wy1KL0jplKF3tV2uvI1lG36TDIXBw8SFU/fYd5mBaLsM
+kenP7mXGUk3ezAb3iPWipbMU23ZRUjPpfMB9Gk/8NW5Hqgj5ii5DGPgOo+29jW8j
+Btqovf9DahHmg8r6siWAyz6TyuSVIEhR7Zw1WmC1NG8Cr6My2goEqIkEXWaHSqoT
+8A6N0gqVZ7/7GBzm9ZxON2DScyIvv9SJKuzXq7icvwoLRBz5hi/xlVfU/gmdXY6y
+up4Ule5aPa+6sPSm/G0CNyNNQa+pKeEqQFL3RwdiBlGHmgeZ1M7YreiuB8yU8c2a
+z6aNtqAWEOsrIHt9ZJGUjkmtNqdFt5+TQ0WorjSOuO6gGxyCYIKj3n+g3lc4/4ck
+uYtKh3YOM0KtaoIa15boAYx+5TAinDna4ev7ad475PQLhqF9eh/fJcvv4HG1MUGZ
+sR2UXRtQZw2uoMKzi1sNsCjkIbrNxWyFPW5jrjcY0jESidhVOlothCU+goFR+AAp
+WtKkz2qS3217JnncVymei6VRepNpPeL9AJ/4Tu9EEAYQpQJeT6b3MBmi5lzs8ZYB
+3qc4pXYlWjW5EAI6/CyYABgsEP1LaMRR3SPKN75Y4mKwYF5EVwmnIPiMWbTtMK08
+yUU98QFq0IjjLlnHwERS
+=HTWC
+-----END PGP SIGNATURE-----
diff --git a/dev-python/unidecode/metadata.xml b/dev-python/unidecode/metadata.xml
new file mode 100644
index 000000000000..ff4ebe228458
--- /dev/null
+++ b/dev-python/unidecode/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>sochotnicky@gentoo.org</email>
+ <name>Stanislav Ochotnicky</name>
+ </maintainer>
+ <longdescription lang="en">
+This is a Python port of Text::Unidecode Perl module
+
+It often happens that you have text data in Unicode, but you need to represent it in ASCII. For example when integrating with legacy code that doesn't support Unicode, or for ease of entry of non-Roman names on a US keyboard, or when constructing ASCII machine identifiers from human-readable Unicode strings that should still be somewhat intelligeble (a popular example of this is when making an URL slug from an article title).
+
+In most of these examples you could represent Unicode characters as "???" or "\15BA\15A0\1610", to mention two extreme cases. But that's nearly useless to someone who actually wants to read what the text says.
+
+What Unidecode provides is a middle road: function unidecode() takes Unicode data and tries to represent it in ASCII characters (i.e., the universally displayable characters between 0x00 and 0x7F), where the compromises taken when mapping between two character sets are chosen to be near what a human with a US keyboard would choose.
+
+Note that this module generally produces better results than simply stripping accents from characters (which can be done in Python with built-in functions). It is based on hand-tuned character mappings that for example also contain ASCII approximations for symbols and non-Latin alphabets.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/dev-python/unidecode/unidecode-0.04.9.ebuild b/dev-python/unidecode/unidecode-0.04.9.ebuild
new file mode 100644
index 000000000000..6a4a6c39f676
--- /dev/null
+++ b/dev-python/unidecode/unidecode-0.04.9.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/unidecode/unidecode-0.04.9.ebuild,v 1.1 2012/05/27 21:30:12 sochotnicky Exp $
+
+EAPI=4
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS=""
+
+inherit distutils
+
+S="${WORKDIR}/Unidecode-${PV}"
+
+DESCRIPTION="Moduke providing ASCII transliterations of Unicode text"
+HOMEPAGE="http://pypi.python.org/pypi/Unidecode"
+SRC_URI="mirror://pypi/U/Unidecode/Unidecode-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"