Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Create and install -doc package
Browse files Browse the repository at this point in the history
  • Loading branch information
ltworf committed Dec 24, 2021
1 parent dfd4a6f commit 0e7f223
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
typedload (2.15-1) UNRELEASED; urgency=medium
typedload (2.15-1) UNRELEASED; urgency=low

* New upstream release
* Add -doc package that contains the html documentation

-- Salvo 'LtWorf' Tomaselli <[email protected]> Wed, 15 Dec 2021 00:37:30 +0100

Expand Down
19 changes: 19 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,22 @@ Description: Load and dump json-like data into typed data structures in Python3
.
It is very useful for projects that use Mypy and deal with untyped data like
json, because it guarantees that the data will follow the desired schema.

Package: python3-typedload-doc
Architecture: all
Section: doc
Recommends: python3-typedload
Depends: ${misc:Depends}
Description: Load and dump json-like data into typed data structures in Python3
This module provides an API to load dictionaries and lists (usually loaded
from json) into Python's NamedTuples, dataclass, sets, enums, and various
other typed data structures; respecting all the type-hints and performing
type checks or casts when needed.
.
It can also dump from typed data structures to json-like dictionaries and
lists.
.
It is very useful for projects that use Mypy and deal with untyped data like
json, because it guarantees that the data will follow the desired schema.
.
This is the documentation for the module.
1 change: 1 addition & 0 deletions debian/python3-typedload-doc.docs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
example.py
docs/
site/
1 change: 1 addition & 0 deletions debian/python3-typedload.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/tmp/*
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$$pyversion -m tests; \
done
endif

override_dh_installdocs:
make site
dh_installdocs

0 comments on commit 0e7f223

Please sign in to comment.