Package Details: hotdoc 0.12.2-2

Git Clone URL: https://aur.archlinux.org/hotdoc.git (read-only, click to copy)
Package Base: hotdoc
Description: The tastiest API documentation system
Upstream URL: https://github.com/hotdoc/hotdoc
Licenses: LGPL2.1
Submitter: lubosz
Maintainer: xdavidwu
Last Packager: xdavidwu
Votes: 3
Popularity: 0.000129
First Submitted: 2016-11-02 14:54
Last Updated: 2020-09-19 12:11

Latest Comments

xdavidwu commented on 2020-09-19 12:16

@yochananmarqos I've just fixed it, thanks for reporting.

Since both xdg and pyxdg provides import xdg and python-pyxdg already existed, I solved it by adding a patch to the import in hotdoc and bundle xdg.

yochananmarqos commented on 2020-09-17 22:26

It seems we have a little issue. This wants xdg, but the Arch python-pyxdg package also provides python-xdg.

❯ hotdoc --version
Traceback (most recent call last):
  File "/usr/sbin/hotdoc", line 33, in <module>
    sys.exit(load_entry_point('hotdoc==0.11.0', 'console_scripts', 'hotdoc')())
  File "/usr/sbin/hotdoc", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/hotdoc/run_hotdoc.py", line 34, in <module>
    from hotdoc.core.project import Project, CoreExtension
  File "/usr/lib/python3.8/site-packages/hotdoc/core/project.py", line 34, in <module>
    from hotdoc.core.extension import Extension
  File "/usr/lib/python3.8/site-packages/hotdoc/core/extension.py", line 26, in <module>
    from hotdoc.core.tree import Page
  File "/usr/lib/python3.8/site-packages/hotdoc/core/tree.py", line 35, in <module>
    from hotdoc.utils.utils import id_from_text
  File "/usr/lib/python3.8/site-packages/hotdoc/utils/utils.py", line 36, in <module>
    import pkg_resources
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3239, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 567, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 884, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 770, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'xdg>=4.0.0' distribution was not found and is required by hotdoc

arblt commented on 2019-11-21 07:43

you need to add "json-glib" to the make dependencies

SolarAquarion commented on 2019-05-16 03:16

you need to add "git" to makedepends

aperez commented on 2019-01-07 14:01

I have locally built version 0.8.103 adding some modifications to the PKGBUILD, which you can find updated at https://gist.github.com/aperezdc/85f869dad9b1fca9b11114d714d60e49

I needed to add some dependencies: python-cchardet, python-dbus-deviation, python-decorator, python-networkx-1.11, python-pkgconfig-1.1.0, and python-setuptools. For building, cmake and flex are needed to build the C support module. Also, I have pushed PKGBUILDs for the missing packages to the AUR.

koponomarenko commented on 2018-09-26 18:53

Works for me now.

Anonymous comment on 2018-09-24 15:17

The latest 0.8.101 is broken:

$ git submodule update
Cloning into '/tmp/tmp.TlurWRL6Xy/hotdoc/cmark'...
Cloning into '/tmp/tmp.TlurWRL6Xy/hotdoc/hotdoc/extensions/syntax_highlighting/prism'...
Cloning into '/tmp/tmp.TlurWRL6Xy/hotdoc/hotdoc/hotdoc_bootstrap_theme'...
error: Server does not allow request for unadvertised object 040fca843a1f62a1007b6c8d883aab19cc83efda
Fetched in submodule path 'cmark', but it did not contain 040fca843a1f62a1007b6c8d883aab19cc83efda. Direct fetching of that commit failed.

I am going to open a bug with upstream.