* [gentoo-commits] repo/gentoo:master commit in: app-i18n/transifex-client/, app-i18n/transifex-client/files/
@ 2016-08-11 8:11 Patrice Clement
0 siblings, 0 replies; 3+ messages in thread
From: Patrice Clement @ 2016-08-11 8:11 UTC (permalink / raw
To: gentoo-commits
commit: 584cac93cebbbd29ae3be4b416a4e807511469f8
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Jul 16 19:24:32 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 08:10:50 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=584cac93
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 <monsieurp <AT> gentoo.org>
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(+)
diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest
index 29f4c61..fec33cd 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 0000000..7c89352
--- /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 0000000..0c7819e
--- /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"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-i18n/transifex-client/, app-i18n/transifex-client/files/
@ 2016-08-16 17:59 Patrice Clement
0 siblings, 0 replies; 3+ messages in thread
From: Patrice Clement @ 2016-08-16 17:59 UTC (permalink / raw
To: gentoo-commits
commit: 28f04c78c91d8140e125937d308c115ee5318fe4
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Aug 11 15:25:18 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Aug 16 17:59:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f04c78
app-i18n/transifex-client: version bump to 0.12.2, remove old 0.11.1_beta and 0.12.1.
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2070
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-i18n/transifex-client/Manifest | 3 +--
.../transifex-client-0.12.1_urllib3_six.patch | 24 --------------------
.../transifex-client-0.11.1_beta.ebuild | 26 ----------------------
....12.1.ebuild => transifex-client-0.12.2.ebuild} | 2 --
4 files changed, 1 insertion(+), 54 deletions(-)
diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest
index fec33cd..f529eda 100644
--- a/app-i18n/transifex-client/Manifest
+++ b/app-i18n/transifex-client/Manifest
@@ -1,3 +1,2 @@
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
+DIST transifex-client-0.12.2.tar.gz 177046 SHA256 5e157041c5d0063ef337d7fa89007ecd611ca5e20fb5abdb3228ff80a0aea8c1 SHA512 5cf1df26a195b85cbb20dc6b53ce9e6a39330347edee7e294f8f50bfa954bc47304dcaed1109e405794c67bef0fb62ae6eace90e69556c89ec48d14d6990fdb7 WHIRLPOOL 57f870344d22e65891be51ae14a45dd2ab6f565b44860cbce04887dabfbfdb3356cf02ffd0067d602f7ce06c7f325ba9638c44227bd3a0bb9444747320be1d17
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
deleted file mode 100644
index 7c89352..0000000
--- a/app-i18n/transifex-client/files/transifex-client-0.12.1_urllib3_six.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-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.11.1_beta.ebuild b/app-i18n/transifex-client/transifex-client-0.11.1_beta.ebuild
deleted file mode 100644
index f588509..0000000
--- a/app-i18n/transifex-client/transifex-client-0.11.1_beta.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-MY_PV=${PV/_/.}
-MY_P=${PN}-${MY_PV}
-
-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}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=""
-
-S="${WORKDIR}/${MY_P}"
diff --git a/app-i18n/transifex-client/transifex-client-0.12.1.ebuild b/app-i18n/transifex-client/transifex-client-0.12.2.ebuild
similarity index 91%
rename from app-i18n/transifex-client/transifex-client-0.12.1.ebuild
rename to app-i18n/transifex-client/transifex-client-0.12.2.ebuild
index 0c7819e..3fd2be9 100644
--- a/app-i18n/transifex-client/transifex-client-0.12.1.ebuild
+++ b/app-i18n/transifex-client/transifex-client-0.12.2.ebuild
@@ -19,5 +19,3 @@ IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]"
-
-PATCHES="${FILESDIR}/${P}_urllib3_six.patch"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-i18n/transifex-client/, app-i18n/transifex-client/files/
@ 2021-02-27 16:53 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-02-27 16:53 UTC (permalink / raw
To: gentoo-commits
commit: b6ad4d9d8c90496252531a56ff9b21898544b448
Author: Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de>
AuthorDate: Thu Feb 25 21:19:43 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 16:49:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ad4d9d
app-i18n/transifex-client: fix failing test on 32 bit systems
Closes: https://bugs.gentoo.org/771660
Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de>
Closes: https://github.com/gentoo/gentoo/pull/19658
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/transifex-client-timestamp.patch | 14 ++++++++
.../transifex-client-0.14.2-r2.ebuild | 37 ++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/app-i18n/transifex-client/files/transifex-client-timestamp.patch b/app-i18n/transifex-client/files/transifex-client-timestamp.patch
new file mode 100644
index 00000000000..9d1b2c46c76
--- /dev/null
+++ b/app-i18n/transifex-client/files/transifex-client-timestamp.patch
@@ -0,0 +1,14 @@
+diff -Naur ../transifex-client-0.14.2.orig/tests/test_project.py ./tests/test_project.py
+--- ../transifex-client-0.14.2.orig/tests/test_project.py 2020-06-19 14:48:52.000000000 +0200
++++ ./tests/test_project.py 2021-02-25 22:08:29.353477306 +0100
+@@ -717,8 +717,8 @@
+ )
+ self.assertEqual(res, True)
+
+- # "Recent" timestamp (in the future - 2100)
+- ts_mock.return_value = 4111417171
++ # "Recent" timestamp (in the future - 2038)
++ ts_mock.return_value = 2147483000
+ res = self.p._should_download(
+ 'pt', self.stats, os.path.abspath(__file__), False,
+ use_git_timestamps=True
diff --git a/app-i18n/transifex-client/transifex-client-0.14.2-r2.ebuild b/app-i18n/transifex-client/transifex-client-0.14.2-r2.ebuild
new file mode 100644
index 00000000000..7efb2192722
--- /dev/null
+++ b/app-i18n/transifex-client/transifex-client-0.14.2-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit eutils distutils-r1
+
+DESCRIPTION="A command line interface for Transifex"
+HOMEPAGE="https://pypi.org/project/transifex-client/ https://www.transifex.net/ https://github.com/transifex/transifex-client"
+SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
+RDEPEND="dev-python/GitPython[${PYTHON_USEDEP}]
+ <dev-python/python-slugify-5.0.0[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ <dev-python/six-2.0.0[${PYTHON_USEDEP}]
+ dev-python/urllib3[${PYTHON_USEDEP}]"
+
+distutils_enable_tests setup.py
+
+src_prepare() {
+ eapply_user
+ sed -i -e 's:test_fetch_timestamp_from_git_tree:_&:' \
+ tests/test_utils.py || die
+ sed -i '/tests_require=\["mock>=3.0.5,<4.0"\]/d' setup.py || die
+ # Bug 771660
+ eapply "${FILESDIR}"/${PN}-timestamp.patch
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-27 16:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-27 16:53 [gentoo-commits] repo/gentoo:master commit in: app-i18n/transifex-client/, app-i18n/transifex-client/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2016-08-16 17:59 Patrice Clement
2016-08-11 8:11 Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox