Compare commits

8 Commits

Author SHA256 Message Date
a2995f4996 Accepting request 1290505 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1290505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Protego?expand=0&rev=8
2025-07-06 15:13:13 +00:00
25e32e6cb8 Accepting request 1290241 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1290241
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Protego?expand=0&rev=17
2025-07-03 14:28:42 +00:00
b28ca63c74 Accepting request 1269102 from devel:languages:python
- Support both lowercased and unnormalized metadata directory names.

- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1269102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Protego?expand=0&rev=7
2025-04-14 14:08:26 +00:00
a9f737e209 - Support both lowercased and unnormalized metadata directory names.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Protego?expand=0&rev=15
2025-04-14 06:10:58 +00:00
4d8b46a333 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Protego?expand=0&rev=14
2025-03-25 03:55:05 +00:00
d179a7366f Accepting request 1240471 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1240471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Protego?expand=0&rev=6
2025-01-27 19:55:18 +00:00
f50a7180b6 Accepting request 1240467 from home:mcalabkova:branches:devel:languages:python
switch to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1240467
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Protego?expand=0&rev=12
2025-01-27 09:25:14 +00:00
39af80828f Accepting request 1240174 from home:yacar:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1240174
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Protego?expand=0&rev=11
2025-01-27 08:51:12 +00:00
4 changed files with 48 additions and 14 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:225dee0acfcc71de8c6f7cef9c618e5a9d3e7baa7ae1470b8d076a064033c463
size 3137494

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# 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
Version: 0.3.1
Version: 0.5.0
Release: 0
Summary: Pure-Python robotstxt parser with support for modern conventions
License: BSD-3-Clause
Group: Development/Languages/Python
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 setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
%python_subpackages
@@ -38,13 +37,13 @@ BuildArch: noarch
Protego is a pure-Python `robots.txt` parser with support for modern conventions.
%prep
%setup -q -n Protego-%{version}
%setup -q -n protego-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -53,6 +52,7 @@ Protego is a pure-Python `robots.txt` parser with support for modern conventions
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/protego
%{python_sitelib}/[Pp]rotego-%{version}.dist-info
%changelog