From aaa864576153e98691a272cbea3fa1840e4bb430b099311385444b58b408f9c9 Mon Sep 17 00:00:00 2001 From: Todd R Date: Sat, 28 Apr 2018 21:30:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pweave?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + Pweave-0.30.2.tar.gz | 3 ++ python-Pweave.changes | 4 ++ python-Pweave.spec | 92 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 123 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Pweave-0.30.2.tar.gz create mode 100644 python-Pweave.changes create mode 100644 python-Pweave.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/Pweave-0.30.2.tar.gz b/Pweave-0.30.2.tar.gz new file mode 100644 index 0000000..8565168 --- /dev/null +++ b/Pweave-0.30.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df4b77539c08723131fc77132cb42995d642ed7343248814b9dc9ae706ba6f08 +size 1497246 diff --git a/python-Pweave.changes b/python-Pweave.changes new file mode 100644 index 0000000..d7a103c --- /dev/null +++ b/python-Pweave.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Sep 12 20:58:25 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-Pweave.spec b/python-Pweave.spec new file mode 100644 index 0000000..1424a3a --- /dev/null +++ b/python-Pweave.spec @@ -0,0 +1,92 @@ +# +# spec file for package python-Pweave +# +# 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-%{**}} +%define skip_python2 1 +Name: python-Pweave +Version: 0.30.2 +Release: 0 +Summary: Scientific reports with embedded python computations +License: BSD-3-Clause +Group: Development/Languages/Python +Url: https://github.com/mpastell/Pweave +Source: https://files.pythonhosted.org/packages/source/P/Pweave/Pweave-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module Markdown} +BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module certifi} +BuildRequires: %{python_module jupyter_client} +BuildRequires: %{python_module jupyter_ipykernel} +BuildRequires: %{python_module jupyter_ipython} +BuildRequires: %{python_module jupyter_nbconvert} +BuildRequires: %{python_module jupyter_nbformat} +BuildRequires: %{python_module matplotlib} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module scipy} +# /SECTION +Requires: python-Markdown +Requires: python-Pygments +Requires: python-certifi +Requires: python-jupyter_client +Requires: python-jupyter_ipykernel +Requires: python-jupyter_ipython +Requires: python-jupyter_nbconvert +Requires: python-jupyter_nbformat +Recommends: python-Sphinx +Recommends: python-matplotlib +Recommends: python-scipy +Recommends: python-sphinx_rtd_theme +BuildArch: noarch + +%python_subpackages + +%description +Pweave is a scientific report generator and a literate programming +tool for Python. Pweave can capture the results and plots from data +analysis and works well with NumPy, SciPy and matplotlib. It is able +to run python code from source document and include the results and +capture matplotlib plots in the output. + +Pweave is good for creating reports, tutorials, presentations etc. +with embedded python code It can also be used to make websites together +with e.g. Sphinx or rest2web. + +%prep +%setup -q -n Pweave-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc CHANGELOG.txt README.rst +%license LICENSE.txt +%{_bindir}/pweave +%{_bindir}/ptangle +%{_bindir}/pypublish +%{_bindir}/pweave-convert +%{python_sitelib}/* + +%changelog