diff --git a/_multibuild b/_multibuild deleted file mode 100644 index fcc7b97..0000000 --- a/_multibuild +++ /dev/null @@ -1,3 +0,0 @@ - - test - diff --git a/dash-core-components-1.16.0-gh.tar.gz b/dash-core-components-1.16.0-gh.tar.gz deleted file mode 100644 index 7afebe5..0000000 --- a/dash-core-components-1.16.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a54658277892a80147af2507c38f6dad4199ec905ed0d8166df922a56361395 -size 13926215 diff --git a/dash_core_components-2.0.0.tar.gz b/dash_core_components-2.0.0.tar.gz new file mode 100644 index 0000000..49eeef7 --- /dev/null +++ b/dash_core_components-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6733874af975e552f95a1398a16c2ee7df14ce43fa60bb3718a3c6e0b63ffee +size 3427 diff --git a/python-dash-core-components.changes b/python-dash-core-components.changes index a5ee4b9..54bcdc5 100644 --- a/python-dash-core-components.changes +++ b/python-dash-core-components.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Jun 7 20:14:49 UTC 2022 - Ben Greiner + +- Update to version 2.0.0 + * As of Dash 2, the development of dash-core-components has been + moved to the main Dash repo + * This package exists for backward compatibility as Dash still + lists it as requirement. It has no further functionality than + displaying a deprecation message. + ------------------------------------------------------------------- Fri Apr 9 21:02:04 UTC 2021 - Ben Greiner diff --git a/python-dash-core-components.spec b/python-dash-core-components.spec index 879b34a..10caff7 100644 --- a/python-dash-core-components.spec +++ b/python-dash-core-components.spec @@ -1,7 +1,7 @@ # -# spec file for package python-dash-core-components-test +# spec file for package python-dash-core-components # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,69 +16,41 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%global flavor @BUILD_FLAVOR@%{nil} -%if "%{flavor}" == "test" -%define psuffix -test -%bcond_without test -%else -%define psuffix %{nil} -%bcond_with test -%endif -%define skip_python2 1 -# Upstream cannot tag the release version, but we need the github archive for the test files -# https://github.com/plotly/dash-core-components/issues/886 -# get this from the master branch (dev is the default but does not have the full package) -%define commit 44949a48a4c28ab6164eb4c823a346862ae2cfeb -Name: python-dash-core-components%{psuffix} -Version: 1.16.0 +Name: python-dash-core-components +Version: 2.0.0 Release: 0 -Summary: Core component suite for Dash +Summary: Core component suite for Dash - Legacy License: MIT URL: https://github.com/plotly/dash-core-components -Source: https://github.com/plotly/dash-core-components/archive/%{commit}.tar.gz#/dash-core-components-%{version}-gh.tar.gz +Source: https://files.pythonhosted.org/packages/source/d/dash-core-components/dash_core_components-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module dash} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module selenium} -BuildRequires: %{python_module pandas if (%python-base without python36-base)} -%endif %python_subpackages %description Core component suite for Dash +As of Dash 2, the development of dash-core-components has been moved to the main Dash repo + +This package exists for backward compatibility as Dash still lists it as requirement. It +has no further functionality than displaying a deprecation message. + %prep -%setup -q -n dash-core-components-%{commit} +%setup -q -n dash_core_components-%{version} %build %python_build %install -%if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%endif -%check -%if %{with test} -# simplest integration tests as run in .circleci/ -%pyunittest tests/test_dash_import.py -v -# fulls suite needs working selenium and chromedriver -# when fixed this should be enabled -#%%pytest -%endif - -%if !%{with test} %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/dash_core_components %{python_sitelib}/dash_core_components-%{version}-py*.egg-info -%endif %changelog