commit d057a91821cf2c57bc649a695fd0d17278d779e1a77c015c1564d8dd150689d7 Author: Tomáš Chvátal Date: Mon Oct 14 10:51:06 2019 +0000 Accepting request 738249 from home:jayvdb:py-new A lot of notable projects are switching from tox to nox https://nox.readthedocs.io/en/stable/#projects-that-use-nox OBS-URL: https://build.opensuse.org/request/show/738249 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nox?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/nox-2019.8.20.tar.gz b/nox-2019.8.20.tar.gz new file mode 100644 index 0000000..611db8e --- /dev/null +++ b/nox-2019.8.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1591545ad37e6439141c40fe4589a6b02060ee0461cef90c438818984df48b7 +size 3947739 diff --git a/python-nox.changes b/python-nox.changes new file mode 100644 index 0000000..ae51757 --- /dev/null +++ b/python-nox.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Oct 14 09:48:06 AM UTC 2019 - John Vandenberg + +- Initial spec for v2019.8.20 diff --git a/python-nox.spec b/python-nox.spec new file mode 100644 index 0000000..dced9fa --- /dev/null +++ b/python-nox.spec @@ -0,0 +1,76 @@ +# +# spec file for package python-nox +# +# Copyright (c) 2019 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 +# 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-nox +Version: 2019.8.20 +Release: 0 +Summary: Flexible test automation +License: Apache-2.0 +Group: Development/Languages/Python +URL: https://nox.thea.codes +Source: https://github.com/theacodes/nox/archive/%{version}.tar.gz#/nox-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.5} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-argcomplete >= 1.9.4 +Requires: python-colorlog >= 2.6.1 +Requires: python-py >= 1.4.0 +Requires: python-virtualenv >= 14.0.0 +Suggests: python-Jinja2 +Suggests: python-tox +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Flask} +BuildRequires: %{python_module argcomplete >= 1.9.4} +BuildRequires: %{python_module colorlog >= 2.6.1} +BuildRequires: %{python_module contexter} +BuildRequires: %{python_module py >= 1.4.0} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module tox} +BuildRequires: %{python_module virtualenv >= 14.0.0} +# Missing deps conda +# /SECTION +%python_subpackages + +%description +Flexible test automation. + +%prep +%setup -q -n nox-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE +%python3_only %{_bindir}/nox +%python3_only %{_bindir}/tox-to-nox +%{python_sitelib}/* + +%changelog