From a9984923b6f98e78656afd299badbe30eb24bea0 Mon Sep 17 00:00:00 2001 From: Komeil Parseh Date: Tue, 14 Apr 2026 13:22:43 +0330 Subject: [PATCH] New package: python3-doc-3.14 --- srcpkgs/python3-doc/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-doc/template diff --git a/srcpkgs/python3-doc/template b/srcpkgs/python3-doc/template new file mode 100644 index 00000000000000..be72ac5ee9c77e --- /dev/null +++ b/srcpkgs/python3-doc/template @@ -0,0 +1,24 @@ +# Template file for 'python3-doc' +pkgname=python3-doc +version=3.14 +revision=1 +short_desc="Python programming language documnetion (${version} series)" +maintainer="Komeil Parseh " +license="Python-2.0" +homepage="https://docs.python.org" +distfiles=" https://www.python.org/ftp/python/doc/${version}/python-${version}-docs-html.tar.bz2" +checksum="1ac42341fdb73ff6176f6004ba0d8276b8b61b06a9bb80bf2e6ccc170f7fd47c" + + +do_extract() { + # Extract Python documents + mkdir docs + bsdtar -C docs --strip-components=1 -x \ + -f "${_srcdistdir}/python-${version}-docs-html.tar.bz2" +} + +do_install() { + local _docs_path="usr/share/doc/python3/" + vmkdir $_docs_path + vcopy docs/* $_docs_path +}