Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37778072
en ru br
ALT Linux repos
S:2020.1.16-alt1

Group :: Development/Python
RPM: python3-module-html2text

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: python3-module-html2text
Version: 2016.9.19
Release: alt1

Summary: Converts a page of HTML into clean, easy-to-read plain ASCII text
Group: Development/Python
License: GPLv3+
Url: http://www.aaronsw.com/2002/html2text/
BuildArch: noarch

BuildRequires(pre): rpm-build-python3
#BuildPreReq: python3-module-setuptools-tests

# https://github.com/szepeviktor/html2text.git

Source0: https://pypi.python.org/packages/22/c0/2d02a1fb9027f54796af2c2d38cf3a5b89319125b03734a9964e6db8dfa0/html2text-%{version}.tar.gz

%py3_provides html2text

# Automatically added by buildreq on Thu Jan 28 2016 (-bi)

# optimized out: python-base python3 python3-base python3-module-setuptools
BuildRequires: python3-module-pytest rpm-build-python3

%description
html2text is a Python script that convers a page of HTML into clean,
easy-to-read plain ASCII text.  Better yet, that ASCII also happens to
be valid Markdown (a text-to-HTML format).

%prep
%setup -q -n html2text-%{version}

%build
%python3_build

%install
%python3_install

mv %buildroot%_bindir/html2text %buildroot%_bindir/html2text.py3

%check
PYTHONPATH=%buildroot%python3_sitelibdir python3 setup.py test

%files
%_bindir/html2text.py3
%python3_sitelibdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin