forked from pool/python-pyasyncore
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 1899ed7efb | |||
| d5f510d8bf | |||
| ac4b2cb1ad | |||
| 07b68661bf |
BIN
pyasyncore-1.0.4.tar.gz
LFS
BIN
pyasyncore-1.0.4.tar.gz
LFS
Binary file not shown.
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 17 13:17:29 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 2 03:22:41 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Build for all versions of Python that we can (Python 3.10 not supported)
|
||||
- Actually run the testsuite, switching to GitHub tarball so we have them.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 09:31:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -16,21 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
%define pythons python312
|
||||
# Requires Python 3.11 or above
|
||||
%define skip_python310 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyasyncore
|
||||
Version: 1.0.4
|
||||
Release: 0
|
||||
Summary: Make asyncore available for Python 312 onwards
|
||||
Summary: Make asyncore available for Python 3.12 onwards
|
||||
License: PSF-2.0
|
||||
URL: https://github.com/simonrob/pyasyncore
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyasyncore/pyasyncore-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.12}
|
||||
Source: https://github.com/simonrob/pyasyncore/archive/refs/tags/v%{version}.tar.gz#/pyasyncore-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.11}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module testsuite}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-base >= 3.12
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -39,6 +41,7 @@ Make asyncore available for Python 3.12 onwards
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pyasyncore-%{version}
|
||||
chmod -x LICENSE README.md
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -47,7 +50,8 @@ Make asyncore available for Python 3.12 onwards
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
# no tests available
|
||||
%check
|
||||
%pyunittest -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user