commit 796d1936f046ec970ce6e04b120c9ec191dc0303ae78623f3986575b71ccd538 Author: Tomáš Chvátal Date: Wed Oct 31 05:47:16 2018 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/junitxml-0.7.tar.gz b/junitxml-0.7.tar.gz new file mode 100644 index 0000000..3255f12 --- /dev/null +++ b/junitxml-0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5901127067ab7f3d11df30727368c129c69b3f5595c697daf4f5ed80b1baaa3 +size 26026 diff --git a/python-junitxml.changes b/python-junitxml.changes new file mode 100644 index 0000000..6e58de7 --- /dev/null +++ b/python-junitxml.changes @@ -0,0 +1,24 @@ +------------------------------------------------------------------- +Wed Oct 24 15:01:18 UTC 2018 - Dirk Mueller + +- 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 + diff --git a/python-junitxml.spec b/python-junitxml.spec new file mode 100644 index 0000000..ecb5aed --- /dev/null +++ b/python-junitxml.spec @@ -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