Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37512771
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-premailer

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define modname premailer
%def_with check

Name: python3-module-%modname
Version: 3.10.0
Release: alt2
Summary: Turns CSS blocks into style attributes
License: BSD-3-Clause
Group: Development/Python3
Url: https://github.com/peterbe/premailer

Source: %name-%version.tar
Patch: %modname-%version-alt-nose-fix.patch

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3(wheel)
BuildRequires: python3(setuptools)

%if_with check
BuildRequires: python3(cachetools)
BuildRequires: python3(cssutils)
BuildRequires: python3(cssselect)
BuildRequires: python3(lxml)
BuildRequires: python3(requests)
BuildRequires: python3(pytest)
BuildRequires: python3(pytest-cov)
%endif

%description
Premailer is a Python library based on libxml which can analyze a HTML document
and extract its CSS style sheets and then for all CSS seletors defined, it finds
the DOM nodes and puts style attributes in instead.

%prep
%setup
%patch -p0

%build
%pyproject_build

%install
%pyproject_install

%check
%tox_check_pyproject

%files
%python3_sitelibdir/%modname
%python3_sitelibdir/%{pyproject_distinfo %modname}

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin