- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-modern-colorthief?expand=0&rev=7
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
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>
|
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
|
3
python-modern-colorthief-0.1.7.tar.gz
Normal file
3
python-modern-colorthief-0.1.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab0bf3359635a9106aac093907211724425be8539a670abb9c9f4563fc3efeb2
|
||||
size 465488
|
31
python-modern-colorthief.changes
Normal file
31
python-modern-colorthief.changes
Normal file
@@ -0,0 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- update to 0.1.3
|
||||
* Rust rewrite
|
||||
* depedency updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 23 18:12:15 UTC 2024 - Richard Rahl <rrahl0@proton.me>
|
||||
|
||||
- fix runtime dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 13 01:48:31 UTC 2023 - Richard Rahl <rrahl0@proton.me>
|
||||
|
||||
- initial packaging
|
61
python-modern-colorthief.spec
Normal file
61
python-modern-colorthief.spec
Normal file
@@ -0,0 +1,61 @@
|
||||
#
|
||||
# spec file for package python-modern-colorthief
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%define pyname modern_colorthief
|
||||
Name: python-modern-colorthief
|
||||
Version: 0.1.7
|
||||
Release: 0
|
||||
Summary: Colorthief reimagined
|
||||
License: MIT
|
||||
URL: https://github.com/baseplate-admin/modern_colorthief
|
||||
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.zst
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module maturin}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: cargo
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: zstd
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Python-modern-colorthief is a rewritten rust python-colorthief replacement
|
||||
|
||||
%prep
|
||||
%autosetup -a1 -n %{pyname}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%check
|
||||
# the singular test is relying on the old abandoned python-colorthief.
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitearch}/%{pyname}
|
||||
%pycache_only %{python_sitearch}/%{pyname}/__pycache__
|
||||
%{python_sitearch}/%{pyname}-%{version}.dist-info
|
||||
|
||||
%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:d580d0f44b9192402c7e3032e36896419b746e62e52592466d0ef6cb5b727d0a
|
||||
size 8251147
|
Reference in New Issue
Block a user