-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpython-qasync.spec.in
52 lines (40 loc) · 1.46 KB
/
python-qasync.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Created by pyp2rpm-3.3.4
%global pypi_name qasync
Name: python-%{pypi_name}
Version: @VERSION@
Release: @REL@%{?dist}
Summary: Implementation of the PEP 3156 Event-Loop with Qt
License: BSD
URL: https://github.com/CabbageDevelopment/qasync
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-poetry-core >= 1.5.0
%description
qasync allows you to use coroutines in PyQt/PySide applications by
providing an implementation of the PEP 3156 event-loop. qasync is a fork of
asyncqt which is a fork of quamash. May it live longer than its
predecessors.
%package -n python%{python3_pkgversion}-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
%description -n python%{python3_pkgversion}-%{pypi_name}
qasync allows you to use coroutines in PyQt/PySide applications by
providing an implementation of the PEP 3156 event-loop. qasync is a fork of
asyncqt which is a fork of quamash. May it live longer than its
predecessors.
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files qasync
%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
%license LICENSE
%doc README.md
%changelog
@CHANGELOG@