From 584cac93cebbbd29ae3be4b416a4e807511469f8 Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Sun, 17 Jul 2016 00:24:32 +0500 Subject: app-i18n/transifex-client: version bump to 0.12.1. Added patch for proper using dev-python/urllib3 and dev-python/six. Gentoo-Bug: https://bugs.gentoo.org/511926 Gentoo-Bug: https://bugs.gentoo.org/586080 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1895 Signed-off-by: Patrice Clement --- app-i18n/transifex-client/Manifest | 1 + .../transifex-client-0.12.1_urllib3_six.patch | 24 ++++++++++++++++++++++ .../transifex-client-0.12.1.ebuild | 23 +++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 app-i18n/transifex-client/files/transifex-client-0.12.1_urllib3_six.patch create mode 100644 app-i18n/transifex-client/transifex-client-0.12.1.ebuild (limited to 'app-i18n') diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest index 29f4c616d81f..fec33cd62ee2 100644 --- a/app-i18n/transifex-client/Manifest +++ b/app-i18n/transifex-client/Manifest @@ -1,2 +1,3 @@ DIST transifex-client-0.10.tar.gz 71817 SHA256 fb2ecba162a8ea6c52d57022c14c4016a2b6f048c9f626c1bd27c30e8ee29f1a SHA512 c8134f3fc04953d468c2e6ceb0ef90e8335709bde778c5d7d532b3ea390e71abdf8856b8eaa5acf6507c4e6fd2f918e6b0989b3913ee603cc5987b1a9d6b3964 WHIRLPOOL 34248f0b1d685024b485aa5e324f2450d6e71b72deb4c176419fe6ce768ff3ea486cc48432df569d6141371709bf2e2f853316bf6790974ab03f0ffe6277594e DIST transifex-client-0.11.1.beta.tar.gz 210515 SHA256 5e91632d39d257295b9c15d9f8b149452d0553d984112865e9b81ad5b91e9f48 SHA512 209bd88af0b6297f3c2d5945f98f955240addd5587679838be456c1e9a0b8b55a482d7ead395839f69500b2b41ad48b19060e2b9e12f1996d0d14780721f0f0e WHIRLPOOL 035c9759c057a6f3d0b69433e0ad84e985a610bd7182701c82df9b4a9e4186ef96e6eb22b72262978943eb4aeeab229eab72482264c9abd5eb6f5e534e1c8957 +DIST transifex-client-0.12.1.tar.gz 176606 SHA256 86809d10e0cfff4b4d81fa852d11064fe89fc7add5b6f09fec3950497efdf02d SHA512 2371039571d461975b28121f38d190c9a8c8809340a939713476410d12c5f2a2f113d2d69e05e520c2ed105f1ef26f77b34adfb597fa2b655f1556cb68b8bcca WHIRLPOOL 83cdcbb1b0f24625361441fa0f2de486a9d210b92ba3c239de812b1b0c5f4ebdf1ec300f074ff710216dd8b2dd98bb5d6df1fcaab350fdb53c74bd961d15c626 diff --git a/app-i18n/transifex-client/files/transifex-client-0.12.1_urllib3_six.patch b/app-i18n/transifex-client/files/transifex-client-0.12.1_urllib3_six.patch new file mode 100644 index 000000000000..7c89352738f8 --- /dev/null +++ b/app-i18n/transifex-client/files/transifex-client-0.12.1_urllib3_six.patch @@ -0,0 +1,24 @@ +diff -Nuar transifex-client-0.12.1.orig/txclib/commands.py transifex-client-0.12.1/txclib/commands.py +--- transifex-client-0.12.1.orig/txclib/commands.py 2016-07-16 23:40:14.476353681 +0500 ++++ transifex-client-0.12.1/txclib/commands.py 2016-07-16 23:53:28.121315176 +0500 +@@ -25,7 +25,7 @@ + except ImportError: + import ConfigParser as configparser + +-from urllib3.packages.six.moves import input ++from six.moves import input + + from txclib import utils, project + from txclib.utils import parse_json, compile_json, files_in_project +diff -Nuar transifex-client-0.12.1.orig/txclib/utils.py transifex-client-0.12.1/txclib/utils.py +--- transifex-client-0.12.1.orig/txclib/utils.py 2016-07-16 23:40:14.477353681 +0500 ++++ transifex-client-0.12.1/txclib/utils.py 2016-07-16 23:40:37.376352570 +0500 +@@ -15,7 +15,7 @@ + from email.parser import Parser + from urllib3.exceptions import SSLError + from urllib3.packages import six +-from urllib3.packages.six.moves import input ++from six.moves import input + from txclib.urls import API_URLS + from txclib.exceptions import UnknownCommandError, HttpNotFound, HttpNotAuthorized + from txclib.paths import posix_path, native_path, posix_sep diff --git a/app-i18n/transifex-client/transifex-client-0.12.1.ebuild b/app-i18n/transifex-client/transifex-client-0.12.1.ebuild new file mode 100644 index 000000000000..0c7819e8d488 --- /dev/null +++ b/app-i18n/transifex-client/transifex-client-0.12.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) + +inherit distutils-r1 + +DESCRIPTION="A command line interface for Transifex" +HOMEPAGE="https://pypi.python.org/pypi/transifex-client http://www.transifex.net/" +SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]" + +PATCHES="${FILESDIR}/${P}_urllib3_six.patch" -- cgit v1.2.3-18-g5258