diff --git a/0.22.0.tar.gz b/0.22.0.tar.gz new file mode 100644 index 0000000..efbcba5 --- /dev/null +++ b/0.22.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f26d466918496fbce0890a3c388c78ee25ef9165a7affc591f846d0f8f1a671e +size 55135 diff --git a/python-libsass.changes b/python-libsass.changes index 9fc7f50..b0a3c2d 100644 --- a/python-libsass.changes +++ b/python-libsass.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Mar 13 13:15:05 UTC 2023 - pgajdos@suse.com + +- version update to 0.22.0 + - Remove python 2.x support [:issue:`373` by anthony sottile]. + - Remove deprecated ``sassc`` cli [:issue:`379` by anthony sottile]. +- python-six is not required +- do not conflict with sassc package + ------------------------------------------------------------------- Tue Aug 3 13:10:23 UTC 2021 - Markéta Machová diff --git a/python-libsass.spec b/python-libsass.spec index 769928d..44a8ebc 100644 --- a/python-libsass.spec +++ b/python-libsass.spec @@ -1,7 +1,7 @@ # # spec file for package python-libsass # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,8 @@ %define _name libsass-python -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-libsass -Version: 0.21.0 +Version: 0.22.0 Release: 0 Summary: Python binding for libsass License: MIT @@ -29,17 +28,13 @@ Source: https://github.com/sass/libsass-python/archive/%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libsass-devel >= 3.6.4 BuildRequires: python-rpm-macros Requires: python-setuptools -Requires: python-six Requires(post): update-alternatives Requires(postun):update-alternatives -# Both are providing sassc binary with different parameters -Conflicts: sassc # SECTION test requirements BuildRequires: %{python_module Werkzeug} BuildRequires: %{python_module pytest} @@ -54,13 +49,13 @@ with no Ruby stack at all! %setup -q -n libsass-python-%{version} %build +sed -i -e '/^#!\//, 1d' *.py export SYSTEM_SASS=true %python_build %install export SYSTEM_SASS=true %python_install -%python_clone -a %{buildroot}%{_bindir}/sassc %python_clone -a %{buildroot}%{_bindir}/pysassc %python_expand %fdupes %{buildroot}%{$python_sitearch} @@ -68,16 +63,14 @@ export SYSTEM_SASS=true %pytest_arch sasstests.py %post -%python_install_alternative sassc %python_install_alternative pysassc %postun -%python_uninstall_alternative sassc %python_uninstall_alternative pysassc %files %{python_files} %python_alternative %{_bindir}/pysassc -%python_alternative %{_bindir}/sassc -%{python_sitearch}/* +%{python_sitearch}/__pycache__ +%{python_sitearch}/*sass* %changelog