https://bugzilla.redhat.com/show_bug.cgi?id=1786653
Robert-André Mauchin <zebob.m(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zebob.m(a)gmail.com
--- Comment #1 from Robert-André Mauchin <zebob.m(a)gmail.com> ---
- Generate the doc with Sphinx
BuildRequires: python3dist(sphinx)
BuildRequires: python3dist(sphinx-rtd-theme)
BuildRequires: python3dist(sphinxcontrib-programoutput) > 0.8
BuildRequires: python3dist(asn1crypto)
BuildRequires: python3dist(click)
BuildRequires: python3dist(future)
BuildRequires: python3dist(lxml)
BuildRequires: python3dist(ipython)
BuildRequires: python3dist(networkx)
BuildRequires: python3dist(pydot)
BuildRequires: python3dist(python-magic) (To be packaged)
[…]
%install
%py3_install
# generate html docs
PATH=%{buildroot}%{_bindir}:$PATH PYTHONPATH=%{buildroot}%{python3_sitelib}
sphinx-build-3 docs html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}
- Include examples in %doc
%doc html examples
- Probably using a doc noarch subpackage
%package docs
Summary: Androguard documentation
%description docs
Documentation for Androguard
[…]
%files docs
%doc html examples
- The python-magic provided by Fedora ("file-magic",
https://pypi.org/project/file-magic/) is not the python-magic expected by
Androguard:
https://pypi.org/project/python-magic/0.4.15/
Please package
https://pypi.org/project/python-magic/0.4.15 (pyp2rpm -b3
python-magic) and add it to the BR and RR. Not sure what naming you should use?
python-python-magic?
- The tests mostly run without nose-timer: there is one failure regarding
magic above and another one. Investigate with upstream.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component