Skip to content

Commit a998492

Browse files
committed
New package: python3-doc-3.14
1 parent 26fc45a commit a998492

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

srcpkgs/python3-doc/template

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Template file for 'python3-doc'
2+
pkgname=python3-doc
3+
version=3.14
4+
revision=1
5+
short_desc="Python programming language documnetion (${version} series)"
6+
maintainer="Komeil Parseh <komeilparseh@disroot.org>"
7+
license="Python-2.0"
8+
homepage="https://docs.python.org"
9+
distfiles=" https://www.python.org/ftp/python/doc/${version}/python-${version}-docs-html.tar.bz2"
10+
checksum="1ac42341fdb73ff6176f6004ba0d8276b8b61b06a9bb80bf2e6ccc170f7fd47c"
11+
12+
13+
do_extract() {
14+
# Extract Python documents
15+
mkdir docs
16+
bsdtar -C docs --strip-components=1 -x \
17+
-f "${_srcdistdir}/python-${version}-docs-html.tar.bz2"
18+
}
19+
20+
do_install() {
21+
local _docs_path="usr/share/doc/python3/"
22+
vmkdir $_docs_path
23+
vcopy docs/* $_docs_path
24+
}

0 commit comments

Comments
 (0)