Accepting request 1208098 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1208098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-modern-colorthief?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2024-10-15 13:16:22 +00:00 committed by Git OBS Bridge
commit 38d5653ac0
6 changed files with 23 additions and 31 deletions

21
LICENSE
View File

@ -1,21 +0,0 @@
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.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:427e4c74dc215ddb37c707b452f0a34ce3e5ccd3db188120fd4975fc6080d751
size 179822

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab0bf3359635a9106aac093907211724425be8539a670abb9c9f4563fc3efeb2
size 465488

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Oct 15 10:47:19 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.1.7:
* change theme for docs
- update to 0.1.6:
* Feat: remove duplicates
- update to 0.1.5:
* Fix urls
- update to 0.1.4:
* Initial support for bytesio
* Fix flaky tests
- switch url to github, as it takes a long time to actually show
up on pypi
-------------------------------------------------------------------
Fri May 17 01:43:47 UTC 2024 - Richard Rahl <rrahl0@disroot.org>

View File

@ -19,15 +19,13 @@
%{?sle15_python_module_pythons}
%define pyname modern_colorthief
Name: python-modern-colorthief
Version: 0.1.3
Version: 0.1.7
Release: 0
Summary: Colorthief reimagined
License: MIT
URL: https://github.com/baseplate-admin/modern_colorthief
Source0: https://files.pythonhosted.org/packages/source/m/modern-colorthief/modern_colorthief-%{version}.tar.gz
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{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 maturin}
BuildRequires: %{python_module pip}
@ -43,7 +41,6 @@ Python-modern-colorthief is a rewritten rust python-colorthief replacement
%prep
%autosetup -a1 -n %{pyname}-%{version}
cp %{SOURCE2} .
%build
%pyproject_wheel
@ -58,6 +55,7 @@ cp %{SOURCE2} .
%files %{python_files}
%license LICENSE
%{python_sitearch}/%{pyname}
%pycache_only %{python_sitearch}/%{pyname}/__pycache__
%{python_sitearch}/%{pyname}-%{version}.dist-info
%changelog

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13d9818c3bcfef8cffb4447f42873221871940ae62e569250deb68df394a62ba
size 20049718
oid sha256:d580d0f44b9192402c7e3032e36896419b746e62e52592466d0ef6cb5b727d0a
size 8251147