From 606917418a9bd865c867478f1035d325f2c96a171254388c8282c82245e229d4 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 15 Aug 2018 15:23:32 +0000 Subject: [PATCH] required by python-astropy OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + pytest-astropy-0.4.0.tar.gz | 3 ++ python-pytest-astropy-rpmlintrc | 1 + python-pytest-astropy.changes | 4 ++ python-pytest-astropy.spec | 68 +++++++++++++++++++++++++++++++++ 6 files changed, 100 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pytest-astropy-0.4.0.tar.gz create mode 100644 python-pytest-astropy-rpmlintrc create mode 100644 python-pytest-astropy.changes create mode 100644 python-pytest-astropy.spec 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/pytest-astropy-0.4.0.tar.gz b/pytest-astropy-0.4.0.tar.gz new file mode 100644 index 0000000..7721e61 --- /dev/null +++ b/pytest-astropy-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8eacabc025b22459bd1db7313ba8e4236918b46cba241e49b2245c8ec69a267b +size 3642 diff --git a/python-pytest-astropy-rpmlintrc b/python-pytest-astropy-rpmlintrc new file mode 100644 index 0000000..76d64f9 --- /dev/null +++ b/python-pytest-astropy-rpmlintrc @@ -0,0 +1 @@ +addFilter("no-dependency-on python-base .*") diff --git a/python-pytest-astropy.changes b/python-pytest-astropy.changes new file mode 100644 index 0000000..1ea4205 --- /dev/null +++ b/python-pytest-astropy.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Aug 14 20:03:17 UTC 2018 - toddrme2178@gmail.com + +- Initial version diff --git a/python-pytest-astropy.spec b/python-pytest-astropy.spec new file mode 100644 index 0000000..60b9011 --- /dev/null +++ b/python-pytest-astropy.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-pytest-astropy +# +# Copyright (c) 2018 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 http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-pytest-astropy +Version: 0.4.0 +Release: 0 +License: BSD-3-Clause +Summary: Meta-package containing dependencies for testing +Url: https://github.com/astropy/pytest-astropy +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/p/pytest-astropy/pytest-astropy-%{version}.tar.gz +Source99: python-pytest-astropy-rpmlintrc +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module pytest >= 3.1.0} +BuildRequires: %{python_module pytest-arraydiff >= 0.1} +BuildRequires: %{python_module pytest-doctestplus >= 0.1.3} +BuildRequires: %{python_module pytest-openfiles >= 0.3.0} +BuildRequires: %{python_module pytest-remotedata >= 0.3.0} +# /SECTION +Requires: python-pytest >= 3.1.0 +Requires: python-pytest-arraydiff >= 0.1 +Requires: python-pytest-doctestplus >= 0.1.3 +Requires: python-pytest-openfiles >= 0.3.0 +Requires: python-pytest-remotedata >= 0.3.0 +BuildArch: noarch + +%python_subpackages + +%description +This is a meta-package that pulls in the dependencies that are used by +astropy and some affiliated packages for testing. It can also be used for +testing packages that are not affiliated with the Astropy project. + +%prep +%setup -q -n pytest-astropy-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc CHANGES.rst README.rst +%license LICENSE.rst +%{python_sitelib}/pytest_astropy-%{version}-py*.egg-info + +%changelog