Accepting request 342545 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/342545 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-systemd?expand=0&rev=2
This commit is contained in:
commit
98b715fa31
3
python-systemd-231.tar.gz
Normal file
3
python-systemd-231.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2c9cf53d041374898beead0c6f3b042c7d5b52425e6eb4d4b3c583d7eac12eea
|
||||||
|
size 44430
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:656a83ff695f5de7d63411a86ea38601ad5a918595eebd0817d7b8e68642c64d
|
|
||||||
size 39329
|
|
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 31 21:17:21 UTC 2015 - jweberhofer@weberhofer.at
|
||||||
|
|
||||||
|
- Upgrade to release 231
|
||||||
|
|
||||||
|
* Various build fixes and cleanups: documentation can be generated with 'make
|
||||||
|
sphinx-html', pip install works out of the box.
|
||||||
|
|
||||||
|
* Tests that cover most of the python code were added. As a result, a bug in
|
||||||
|
sd_is_mq was fixed in systemd 227.
|
||||||
|
|
||||||
|
* Functions sd_pid_notify and sd_pid_notify_with_fds are now wrapped as
|
||||||
|
optional arguments to notify(), when compiled against a new-enough
|
||||||
|
libsystemd.
|
||||||
|
|
||||||
|
- Run tests
|
||||||
|
|
||||||
|
- Removed obsolete python-systemd-libraries-for-opensuse-1310.patch patch
|
||||||
|
|
||||||
|
- New build dependencies had been added
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 22 06:47:42 UTC 2015 - jweberhofer@weberhofer.at
|
||||||
|
|
||||||
|
- python-systemd-libraries-for-opensuse-1310.patch allows compilation
|
||||||
|
on openSUSE 13.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 19 06:20:31 UTC 2015 - jweberhofer@weberhofer.at
|
Mon Oct 19 06:20:31 UTC 2015 - jweberhofer@weberhofer.at
|
||||||
|
|
||||||
|
@ -17,16 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-systemd
|
Name: python-systemd
|
||||||
Version: 230
|
Version: 231
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python wrappers for systemd functionality
|
Summary: Python wrappers for systemd functionality
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/systemd/python-systemd
|
Url: https://github.com/systemd/python-systemd
|
||||||
Source: https://github.com/systemd/%{name}/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
|
Source: https://github.com/systemd/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-pytest
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -42,13 +44,17 @@ Python module for native access to the systemd facilities. Functionality is sepe
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} systemd/id128-constants.h
|
make %{?_smp_mflags} build
|
||||||
python setup.py build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot}
|
%make_install
|
||||||
%fdupes %{buildroot}/%{python_sitearch}
|
%fdupes %{buildroot}/%{python_sitearch}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# run doc-tests only when socket is available
|
||||||
|
test -f /run/systemd/journal/stdout || sed -i 's/--doctest[^ ]*//g' pytest.ini
|
||||||
|
make %{?_smp_mflags} check || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE.txt README.md
|
%doc LICENSE.txt README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user