commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2020-03-14 09:54:47 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.3160 (New) Package is "yast2-python-bindings" Sat Mar 14 09:54:47 2020 rev:45 rq:784392 version:4.1.3 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2020-02-18 10:34:13.604188109 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.3160/yast2-python-bindings.changes 2020-03-14 09:54:49.319087305 +0100 @@ -1,0 +2,6 @@ +Thu Mar 12 13:30:21 UTC 2020 - Noel Power + +- Fix build for python 3.8; (bsc#1166517)/ +- 4.1.3 + +--- Old: yast2-python-bindings-4.1.2.tar.bz2 New: yast2-python-bindings-4.1.3.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.wbkbcq/_old 2020-03-14 09:54:49.727087604 +0100 +++ /var/tmp/diff_new_pack.wbkbcq/_new 2020-03-14 09:54:49.731087607 +0100 @@ -23,7 +23,7 @@ %bcond_with python2 %endif Name: yast2-python-bindings -Version:4.1.2 +Version:4.1.3 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only ++ yast2-python-bindings-4.1.2.tar.bz2 -> yast2-python-bindings-4.1.3.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.1.2/package/yast2-python-bindings.changes new/yast2-python-bindings-4.1.3/package/yast2-python-bindings.changes --- old/yast2-python-bindings-4.1.2/package/yast2-python-bindings.changes 2020-02-14 19:11:00.0 +0100 +++ new/yast2-python-bindings-4.1.3/package/yast2-python-bindings.changes 2020-03-12 18:51:07.0 +0100 @@ -1,4 +1,10 @@ --- +Thu Mar 12 13:30:21 UTC 2020 - Noel Power + +- Fix build for python 3.8; (bsc#1166517)/ +- 4.1.3 + +--- Mon Feb 10 23:59:20 UTC 2020 - dmul...@suse.com - Don't overwrite CPPFLAGS/LDFLAGS/LIBADD during build; (bsc#1163310); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.1.2/package/yast2-python-bindings.spec new/yast2-python-bindings-4.1.3/package/yast2-python-bindings.spec --- old/yast2-python-bindings-4.1.2/package/yast2-python-bindings.spec 2020-02-14 19:11:00.0 +0100 +++ new/yast2-python-bindings-4.1.3/package/yast2-python-bindings.spec 2020-03-12 18:51:07.0 +0100 @@ -23,7 +23,7 @@ %bcond_with python2 %endif Name: yast2-python-bindings -Version:4.1.2 +Version:4.1.3 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.1.2/src/Makefile.am new/yast2-python-bindings-4.1.3/src/Makefile.am --- old/yast2-python-bindings-4.1.2/src/Makefile.am 2020-02-14 19:11:00.0 +0100 +++ new/yast2-python-bindings-4.1.3/src/Makefile.am 2020-03-12 18:51:07.0 +0100 @@ -26,7 +26,7 @@ SOURCES = Y2PythonComponent.cc Y2CCPython.cc YPython.cc YPythonNamespace.cc YCPDeclarations.cc yast.cpp yast-core_wrap.cxx Y2PythonClientComponent.cc Y2CCPythonClient.cc YPythonCode.cc PythonLogger.cc LIB_LIBADD = -L$(py2langdir) -lpy2UI -lpy2wfm -LIB_LDFLAGS = -module ${PYTHON_LDFLAGS} -Wl,-rpath=$(pyexecdir) +LIB_LDFLAGS = -module ${PYTHON_LDFLAGS} ${PYTHON_LIBS} -Wl,-rpath=$(pyexecdir) LIB_CPPFLAGS = -std=c++11 -I/usr/include/YaST2 ${PYTHON_CPPFLAGS} -Wno-terminate -Wno-format-security -Wno-format-nonliteral if HAVE_PY3
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2020-02-18 10:34:12 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.26092 (New) Package is "yast2-python-bindings" Tue Feb 18 10:34:12 2020 rev:44 rq:774424 version:4.1.2 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2019-05-22 15:37:48.066602881 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.26092/yast2-python-bindings.changes 2020-02-18 10:34:13.604188109 +0100 @@ -1,0 +2,13 @@ +Mon Feb 10 23:59:20 UTC 2020 - dmul...@suse.com + +- Don't overwrite CPPFLAGS/LDFLAGS/LIBADD during build; (bsc#1163310); +- 4.1.2 + +--- +Thu Jan 9 09:45:58 UTC 2020 - Tomáš Chvátal + +- Switch to python3 on new releases of openSUSE as we no longer + support python2 at all +- Cleanup the spec file to adhere to current packaging guidelines + +--- Old: yast2-python-bindings-4.1.1.tar.bz2 New: yast2-python-bindings-4.1.2.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.s14gIH/_old 2020-02-18 10:34:14.100189121 +0100 +++ /var/tmp/diff_new_pack.s14gIH/_new 2020-02-18 10:34:14.104189129 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-python-bindings # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ -16,22 +16,19 @@ # -%if 0%{?suse_version} > 1310 || 0%{?fedora_version} > 20 -%define with_python3 1 +%bcond_without python3 +%if 0%{?suse_version} <= 1500 +%bcond_without python2 %else -%define with_python3 0 +%bcond_with python2 %endif - Name: yast2-python-bindings -Version:4.1.1 +Version:4.1.2 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only Group: System/YaST - -BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0:%{name}-%{version}.tar.bz2 - BuildRequires: autoconf BuildRequires: autoconf-archive BuildRequires: automake @@ -40,11 +37,6 @@ BuildRequires: libyui-devel BuildRequires: make BuildRequires: python -BuildRequires: python-devel -%if %{with_python3} -BuildRequires: python3 -BuildRequires: python3-devel -%endif BuildRequires: python-rpm-macros BuildRequires: swig BuildRequires: yast2-core-devel @@ -53,78 +45,79 @@ Requires: python Requires: yast2-core Requires: yast2-ycp-ui-bindings -Obsoletes: yast2-python-bindings < 4.0.1 Conflicts: yast2-python3-bindings +Obsoletes: yast2-python-bindings < 4.0.1 +%if %{with python2} +BuildRequires: python-devel +%endif +%if %{with python3} +BuildRequires: python3-devel +%endif %description -n yast2-python-bindings The bindings allow YaST modules to be written using the Python language and also Python scripts can use YaST agents, APIs and modules. -%if %{with_python3} %package -n yast2-python3-bindings Summary:Python3 bindings for the YaST platform Group: System/YaST Requires: python3 Requires: yast2-core Requires: yast2-ycp-ui-bindings -Obsoletes: yast2-python-bindings == 4.0.1 Conflicts: yast2-python-bindings +Obsoletes: yast2-python-bindings = 4.0.1 %description -n yast2-python3-bindings The bindings allow YaST modules to be written using the Python language and also Python scripts can use YaST agents, APIs and modules. -%endif - -%define builddir %{_builddir}/%{name}-%{version} %prep -%setup -n %{name}-%{version} +%setup -q %build -make -f Makefile.cvs all -%if %{with_python3} +make %{?_smp_mflags} -f Makefile.cvs all +%if %{with python3} mkdir py3 && pushd py3 ln -s ../configure configure -%{configure} --enable-python3 +%configure --enable-python3 %make_build popd %endif +%if %{with python2} mkdir py2 && pushd py2 ln -s ../configure configure -%{configure} +%configure %make_build popd +%endif %install %if %{with_python3} %make_install -C py3 %endif +%if %{with python2} %make_install -C py2 +%endif -%if %{with_python3} +%if %{with python3} %files -n yast2-python3-bindings -%defattr (-, root, root) %doc %{yast_docdir} -%{python3_sitelib}/*.py +%{python3_sitelib}/* %{python3_sitearch}/_ycp.so %{yast_plugindir}/libpy2lang_python3.so.* %{yast_plugindir}/libpy2lang_python3.so -%exclude
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2019-05-22 15:37:45 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.5148 (New) Package is "yast2-python-bindings" Wed May 22 15:37:45 2019 rev:43 rq:704530 version:4.1.1 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2019-02-28 21:47:58.445407986 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.5148/yast2-python-bindings.changes 2019-05-22 15:37:48.066602881 +0200 @@ -1,0 +2,7 @@ +Tue May 21 15:58:45 UTC 2019 - dmul...@suse.com + +- yast2-python-bindings compilation errors when compiling with + -Werror=format-security; (bsc#1133596); +- 4.1.1 + +--- Old: yast2-python-bindings-4.1.0.tar.bz2 New: yast2-python-bindings-4.1.1.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.oTjY8l/_old 2019-05-22 15:37:48.582602732 +0200 +++ /var/tmp/diff_new_pack.oTjY8l/_new 2019-05-22 15:37:48.586602731 +0200 @@ -23,7 +23,7 @@ %endif Name: yast2-python-bindings -Version:4.1.0 +Version:4.1.1 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only ++ yast2-python-bindings-4.1.0.tar.bz2 -> yast2-python-bindings-4.1.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.1.0/Dockerfile new/yast2-python-bindings-4.1.1/Dockerfile --- old/yast2-python-bindings-4.1.0/Dockerfile 2019-02-27 15:44:22.0 +0100 +++ new/yast2-python-bindings-4.1.1/Dockerfile 2019-05-21 18:33:08.0 +0200 @@ -1,4 +1,4 @@ -FROM yastdevel/cpp +FROM registry.opensuse.org/yast/head/containers/yast-cpp:latest RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \ python-devel python3-devel swig autoconf-archive COPY . /usr/src/app diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.1.0/README.md new/yast2-python-bindings-4.1.1/README.md --- old/yast2-python-bindings-4.1.0/README.md 2019-02-27 15:44:22.0 +0100 +++ new/yast2-python-bindings-4.1.1/README.md 2019-05-21 18:33:08.0 +0200 @@ -1,5 +1,186 @@ # YaST - The Python Bindings # [![Travis Build](https://travis-ci.org/yast/yast-python-bindings.svg?branch=master)](https://travis-ci.org/yast/yast-python-bindings) -[![Jenkins Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-python-bindings-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-python-bindings-master/) +[![Jenkins Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-yast-python-bindings-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-yast-python-bindings-master/) + +The API documentation for the UI can be found [here][api]. For more details, +check the [YaST documentation][doc]. + +[api]: http://yast-ui-bindings.surge.sh +[doc]: http://yast.opensuse.org/documentation + +## Python versions +The yast python bindings will build in both python2 and python3. Suppying the +--enable-python3 option during configure will switch to python3 bindings. + +## Calling YaST from Python + +### Publish, Import and Include + +The connection to the [YaST component system][arch] has two parts. +The first one is the ability +to be called from the component system. *Clients* can be called via WFM +and *modules* provide an interface via the `Declare` decorator, where the type +signature is specified. + +[arch]: https://yastgithubio.readthedocs.org/en/latest/architecture/ + +The second part is calling methods from the component system. *Clients* are called +via WFM. Methods from *modules* are imported with {yast.import_module}, which +loads a component and creates a python object in the Yast namespace from it, on which +exported methods can be called. + + A simple yast python module (example) +Modules must be installed in one of the YaST2 modules directories: +/y2update/modules; $HOME/.yast2/modules; /usr/share/YaST2/modules + +```python +# ~/.yast2/modules/pytest.py +from yast import Declare +@Declare('integer', 'integer', 'integer') +def suma(a, b): +return a + b +``` + + Calling this module from python + +```python +import yast +yast.import_module('pytest') +print(yast.pytest.suma(2, 3)) +``` + + Calling this module from ruby + +```ruby +require "yast" +Yast.import "pytest" +puts Yast::pytest.suma(2, 3) +``` + + Calling this module from perl + +```perl +use YaPI;
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2019-02-28 21:47:56 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833 (New) Package is "yast2-python-bindings" Thu Feb 28 21:47:56 2019 rev:42 rq:679854 version:4.1.0 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2019-02-24 18:03:56.083763655 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833/yast2-python-bindings.changes 2019-02-28 21:47:58.445407986 +0100 @@ -1,0 +2,6 @@ +Tue Feb 26 12:45:28 UTC 2019 - José Iván López González + +- Version bump (bsc#1124009) +- 4.1.0 + +--- Old: yast2-python-bindings-4.0.9.tar.bz2 New: yast2-python-bindings-4.1.0.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.bt724G/_old 2019-02-28 21:47:58.825407824 +0100 +++ /var/tmp/diff_new_pack.bt724G/_new 2019-02-28 21:47:58.829407822 +0100 @@ -23,7 +23,7 @@ %endif Name: yast2-python-bindings -Version:4.0.9 +Version:4.1.0 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only ++ yast2-python-bindings-4.0.9.tar.bz2 -> yast2-python-bindings-4.1.0.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.9/package/yast2-python-bindings.changes new/yast2-python-bindings-4.1.0/package/yast2-python-bindings.changes --- old/yast2-python-bindings-4.0.9/package/yast2-python-bindings.changes 2019-02-20 16:17:23.0 +0100 +++ new/yast2-python-bindings-4.1.0/package/yast2-python-bindings.changes 2019-02-27 15:44:22.0 +0100 @@ -1,4 +1,10 @@ --- +Tue Feb 26 12:45:28 UTC 2019 - José Iván López González + +- Version bump (bsc#1124009) +- 4.1.0 + +--- Wed Feb 20 14:41:28 UTC 2019 - nopo...@suse.com - Fix python3 bindings error showning 'unexpect exception' and no diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.9/package/yast2-python-bindings.spec new/yast2-python-bindings-4.1.0/package/yast2-python-bindings.spec --- old/yast2-python-bindings-4.0.9/package/yast2-python-bindings.spec 2019-02-20 16:17:23.0 +0100 +++ new/yast2-python-bindings-4.1.0/package/yast2-python-bindings.spec 2019-02-27 15:44:22.0 +0100 @@ -23,7 +23,7 @@ %endif Name: yast2-python-bindings -Version:4.0.9 +Version:4.1.0 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2019-02-24 18:03:54 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833 (New) Package is "yast2-python-bindings" Sun Feb 24 18:03:54 2019 rev:41 rq:677765 version:4.0.9 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2019-02-01 11:46:39.952477280 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833/yast2-python-bindings.changes 2019-02-24 18:03:56.083763655 +0100 @@ -1,0 +2,7 @@ +Wed Feb 20 14:41:28 UTC 2019 - nopo...@suse.com + +- Fix python3 bindings error showning 'unexpect exception' and no + trace information for errors; (bsc# 1126112). +- 4.0.9 + +--- Old: yast2-python-bindings-4.0.8.tar.bz2 New: yast2-python-bindings-4.0.9.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.1kYzzW/_old 2019-02-24 18:03:56.455763529 +0100 +++ /var/tmp/diff_new_pack.1kYzzW/_new 2019-02-24 18:03:56.455763529 +0100 @@ -23,7 +23,7 @@ %endif Name: yast2-python-bindings -Version:4.0.8 +Version:4.0.9 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only ++ yast2-python-bindings-4.0.8.tar.bz2 -> yast2-python-bindings-4.0.9.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.8/package/yast2-python-bindings.changes new/yast2-python-bindings-4.0.9/package/yast2-python-bindings.changes --- old/yast2-python-bindings-4.0.8/package/yast2-python-bindings.changes 2019-01-30 15:48:28.0 +0100 +++ new/yast2-python-bindings-4.0.9/package/yast2-python-bindings.changes 2019-02-20 16:17:23.0 +0100 @@ -1,4 +1,11 @@ --- +Wed Feb 20 14:41:28 UTC 2019 - nopo...@suse.com + +- Fix python3 bindings error showning 'unexpect exception' and no + trace information for errors; (bsc# 1126112). +- 4.0.9 + +--- Fri Jan 18 17:39:23 UTC 2019 - dmul...@suse.com - Update to 4.0.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.8/package/yast2-python-bindings.spec new/yast2-python-bindings-4.0.9/package/yast2-python-bindings.spec --- old/yast2-python-bindings-4.0.8/package/yast2-python-bindings.spec 2019-01-30 15:48:28.0 +0100 +++ new/yast2-python-bindings-4.0.9/package/yast2-python-bindings.spec 2019-02-20 16:17:23.0 +0100 @@ -23,7 +23,7 @@ %endif Name: yast2-python-bindings -Version:4.0.8 +Version:4.0.9 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.8/src/YPython.cc new/yast2-python-bindings-4.0.9/src/YPython.cc --- old/yast2-python-bindings-4.0.8/src/YPython.cc 2019-01-30 15:48:28.0 +0100 +++ new/yast2-python-bindings-4.0.9/src/YPython.cc 2019-02-20 16:17:23.0 +0100 @@ -491,9 +491,9 @@ pystring = NULL; if (errobj != NULL && (pystring = PyObject_Str(errobj)) != NULL && /* str(object) */ -(PyString_Check(pystring)) +(PyStr_Check(pystring)) ) { -result += PyString_AsString(pystring); +result += PyStr_AsString(pystring); } else { result += ""; } @@ -503,9 +503,9 @@ pystring = NULL; if (errdata != NULL && (pystring = PyObject_Str(errdata)) != NULL && -(PyString_Check(pystring)) +(PyStr_Check(pystring)) ) { -result += PyString_AsString(pystring); +result += PyStr_AsString(pystring); } else { result += ""; } @@ -514,9 +514,9 @@ result +="; error traceback: "; pystring = NULL; -if (errdata != NULL && +if (errtraceback != NULL && (pystring = PyObject_Str(errtraceback)) != NULL && -(PyString_Check(pystring)) +(PyStr_AsString(pystring)) ) { PyObject *mod = PyImport_ImportModule("traceback"); if (mod) { @@ -533,13 +533,13 @@ traceStr = PyUnicode_Join(newline, meth_result); } if (traceStr) { -result += PyString_AsString(traceStr); +result +=
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2019-02-01 11:46:37 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833 (New) Package is "yast2-python-bindings" Fri Feb 1 11:46:37 2019 rev:40 rq:670148 version:4.0.8 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2019-01-10 15:23:29.718320884 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833/yast2-python-bindings.changes 2019-02-01 11:46:39.952477280 +0100 @@ -1,0 +2,9 @@ +Fri Jan 18 17:39:23 UTC 2019 - dmul...@suse.com + +- Update to 4.0.8 + + Forward port python import capability, with improvements and +code cleanup; (bsc#1122532). + + Add pydocs to yast python + + Improve building/packaging of python2/3 + +--- Old: yast2-python-bindings-4.0.7.tar.bz2 New: yast2-python-bindings-4.0.8.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.TdhyVh/_old 2019-02-01 11:46:40.376476845 +0100 +++ /var/tmp/diff_new_pack.TdhyVh/_new 2019-02-01 11:46:40.380476840 +0100 @@ -23,7 +23,7 @@ %endif Name: yast2-python-bindings -Version:4.0.7 +Version:4.0.8 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only @@ -82,55 +82,49 @@ %build make -f Makefile.cvs all - %if %{with_python3} -%configure --enable-python3 -make -mkdir -p %{builddir}/python3 -%__cp -d src/*.py %{builddir}/python3 -%__cp -d src/.libs/*.so.0.0.0 %{builddir}/python3 -%__cp -d src/*.la %{builddir}/python3 -make clean -%endif - -%configure -make +mkdir py3 && pushd py3 +ln -s ../configure configure +%{configure} --enable-python3 +%make_build +popd +%endif +mkdir py2 && pushd py2 +ln -s ../configure configure +%{configure} +%make_build +popd %install -%yast_install -rm %{buildroot}/%{python_sitelib}/*.pyc -rm %{buildroot}/%{python_sitelib}/*.pyo -rm %{buildroot}/%{python_sitearch}/*.la -rm %{buildroot}/%{yast_plugindir}/*.la %if %{with_python3} -%__mkdir_p %{buildroot}/%{python3_sitelib}/ -%__install -m 0644 %{builddir}/python3/*.py %{buildroot}/%{python3_sitelib}/ -%__mkdir_p %{buildroot}/%{python3_sitearch}/ -%__install -m 0755 %{builddir}/python3/_ycp.so* %{buildroot}/%{python3_sitearch}/ -%__ln_s %{python3_sitearch}/_ycp.so.0.0.0 %{buildroot}/%{python3_sitearch}/_ycp.so.0 -%__ln_s %{python3_sitearch}/_ycp.so.0.0.0 %{buildroot}/%{python3_sitearch}/_ycp.so -%__install -m 0755 %{builddir}/python3/libpy2lang_python.so.0.0.0 %{buildroot}/%{yast_plugindir}/libpy2lang_python3.so.0.0.0 -%__ln_s %{yast_plugindir}/libpy2lang_python3.so.0.0.0 %{buildroot}/%{yast_plugindir}/libpy2lang_python3.so -%__ln_s %{yast_plugindir}/libpy2lang_python3.so.0.0.0 %{buildroot}/%{yast_plugindir}/libpy2lang_python3.so.0 +%make_install -C py3 %endif +%make_install -C py2 %if %{with_python3} %files -n yast2-python3-bindings %defattr (-, root, root) %doc %{yast_docdir} %{python3_sitelib}/*.py -%{python3_sitearch}/_ycp.so* +%{python3_sitearch}/_ycp.so %{yast_plugindir}/libpy2lang_python3.so.* %{yast_plugindir}/libpy2lang_python3.so +%exclude %dir %{python3_sitelib}/__pycache__ +%exclude %{python3_sitelib}/__pycache__/*.pyc +%exclude %{python3_sitelib}/__pycache__/*.pyo +%exclude %{yast_plugindir}/libpy2lang_python3.la %endif %files -n yast2-python-bindings %defattr (-, root, root) %doc %{yast_docdir} %{python_sitelib}/*.py -%{python_sitearch}/_ycp.so* +%{python_sitearch}/_ycp.so %{yast_plugindir}/libpy2lang_python.so.* %{yast_plugindir}/libpy2lang_python.so %license COPYING +%exclude %{python_sitelib}/*.pyc +%exclude %{python_sitelib}/*.pyo +%exclude %{yast_plugindir}/libpy2lang_python.la %changelog ++ yast2-python-bindings-4.0.7.tar.bz2 -> yast2-python-bindings-4.0.8.tar.bz2 ++ 3360 lines of diff (skipped)
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2019-01-10 15:23:28 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833 (New) Package is "yast2-python-bindings" Thu Jan 10 15:23:28 2019 rev:39 rq:664114 version:4.0.7 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2018-09-26 14:23:45.133890251 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833/yast2-python-bindings.changes 2019-01-10 15:23:29.718320884 +0100 @@ -1,0 +2,16 @@ +Wed Jan 9 14:52:04 UTC 2019 - dmul...@suse.com + +- Define yast._() as an alias to gettext(); (bsc#1121106). + +--- +Tue Jan 8 20:29:50 UTC 2019 - dmul...@suse.com + +- Provide textdomain() and gettext() functions for + internationization; (bsc#1121106). + +--- +Tue Oct 16 16:16:58 CEST 2018 - sch...@suse.de + +- Added license file to spec. + +--- Old: yast2-python-bindings-4.0.5.tar.bz2 New: yast2-python-bindings-4.0.7.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.PULKTS/_old 2019-01-10 15:23:30.282320300 +0100 +++ /var/tmp/diff_new_pack.PULKTS/_new 2019-01-10 15:23:30.282320300 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-python-bindings # -# 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 @@ -23,7 +23,7 @@ %endif Name: yast2-python-bindings -Version:4.0.5 +Version:4.0.7 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only @@ -131,5 +131,6 @@ %{python_sitearch}/_ycp.so* %{yast_plugindir}/libpy2lang_python.so.* %{yast_plugindir}/libpy2lang_python.so +%license COPYING %changelog ++ yast2-python-bindings-4.0.5.tar.bz2 -> yast2-python-bindings-4.0.7.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.5/package/yast2-python-bindings.changes new/yast2-python-bindings-4.0.7/package/yast2-python-bindings.changes --- old/yast2-python-bindings-4.0.5/package/yast2-python-bindings.changes 2018-09-25 16:54:15.0 +0200 +++ new/yast2-python-bindings-4.0.7/package/yast2-python-bindings.changes 2019-01-09 16:19:59.0 +0100 @@ -1,4 +1,20 @@ --- +Wed Jan 9 14:52:04 UTC 2019 - dmul...@suse.com + +- Define yast._() as an alias to gettext(); (bsc#1121106). + +--- +Tue Jan 8 20:29:50 UTC 2019 - dmul...@suse.com + +- Provide textdomain() and gettext() functions for + internationization; (bsc#1121106). + +--- +Tue Oct 16 16:16:58 CEST 2018 - sch...@suse.de + +- Added license file to spec. + +--- Sat Sep 15 15:04:15 UTC 2018 - nopo...@suse.com - Fix Id construction for python2, use items instead of iteritems diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.5/package/yast2-python-bindings.spec new/yast2-python-bindings-4.0.7/package/yast2-python-bindings.spec --- old/yast2-python-bindings-4.0.5/package/yast2-python-bindings.spec 2018-09-25 16:54:15.0 +0200 +++ new/yast2-python-bindings-4.0.7/package/yast2-python-bindings.spec 2019-01-09 16:19:59.0 +0100 @@ -23,7 +23,7 @@ %endif Name: yast2-python-bindings -Version:4.0.5 +Version:4.0.7 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0-only @@ -131,5 +131,6 @@ %{python_sitearch}/_ycp.so* %{yast_plugindir}/libpy2lang_python.so.* %{yast_plugindir}/libpy2lang_python.so +%license COPYING %changelog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.5/src/Makefile.am new/yast2-python-bindings-4.0.7/src/Makefile.am --- old/yast2-python-bindings-4.0.5/src/Makefile.am 2018-09-25 16:54:15.0 +0200 +++ new/yast2-python-bindings-4.0.7/src/Makefile.am 2019-01-09 16:19:59.0 +0100 @@ -1,7
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2018-09-26 14:23:37 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is "yast2-python-bindings" Wed Sep 26 14:23:37 2018 rev:38 rq:638222 version:4.0.5 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2018-06-02 12:13:17.329479872 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2018-09-26 14:23:45.133890251 +0200 @@ -1,0 +2,11 @@ +Sat Sep 15 15:04:15 UTC 2018 - nopo...@suse.com + +- Fix Id construction for python2, use items instead of iteritems + for python2/python3 compatability; (bsc#1108558). + +--- +Mon Aug 20 13:57:26 CEST 2018 - sch...@suse.de + +- Switched license in spec file from SPDX2 to SPDX3 format. + +--- Old: yast2-python-bindings-4.0.4.tar.bz2 New: yast2-python-bindings-4.0.5.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.cU7Jz8/_old 2018-09-26 14:23:45.721889315 +0200 +++ /var/tmp/diff_new_pack.cU7Jz8/_new 2018-09-26 14:23:45.725889309 +0200 @@ -23,10 +23,10 @@ %endif Name: yast2-python-bindings -Version:4.0.4 +Version:4.0.5 Release:0 Summary:Python bindings for the YaST platform -License:GPL-2.0 +License:GPL-2.0-only Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ yast2-python-bindings-4.0.4.tar.bz2 -> yast2-python-bindings-4.0.5.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.4/examples/ContextMenu.py new/yast2-python-bindings-4.0.5/examples/ContextMenu.py --- old/yast2-python-bindings-4.0.4/examples/ContextMenu.py 2018-05-31 16:01:15.0 +0200 +++ new/yast2-python-bindings-4.0.5/examples/ContextMenu.py 2018-09-25 16:54:15.0 +0200 @@ -65,7 +65,7 @@ event = copy.deepcopy(event) html = "Event:" ycpbuiltins.y2milestone("formatEvent(%1)", event) - for key, value in ycpbuiltins.foreach(event).iteritems(): + for key, value in ycpbuiltins.foreach(event).items(): html = html + "" + key + ": " + ycpbuiltins.tostring(value) + "" html = html + "" return html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.4/examples/Events.py new/yast2-python-bindings-4.0.5/examples/Events.py --- old/yast2-python-bindings-4.0.4/examples/Events.py 2018-05-31 16:01:15.0 +0200 +++ new/yast2-python-bindings-4.0.5/examples/Events.py 2018-09-25 16:54:15.0 +0200 @@ -283,7 +283,7 @@ event = copy.deepcopy(event) html = "Event:" ycpbuiltins.y2milestone("formatEvent(%1)", event) - for key, value in ycpbuiltins.foreach(event).iteritems(): + for key, value in ycpbuiltins.foreach(event).items(): html = html + "" + key + ": " + ycpbuiltins.tostring(value) + "" html = html + "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.4/examples/GetDisplayInfo.py new/yast2-python-bindings-4.0.5/examples/GetDisplayInfo.py --- old/yast2-python-bindings-4.0.4/examples/GetDisplayInfo.py 2018-05-31 16:01:15.0 +0200 +++ new/yast2-python-bindings-4.0.5/examples/GetDisplayInfo.py 2018-09-25 16:54:15.0 +0200 @@ -12,7 +12,7 @@ info_map = UI.GetDisplayInfo() info_text = "" - for capability, value in ycpbuiltins.foreach(info_map).iteritems(): + for capability, value in ycpbuiltins.foreach(info_map).items(): info_text = info_text + ycpbuiltins.sformat("%1: %2", capability, value) info_text = info_text + "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.4/examples/SlideShowDemo2.py new/yast2-python-bindings-4.0.5/examples/SlideShowDemo2.py --- old/yast2-python-bindings-4.0.4/examples/SlideShowDemo2.py 2018-05-31 16:01:15.0 +0200 +++ new/yast2-python-bindings-4.0.5/examples/SlideShowDemo2.py 2018-09-25 16:54:15.0 +0200 @@ -113,7 +113,7 @@ ) UI.WizardCommand(Term("SetBackButtonLabel", "S")) - slideShowPage = RichText(Id("slideText"), slide_text), + slideShowPage = RichText(Id("slideText"), slide_text) cdTable = Table(
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2018-06-02 12:12:36 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is "yast2-python-bindings" Sat Jun 2 12:12:36 2018 rev:37 rq:613283 version:4.0.4 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2018-03-22 12:10:30.322085505 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2018-06-02 12:13:17.329479872 +0200 @@ -1,0 +2,5 @@ +Tue May 29 15:49:44 UTC 2018 - dmul...@suse.com + +- Don't package files in '/' (bsc#1095054). + +--- Old: yast2-python-bindings-4.0.3.tar.bz2 New: yast2-python-bindings-4.0.4.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.kQDgHD/_old 2018-06-02 12:13:20.057379816 +0200 +++ /var/tmp/diff_new_pack.kQDgHD/_new 2018-06-02 12:13:20.061379669 +0200 @@ -22,13 +22,8 @@ %define with_python3 0 %endif -%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") -%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") -%define python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") -%define python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") - Name: yast2-python-bindings -Version:4.0.3 +Version:4.0.4 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0 @@ -50,6 +45,7 @@ BuildRequires: python3 BuildRequires: python3-devel %endif +BuildRequires: python-rpm-macros BuildRequires: swig BuildRequires: yast2-core-devel BuildRequires: yast2-ycp-ui-bindings ++ yast2-python-bindings-4.0.3.tar.bz2 -> yast2-python-bindings-4.0.4.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.3/package/yast2-python-bindings.changes new/yast2-python-bindings-4.0.4/package/yast2-python-bindings.changes --- old/yast2-python-bindings-4.0.3/package/yast2-python-bindings.changes 2018-03-16 18:19:44.0 +0100 +++ new/yast2-python-bindings-4.0.4/package/yast2-python-bindings.changes 2018-05-31 16:01:15.0 +0200 @@ -1,4 +1,9 @@ --- +Tue May 29 15:49:44 UTC 2018 - dmul...@suse.com + +- Don't package files in '/' (bsc#1095054). + +--- Fri Mar 9 16:35:09 UTC 2018 - dmul...@suse.com - Adapt the bindings to allow modules that will run in both python2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.3/package/yast2-python-bindings.spec new/yast2-python-bindings-4.0.4/package/yast2-python-bindings.spec --- old/yast2-python-bindings-4.0.3/package/yast2-python-bindings.spec 2018-03-16 18:19:44.0 +0100 +++ new/yast2-python-bindings-4.0.4/package/yast2-python-bindings.spec 2018-05-31 16:01:15.0 +0200 @@ -22,13 +22,8 @@ %define with_python3 0 %endif -%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") -%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") -%define python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") -%define python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") - Name: yast2-python-bindings -Version:4.0.3 +Version:4.0.4 Release:0 Summary:Python bindings for the YaST platform License:GPL-2.0 @@ -50,6 +45,7 @@ BuildRequires: python3 BuildRequires: python3-devel %endif +BuildRequires: python-rpm-macros BuildRequires: swig BuildRequires: yast2-core-devel BuildRequires: yast2-ycp-ui-bindings
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2018-03-22 12:04:40 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is "yast2-python-bindings" Thu Mar 22 12:04:40 2018 rev:36 rq:589219 version:4.0.3 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2018-01-31 19:52:12.692584758 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2018-03-22 12:10:30.322085505 +0100 @@ -1,0 +2,7 @@ +Fri Mar 9 16:35:09 UTC 2018 - dmul...@suse.com + +- Adapt the bindings to allow modules that will run in both python2 + or python3. Also fix a py3 binary mistakenly packaged with the py2 + bindings package (bsc#1074696). + +--- Old: yast2-python-bindings-4.0.2.tar.bz2 New: yast2-python-bindings-4.0.3.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.onxYN4/_old 2018-03-22 12:10:31.430045793 +0100 +++ /var/tmp/diff_new_pack.onxYN4/_new 2018-03-22 12:10:31.438045506 +0100 @@ -28,9 +28,9 @@ %define python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") Name: yast2-python-bindings -Version:4.0.2 +Version:4.0.3 Release:0 -Summary:Python3 bindings for the YaST platform +Summary:Python bindings for the YaST platform License:GPL-2.0 Group: System/YaST @@ -113,7 +113,9 @@ %__install -m 0755 %{builddir}/python3/_ycp.so* %{buildroot}/%{python3_sitearch}/ %__ln_s %{python3_sitearch}/_ycp.so.0.0.0 %{buildroot}/%{python3_sitearch}/_ycp.so.0 %__ln_s %{python3_sitearch}/_ycp.so.0.0.0 %{buildroot}/%{python3_sitearch}/_ycp.so -%__install -m 0755 %{builddir}/python3/libpy2lang_python.so* %{buildroot}/%{yast_plugindir}/ +%__install -m 0755 %{builddir}/python3/libpy2lang_python.so.0.0.0 %{buildroot}/%{yast_plugindir}/libpy2lang_python3.so.0.0.0 +%__ln_s %{yast_plugindir}/libpy2lang_python3.so.0.0.0 %{buildroot}/%{yast_plugindir}/libpy2lang_python3.so +%__ln_s %{yast_plugindir}/libpy2lang_python3.so.0.0.0 %{buildroot}/%{yast_plugindir}/libpy2lang_python3.so.0 %endif %if %{with_python3} @@ -122,8 +124,8 @@ %doc %{yast_docdir} %{python3_sitelib}/*.py %{python3_sitearch}/_ycp.so* -%{yast_plugindir}/libpy2lang_python.so.* -%{yast_plugindir}/libpy2lang_python.so +%{yast_plugindir}/libpy2lang_python3.so.* +%{yast_plugindir}/libpy2lang_python3.so %endif %files -n yast2-python-bindings ++ yast2-python-bindings-4.0.2.tar.bz2 -> yast2-python-bindings-4.0.3.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.2/package/yast2-python-bindings.changes new/yast2-python-bindings-4.0.3/package/yast2-python-bindings.changes --- old/yast2-python-bindings-4.0.2/package/yast2-python-bindings.changes 2018-01-30 16:31:46.0 +0100 +++ new/yast2-python-bindings-4.0.3/package/yast2-python-bindings.changes 2018-03-16 18:19:44.0 +0100 @@ -1,4 +1,11 @@ --- +Fri Mar 9 16:35:09 UTC 2018 - dmul...@suse.com + +- Adapt the bindings to allow modules that will run in both python2 + or python3. Also fix a py3 binary mistakenly packaged with the py2 + bindings package (bsc#1074696). + +--- Mon Jan 29 22:44:08 UTC 2018 - dmul...@suse.com - Build both python2 and python3 versions of the bindings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-4.0.2/package/yast2-python-bindings.spec new/yast2-python-bindings-4.0.3/package/yast2-python-bindings.spec --- old/yast2-python-bindings-4.0.2/package/yast2-python-bindings.spec 2018-01-30 16:31:46.0 +0100 +++ new/yast2-python-bindings-4.0.3/package/yast2-python-bindings.spec 2018-03-16 18:19:44.0 +0100 @@ -28,9 +28,9 @@ %define python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") Name: yast2-python-bindings -Version:4.0.2 +Version:4.0.3 Release:0 -Summary:Python3 bindings for the YaST platform +Summary:Python bindings for the YaST platform License:GPL-2.0 Group: System/YaST @@ -113,7 +113,9 @@ %__install -m 0755 %{builddir}/python3/_ycp.so*
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2018-01-31 19:52:07 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is "yast2-python-bindings" Wed Jan 31 19:52:07 2018 rev:35 rq:571140 version:4.0.2 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2017-11-14 12:58:38.039851165 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2018-01-31 19:52:12.692584758 +0100 @@ -1,0 +2,18 @@ +Mon Jan 29 22:44:08 UTC 2018 - dmul...@suse.com + +- Build both python2 and python3 versions of the bindings; + (bsc#1074696). + +--- +Thu Jan 4 15:45:46 UTC 2018 - dmul...@suse.com + +- Convert the bindings into python3; (bsc#1074696). +- Fix some code examples; (bsc#1070212). + +--- +Tue Nov 28 15:15:11 UTC 2017 - dmul...@suse.com + +- Add example code ported from ruby examples; (bsc#1070212). +- Fixes based on findings from example code + +--- Old: yast2-python-bindings-4.0.0.tar.bz2 New: yast2-python-bindings-4.0.2.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.wzMaJe/_old 2018-01-31 19:52:13.324555370 +0100 +++ /var/tmp/diff_new_pack.wzMaJe/_new 2018-01-31 19:52:13.332554999 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-python-bindings # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -16,9 +16,23 @@ # +%if 0%{?suse_version} > 1310 || 0%{?fedora_version} > 20 +%define with_python3 1 +%else +%define with_python3 0 +%endif + +%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") +%define python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") +%define python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") + Name: yast2-python-bindings -Version:4.0.0 +Version:4.0.2 Release:0 +Summary:Python3 bindings for the YaST platform +License:GPL-2.0 +Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0:%{name}-%{version}.tar.bz2 @@ -32,42 +46,91 @@ BuildRequires: make BuildRequires: python BuildRequires: python-devel +%if %{with_python3} +BuildRequires: python3 +BuildRequires: python3-devel +%endif BuildRequires: swig BuildRequires: yast2-core-devel BuildRequires: yast2-ycp-ui-bindings BuildRequires: yast2-ycp-ui-bindings-devel - Requires: python Requires: yast2-core Requires: yast2-ycp-ui-bindings +Obsoletes: yast2-python-bindings < 4.0.1 +Conflicts: yast2-python3-bindings -Summary:Python bindings for the YaST platform -License:GPL-2.0 +%description -n yast2-python-bindings +The bindings allow YaST modules to be written using the Python language +and also Python scripts can use YaST agents, APIs and modules. + +%if %{with_python3} +%package -n yast2-python3-bindings +Summary:Python3 bindings for the YaST platform Group: System/YaST +Requires: python3 +Requires: yast2-core +Requires: yast2-ycp-ui-bindings +Obsoletes: yast2-python-bindings == 4.0.1 +Conflicts: yast2-python-bindings -%description +%description -n yast2-python3-bindings The bindings allow YaST modules to be written using the Python language and also Python scripts can use YaST agents, APIs and modules. +%endif + +%define builddir %{_builddir}/%{name}-%{version} %prep %setup -n %{name}-%{version} %build -%yast_build +make -f Makefile.cvs all + +%if %{with_python3} +%configure --enable-python3 +make +mkdir -p %{builddir}/python3 +%__cp -d src/*.py %{builddir}/python3 +%__cp -d src/.libs/*.so.0.0.0 %{builddir}/python3 +%__cp -d src/*.la %{builddir}/python3 +make clean +%endif + +%configure +make %install %yast_install - rm %{buildroot}/%{python_sitelib}/*.pyc rm
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2017-11-14 12:58:32 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is "yast2-python-bindings" Tue Nov 14 12:58:32 2017 rev:34 rq:541318 version:4.0.0 Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2013-11-15 14:25:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2017-11-14 12:58:38.039851165 +0100 @@ -1,0 +2,5 @@ +Wed Nov 8 21:35:20 UTC 2017 - dmul...@suse.com + +- Rewrite the python bindings using swig fate#324146 + +--- Old: yast2-python-bindings-3.1.1.tar.bz2 New: yast2-python-bindings-4.0.0.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.ouMkjd/_old 2017-11-14 12:58:38.603830543 +0100 +++ /var/tmp/diff_new_pack.ouMkjd/_new 2017-11-14 12:58:38.603830543 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-python-bindings # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,31 +17,31 @@ Name: yast2-python-bindings -Version:3.1.1 +Version:4.0.0 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0:%{name}-%{version}.tar.bz2 -BuildRequires: curl-devel +BuildRequires: autoconf +BuildRequires: autoconf-archive +BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool +BuildRequires: libyui-devel +BuildRequires: make +BuildRequires: python BuildRequires: python-devel +BuildRequires: swig BuildRequires: yast2-core-devel -BuildRequires: yast2-devtools >= 3.0.6 +BuildRequires: yast2-ycp-ui-bindings BuildRequires: yast2-ycp-ui-bindings-devel -# YCPValue::valuetype_str() -Requires: yast2-core >= 2.16.37 -BuildRequires: yast2-core-devel >= 2.16.37 -BuildRequires: yast2-ycp-ui-bindings-devel >= 2.16.37 Requires: python -Requires: yast2-ycp-ui-bindings >= 2.16.37 -%if 0%{?suse_version} < 1220 -BuildRequires: libxcrypt-devel -%endif +Requires: yast2-core +Requires: yast2-ycp-ui-bindings -Summary:Python bindings for the YaST platform. +Summary:Python bindings for the YaST platform License:GPL-2.0 Group: System/YaST @@ -58,17 +58,17 @@ %install %yast_install -rm $RPM_BUILD_ROOT/%{yast_plugindir}/libpy2lang_python.la -rm $RPM_BUILD_ROOT/%{python_sitearch}/libYCP.la +rm %{buildroot}/%{python_sitelib}/*.pyc +rm %{buildroot}/%{python_sitelib}/*.pyo +rm %{buildroot}/%{python_sitearch}/*.la +rm %{buildroot}/%{yast_plugindir}/libpy2lang_python.la %files %defattr (-, root, root) +%doc %{yast_docdir} +%{python_sitelib}/*.py +%{python_sitearch}/_ycp.* %{yast_plugindir}/libpy2lang_python.so.* %{yast_plugindir}/libpy2lang_python.so -# libYCP goes elsewhere -# %dir %{_libdir}/python -%{python_sitearch}/* -%doc %{yast_docdir} - %changelog ++ yast2-python-bindings-3.1.1.tar.bz2 -> yast2-python-bindings-4.0.0.tar.bz2 ++ 6781 lines of diff (skipped)
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2013-11-15 14:25:11 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is yast2-python-bindings Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2013-10-11 11:08:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2013-11-15 14:25:12.0 +0100 @@ -1,0 +2,5 @@ +Wed Nov 13 15:56:18 UTC 2013 - jreidin...@suse.com + +- Add explicit COPYING file + +--- Old: yast2-python-bindings-3.1.0.tar.bz2 New: yast2-python-bindings-3.1.1.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.J2GO3S/_old 2013-11-15 14:25:12.0 +0100 +++ /var/tmp/diff_new_pack.J2GO3S/_new 2013-11-15 14:25:12.0 +0100 @@ -17,7 +17,7 @@ Name: yast2-python-bindings -Version:3.1.0 +Version:3.1.1 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ yast2-python-bindings-3.1.0.tar.bz2 - yast2-python-bindings-3.1.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-3.1.0/CONTRIBUTING.md new/yast2-python-bindings-3.1.1/CONTRIBUTING.md --- old/yast2-python-bindings-3.1.0/CONTRIBUTING.md 1970-01-01 01:00:00.0 +0100 +++ new/yast2-python-bindings-3.1.1/CONTRIBUTING.md 2013-11-04 17:16:50.0 +0100 @@ -0,0 +1,87 @@ +YaST Contribution Guidelines + + +YaST is an open source project and as such it welcomes all kinds of +contributions. If you decide to contribute, please follow these guidelines to +ensure the process is effective and pleasant both for you and YaST maintainers. + +There are two main forms of contribution: reporting bugs and performing code +changes. + +Bug Reports +--- + +If you find a problem, please report it either using +[Bugzilla](https://bugzilla.novell.com/enter_bug.cgi?format=guidedproduct=openSUSE+Factorycomponent=YaST2) +or [GitHub issues](../../issues). (For Bugzilla, use the [simplified +registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp) +if you don't have an account yet.) + +If you find a problem, please report it either using +[Bugzilla](https://bugzilla.novell.com/) or GitHub issues. We can't guarantee +that every bug will be fixed, but we'll try. + +When creating a bug report, please follow our [bug reporting +guidelines](http://en.opensuse.org/openSUSE:Report_a_YaST_bug). + +Code Changes + + +We welcome all kinds of code contributions, from simple bug fixes to significant +refactorings and implementation of new features. However, before making any +non-trivial contribution, get in touch with us first — this can prevent wasted +effort on both sides. Also, have a look at our [development +documentation](http://en.opensuse.org/openSUSE:YaST_development). + +To send us your code change, use GitHub pull requests. The workflow is as +follows: + + 1. Fork the project. + + 2. Create a topic branch based on `master`. + + 3. Implement your change, including tests (if possible). Make sure you adhere + to the [Ruby style + guide](https://github.com/SUSE/style-guides/blob/master/Ruby.md). + + 4. Make sure your change didn't break anything by building the RPM package + (`rake osc:build`). The build process includes running the full testsuite. + + 5. Publish the branch and create a pull request. + + 6. YaST developers will review your change and possibly point out issues. + Adapt the code under their guidance until they are all resolved. + + 7. Finally, the pull request will get merged or rejected. + +See also [GitHub's guide on +contributing](https://help.github.com/articles/fork-a-repo). + +If you want to do multiple unrelated changes, use separate branches and pull +requests. + +Do not change the `VERSION` and `*.changes` files as this could lead to +conflicts. + +### Commits + +Each commit in the pull request should do only one thing, which is clearly +described by its commit message. Especially avoid mixing formatting changes and +functional changes into one commit. When writing commit messages, adhere to +[widely used +conventions](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). + +If your commit is related to a bug in Buzgilla or an issue on GitHub, make sure +you mention it in the commit message for cross-reference. Use format like +bnc#775814 or
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2013-10-11 11:08:49 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is yast2-python-bindings Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2013-08-01 11:09:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2013-10-11 11:08:50.0 +0200 @@ -1,0 +2,7 @@ +Thu Sep 19 15:07:27 UTC 2013 - lsle...@suse.cz + +- do not use *.spec.in template, use *.spec file with RPM macros + instead +- 3.1.0 + +--- Old: yast2-python-bindings-3.0.0.tar.bz2 New: yast2-python-bindings-3.1.0.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.11J3Nn/_old 2013-10-11 11:08:51.0 +0200 +++ /var/tmp/diff_new_pack.11J3Nn/_new 2013-10-11 11:08:51.0 +0200 @@ -17,18 +17,18 @@ Name: yast2-python-bindings -Version:3.0.0 +Version:3.1.0 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0:yast2-python-bindings-%{version}.tar.bz2 +Source0:%{name}-%{version}.tar.bz2 BuildRequires: curl-devel BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: python-devel BuildRequires: yast2-core-devel -BuildRequires: yast2-devtools +BuildRequires: yast2-devtools = 3.0.6 BuildRequires: yast2-ycp-ui-bindings-devel # YCPValue::valuetype_str() @@ -50,43 +50,25 @@ and also Python scripts can use YaST agents, APIs and modules. %prep -%setup -n yast2-python-bindings-%{version} +%setup -n %{name}-%{version} %build -%{_prefix}/bin/y2tool y2autoconf -%{_prefix}/bin/y2tool y2automake -autoreconf --force --install - -export CFLAGS=$RPM_OPT_FLAGS -DNDEBUG -export CXXFLAGS=$RPM_OPT_FLAGS -DNDEBUG - -./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir} -# V=1: verbose build in case we used AM_SILENT_RULES(yes) -# so that RPM_OPT_FLAGS check works -make %{?jobs:-j%jobs} V=1 +%yast_build %install -make install DESTDIR=$RPM_BUILD_ROOT -[ -e %{_prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK ] || Y2DIR=$RPM_BUILD_ROOT/usr/share/YaST2 make check DESTDIR=$RPM_BUILD_ROOT -for f in `find $RPM_BUILD_ROOT/%{_prefix}/share/applications/YaST2/ -name *.desktop` ; do -d=${f##*/} -%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} -done +%yast_install -rm $RPM_BUILD_ROOT/%{_libdir}/YaST2/plugin/libpy2lang_python.la +rm $RPM_BUILD_ROOT/%{yast_plugindir}/libpy2lang_python.la rm $RPM_BUILD_ROOT/%{python_sitearch}/libYCP.la -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr (-, root, root) -%{_libdir}/YaST2/plugin/libpy2lang_python.so.* -%{_libdir}/YaST2/plugin/libpy2lang_python.so +%{yast_plugindir}/libpy2lang_python.so.* +%{yast_plugindir}/libpy2lang_python.so # libYCP goes elsewhere # %dir %{_libdir}/python %{python_sitearch}/* -%doc %{_prefix}/share/doc/packages/yast2-python-bindings +%doc %{yast_docdir} %changelog ++ yast2-python-bindings-3.0.0.tar.bz2 - yast2-python-bindings-3.1.0.tar.bz2 ++ 46763 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2013-08-01 11:09:37 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is yast2-python-bindings Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2013-06-25 14:47:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2013-08-01 11:09:39.0 +0200 @@ -1,0 +2,5 @@ +Tue Jul 30 08:29:22 UTC 2013 - yast-de...@opensuse.org + +- version 3.0.0 + +--- Old: yast2-python-bindings-2.20.2.tar.bz2 New: yast2-python-bindings-3.0.0.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.HYdWuj/_old 2013-08-01 11:09:40.0 +0200 +++ /var/tmp/diff_new_pack.HYdWuj/_new 2013-08-01 11:09:40.0 +0200 @@ -17,7 +17,7 @@ Name: yast2-python-bindings -Version:2.20.2 +Version:3.0.0 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ yast2-python-bindings-2.20.2.tar.bz2 - yast2-python-bindings-3.0.0.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-2.20.2/Makefile.in new/yast2-python-bindings-3.0.0/Makefile.in --- old/yast2-python-bindings-2.20.2/Makefile.in2013-06-21 17:46:55.0 +0200 +++ new/yast2-python-bindings-3.0.0/Makefile.in 2013-07-30 14:45:00.0 +0200 @@ -69,7 +69,7 @@ am__aclocal_m4_deps = $(top_srcdir)/libtool.m4 \ $(top_srcdir)/ltoptions.m4 $(top_srcdir)/ltsugar.m4 \ $(top_srcdir)/ltversion.m4 $(top_srcdir)/lt~obsolete.m4 \ - $(top_srcdir)/configure.in + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-2.20.2/VERSION new/yast2-python-bindings-3.0.0/VERSION --- old/yast2-python-bindings-2.20.2/VERSION2013-06-14 17:10:53.0 +0200 +++ new/yast2-python-bindings-3.0.0/VERSION 2013-07-30 10:32:58.0 +0200 @@ -1 +1 @@ -2.20.2 +3.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-2.20.2/config.h.in new/yast2-python-bindings-3.0.0/config.h.in --- old/yast2-python-bindings-2.20.2/config.h.in2013-06-21 17:46:54.0 +0200 +++ new/yast2-python-bindings-3.0.0/config.h.in 2013-07-30 14:44:59.0 +0200 @@ -1,4 +1,4 @@ -/* config.h.in. Generated from configure.in by autoheader. */ +/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-2.20.2/configure new/yast2-python-bindings-3.0.0/configure --- old/yast2-python-bindings-2.20.2/configure 2013-06-21 17:46:53.0 +0200 +++ new/yast2-python-bindings-3.0.0/configure 2013-07-30 14:44:59.0 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for yast2-python-bindings 2.20.2. +# Generated by GNU Autoconf 2.69 for yast2-python-bindings 3.0.0. # # Report bugs to http://bugs.opensuse.org/. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='yast2-python-bindings' PACKAGE_TARNAME='yast2-python-bindings' -PACKAGE_VERSION='2.20.2' -PACKAGE_STRING='yast2-python-bindings 2.20.2' +PACKAGE_VERSION='3.0.0' +PACKAGE_STRING='yast2-python-bindings 3.0.0' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1377,7 +1377,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat _ACEOF -\`configure' configures yast2-python-bindings 2.20.2 to adapt to many kinds of systems. +\`configure' configures yast2-python-bindings 3.0.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1449,7 +1449,7 @@ if test -n $ac_init_help; then case $ac_init_help in - short | recursive ) echo Configuration of yast2-python-bindings 2.20.2:;; + short | recursive ) echo Configuration of yast2-python-bindings 3.0.0:;; esac
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2013-06-25 07:39:08 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is yast2-python-bindings Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2013-02-28 10:24:18.0 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2013-06-25 14:47:45.0 +0200 @@ -1,0 +2,7 @@ +Tue Jun 11 16:39:52 UTC 2013 - jmate...@suse.com + +- install to correct python directory (fixes file conflict with + python-base) +- 2.20.2 + +--- @@ -117 +123,0 @@ - Old: yast2-python-bindings-2.20.1.tar.bz2 New: yast2-python-bindings-2.20.2.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.73SALT/_old 2013-06-25 14:47:45.0 +0200 +++ /var/tmp/diff_new_pack.73SALT/_new 2013-06-25 14:47:45.0 +0200 @@ -17,7 +17,7 @@ Name: yast2-python-bindings -Version:2.20.1 +Version:2.20.2 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -74,7 +74,7 @@ done rm $RPM_BUILD_ROOT/%{_libdir}/YaST2/plugin/libpy2lang_python.la -rm $RPM_BUILD_ROOT/%{_libdir}/python/site-packages/libYCP.la +rm $RPM_BUILD_ROOT/%{python_sitearch}/libYCP.la %clean rm -rf $RPM_BUILD_ROOT @@ -86,7 +86,7 @@ # libYCP goes elsewhere # %dir %{_libdir}/python -%{_libdir}/python/site-packages +%{python_sitearch}/* %doc %{_prefix}/share/doc/packages/yast2-python-bindings %changelog ++ yast2-python-bindings-2.20.1.tar.bz2 - yast2-python-bindings-2.20.2.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-2.20.1/Makefile.am new/yast2-python-bindings-2.20.2/Makefile.am --- old/yast2-python-bindings-2.20.1/Makefile.am2013-02-11 17:34:58.0 +0100 +++ new/yast2-python-bindings-2.20.2/Makefile.am2013-06-21 17:46:43.0 +0200 @@ -158,19 +158,14 @@ TAGVERSION = $(Y2TOOL) tagversion -check-up-to-date check-cvs-up-to-date check-svn-up-to-date: - if [ -d $(srcdir)/CVS ]; then \ - cd $(srcdir) ! cvs -q -n up 2/dev/null | grep '^[MCAR] ';\ - else \ - cd $(srcdir) ! LC_ALL=C svn status --show-updates --quiet | grep -v '^Status against revision' ;\ +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo ERROR: Source is not commited and pushed. See `git status`; false) \ fi check-tagversion: - @if [ -d $(srcdir)/CVS ]; then \ - cd $(srcdir) cvs status -v VERSION | grep -w `$(TAGVERSION) -n` ;\ - else \ - cd $(srcdir) svn cat `$(TAGVERSION) --echourl`/VERSION; \ - fi /dev/null; \ + cd $(srcdir) $(TAGVERSION) --check /dev/null; \ [ $$? = 0 ] || ( echo ERROR: Please run 'tagversion' first; false ) check-parse-old: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-2.20.1/Makefile.in new/yast2-python-bindings-2.20.2/Makefile.in --- old/yast2-python-bindings-2.20.1/Makefile.in2013-02-11 17:35:10.0 +0100 +++ new/yast2-python-bindings-2.20.2/Makefile.in2013-06-21 17:46:55.0 +0200 @@ -1066,19 +1066,14 @@ package: check-up-to-date check-tagversion check-textdomain package-local -check-up-to-date check-cvs-up-to-date check-svn-up-to-date: - if [ -d $(srcdir)/CVS ]; then \ - cd $(srcdir) ! cvs -q -n up 2/dev/null | grep '^[MCAR] ';\ - else \ - cd $(srcdir) ! LC_ALL=C svn status --show-updates --quiet | grep -v '^Status against revision' ;\ +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo ERROR: Source is not commited and pushed. See `git status`; false) \ fi check-tagversion: - @if [ -d $(srcdir)/CVS ]; then \ - cd $(srcdir) cvs status -v VERSION | grep -w `$(TAGVERSION) -n` ;\ - else \ - cd $(srcdir) svn cat `$(TAGVERSION) --echourl`/VERSION; \ - fi /dev/null; \ + cd $(srcdir) $(TAGVERSION) --check /dev/null; \ [ $$? = 0 ] || ( echo ERROR: Please run 'tagversion' first; false ) check-parse-old: diff -urN '--exclude=CVS' '--exclude=.cvsignore'
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2013-02-28 07:28:09 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is yast2-python-bindings, Maintainer is yast2-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2012-06-28 17:23:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2013-02-28 10:24:18.0 +0100 @@ -1,0 +2,5 @@ +Fri Jun 29 14:14:02 CEST 2012 - aschn...@suse.de + +- blocxx is no longer needed for build + +--- Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.Bb1aKc/_old 2013-02-28 10:24:18.0 +0100 +++ /var/tmp/diff_new_pack.Bb1aKc/_new 2013-02-28 10:24:18.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-python-bindings # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0:yast2-python-bindings-%{version}.tar.bz2 -BuildRequires: blocxx-devel BuildRequires: curl-devel BuildRequires: gcc-c++ BuildRequires: libtool ++ yast2-python-bindings-2.20.1.tar.bz2 ++ 6745 lines of diff (skipped) retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-python-bindings-2.20.1/configure.in new/yast2-python-bindings-2.20.1/configure.in --- old/yast2-python-bindings-2.20.1/configure.in 2012-06-26 16:11:04.0 +0200 +++ new/yast2-python-bindings-2.20.1/configure.in 2013-02-11 17:34:58.0 +0100 @@ -1,6 +1,6 @@ dnl configure.in for yast2-python-bindings dnl -dnl -- This file is generated by y2autoconf 2.21.9 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! -- dnl(edit configure.in.in instead) AC_INIT(yast2-python-bindings, 2.20.1, http://bugs.opensuse.org/, yast2-python-bindings) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-python-bindings-2.20.1/libtool.m4 new/yast2-python-bindings-2.20.1/libtool.m4 --- old/yast2-python-bindings-2.20.1/libtool.m4 2012-06-26 16:11:07.0 +0200 +++ new/yast2-python-bindings-2.20.1/libtool.m4 2013-02-11 17:35:04.0 +0100 @@ -1,8 +1,8 @@ # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, -# Inc. +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives @@ -11,8 +11,8 @@ m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, -# Inc. +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. @@ -146,6 +146,8 @@ AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl +_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl +dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl @@ -637,7 +639,7 @@ m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy,
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2012-06-28 17:23:38 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is yast2-python-bindings, Maintainer is juhlia...@novell.com Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2012-04-12 10:00:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2012-06-28 17:23:40.0 +0200 @@ -2 +2 @@ -Mon Apr 9 22:14:58 CEST 2012 - r...@suse.de +Tue Jun 26 16:08:35 CEST 2012 - aschn...@suse.de @@ -4 +4,2 @@ -- BuildRequire libxcrypt-devel only for 12.2 +- adapted to namespace changes in yast2-core +- 2.20.1 Old: yast2-python-bindings-2.20.0.tar.bz2 New: yast2-python-bindings-2.20.1.tar.bz2 Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.uV4Dhe/_old 2012-06-28 17:23:41.0 +0200 +++ /var/tmp/diff_new_pack.uV4Dhe/_new 2012-06-28 17:23:41.0 +0200 @@ -17,7 +17,7 @@ Name: yast2-python-bindings -Version:2.20.0 +Version:2.20.1 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -27,9 +27,6 @@ BuildRequires: curl-devel BuildRequires: gcc-c++ BuildRequires: libtool -%if 0%{?suse_version} 1220 -BuildRequires: libxcrypt-devel -%endif BuildRequires: python-devel BuildRequires: yast2-core-devel BuildRequires: yast2-devtools @@ -41,6 +38,9 @@ BuildRequires: yast2-ycp-ui-bindings-devel = 2.16.37 Requires: python Requires: yast2-ycp-ui-bindings = 2.16.37 +%if 0%{?suse_version} 1220 +BuildRequires: libxcrypt-devel +%endif Summary:Python bindings for the YaST platform. License:GPL-2.0 ++ yast2-python-bindings-2.20.0.tar.bz2 - yast2-python-bindings-2.20.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-python-bindings-2.20.0/COPYING new/yast2-python-bindings-2.20.1/COPYING --- old/yast2-python-bindings-2.20.0/COPYING2012-01-31 13:48:19.0 +0100 +++ new/yast2-python-bindings-2.20.1/COPYING2012-06-26 16:13:13.0 +0200 @@ -1,12 +1,12 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 +GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble +Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public @@ -15,7 +15,7 @@ General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to +the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not @@ -55,8 +55,8 @@ The precise terms and conditions for copying, distribution and modification follow. - - GNU GENERAL PUBLIC LICENSE + +GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains @@ -110,7 +110,7 @@ License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) - + These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in @@ -168,7 +168,7 @@ access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. - + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2012-04-12 09:58:54 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is yast2-python-bindings, Maintainer is juhlia...@novell.com Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2012-02-01 10:01:06.0 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2012-04-12 10:00:07.0 +0200 @@ -1,0 +2,5 @@ +Mon Apr 9 22:14:58 CEST 2012 - r...@suse.de + +- BuildRequire libxcrypt-devel only for 12.2 + +--- Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.Izy49N/_old 2012-04-12 10:00:08.0 +0200 +++ /var/tmp/diff_new_pack.Izy49N/_new 2012-04-12 10:00:08.0 +0200 @@ -27,7 +27,9 @@ BuildRequires: curl-devel BuildRequires: gcc-c++ BuildRequires: libtool +%if 0%{?suse_version} 1220 BuildRequires: libxcrypt-devel +%endif BuildRequires: python-devel BuildRequires: yast2-core-devel BuildRequires: yast2-devtools @@ -37,8 +39,8 @@ Requires: yast2-core = 2.16.37 BuildRequires: yast2-core-devel = 2.16.37 BuildRequires: yast2-ycp-ui-bindings-devel = 2.16.37 -Requires: yast2-ycp-ui-bindings = 2.16.37 Requires: python +Requires: yast2-ycp-ui-bindings = 2.16.37 Summary:Python bindings for the YaST platform. License:GPL-2.0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2012-02-01 10:01:02 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is yast2-python-bindings, Maintainer is juhlia...@novell.com Changes: --- /work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes 2011-09-23 12:53:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-python-bindings.new/yast2-python-bindings.changes 2012-02-01 10:01:06.0 +0100 @@ -1,0 +2,5 @@ +Fri Nov 25 12:24:35 UTC 2011 - co...@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.ViHUqq/_old 2012-02-01 10:01:13.0 +0100 +++ /var/tmp/diff_new_pack.ViHUqq/_new 2012-02-01 10:01:13.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package yast2-python-bindings (Version 2.20.0) +# spec file for package yast2-python-bindings # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: yast2-python-bindings Version:2.20.0 -Release:1 +Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0:yast2-python-bindings-2.20.0.tar.bz2 - -Prefix: /usr +Source0:yast2-python-bindings-%{version}.tar.bz2 -Group: System/YaST -License:GPL-2.0 -BuildRequires: blocxx-devel curl-devel gcc-c++ libxcrypt-devel python-devel yast2-core-devel yast2-devtools yast2-ycp-ui-bindings-devel +BuildRequires: blocxx-devel +BuildRequires: curl-devel +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: libxcrypt-devel +BuildRequires: python-devel +BuildRequires: yast2-core-devel +BuildRequires: yast2-devtools +BuildRequires: yast2-ycp-ui-bindings-devel # YCPValue::valuetype_str() Requires: yast2-core = 2.16.37 @@ -39,32 +41,33 @@ Requires: python Summary:Python bindings for the YaST platform. +License:GPL-2.0 +Group: System/YaST %description The bindings allow YaST modules to be written using the Python language and also Python scripts can use YaST agents, APIs and modules. %prep -%setup -n yast2-python-bindings-2.20.0 +%setup -n yast2-python-bindings-%{version} %build -%{prefix}/bin/y2tool y2autoconf -%{prefix}/bin/y2tool y2automake +%{_prefix}/bin/y2tool y2autoconf +%{_prefix}/bin/y2tool y2automake autoreconf --force --install export CFLAGS=$RPM_OPT_FLAGS -DNDEBUG export CXXFLAGS=$RPM_OPT_FLAGS -DNDEBUG -%{?suse_update_config:%{suse_update_config -f}} -./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} +./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir} # V=1: verbose build in case we used AM_SILENT_RULES(yes) # so that RPM_OPT_FLAGS check works make %{?jobs:-j%jobs} V=1 %install make install DESTDIR=$RPM_BUILD_ROOT -[ -e %{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK ] || Y2DIR=$RPM_BUILD_ROOT/usr/share/YaST2 make check DESTDIR=$RPM_BUILD_ROOT -for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name *.desktop` ; do +[ -e %{_prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK ] || Y2DIR=$RPM_BUILD_ROOT/usr/share/YaST2 make check DESTDIR=$RPM_BUILD_ROOT +for f in `find $RPM_BUILD_ROOT/%{_prefix}/share/applications/YaST2/ -name *.desktop` ; do d=${f##*/} %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop} done @@ -83,5 +86,6 @@ # libYCP goes elsewhere # %dir %{_libdir}/python %{_libdir}/python/site-packages -%doc %{prefix}/share/doc/packages/yast2-python-bindings +%doc %{_prefix}/share/doc/packages/yast2-python-bindings + %changelog ++ yast2-python-bindings-2.20.0.tar.bz2 ++ 27967 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit yast2-python-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-python-bindings for openSUSE:Factory checked in at 2011-12-06 19:20:01 Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new (New) Package is yast2-python-bindings, Maintainer is juhlia...@novell.com Changes: Other differences: -- ++ yast2-python-bindings.spec ++ --- /var/tmp/diff_new_pack.pyS95Z/_old 2011-12-06 20:02:11.0 +0100 +++ /var/tmp/diff_new_pack.pyS95Z/_new 2011-12-06 20:02:11.0 +0100 @@ -28,7 +28,7 @@ Prefix: /usr Group: System/YaST -License:GPLv2 +License:GPL-2.0 BuildRequires: blocxx-devel curl-devel gcc-c++ libxcrypt-devel python-devel yast2-core-devel yast2-devtools yast2-ycp-ui-bindings-devel # YCPValue::valuetype_str() -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org