Hello community,

here is the log from the commit of package transifex-client for 
openSUSE:Factory checked in at 2020-06-23 21:06:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transifex-client (Old)
 and      /work/SRC/openSUSE:Factory/.transifex-client.new.2956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transifex-client"

Tue Jun 23 21:06:11 2020 rev:15 rq:816509 version:0.13.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/transifex-client/transifex-client.changes        
2017-05-06 18:30:16.397962598 +0200
+++ 
/work/SRC/openSUSE:Factory/.transifex-client.new.2956/transifex-client.changes  
    2020-06-23 21:06:50.210276895 +0200
@@ -1,0 +2,85 @@
+Fri Jun 12 07:28:55 UTC 2020 - Antonio Larrosa <[email protected]>
+
+- Use update-alternatives for the tx binary so users can
+  install in the same system transifex-client and python3-afdko
+
+-------------------------------------------------------------------
+Fri Jun 12 07:04:35 UTC 2020 - Antonio Larrosa <[email protected]>
+
+- Update to 0.13.9:
+  * Change symlink loop prevention approach
+
+- Update to 0.13.8:
+  * Tx-client is now able to follow any symbolic links while
+    pushing content to Transifex.
+
+- Update to 0.13.7:
+  * Loosen up dependency versions and support Python 3.8
+  * Add missing description content type in setup.py
+
+- Update to 0.13.6:
+  * Extend Python support
+
+- Update to 0.13.5:
+  * Pin dependencies to avoid incompatibilities between packages
+
+- Update to 0.13.4:
+  * Support Python 3.7
+  * Make the wizard handle unknown file formats gracefully
+
+- Update to 0.13.3:
+  * Use the TX_TOKEN environment variable to set your Transifex API
+    token. This essentially replaces the --token argument in the tx
+    init command, and does not write any credentials in the
+    .transifexrc file.
+  * Add the --no-interactive argument in the tx pull command, for
+    the case where no user input is required. This is needed in
+    some cases where a CI does not want to proceed with user input
+    and needs to fail silently.
+
+- Update to 0.13.2:
+  * Push and pull files more quickly by using the new --parallel
+    option with tx push and tx pull to make parallel requests. This
+    is a beta feature - be careful when using it with many files as
+    it may cause you to hit your API rate limits.
+
+  * --expression is now a named argument for tx config mapping so
+    it’s consistent with the tx config mapping-bulk command with
+    regard to how you pass a file path expression.
+
+  * The algorithm for locating translation files has been optimized
+    to improve performance in cases where you have many files in
+    your working directory.
+
+- Update to 0.13.1:
+  * Fix some python 3 compatibility issues
+  * Fix CI for python 3
+  * Add Python 3.6 in the supported versions
+
+- Update to 0.13.0:
+  * Rename set command to config while maintaining backwards
+    compatibility.
+  * --auto-local, --auto-remote options have become mapping and
+    mapping-remote subcommands. Backwards compatibility has been
+    maintained and the options (and subcommands) are supported both
+    when using tx set and tx config commands.
+  * Introduce mapping-bulk subcommand to tx config command.
+    mapping-bulk is similar to mapping but configures a whole
+    directory of files and not a single file.
+  * Support branch specific push / pull using the --branch option.
+  * Add interactive wizard for tx config command. Interactive wizard
+    is triggered by default after tx init if --skipsetup option is
+    not passed and by the tx config if called without any options
+    or subcommands.
+
+- Update to 0.12.5:
+  * Support for Basic Authentication when using the client behind
+    a proxy
+  * Support for sourceastranslation and onlyreviewed modes when
+    pulling files
+  * Return non-zero exit codes on errors
+  * tx --version now includes information about the Python version
+    and architecture you’re running
+  * Some updates and minor fixes in logging/error messages
+
+-------------------------------------------------------------------

Old:
----
  0.12.4.tar.gz

New:
----
  0.13.9.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ transifex-client.spec ++++++
--- /var/tmp/diff_new_pack.aXwujy/_old  2020-06-23 21:06:50.738278600 +0200
+++ /var/tmp/diff_new_pack.aXwujy/_new  2020-06-23 21:06:50.738278600 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package transifex-client
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,30 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           transifex-client
-Version:        0.12.4
+Version:        0.13.9
 Release:        0
 Summary:        Transifex Command-line Client
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Productivity/Text/Utilities
-Url:            https://github.com/transifex/transifex-client
+URL:            https://github.com/transifex/transifex-client
 Source:         
https://github.com/transifex/transifex-client/archive/%{version}.tar.gz
 BuildRequires:  python3-mock
+BuildRequires:  python3-mock >= 3.0.5
+BuildRequires:  python3-python-slugify
+BuildRequires:  python3-requests >= 2.19.1
 BuildRequires:  python3-setuptools
-BuildRequires:  python3-urllib3
+BuildRequires:  python3-urllib3 >= 1.24.2
+Requires:       python3-python-slugify
+Requires:       python3-requests >= 2.19.1
 Requires:       python3-setuptools
-Requires:       python3-urllib3
+Requires:       python3-urllib3 >= 1.24.2
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 
 %description
@@ -44,6 +51,9 @@
 
 %prep
 %setup -q
+sed -i -e "s/slugify<.*/slugify/" requirements.txt
+sed -i -e "s/mock>=3.0.5,<4.0/mock>=3.0.5/" setup.py
+sed -i -e '1{\,^#!/usr/bin/env python,d}' txclib/cmdline.py
 
 %build
 python3 setup.py build
@@ -53,12 +63,27 @@
 # remove pem file
 rm %{buildroot}/%{python3_sitelib}/txclib/cacert.pem
 
+mv %{buildroot}%{_bindir}/tx %{buildroot}%{_bindir}/transifex-tx
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+ln -s -f %{_sysconfdir}/alternatives/tx %{buildroot}%{_bindir}/tx
+
 %check
 python3 setup.py test
 
+%post
+%{_sbindir}/update-alternatives --install %{_bindir}/tx tx 
%{_bindir}/transifex-tx 20
+
+%postun
+if [ ! -e %{_bindir}/transifex-tx ] ; then
+  %{_sbindir}/update-alternatives --remove tx %{_bindir}/transifex-tx
+fi
+
 %files
 %defattr(-,root,root)
-%doc README.md LICENSE
+%doc README.md
+%license LICENSE
+%ghost %{_sysconfdir}/alternatives/tx
+%{_bindir}/transifex-tx
 %{_bindir}/tx
 %{python3_sitelib}/*
 

++++++ 0.12.4.tar.gz -> 0.13.9.tar.gz ++++++
++++ 5536 lines of diff (skipped)


Reply via email to