Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lscsoft-glue for openSUSE:Factory 
checked in at 2024-09-16 17:43:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lscsoft-glue (Old)
 and      /work/SRC/openSUSE:Factory/.lscsoft-glue.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lscsoft-glue"

Mon Sep 16 17:43:16 2024 rev:8 rq:1201303 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lscsoft-glue/lscsoft-glue.changes        
2024-01-18 21:54:50.091880788 +0100
+++ /work/SRC/openSUSE:Factory/.lscsoft-glue.new.29891/lscsoft-glue.changes     
2024-09-16 17:44:27.620491650 +0200
@@ -1,0 +2,15 @@
+Tue Aug 13 05:49:09 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 4.0.0:
+  * lots of library content, and all scripts, has been removed
+  * removed lscsoft-glue-utils package
+  * use pybuild-plugin-pyproject for building
+- Drop lscsoft-glue-data package: no longer applicable.
+- Make package noarch.
+- Switch to %pyproject_* based builds; add BuildRequires:
+  python-pip and python-wheel.
+- New Requires: python-six and python-pyOpenSSL; drop no longer
+  needed python-pyRXP.
+- Add setup.cfg snippet to allow building for openSUSE Leap 15.x.
+
+-------------------------------------------------------------------

Old:
----
  lscsoft-glue-3.0.2.tar.gz

New:
----
  lscsoft-glue-4.0.0.tar.gz

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

Other differences:
------------------
++++++ lscsoft-glue.spec ++++++
--- /var/tmp/diff_new_pack.2yYuZm/_old  2024-09-16 17:44:28.108511833 +0200
+++ /var/tmp/diff_new_pack.2yYuZm/_new  2024-09-16 17:44:28.112511999 +0200
@@ -31,26 +31,29 @@
 # Support dropped for python2 by upstream
 %define skip_python2 1
 
-%define ligocommands ligolw_combine_segments ligolw_diff ligolw_dq_active 
ligolw_dq_active_cats ligolw_inspiral2mon ligolw_print_tables
-
 %define modname glue
 Name:           lscsoft-glue%{psuffix}
-Version:        3.0.2
+Version:        4.0.0
 Release:        0
 Summary:        Grid LSC User Environment
 License:        GPL-2.0-only
 URL:            http://software.ligo.org/lscsoft
 Source:         
https://files.pythonhosted.org/packages/source/l/lscsoft-glue/%{pname}-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       %{pname}-data = %{version}
 Requires:       python-ligo-segments
 Requires:       python-numpy
-Requires:       python-pyRXP
+Requires:       python-pyOpenSSL
+Requires:       python-six
+Provides:       lscsoft-glue-data = %{version}
+Obsoletes:      lscsoft-glue-data < %{version}
 Provides:       python-glue = %{version}-%{release}
 Obsoletes:      python-glue < %{version}-%{release}
+BuildArch:      noarch
 %define oldpython python
 Provides:       %{oldpython}-glue = %{version}-%{release}
 Obsoletes:      %{oldpython}-glue < %{version}-%{release}
@@ -60,7 +63,6 @@
 BuildRequires:  %{python_module lscsoft-glue = %{version}}
 BuildRequires:  %{python_module matplotlib}
 BuildRequires:  %{python_module numpy}
-BuildRequires:  %{python_module pyRXP}
 BuildRequires:  %{python_module pytest}
 %endif
 Requires(post): update-alternatives
@@ -86,52 +88,54 @@
 
 %prep
 %autosetup -p1 -n %{pname}-%{version}
+# Taken from bundled specfile template
+%if 0%{?suse_version} < 1650
+cat > setup.cfg <<EOF
+[metadata]
+name = %{pname}
+version = %{version}
+description = %{summary}
+license = %{license}
+license_files = LICENSE
+url = %{url}
+[options]
+packages = find:
+python_requires = >=3.6
+install_requires =
+       ligo-segments
+       pyOpenSSL
+       six
+EOF
+%endif
 
 %build
 %if ! %{with test}
-%python_build
+%pyproject_wheel
 %endif
 
 %install
 %if ! %{with test}
-%python_install
+%pyproject_install
 
 # SECTION Remove non-library config/php files
 rm -fr %{buildroot}%{_prefix}%{_sysconfdir}
 rm -fr %{buildroot}%{_prefix}%{_localstatedir}
 # /SECTION
 
-%{lua: for c in string.gmatch(rpm.expand("%ligocommands"), "%S+") do
-  print(rpm.expand("%python_clone -a %{buildroot}%{_bindir}/" .. c .. "\n"))
-end}
-
-%python_expand %fdupes -s %{buildroot}%{$python_sitearch}
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 %endif
 
 %if %{with test}
 %check
 # test_ldbd.py requires network; disable
-%pytest_arch -k 'not test_ldbd'
+%pytest -k 'not test_ldbd'
 %endif
 
 %if ! %{with test}
-%post
-%python_install_alternative %ligocommands
-
-%postun
-# arguments after the master item are ignored
-%python_uninstall_alternative %ligocommands
-
-%files -n %{pname}-data
-%{_datadir}/%{name}/
-
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%{lua: for c in string.gmatch(rpm.expand("%ligocommands"), "%S+") do
-  print(rpm.expand("%python_alternative %{_bindir}/" .. c .. "\n"))
-end}
-%{python_sitearch}/glue
-%{python_sitearch}/lscsoft_glue-%{version}*-info
+%{python_sitelib}/glue/
+%{python_sitelib}/lscsoft_glue-%{version}*-info
 %endif
 

++++++ lscsoft-glue-3.0.2.tar.gz -> lscsoft-glue-4.0.0.tar.gz ++++++
++++ 84310 lines of diff (skipped)

Reply via email to