- Update to version 2.1.1+git.1652668078.0f0697d:
* switch to f-string * fix up strings and upgrade format syntax * move fixtures into the setup code for the test suite * blackify/isort/flake8 * enable linting * refactor to a src folder * remove py2 configparser shims * refactor package info to setup.cfg, run pyupgrade * fix classifiers * disable windows - remove unnecessary patch rm_nspace_pkgs.patch. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PasteDeploy?expand=0&rev=35
This commit is contained in:
parent
9c3e9bd4e2
commit
4f3f879fc7
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7d86b685239b39553b31cc040a6262af682f9c545ed5f4e6a5cd41ec99e7e34a
|
|
||||||
size 32339
|
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="versionprefix">2.1.1+git</param>
|
||||||
|
<param name="url">https://github.com/Pylons/pastedeploy.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git*</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="changesauthor">mcepl@cepl.eu</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled" />
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/Pylons/pastedeploy.git</param>
|
||||||
|
<param name="changesrevision">0f0697dc20ab33c675d9eecb485f41ed26fa70b8</param></service></servicedata>
|
BIN
pastedeploy-2.1.1+git.1652668078.0f0697d.tar.gz
(Stored with Git LFS)
Normal file
BIN
pastedeploy-2.1.1+git.1652668078.0f0697d.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 16 15:32:53 UTC 2022 - mcepl@cepl.eu
|
||||||
|
|
||||||
|
- Update to version 2.1.1+git.1652668078.0f0697d:
|
||||||
|
* switch to f-string
|
||||||
|
* fix up strings and upgrade format syntax
|
||||||
|
* move fixtures into the setup code for the test suite
|
||||||
|
* blackify/isort/flake8
|
||||||
|
* enable linting
|
||||||
|
* refactor to a src folder
|
||||||
|
* remove py2 configparser shims
|
||||||
|
* refactor package info to setup.cfg, run pyupgrade
|
||||||
|
* fix classifiers
|
||||||
|
* disable windows
|
||||||
|
- remove unnecessary patch rm_nspace_pkgs.patch.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 26 09:09:10 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
Thu Nov 26 09:09:10 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PasteDeploy
|
# spec file for package python-PasteDeploy
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,19 +19,19 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
Name: python-PasteDeploy
|
Name: python-PasteDeploy
|
||||||
Version: 2.1.1
|
Version: 2.1.1+git.1652668078.0f0697d
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tool to load, configure, and compose WSGI applications and servers
|
Summary: Tool to load, configure, and compose WSGI applications and servers
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/Pylons/pastedeploy
|
URL: https://github.com/Pylons/pastedeploy
|
||||||
Source: https://github.com/Pylons/pastedeploy/archive/%{version}.tar.gz
|
# Source: https://github.com/Pylons/pastedeploy/archive/%%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM rm_nspace_pkgs.patch gh#Pylons/pastedeploy#27 mcepl@suse.com
|
Source: pastedeploy-%{version}.tar.gz
|
||||||
# Package uses namespace_packages, when it shouldn't.
|
|
||||||
Patch0: rm_nspace_pkgs.patch
|
|
||||||
BuildRequires: %{python_module Paste}
|
BuildRequires: %{python_module Paste}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Paste
|
Requires: python-Paste
|
||||||
@ -54,11 +54,13 @@ provides commands to serve applications based on this configuration file.
|
|||||||
%setup -q -n pastedeploy-%{version}
|
%setup -q -n pastedeploy-%{version}
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
|
sed -i -e '/^addopts/s/ --cov//' pytest.ini
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -67,6 +69,9 @@ provides commands to serve applications based on this configuration file.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license license.txt
|
%license license.txt
|
||||||
%{python_sitelib}/*
|
# %%{python_sitelib}/PasteDeploy-%%{version}*-info
|
||||||
|
%{python_sitelib}/PasteDeploy-2.1.1*-info
|
||||||
|
%{python_sitelib}/PasteDeploy-2.1.1*-nspkg.pth
|
||||||
|
%{python_sitelib}/paste/deploy
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -48,7 +48,6 @@ setup(
|
|
||||||
"Issue Tracker": "https://github.com/Pylons/pastedeploy/issues",
|
|
||||||
},
|
|
||||||
license="MIT",
|
|
||||||
- namespace_packages=["paste"],
|
|
||||||
packages=find_packages(exclude=["tests"]),
|
|
||||||
include_package_data=True,
|
|
||||||
zip_safe=False,
|
|
Loading…
x
Reference in New Issue
Block a user