commit python-phply for openSUSE:Factory
Hello community, here is the log from the commit of package python-phply for openSUSE:Factory checked in at 2020-05-28 09:08:11 Comparing /work/SRC/openSUSE:Factory/python-phply (Old) and /work/SRC/openSUSE:Factory/.python-phply.new.3606 (New) Package is "python-phply" Thu May 28 09:08:11 2020 rev:3 rq:807654 version:1.2.5 Changes: --- /work/SRC/openSUSE:Factory/python-phply/python-phply.changes 2019-01-21 11:02:07.711137542 +0100 +++ /work/SRC/openSUSE:Factory/.python-phply.new.3606/python-phply.changes 2020-05-28 09:08:14.443864790 +0200 @@ -1,0 +2,5 @@ +Wed May 20 07:26:13 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-phply.spec ++ --- /var/tmp/diff_new_pack.Zp18X1/_old 2020-05-28 09:08:15.211866739 +0200 +++ /var/tmp/diff_new_pack.Zp18X1/_new 2020-05-28 09:08:15.211866739 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-phply # -# Copyright (c) 2019 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 @@ -31,6 +31,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-ply +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -45,17 +47,27 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/phpparse +%python_clone -a %{buildroot}%{_bindir}/phplex %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand rm -rf %{buildroot}%{$python_sitelib}/tests %check %python_exec setup.py test +%post +%python_install_alternative phpparse +%python_install_alternative phplex + +%postun +%python_uninstall_alternative phpparse +%python_uninstall_alternative phplex + %files %{python_files} %license LICENSE %doc README.md -%python3_only %{_bindir}/phplex -%python3_only %{_bindir}/phpparse +%python_alternative %{_bindir}/phplex +%python_alternative %{_bindir}/phpparse %{python_sitelib}/* %changelog
commit python-phply for openSUSE:Factory
Hello community, here is the log from the commit of package python-phply for openSUSE:Factory checked in at 2019-01-21 11:00:18 Comparing /work/SRC/openSUSE:Factory/python-phply (Old) and /work/SRC/openSUSE:Factory/.python-phply.new.28833 (New) Package is "python-phply" Mon Jan 21 11:00:18 2019 rev:2 rq:666981 version:1.2.5 Changes: --- /work/SRC/openSUSE:Factory/python-phply/python-phply.changes 2018-08-03 12:38:18.191658841 +0200 +++ /work/SRC/openSUSE:Factory/.python-phply.new.28833/python-phply.changes 2019-01-21 11:02:07.711137542 +0100 @@ -1,0 +2,5 @@ +Fri Jan 18 12:58:05 UTC 2019 - Tomáš Chvátal + +- Remove generic tests directory + +--- Other differences: -- ++ python-phply.spec ++ --- /var/tmp/diff_new_pack.Q6l2BU/_old 2019-01-21 11:02:08.115137022 +0100 +++ /var/tmp/diff_new_pack.Q6l2BU/_new 2019-01-21 11:02:08.115137022 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-phply # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # 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/ # @@ -46,6 +46,7 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests %check %python_exec setup.py test
commit python-phply for openSUSE:Factory
Hello community, here is the log from the commit of package python-phply for openSUSE:Factory checked in at 2018-08-03 12:38:14 Comparing /work/SRC/openSUSE:Factory/python-phply (Old) and /work/SRC/openSUSE:Factory/.python-phply.new (New) Package is "python-phply" Fri Aug 3 12:38:14 2018 rev:1 rq:627085 version:1.2.5 Changes: New Changes file: --- /dev/null 2018-07-30 18:06:19.633948440 +0200 +++ /work/SRC/openSUSE:Factory/.python-phply.new/python-phply.changes 2018-08-03 12:38:18.191658841 +0200 @@ -0,0 +1,10 @@ +--- +Thu Aug 2 13:25:01 UTC 2018 - tchva...@suse.com + +- Version update to 1.2.5: + * Distribute license file + +--- +Thu Aug 2 07:50:52 UTC 2018 - tchva...@suse.com + +- PHP parser written using ply, used by weblate New: phply-1.2.5.tar.gz python-phply.changes python-phply.spec Other differences: -- ++ python-phply.spec ++ # # spec file for package python-phply # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-phply Version:1.2.5 Release:0 Summary:Lexer and parser for PHP source implemented using PLY License:BSD-3-Clause Group: Development/Languages/Python URL:https://github.com/viraptor/phply Source: https://files.pythonhosted.org/packages/source/p/phply/phply-%{version}.tar.gz BuildRequires: %{python_module nose} BuildRequires: %{python_module ply} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-ply BuildArch: noarch %python_subpackages %description phply is a parser for the PHP programming language written using PLY, a Lex/YACC-style parser generator toolkit for Python. %prep %setup -q -n phply-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %license LICENSE %doc README.md %python3_only %{_bindir}/phplex %python3_only %{_bindir}/phpparse %{python_sitelib}/* %changelog