17
0

14 Commits

Author SHA256 Message Date
22d34b4a4e - Remove superfluous %python_module definition
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=27
2025-03-22 14:24:45 +00:00
b1995fe243 Accepting request 1254655 from home:glaubitz:branches:devel:languages:python
- Update to 1.3.0
  * Dropped support for Python 3.7-3.8, added support for
    Python 3.12-3.13 and PyPy 3.10.
  * Removed ``_unicode_safe_getattr()``, deprecated in 1.2.0.
  * Added ``pre-commit`` and formatted the code with ``ruff``.
  * Many CI additions and improvements.
- Limit Python files matched in %files section
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/request/show/1254655
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=26
2025-03-22 13:50:29 +00:00
f9a08908ae Accepting request 1081379 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081379
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=24
2023-04-21 14:47:06 +00:00
06762d6bdf Accepting request 1034377 from home:yarunachalam:branches:devel:languages:python
- Update to 1.2.0 
  *   Drop support for Python 2.7, 3.4-3.6, add support for Python 3.7-3.11.
  *   Add type annotations (PEP 484 and PEP 561).
  *   More features from the CSS Selectors Level 4:
    *   The ``:is()`` pseudo-class.
    *   The ``:where()`` pseudo-class.
    *   The ``:has()`` pseudo-class, with some limitations.
  *   Fix parsing ``:scope`` after a comma.
  *   Add parentheses to fix condition precedence in some cases.
  *   Private API changes related to the removal of the Python 2 support:
    * Remove ``_unicode`` and ``_unichr`` aliases from ``csselect.parser``.
    * Remove ``_basestring`` and ``_unicode`` aliases from ``csselect.xpath``.
    * Deprecate ``csselect.xpath._unicode_safe_getattr()`` and change it to just
      call ``getattr()``.
  *   Include tests in the PyPI tarball.
  *   Many CI additions and improvements.
  *   Improve the test coverage.

OBS-URL: https://build.opensuse.org/request/show/1034377
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=22
2022-11-08 09:36:39 +00:00
Tomáš Chvátal
6263470250 - Switch to multibuild to avoid build cycle with lxml
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=20
2019-09-20 08:39:58 +00:00
Tomáš Chvátal
1a6ce7798b - Update to 1.1.0:
* Support for the :scope selector, which allows to access immediate children of a selector.
  * Support for the |E syntax for type selectors without a namespace.
  * A new selector method, canonical, returns the CSS expression of the selector, as a string.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=19
2019-09-13 10:35:30 +00:00
1dba7c59cc Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=16
2018-12-04 13:21:59 +00:00
Tomáš Chvátal
4a4b440255 Accepting request 562238 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/562238
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=14
2018-01-07 09:35:05 +00:00
Jan Matejek
0fd5f01f24 Accepting request 483258 from home:tbechtold:branches:devel:languages:python
- update to 1.0.1:
  * Add support for Python 3.6.
  * Documentation hosted `on Read the Docs <https://cssselect.readthedocs.io/>`_
  * Add code coverage reports.
  * Fix ``:nth-*(an+b)`` pseudo-classes selectors.
    (except ``*:nth-child()`` which looks untranslatable to XPath 1.0.)
  * Distribute as universal wheel.
  * Add support for Python 3.3, 3.4 and 3.5.
  * Drop support for Python 2.5 as testing is getting difficult.
  * Improve tests on pseudo-elements.
- Switch to singlespec approach

OBS-URL: https://build.opensuse.org/request/show/483258
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=12
2017-03-29 12:22:29 +00:00
Denisart Benjamin
af41d3d223 Accepting request 208061 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/208061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=10
2013-11-23 18:15:20 +00:00
Alexandre Rogoski
f988f129cb Accepting request 182676 from home:apersaud:branches:devel:languages:python
- Packaged LICENSE file
  fixes bnc#828513 
  Bug 828513 - LICENSE not packaged in python3-cssselect 0.8

OBS-URL: https://build.opensuse.org/request/show/182676
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=8
2013-07-11 21:15:57 +00:00
Catalin Iacob
2f716867f4 Accepting request 161669 from home:apersaud:branches:devel:languages:python
update to 0.8

OBS-URL: https://build.opensuse.org/request/show/161669
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=4
2013-03-29 21:26:08 +00:00
Sascha Peilicke
3c512a55df - Minimal cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=2
2013-01-14 10:19:11 +00:00
Sascha Peilicke
5cf5aab7dc Accepting request 148308 from home:cataliniacob
I'd like to submit a new package python-cssselect, which was previously part
of lxml but became a stand alone package starting with lxml 3.0.

I want to get this into Factory as soon as possible in order to make it
available for 12.3 (it's already pretty late given the feature freeze and
upcoming beta) since Calibre's basic functionality is not working without this
(see bnc#788151 which was fixed with a workaround for 12.2 but Calibre is
broken again for 12.3 where the workaround is gone).

The package is building fine in my home project and installing it makes
Calibre work again. Thanks!

OBS-URL: https://build.opensuse.org/request/show/148308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=1
2013-01-14 08:39:44 +00:00