- update to 1.0.0:

* Require setuptools to build from source.
  * Stop asking setuptools to build both .tar.gz and .zip
    sdists. PyPI has standardized on .tar.gz for all platforms.
  * Publish the change log to https://greenlet.readthedocs.io

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=54
This commit is contained in:
Dirk Mueller 2021-02-01 22:26:23 +00:00 committed by Git OBS Bridge
parent 236f62427d
commit acd5034be6
5 changed files with 21 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41d8835c69a78de718e466dd0e6bfd4b46125f21a67c3ff6d76d8d8059868d6b
size 61381

3
greenlet-1.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:719e169c79255816cdcf6dccd9ed2d089a72a9f6c42273aae12d55e8d35bdcf8
size 84525

View File

@ -0,0 +1 @@
addFilter('devel-file-in-non-devel-package .*/greenlet/.*')

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Feb 1 22:13:52 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.0.0:
* Require setuptools to build from source.
* Stop asking setuptools to build both .tar.gz and .zip
sdists. PyPI has standardized on .tar.gz for all platforms.
* Publish the change log to https://greenlet.readthedocs.io
-------------------------------------------------------------------
Mon Sep 28 10:54:19 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-greenlet
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -19,13 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-greenlet
Version: 0.4.17
Version: 1.0.0
Release: 0
Summary: Lightweight in-process concurrent programming
License: MIT
Group: Development/Libraries/Python
URL: https://github.com/python-greenlet/greenlet
Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
Source9: python-greenlet-rpmlintrc
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: c++_compiler
@ -55,7 +56,9 @@ This package contains header files required for C modules development.
%build
export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
%python_build
cd doc && make html && rm _build/html/.buildinfo
export PYTHONPATH=$PWD/src
cd docs && make html && rm _build/html/.buildinfo
%install
%python_install
@ -66,8 +69,8 @@ export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
%python_exec setup.py -q test
%files %{python_files}
%doc AUTHORS NEWS README.rst
%doc doc/_build/html/
%doc AUTHORS CHANGES.rst README.rst
%doc docs/_build/html/
%license LICENSE*
%{python_sitearch}/greenlet*