commit 5a98f388cbb70c46e29346b6a1e7fe99e98f3c9c2394b2b52b4a4e2cb112e983 Author: Todd R Date: Fri Apr 26 19:56:49 2019 +0000 Accepting request 698394 from home:TheBlackCat:branches:devel:languages:python:jupyter - Rename to to match python package naming guidelines. - Split jupyter components into own subpackage. - Skip python2, since some dependencies are not available. - Update to 1.0.5 * Add license file to source archive - Add license - Package readme - Use %license tag - Fix installation. - Update to 1.0.5 * Use ipywidgets 5, 6, or 7 * Added simulation_magic * Fixed graphics canvas toGIF/PNG/PIL * Clean up CameraWidget - Initial version OBS-URL: https://build.opensuse.org/request/show/698394 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-calysto?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/calysto-1.0.6.zip b/calysto-1.0.6.zip new file mode 100644 index 0000000..3068eb4 --- /dev/null +++ b/calysto-1.0.6.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:718cadf41d8238f835bd2f179c1040e1d5973b1bd6a8fcef698df4b666dac780 +size 85354 diff --git a/python-calysto.changes b/python-calysto.changes new file mode 100644 index 0000000..63046e9 --- /dev/null +++ b/python-calysto.changes @@ -0,0 +1,38 @@ +------------------------------------------------------------------- +Thu Apr 25 01:59:57 UTC 2019 - Todd R + +- Rename to to match python package naming guidelines. +- Split jupyter components into own subpackage. + +------------------------------------------------------------------- +Wed May 30 17:40:26 UTC 2018 - toddrme2178@gmail.com + +- Skip python2, since some dependencies are not available. + +------------------------------------------------------------------- +Thu May 3 21:59:38 UTC 2018 - toddrme2178@gmail.com + +- Update to 1.0.5 + * Add license file to source archive + +------------------------------------------------------------------- +Thu May 3 14:07:08 UTC 2018 - toddrme2178@gmail.com + +- Add license +- Package readme +- Use %license tag + +------------------------------------------------------------------- +Thu Jan 18 18:22:54 UTC 2018 - toddrme2178@gmail.com + +- Fix installation. +- Update to 1.0.5 + * Use ipywidgets 5, 6, or 7 + * Added simulation_magic + * Fixed graphics canvas toGIF/PNG/PIL + * Clean up CameraWidget + +------------------------------------------------------------------- +Sun Oct 22 18:33:12 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-calysto.spec b/python-calysto.spec new file mode 100644 index 0000000..c1279fd --- /dev/null +++ b/python-calysto.spec @@ -0,0 +1,99 @@ +# +# spec file for package python-calysto +# +# 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-%{**}} +%bcond_with test +Name: python-calysto +Version: 1.0.6 +Release: 0 +Summary: Libraries and Languages for Jupyter +# The package license is listed as BSD-2-Clause but contains GPL-3.0 code for now, see https://github.com/Calysto/calysto/issues/11 +License: GPL-3.0-only +Group: Development/Languages/Python +URL: https://github.com/Calysto/calysto +Source: https://files.pythonhosted.org/packages/source/c/calysto/calysto-%{version}.zip +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip +Requires: jupyter-calysto = %{version} +Requires: python-CairoSVG +Requires: python-ipython +Requires: python-ipywidgets +Requires: python-metakernel +Requires: python-numpy +Requires: python-svgwrite +Recommends: python-Pillow +Recommends: python-pexpect +Provides: python-jupyter_calysto = %{version} +Obsoletes: python-jupyter_calysto <= %{version} +BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module CairoSVG} +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module ipython} +BuildRequires: %{python_module ipywidgets} +BuildRequires: %{python_module metakernel} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pexpect} +BuildRequires: %{python_module svgwrite} +%endif +%python_subpackages + +%description +Libraries and Languages for Python and Jupyter. + +This package provides the python interface. + +%package -n jupyter-calysto +Summary: Libraries and Languages for Jupyter +Requires: jupyter-ipython +Requires: jupyter-ipywidgets +Requires: jupyter-metakernel +Requires: python3-calysto = %{version} + +%description -n jupyter-calysto +Libraries and Languages for Python and Jupyter. + +This package provides the jupyter components. + +%prep +%setup -q -n calysto-%{version} + +%build +%python_build + +%install +%python_exec setup.py install -O1 --skip-build --force --root=%{buildroot} --prefix=%{_prefix} --install-data=%{_datadir} +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_exec setup.py test +%endif + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/* + +%files -n jupyter-calysto +%license LICENSE +%{_datadir}/calysto/ + +%changelog