15
0

Accepting request 645598 from devel:languages:python:misc

OBS-URL: https://build.opensuse.org/request/show/645598
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junitxml?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2018-10-31 05:47:16 +00:00
committed by Git OBS Bridge
commit 796d1936f0
5 changed files with 114 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

3
junitxml-0.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5901127067ab7f3d11df30727368c129c69b3f5595c697daf4f5ed80b1baaa3
size 26026

24
python-junitxml.changes Normal file
View File

@@ -0,0 +1,24 @@
-------------------------------------------------------------------
Wed Oct 24 15:01:18 UTC 2018 - Dirk Mueller <dmueller@suse.com>
- switch to singlespec
-------------------------------------------------------------------
Fri Nov 30 14:31:48 UTC 2012 - toddrme2178@gmail.com
- Add missing executable
-------------------------------------------------------------------
Fri Nov 23 11:10:24 UTC 2012 - saschpe@suse.de
- Update to version 0.7:
+ Added a .testr.conf file for running tests with testrepository.
+ Change from skip to skipped to fit the 'standard' better.
+ There is now a runner compatible with the unittest2 command line options, for
easy 'just give me XML' usage.
-------------------------------------------------------------------
Mon Mar 26 12:11:16 UTC 2012 - saschpe@suse.de
- Initial version

63
python-junitxml.spec Normal file
View File

@@ -0,0 +1,63 @@
#
# spec file for package python-junitxml
#
# 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
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-junitxml
Version: 0.7
Release: 0
Url: https://launchpad.net/pyjunitxml
Summary: A pyunit extension to output JUnit compatible XML
License: LGPL-3.0+
Group: Development/Languages/Python
Source: http://files.pythonhosted.org/packages/source/j/junitxml/junitxml-%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildArch: noarch
%python_subpackages
%description
A Python unittest TestResult that outputs JUnit compatible XML.
%prep
%setup -q -n junitxml-%{version}
%build
%python_build
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/pyjunitxml
%post
%python_install_alternative pyjunitxml
%postun
%python_uninstall_alternative pyjunitxml
%check
# tests are failing
#nosetests
%files %{python_files}
%license COPYING
%doc README
%python_alternative %{_bindir}/pyjunitxml
%{python_sitelib}/*
%changelog