forked from pool/python-python-daemon
Accepting request 533010 from devel:languages:python:singlespec-staging
- singlespec auto-conversion - update requirements - use pytest as test runner - update to 2.1.2 * Ensure custom types are part of the Python type hierarchy. * Raise a warning that the ‘runner’ module is pending deprecation. This has been an unofficial example module from the beginning, and it will be removed in a future version. OBS-URL: https://build.opensuse.org/request/show/533010 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
f628c59ad8
commit
ec3085c22d
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:58a8c187ee37c3a28913bef00f83240c9ecd4a59dce09a24d92f5c941606689f
|
||||
size 74276
|
3
python-daemon-2.1.2.tar.gz
Normal file
3
python-daemon-2.1.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:261c859be5c12ae7d4286dc6951e87e9e1a70a882a8b41fd926efc1ec4214f73
|
||||
size 76176
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 10 13:18:27 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- singlespec auto-conversion
|
||||
- update requirements
|
||||
- use pytest as test runner
|
||||
- update to 2.1.2
|
||||
* Ensure custom types are part of the Python type hierarchy.
|
||||
* Raise a warning that the ‘runner’ module is pending deprecation.
|
||||
This has been an unofficial example module from the beginning, and
|
||||
it will be removed in a future version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 1 10:41:01 UTC 2016 - michael@stroeder.com
|
||||
|
||||
@@ -214,3 +226,4 @@ Thu Sep 24 14:35:04 UTC 2009 - alexandre@exatati.com.br
|
||||
Tue Sep 22 14:19:09 UTC 2009 - alexandre@exatati.com.br
|
||||
|
||||
- Initial package (1.0.1) for openSUSE.
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-daemon
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX 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
|
||||
@@ -16,31 +16,35 @@
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-daemon
|
||||
Version: 2.1.1
|
||||
Version: 2.1.2
|
||||
Release: 0
|
||||
Url: http://pypi.python.org/pypi/python-daemon/
|
||||
Summary: Library to implement a well-behaved Unix daemon process
|
||||
License: Apache-2.0 and GPL-3.0
|
||||
Group: Development/Languages/Python
|
||||
Source: https://pypi.python.org/packages/source/p/python-daemon/python-daemon-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel >= 2.7
|
||||
BuildRequires: python-docutils
|
||||
BuildRequires: python-lockfile >= 0.10
|
||||
BuildRequires: python-mock >= 1.0
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-testscenarios >= 0.4
|
||||
BuildRequires: python-testtools
|
||||
BuildRequires: python-unittest2 >= 0.6
|
||||
Url: http://pypi.python.org/pypi/python-daemon/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-daemon/python-daemon-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel >= 2.7}
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module lockfile >= 0.10}
|
||||
BuildRequires: %{python_module mock >= 1.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module testscenarios >= 0.4}
|
||||
BuildRequires: %{python_module testtools}
|
||||
BuildRequires: %{python_module unittest2 >= 0.6}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-docutils
|
||||
Requires: python-lockfile >= 0.10
|
||||
Provides: python-daemon = %{version}
|
||||
Obsoletes: python-daemon < %{version}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-daemon = %{version}
|
||||
Obsoletes: %{oldpython}-daemon < %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This library implements the well-behaved daemon specification of PEP 3143, "Standard daemon
|
||||
@@ -54,15 +58,15 @@ process environment for the program; use the instance as a context manager to en
|
||||
%setup -q -n python-daemon-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%check
|
||||
python setup.py -q test
|
||||
%python_exec -m pytest test
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog LICENSE.ASF-2 doc
|
||||
%{python_sitelib}/*
|
||||
|
Reference in New Issue
Block a user