summaryrefslogtreecommitdiff
path: root/app-i18n/transifex-client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /app-i18n/transifex-client
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'app-i18n/transifex-client')
-rw-r--r--app-i18n/transifex-client/Manifest3
-rw-r--r--app-i18n/transifex-client/files/transifex-client-0.14.2-r1-timestamp.patch16
-rw-r--r--app-i18n/transifex-client/transifex-client-0.14.2-r1.ebuild9
3 files changed, 25 insertions, 3 deletions
diff --git a/app-i18n/transifex-client/Manifest b/app-i18n/transifex-client/Manifest
index 43cc05c12bda..39bea2143150 100644
--- a/app-i18n/transifex-client/Manifest
+++ b/app-i18n/transifex-client/Manifest
@@ -1,5 +1,6 @@
+AUX transifex-client-0.14.2-r1-timestamp.patch 646 BLAKE2B 22d8eced003f2ce5275ef4a8857637ccc0d094e3c9b8405b1c204b78af4bc26f20be9fadf8a7e50d44e10c131f79e9b66f4f03f8ee92c3e73a548236e2903c42 SHA512 339d8ef42935acfd79f438e725683e9592259b9edeb3249d6817957f9bb25ddcd99d05485ad5220af1329937aaf0ea1249ed34cc53bcb3137e461e97a45f6b95
DIST transifex-client-0.13.9.tar.gz 197283 BLAKE2B 9fd6f63a54d09f190f7dd6701e4994e4fd67e23cf630dcb49641a3c7356e55f1146be7c2a590fb09a52cccfa99e709c48fffd7df416d1d4c10231c4f42919380 SHA512 3dc4a1e713a797ce1ea626c9e85dd353fec3034ba21ab04bc89e5b927e0298b4f6560a793eec50d1a99c7ab340462c33d18c1e159697c476001be868cb7f87fa
DIST transifex-client-0.14.2.tar.gz 211398 BLAKE2B 4210a06da9fd09e689d28ae77a90c65f96cbba7b44a2cc506c2e385dc2f34659bfbda25eb81cef850442f4b3da22a859e19761798ec123888564b0327f0c6503 SHA512 5d7f8241d61621197df95cb42b2a8fb8088e77543f076c2401db14f7e44d67e49478d0b04cb525fc6281b37e5026edc8121f90cb7332e669d63be6112264044d
EBUILD transifex-client-0.13.9.ebuild 796 BLAKE2B 2cdfdef014ce8a9ac6a9fc09aee743b698001fe625047660d07e5d8267a1ce27b3b984a6f7533ce9481e2030acf45f59232a227e35f3aad19f19feace9f2a33b SHA512 44824acb28428bc444fa654f2a5b526445609b453895d42fb8283578d6295b28ab51036060ced2c331a29d1de4bae40ed984e22f7a099a139c38405ac78e05df
-EBUILD transifex-client-0.14.2-r1.ebuild 1012 BLAKE2B ac9721d6b160d8fbf172f48a3fb9a56a0a907ac8e52c8e98caa5f8efd18995cffa2e36f946845f54304d4a28f9f94c479d7b13021547ee636b46285f2feb2360 SHA512 6c115469075b9b97e4bc9550dec27acb68c195e768475afeed42f03ce1b09632d44862f8c5f648d123b20c940cb36343ca3a15670e38742c22c80ccc2c07e6ae
+EBUILD transifex-client-0.14.2-r1.ebuild 1067 BLAKE2B 2258efe8b37c219685021d786bbea084bfc72084f8d336961b3648671156718b7fc86f8a0e21f8c785518695d6195bd2a14a6b30984970a3a04a2616f36a920b SHA512 84064038c4fdef42b084db4d09bd8afd9df480e359658451b70e92a58ece5b9d71c5fbe8322749aa0dbea4251f29ffc9d853317d8b6de1c5afeacca4e004f73f
MISC metadata.xml 511 BLAKE2B cb47fd7af2c99fe027060cd09a0ed4943faf219f1a9117be347e317c651d68f4a8d6967a51d899f6e125110138cfd47242b8818ef0bdf51f8b08d3989680ed79 SHA512 e1ff78568bc8bc8c80a48ffe569deb6fe36f431443ef10903a3fe03ea3f2b1452e0c145388c7225d0dfcac126b692276b27e8973a8875788234924a1d2cd8c31
diff --git a/app-i18n/transifex-client/files/transifex-client-0.14.2-r1-timestamp.patch b/app-i18n/transifex-client/files/transifex-client-0.14.2-r1-timestamp.patch
new file mode 100644
index 000000000000..0943621243c0
--- /dev/null
+++ b/app-i18n/transifex-client/files/transifex-client-0.14.2-r1-timestamp.patch
@@ -0,0 +1,16 @@
+https://github.com/transifex/transifex-client/pull/316
+https://bugs.gentoo.org/771660
+Fix tests on 32-bit systems
+--- a/tests/test_project.py
++++ b/tests/test_project.py
+@@ -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-r1.ebuild b/app-i18n/transifex-client/transifex-client-0.14.2-r1.ebuild
index d18a787a257d..4cf3be326673 100644
--- a/app-i18n/transifex-client/transifex-client-0.14.2-r1.ebuild
+++ b/app-i18n/transifex-client/transifex-client-0.14.2-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -25,10 +25,15 @@ RDEPEND="dev-python/GitPython[${PYTHON_USEDEP}]
<dev-python/six-2.0.0[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.14.2-r1-timestamp.patch"
+)
+
distutils_enable_tests setup.py
src_prepare() {
- eapply_user
+ default
+
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