Commit 25971445 authored by Blashkin Konstantin's avatar Blashkin Konstantin

Последние наработки в spec и toml файлах

parent f0b55b27
......@@ -11,7 +11,6 @@ License: Etersoft
Url: https://gitlab.eterfund.ru/owl2/hddtempserial
# Source-url: https://gitlab.eterfund.ru/owl2/%name/-/archive/v%version/%name-v%version.tar
Source: %name-%version.tar
BuildRequires: python3-devel
BuildRequires: python3-module-serial
......@@ -20,21 +19,26 @@ BuildRequires: hddtemp
Requires: python3 > 3.4
%description
Script for the fan control board, transfers temperature data in the system to the control board.
%prep
%setup
#%setup
%build
%pyproject_build
%install
%pyproject_install
%python3_prune
%files
%doc readme.md
%python3_sitelibdir/%oname/
%_bindir/*
%_menudir/*
%_datadir/%name
#%files
#%doc readme.md
#%python3_sitelibdir/%oname/
%changelog
* Wed Aug 10 2022 Pablo Soldatoff <soldatoff@etersoft.ru> 1.0.0-alt1
......
# As per https://github.com/pypa/setuptools/blob/main/docs/userguide/quickstart.rst
# As per https://github.com/pypa/setuptools/blob/main/docs/userguide/quickstart"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "hddtempserial"
......@@ -20,4 +20,4 @@ classifiers = [
]
[project.urls]
"Homepage" = "https://gitlab.eterfund.ru/owl2/hddtempserial/tree/master"
\ No newline at end of file
"Homepage" = "https://gitlab.eterfund.ru/owl2/hddtempserial/tree/master"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment