forked from pool/python-concurrentloghandler
Accepting request 41909 from devel:languages:python
Copy from devel:languages:python/python-concurrentloghandler based on submit request 41909 from user hennevogel OBS-URL: https://build.opensuse.org/request/show/41909 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-concurrentloghandler?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
17
ConcurrentLogHandler-0.8.4-testpath.patch
Normal file
17
ConcurrentLogHandler-0.8.4-testpath.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
--- setup.py
|
||||
+++ setup.py
|
||||
@@ -220,13 +220,7 @@
|
||||
"portalocker",
|
||||
],
|
||||
package_dir={ '' : 'src', },
|
||||
- data_files=[
|
||||
- ('tests', ["stresstest.py"]),
|
||||
- ('docs', [
|
||||
- 'README',
|
||||
- 'LICENSE',
|
||||
- ]),
|
||||
- ],
|
||||
+ data_files=[ ],
|
||||
url="http://pypi.python.org/pypi/ConcurrentLogHandler",
|
||||
license = "http://www.apache.org/licenses/LICENSE-2.0",
|
||||
description=doc.pop(0),
|
||||
3
ConcurrentLogHandler-0.8.4.tar.bz2
Normal file
3
ConcurrentLogHandler-0.8.4.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a568db056a90267e56246b1c81cf25233a70f92ebdefa58945366c75aeb2c730
|
||||
size 20613
|
||||
5
python-concurrentloghandler.changes
Normal file
5
python-concurrentloghandler.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 22 13:10:25 UTC 2010 - hvogel@novell.com
|
||||
|
||||
- Initial Package, Version 0.8.4
|
||||
|
||||
59
python-concurrentloghandler.spec
Normal file
59
python-concurrentloghandler.spec
Normal file
@@ -0,0 +1,59 @@
|
||||
#
|
||||
# spec file for package python-concurrentloghandler (Version 0.8.4)
|
||||
#
|
||||
# Copyright (c) 2010 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define modname ConcurrentLogHandler
|
||||
|
||||
Name: python-concurrentloghandler
|
||||
Version: 0.8.4
|
||||
Release: 1
|
||||
Summary: Concurrent logging handler
|
||||
Url: http://pypi.python.org/pypi/ConcurrentLogHandler
|
||||
License: Apache Software License
|
||||
Group: Development/Libraries/Python
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
Patch0: %modname-0.8.4-testpath.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel python-setuptools
|
||||
BuildArch: noarch
|
||||
%{py_requires}
|
||||
|
||||
%description
|
||||
This module provides an additional log handler for Python's standard logging
|
||||
package (PEP 282). This handler will write log events to log file which is
|
||||
rotated when the log file reaches a certain size. Multiple processes can safely
|
||||
write to the same log file concurrently.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%patch0
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --install-data=%_defaultdocdir/%name --record=INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
%doc README LICENSE
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user