Hello community,
here is the log from the commit of package python-rpm-macros for
openSUSE:Factory checked in at 2019-06-18 14:48:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rpm-macros (Old)
and /work/SRC/openSUSE:Factory/.python-rpm-macros.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rpm-macros"
Tue Jun 18 14:48:37 2019 rev:21 rq:708959 version:20190610.2ee3233
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rpm-macros/python-rpm-macros.changes
2019-05-09 10:00:53.967565984 +0200
+++
/work/SRC/openSUSE:Factory/.python-rpm-macros.new.4811/python-rpm-macros.changes
2019-06-18 14:48:42.409694951 +0200
@@ -1,0 +2,27 @@
+Mon Jun 10 11:34:32 UTC 2019 - [email protected]
+
+- Update to version 20190610.2ee3233:
+ * Fix typo, missing opening brace.
+ * Add the first draft of pyproject_wheel and pyproject_install macros.
+ * Yet another attempt to preserve $PYTHONPATH set in the environment.
+ * Document also %pytest_arch
+ * Document %pytest in README.md
+ * Multiline macros don't work correctly on older RPMs.
+ * Add missing $ expansion on the pytest call
+ * Rewrite pytest and pytest_arch into Lua macros with multiple arguments.
+ * We should preserve existing PYTHONPATH.
+ * Add --ignore to pytest calls to ignore build directories.
+
+-------------------------------------------------------------------
+Mon Jun 10 11:27:22 UTC 2019 - [email protected]
+
+- Update to version 20190610.2ee3233:
+ * Fix typo, missing opening brace.
+
+-------------------------------------------------------------------
+Mon May 20 12:38:10 UTC 2019 - [email protected]
+
+- Update to version 20190511.2ed22b6:
+ * Add the first draft of pyproject_wheel and pyproject_install macros.
+
+-------------------------------------------------------------------
Old:
----
python-rpm-macros-20190430.5260267.tar.bz2
New:
----
python-rpm-macros-20190610.2ee3233.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-rpm-macros.spec ++++++
--- /var/tmp/diff_new_pack.8F6qSL/_old 2019-06-18 14:48:42.885694838 +0200
+++ /var/tmp/diff_new_pack.8F6qSL/_new 2019-06-18 14:48:42.889694837 +0200
@@ -17,7 +17,7 @@
Name: python-rpm-macros
-Version: 20190430.5260267
+Version: 20190610.2ee3233
Release: 0
Summary: RPM macros for building of Python modules
License: WTFPL
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.8F6qSL/_old 2019-06-18 14:48:42.933694827 +0200
+++ /var/tmp/diff_new_pack.8F6qSL/_new 2019-06-18 14:48:42.937694826 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param
name="url">git://github.com/openSUSE/python-rpm-macros.git</param>
- <param
name="changesrevision">f2e1b2e7014bc5a99725a4a97384141c640b9321</param></service></servicedata>
\ No newline at end of file
+ <param
name="changesrevision">2ee323342bb98f6089007de6ffaf8d3f03d873c1</param></service></servicedata>
\ No newline at end of file
++++++ python-rpm-macros-20190430.5260267.tar.bz2 ->
python-rpm-macros-20190610.2ee3233.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-rpm-macros-20190430.5260267/macros/010-common-defs
new/python-rpm-macros-20190610.2ee3233/macros/010-common-defs
--- old/python-rpm-macros-20190430.5260267/macros/010-common-defs
2019-04-30 18:23:17.000000000 +0200
+++ new/python-rpm-macros-20190610.2ee3233/macros/010-common-defs
2019-06-10 13:26:13.000000000 +0200
@@ -49,7 +49,13 @@
%py_ver %python_version
-##### testing commands #####
+##### Pytest macros #####
%pytest_arch(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=)
%{lua: local args = rpm.expand("%**") print(rpm.expand("%{python_expand
PYTHONPATH=$PYTHONPATH:%{buildroot}%{$python_sitearch}
py.test-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3
--ignore=_build.pypy3 -v " .. args .. "}")) }
%pytest(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=)
%{lua: local args = rpm.expand("%**") print(rpm.expand("%{python_expand
PYTHONPATH=$PYTHONPATH:%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3
--ignore=_build.pypy3 -v " .. args .. "}")) }
+
+##### PEP-518 macros #####
+%pyproject_wheel(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=)
%{lua: local args = rpm.expand("%**") print(rpm.expand("%{python_expand
$python -mpip wheel --no-deps %{?py_setup_args:--build-option %{py_setup_args}}
--use-pep517 --no-build-isolation --progress-bar off --verbose . " .. args ..
"}")) }
+
+# No such option: --strip-file-prefix %%{buildroot}
+%pyproject_install(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-=)
%{lua: local args = rpm.expand("%**") print(rpm.expand("%{python_expand
$python -mpip install --root %{buildroot} --no-deps --progress-bar off *.whl
" .. args .. "}")) }