python-livereload/python-livereload.spec
2023-06-13 04:55:35 +08:00

52 lines
1.4 KiB
RPMSpec

%global pypi_name livereload
Name: python-%{pypi_name}
Version: 2.6.3
Release: 1
Summary: Python LiveReload is an awesome tool for web developers.
License: MIT
URL: https://github.com/lepture/python-livereload
Source0: https://files.pythonhosted.org/packages/bd/60/6640b819e858562ef6684abac60593b7369fe0a8a064df426d3ab0ab894d/livereload-2.6.3.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-editables
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
%description
Python LiveReload provides a command line utility, livereload, for starting a server in a directory.
By default, it will listen to port 35729, the common port for LiveReload browser extensions.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
Python LiveReload provides a command line utility, livereload, for starting a server in a directory.
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%{_bindir}/livereload
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}*.dist-info/
%changelog
* Tue Jun 13 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.6.3-1
- Initial package 2.6.3