|
|
@ -1,15 +1,15 @@
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
## (rpmautospec version 0.7.3)
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
release_number = 5;
|
|
|
|
release_number = 1;
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-watchfiles
|
|
|
|
Name: python-watchfiles
|
|
|
|
Version: 0.20.0
|
|
|
|
Version: 1.0.3
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Simple, modern and high performance file watching and code reload in python
|
|
|
|
Summary: Simple, modern and high performance file watching and code reload in python
|
|
|
|
# The main source code is under the MIT license. See the license field of the
|
|
|
|
# The main source code is under the MIT license. See the license field of the
|
|
|
@ -19,8 +19,14 @@ License: MIT
|
|
|
|
URL: https://github.com/samuelcolvin/watchfiles
|
|
|
|
URL: https://github.com/samuelcolvin/watchfiles
|
|
|
|
Source: %{pypi_source watchfiles}
|
|
|
|
Source: %{pypi_source watchfiles}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Use notify 7.0.0 instead of a fork of 6.1.1
|
|
|
|
|
|
|
|
# https://github.com/samuelcolvin/watchfiles/pull/322
|
|
|
|
|
|
|
|
# (We take only the commit changing Cargo.toml, not the one updating
|
|
|
|
|
|
|
|
# Cargo.lock.)
|
|
|
|
|
|
|
|
Patch: %{url}/pull/322/commits/318442aa2bfb38cf2fa81165ee1e3fe5aa70494b.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Simple, modern and high performance file watching and code reload in python.
|
|
|
|
Simple, modern and high performance file watching and code reload in python.
|
|
|
@ -32,16 +38,34 @@ Underlying file system notifications are handled by the Notify rust library.}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-watchfiles
|
|
|
|
%package -n python3-watchfiles
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
# The main source code is under the MIT license. This license field includes
|
|
|
|
# The main source code is under the MIT license. This license field includes
|
|
|
|
# the licenses of statically linked rust dependencies.
|
|
|
|
# the licenses of statically linked rust dependencies, based on the output of
|
|
|
|
License: MIT AND Apache-2.0 AND CC0-1.0 AND ISC AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
|
|
|
|
# %%{cargo_license_summary}:
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# (MIT OR Apache-2.0) AND CC0-1.0
|
|
|
|
|
|
|
|
# Apache-2.0 OR MIT
|
|
|
|
|
|
|
|
# BSD-3-Clause
|
|
|
|
|
|
|
|
# CC0-1.0
|
|
|
|
|
|
|
|
# ISC
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
|
|
|
|
# MIT OR Apache-2.0
|
|
|
|
|
|
|
|
# Unlicense OR MIT
|
|
|
|
|
|
|
|
License: %{shrink:
|
|
|
|
|
|
|
|
MIT AND
|
|
|
|
|
|
|
|
Apache-2.0 AND
|
|
|
|
|
|
|
|
BSD-3-Clause AND
|
|
|
|
|
|
|
|
CC0-1.0 AND
|
|
|
|
|
|
|
|
ISC AND
|
|
|
|
|
|
|
|
(MIT OR Apache-2.0) AND
|
|
|
|
|
|
|
|
(Unlicense OR MIT)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-watchfiles %_description
|
|
|
|
%description -n python3-watchfiles %_description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n watchfiles-%{version}
|
|
|
|
%autosetup -n watchfiles-%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
# Remove unnecessary Python test requirements
|
|
|
|
# Remove unnecessary Python test requirements
|
|
|
|
sed -e '/^coverage\b/d' \
|
|
|
|
sed -e '/^coverage\b/d' \
|
|
|
@ -52,6 +76,10 @@ sed -e '/^coverage\b/d' \
|
|
|
|
# Remove pytest timeout config
|
|
|
|
# Remove pytest timeout config
|
|
|
|
sed -e '/timeout =/d' -i pyproject.toml
|
|
|
|
sed -e '/timeout =/d' -i pyproject.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Remove "generate-import-lib" feature for pyo3; applicable only on Windows,
|
|
|
|
|
|
|
|
# and not packaged.
|
|
|
|
|
|
|
|
sed -e 's/\(pyo3.*\), "generate-import-lib"/\1/' -i Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
# Remove unused Cargo config that contains buildflags for Darwin
|
|
|
|
# Remove unused Cargo config that contains buildflags for Darwin
|
|
|
|
rm .cargo/config.toml
|
|
|
|
rm .cargo/config.toml
|
|
|
|
|
|
|
|
|
|
|
@ -93,10 +121,13 @@ sed -e '/LICENSE/ s/^/%%license /' -i %{pyproject_files}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Sat Jan 04 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.20.0-5
|
|
|
|
* Sun Jan 05 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0.3-1
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
|
|
|
* Fri Jan 03 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 1.0.3-1
|
|
|
|
|
|
|
|
- Update to 1.0.3
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-5
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|