commit fe52b09153ce6b2df602b201cff7102c257065f181491cc3f7b6efb63b31eb11 Author: Dirk Mueller Date: Sat Jul 5 10:35:24 2025 +0000 - update to 3.1.0: * Support Python 3.11 and 3.12. * Remove deprecated usage of inspect.getargspec that is no longer supported in Python 3.12. * Fix python_requires package metadata to support Python 3.7+. * Drop support for Python 2, as well as 3.4, 3.5, and 3.6. * Fix a broken compatibility shim that would cause the ConfigParser to fail on Python 3.12 when ConfigParser.readfp is removed. * Drop setuptools dependency and start using importlib.metadata instead. * Refactor repository into a src folder layout. * Added setuptools as an explicit dependency. This has always been required but now that more environments are becoming capable of operating without it being installed, we now need to ensure it's available. * pytest-runner removed, use tox to run tests. * Python 3 deprecation warning cleanups * Moved code to GitHub under the Pylons Project. * Moved documentation under the Pylons Project, hosted by Read the Docs at https://docs.pylonsproject.org/projects/pastedepl oy/en/latest/ * Fixed Python 3 issue in paste.deploy.util.fix_type_error() * Fixed use of the wrong variable when determining the context protocol * Fixed invalid import of paste.deploy.Config to paste.deploy.config.Config * Fixed multi proxy IPs bug in X-Forwarded-For header in PrefixMiddleware * Fixed TypeError when trying to raise LookupError on Python 3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PasteDeploy?expand=0&rev=42 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/PasteDeploy-3.1.0.tar.gz b/PasteDeploy-3.1.0.tar.gz new file mode 100644 index 0000000..655e862 --- /dev/null +++ b/PasteDeploy-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95 +size 37841 diff --git a/_service b/_service new file mode 100644 index 0000000..a5ec5c6 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + 2.1.1+git + https://github.com/Pylons/pastedeploy.git + git + .git* + enable + mcepl@cepl.eu + + + *.tar + gz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..2b6ce7c --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/Pylons/pastedeploy.git + 0f0697dc20ab33c675d9eecb485f41ed26fa70b8 \ No newline at end of file diff --git a/pastedeploy-2.1.1+git.1652668078.0f0697d.tar.gz b/pastedeploy-2.1.1+git.1652668078.0f0697d.tar.gz new file mode 100644 index 0000000..aabc70a --- /dev/null +++ b/pastedeploy-2.1.1+git.1652668078.0f0697d.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7df8ddebbacd0a6a5f8bad1ba197714d39930e469def10bcee68eaa1b576bc3a +size 33486 diff --git a/python-PasteDeploy.changes b/python-PasteDeploy.changes new file mode 100644 index 0000000..b90d271 --- /dev/null +++ b/python-PasteDeploy.changes @@ -0,0 +1,216 @@ +------------------------------------------------------------------- +Sat Jul 5 10:35:10 UTC 2025 - Dirk Müller + +- update to 3.1.0: + * Support Python 3.11 and 3.12. + * Remove deprecated usage of inspect.getargspec that is no + longer supported in Python 3.12. + * Fix python_requires package metadata to support Python 3.7+. + * Drop support for Python 2, as well as 3.4, 3.5, and 3.6. + * Fix a broken compatibility shim that would cause the + ConfigParser to fail on Python 3.12 when ConfigParser.readfp + is removed. + * Drop setuptools dependency and start using importlib.metadata + instead. + * Refactor repository into a src folder layout. + * Added setuptools as an explicit dependency. This has always + been required but now that more environments are becoming + capable of operating without it being installed, we now need + to ensure it's available. + * pytest-runner removed, use tox to run tests. + * Python 3 deprecation warning cleanups + * Moved code to GitHub under the Pylons Project. + * Moved documentation under the Pylons Project, hosted by Read + the Docs at https://docs.pylonsproject.org/projects/pastedepl + oy/en/latest/ + * Fixed Python 3 issue in paste.deploy.util.fix_type_error() + * Fixed use of the wrong variable when determining the context + protocol + * Fixed invalid import of paste.deploy.Config to + paste.deploy.config.Config + * Fixed multi proxy IPs bug in X-Forwarded-For header in + PrefixMiddleware + * Fixed TypeError when trying to raise LookupError on Python 3 + * Fixed exception reraise on Python 3 + * Project is now maintained by Alex Grönholm + + * Was printing extraneous data when calling setup.py + * Fixed missing paster template files (fixes "paster create -t + paste.deploy") + +------------------------------------------------------------------- +Tue Apr 1 12:34:48 UTC 2025 - Markéta Machová + +- Make the dist-info name case-insensitive + +------------------------------------------------------------------- +Tue Mar 25 03:53:06 UTC 2025 - Steve Kowalik + +- Lowercase metadata directory name. + +------------------------------------------------------------------- +Tue May 9 13:50:11 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + +------------------------------------------------------------------- +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 + +- update to 2.1.1: + * Added ``setuptools`` as an explicit dependency. + +------------------------------------------------------------------- +Tue Jun 23 16:24:08 UTC 2020 - Matej Cepl + +- Add rm_nspace_pkgs.patch to poorly used namespace_packages + (gh#Pylons/pastedeploy#27) + +------------------------------------------------------------------- +Sat Mar 14 15:42:42 UTC 2020 - Dirk Mueller + +- update to 2.1.0: + * pytest-runner removed, use tox to run tests + +------------------------------------------------------------------- +Tue Mar 5 19:08:57 UTC 2019 - Tomáš Chvátal + +- Switch to github tarball to run tests + +------------------------------------------------------------------- +Tue Dec 18 14:43:26 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. + +------------------------------------------------------------------- +Mon Dec 17 21:14:33 UTC 2018 - Thomas Bechtold + +- update to 2.0.1: + * Use pytest.ini testpaths + * Use pylons-sphinx-themes for pylons + * Add GitHub issue templates (#13) + * tox.ini: Drop py32; add py35 + * Remove dead links + * Fix string-formatting args when raising LookupError + * Eliminate cover and cover3 tox targets + * fix link to paster serve + * Comment out obsolete static path + * Prepare a 2.0.0 release (#19) + * Use .rst for extension for better rendering on GitHub + * rename directory of reST files to use .rst extension + * Update link to Paste, saving a redirect https://pythonpaste.readthedocs.io/en/latest/ + * Update tests to reflect new behaviour of globals and DEFAULT + * Make 'python setup.py test' work (#5) + * Switch to pytest + * Remove obsolete links from navigation + * missed one code-block highlighting + * Add docs environment to tox. Build via `tox -e docs`. + * Close branch pytest + * Establish testing + * update installation instructions + * Move license.txt to root of repo in hopes that GitHub will find it + * Add intersphinx and configure Python docs + * Add rtd.txt to install pylons-sphinx-themes package + * add docs env to tox + * Release 2.0.1 + * Add docs_extra to setup.py + * proper spacing + * Update URLs in README and setup.py + * Rename to README.rst for better rendering on GitHub + * Use correct syntax highlighting + * Remove link to paste.urlmap + * fix spelling + * tox.ini: Don't need pytest-cov in base testenv + * Resolve deprecation warning + * Added tag 1.5.2 for changeset a16d11053bed + * use explicit bytes literal + * use proper link syntax + * Remove license from docs + * comment out static directory via html_static_path + * add docs/.gitignore to add _build + * setup.py update (#17) + * Fix broken link to get initial html docs built + * Close branch tox_drop_py32_add_py35 + * Fix typo in docs/index.txt + * Update link to pastescript in README.rst + * Synch with master + * tox.ini: enable tests on Python 3 + * Comment out templates path as it is not used + * Add Makefile to PR so tox can build docs + * Minor grammar fix (#21) + * Remove obsolete script + * Add contributing.md (#12) + * fix paste_deploy paster template for python3 + * Use current links + * Merged in huang1hao/pastedeploy/huang1hao/fix-typo-in-docsindextxt-1427530235567 (pull request #8) + * Fix links to news and pip + * Update URLs in setup.py and README (#10) + * Modernize conf.py so we don't have to keep updating it for each release and year + * Allow global_conf to override defaults, see: #7. + +------------------------------------------------------------------- +Tue Dec 4 12:51:17 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Sat May 6 03:37:17 UTC 2017 - toddrme2178@gmail.com + +- Fix provides/obsoletes + +------------------------------------------------------------------- +Wed Apr 19 08:16:47 UTC 2017 - hpj@urpla.net + +- fix source url + +------------------------------------------------------------------- +Wed Apr 19 02:26:16 UTC 2017 - toddrme2178@gmail.com + +- Implement single-spec version. + +------------------------------------------------------------------- +Fri Feb 6 10:54:44 UTC 2015 - hpj@urpla.net + +- update to version 1.5.2 + * Fixed Python 3 issue in paste.deploy.util.fix_type_error() + +------------------------------------------------------------------- +Thu Oct 24 11:09:48 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +------------------------------------------------------------------- +Thu Jun 13 13:50:37 UTC 2013 - dmueller@suse.com + +- add python-distribute dependency + +------------------------------------------------------------------- +Sun May 27 05:17:04 UTC 2012 - highwaystar.ru@gmail.com + +- python3 package added + +------------------------------------------------------------------- +Thu Sep 1 09:05:45 UTC 2011 - saschpe@suse.de + +- Added Provides/Obsoletes for python-pastedeploy + +------------------------------------------------------------------- +Thu Sep 1 09:00:16 UTC 2011 - saschpe@suse.de + +- Initial version + diff --git a/python-PasteDeploy.spec b/python-PasteDeploy.spec new file mode 100644 index 0000000..7667f97 --- /dev/null +++ b/python-PasteDeploy.spec @@ -0,0 +1,69 @@ +# +# spec file for package python-PasteDeploy +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-PasteDeploy +Version: 3.1.0 +Release: 0 +Summary: Tool to load, configure, and compose WSGI applications and servers +License: MIT +Group: Development/Languages/Python +URL: https://github.com/Pylons/pastedeploy +Source: https://files.pythonhosted.org/packages/source/p/PasteDeploy/PasteDeploy-%{version}.tar.gz +BuildRequires: %{python_module Paste} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Paste +Requires: python-setuptools +Provides: python-pastedeploy = %{version} +Obsoletes: python-pastedeploy < %{version} +BuildArch: noarch +%python_subpackages + +%description +This tool provides code to load WSGI applications and servers from URIs; these +URIs can refer to Python Eggs for INI-style configuration files. Paste Script +provides commands to serve applications based on this configuration file. + +%prep +%autosetup -p1 -n PasteDeploy-%{version} + +sed -i -e '/^addopts/s/ --cov//' pytest.ini + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license license.txt +%{python_sitelib}/[pP]aste[dD]eploy-%{version}.dist-info +%{python_sitelib}/PasteDeploy-%{version}*-nspkg.pth +%{python_sitelib}/paste/deploy + +%changelog