Accepting request 1175061 from home:rrahl0:upgrades
- update to 0.1.3 * Rust rewrite * depedency updates OBS-URL: https://build.opensuse.org/request/show/1175061 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-modern-colorthief?expand=0&rev=5
This commit is contained in:
parent
805acf3837
commit
1486d17a31
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) baseplate-admin
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
7
_service
Normal file
7
_service
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<services>
|
||||||
|
<service name="download_files" mode="manual" />
|
||||||
|
<service name="cargo_vendor" mode="manual">
|
||||||
|
<param name="src">*.tar.gz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bce71acb9611c2e7af029606d5bdbad786f72776841ebcf2ab4910d2a01de066
|
|
||||||
size 6703
|
|
3
modern_colorthief-0.1.3.tar.gz
Normal file
3
modern_colorthief-0.1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:427e4c74dc215ddb37c707b452f0a34ce3e5ccd3db188120fd4975fc6080d751
|
||||||
|
size 179822
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 01:43:47 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
|
||||||
|
|
||||||
|
- update to 0.1.3
|
||||||
|
* Rust rewrite
|
||||||
|
* depedency updates
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 23 18:12:15 UTC 2024 - Richard Rahl <rrahl0@proton.me>
|
Fri Feb 23 18:12:15 UTC 2024 - Richard Rahl <rrahl0@proton.me>
|
||||||
|
|
||||||
|
@ -17,43 +17,47 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
|
%define pyname modern_colorthief
|
||||||
Name: python-modern-colorthief
|
Name: python-modern-colorthief
|
||||||
Version: 0.1.2
|
Version: 0.1.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Colorthief reimagined
|
Summary: Colorthief reimagined
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/baseplate-admin/modern_colorthief
|
URL: https://github.com/baseplate-admin/modern_colorthief
|
||||||
Source: https://files.pythonhosted.org/packages/source/m/modern-colorthief/modern_colorthief-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/m/modern-colorthief/modern_colorthief-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.zst
|
||||||
|
# LICENSE added, as it was forgotten, remove with new version
|
||||||
|
Source2: https://raw.githubusercontent.com/baseplate-admin/modern_colorthief/master/LICENSE
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
|
BuildRequires: %{python_module maturin}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module poetry-core}
|
BuildRequires: %{python_module poetry-core}
|
||||||
|
BuildRequires: cargo
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Pillow
|
BuildRequires: zstd
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
Python-modern-colorthief is a rewritten rust python-colorthief replacement
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n modern_colorthief-%{version}
|
%autosetup -a1 -n %{pyname}-%{version}
|
||||||
|
cp %{SOURCE2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%python_expand rm %{buildroot}%{$python_sitelib}/LICENSE.colorthief
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# the singular test is relying on the old abandoned python-colorthief.
|
# the singular test is relying on the old abandoned python-colorthief.
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/modern_colorthief
|
%license LICENSE
|
||||||
%{python_sitelib}/modern_colorthief-%{version}.dist-info
|
%{python_sitearch}/%{pyname}
|
||||||
%license LICENSE LICENSE.colorthief
|
%{python_sitearch}/%{pyname}-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:13d9818c3bcfef8cffb4447f42873221871940ae62e569250deb68df394a62ba
|
||||||
|
size 20049718
|
Loading…
Reference in New Issue
Block a user