forked from pool/python-Protego
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d1ade1d3fc | |||
| de6c3cc4d3 | |||
| c7e270dc34 | |||
| caadad1635 | |||
| 7368cf813d | |||
| be25bc9b23 | |||
| 72b9920a56 | |||
| 1fb8de45f2 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e94430d0d25cbbf239bc849d86c5e544fbde531fcccfa059953c7da344a1712c
|
|
||||||
size 3246145
|
|
||||||
3
protego-0.5.0.tar.gz
Normal file
3
protego-0.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:225dee0acfcc71de8c6f7cef9c618e5a9d3e7baa7ae1470b8d076a064033c463
|
||||||
|
size 3137494
|
||||||
@@ -1,3 +1,37 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 3 13:13:11 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.5.0
|
||||||
|
* Restructured the code, splitting the single ``protego.py`` file
|
||||||
|
into multiple modules. The public API remains the same but some
|
||||||
|
internal names may now be available at different import paths.
|
||||||
|
* Added type hints and ``py.typed``.
|
||||||
|
* Added official support for PyPy 3.11.
|
||||||
|
* Switched the build backend from ``setuptools`` to ``hatchling``.
|
||||||
|
* Switched from ``setup.py`` to ``pyproject.toml``.
|
||||||
|
* CI fixes and improvements.
|
||||||
|
- Update BuildRequires from pyproject.toml
|
||||||
|
- Update filenames of Python files matched in %files section
|
||||||
|
- Use Python 3.11 on SLE-15 by default
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 14 06:10:41 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Support both lowercased and unnormalized metadata directory names.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 25 03:54:52 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Lowercase metadata directory name.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 24 14:06:24 UTC 2025 - Yunus Acar <yunus.acar@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.4.0:
|
||||||
|
* Dropped Python 3.8 support, added official Python 3.13 support.
|
||||||
|
* Added support for //-prefixed URLs.
|
||||||
|
* Improved the rendering of the README.rst code snippets in GitHub.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 27 07:53:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Apr 27 07:53:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Protego
|
# spec file for package python-Protego
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -16,21 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Protego
|
Name: python-Protego
|
||||||
Version: 0.3.1
|
Version: 0.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pure-Python robotstxt parser with support for modern conventions
|
Summary: Pure-Python robotstxt parser with support for modern conventions
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/scrapy/protego
|
URL: https://github.com/scrapy/protego
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/Protego/Protego-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/P/Protego/protego-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module hatchling >= 1.27.0}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -38,13 +37,13 @@ BuildArch: noarch
|
|||||||
Protego is a pure-Python `robots.txt` parser with support for modern conventions.
|
Protego is a pure-Python `robots.txt` parser with support for modern conventions.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Protego-%{version}
|
%setup -q -n protego-%{version}
|
||||||
|
|
||||||
%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
|
||||||
@@ -53,6 +52,7 @@ Protego is a pure-Python `robots.txt` parser with support for modern conventions
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/protego
|
||||||
|
%{python_sitelib}/[Pp]rotego-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user