mirror of
https://github.com/danieldemus/pyp2spec.git
synced 2026-07-29 13:44:21 +02:00
Add python-aioflo config and specfile to tests
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
Name: python-aioflo
|
||||
Version: 0.4.2
|
||||
Release: 4%{?dist}
|
||||
Summary: Python library for Flo by Moen Smart Water Detectors
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/bachya/aioflo
|
||||
Source0: %{url}/archive/%{version}/aioflo-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%global _description %{expand:
|
||||
An asyncio-friendly Python library for Flo Smart Water Detectors.
|
||||
}
|
||||
|
||||
BuildRequires: python3dist(poetry-core)
|
||||
BuildRequires: python3dist(pytest)
|
||||
BuildRequires: python3dist(aiohttp)
|
||||
BuildRequires: python3dist(aresponses)
|
||||
BuildRequires: python3dist(pytest-aiohttp)
|
||||
BuildRequires: python3dist(pytest-cov)
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-aioflo
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-aioflo %_description
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n aioflo-%{version}
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files aioflo
|
||||
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
|
||||
%files -n python3-aioflo -f %{pyproject_files}
|
||||
%doc AUTHORS.md README.md
|
||||
%license LICENSE
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 04 2021 Package Manager <package@manager.com> - 0.4.2-4
|
||||
- Rebuilt for Python 3.10
|
||||
@@ -0,0 +1,29 @@
|
||||
pypi_name = "aioflo"
|
||||
python_name = "python-aioflo"
|
||||
module_name = "aioflo"
|
||||
version = "0.4.2"
|
||||
release = "4"
|
||||
summary = "Python library for Flo by Moen Smart Water Detectors"
|
||||
license = "MIT"
|
||||
url = "https://github.com/bachya/aioflo"
|
||||
source = "%{url}/archive/%{version}/aioflo-%{version}.tar.gz"
|
||||
archive_name = "aioflo"
|
||||
description = '''
|
||||
An asyncio-friendly Python library for Flo Smart Water Detectors.
|
||||
'''
|
||||
manual_build_requires = [
|
||||
"python3dist(poetry-core)",
|
||||
"python3dist(pytest)",
|
||||
"python3dist(aiohttp)",
|
||||
"python3dist(aresponses)",
|
||||
"python3dist(pytest-aiohttp)",
|
||||
"python3dist(pytest-cov)",
|
||||
]
|
||||
|
||||
extra_build_requires = ["runtime"]
|
||||
test_method = "pytest"
|
||||
license_files = ["LICENSE"]
|
||||
doc_files = ["AUTHORS.md", "README.md"]
|
||||
|
||||
changelog_head = "Fri Jun 04 2021 Package Manager <package@manager.com>"
|
||||
changelog_msg = "Rebuilt for Python 3.10"
|
||||
Reference in New Issue
Block a user