Skip to content

Commit 5421de7

Browse files
committed
New package: python3-doc-3.14.3.
1 parent f2a71bf commit 5421de7

5 files changed

Lines changed: 58 additions & 0 deletions

File tree

srcpkgs/mariadb-devel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mariadb

srcpkgs/python3-doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python3

srcpkgs/python3/template

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ homepage="https://www.python.org"
2525
_bluez="bluez-5.78"
2626
distfiles="
2727
https://www.python.org/ftp/python/${version%rc*}/Python-${version}.tar.xz
28+
https://www.python.org/ftp/python/doc/${version}/python-${version}-docs-html.tar.bz2
2829
${KERNEL_SITE}/bluetooth/${_bluez}.tar.xz
2930
"
3031
checksum="a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b
32+
1ac42341fdb73ff6176f6004ba0d8276b8b61b06a9bb80bf2e6ccc170f7fd47c
3133
830fed1915c5d375b8de0f5e6f45fcdea0dcc5ff5ffb3d31db6ed0f00d73c5e3"
3234
skip_extraction="${_bluez}.tar.xz"
3335

@@ -58,6 +60,11 @@ post_extract() {
5860
bsdtar -C External --strip-components=1 -x \
5961
-f "${_srcdistdir}/${_bluez}.tar.xz" "${_bluez}/lib/*.h"
6062
mv External/lib External/bluetooth
63+
64+
# Extract Python documents
65+
mkdir docs
66+
bsdtar -C docs --strip-components=1 -x \
67+
-f "${_srcdistdir}/python-${version}-docs-html.tar.bz2"
6168
}
6269

6370
post_patch() {
@@ -176,3 +183,13 @@ python3-devel_package() {
176183
mv "${PKGDESTDIR}/${py3_inc}/pyconfig.h" "${DESTDIR}/${py3_inc}"
177184
}
178185
}
186+
187+
python3-doc_package() {
188+
short_desc+=" - documents"
189+
depends="${sourcepkg}-${version}_${revision}"
190+
pkg_install() {
191+
local _docs_path="usr/share/doc/python3/"
192+
vmkdir $_docs_path
193+
vcopy docs/* $_docs_path
194+
}
195+
}

srcpkgs/s6-frontend-doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
s6-frontend

srcpkgs/s6-frontend/template

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Template file for 's6-frontend'
2+
pkgname=s6-frontend
3+
version=0.0.1.1
4+
revision=1
5+
build_style=gnu-configure
6+
configure_args="--libexecdir=/usr/libexec --disable-s6li
7+
--with-store-list=/usr/share/s6-rc/policy/sources:/etc/s6-rc/sources/global:/etc/s6-rc/sources/local"
8+
makedepends="execline-devel skalibs-devel s6-devel s6-rc-devel"
9+
depends="s6-linux-init"
10+
short_desc="Friendlier user interfaces for the s6 family of programs"
11+
maintainer="Komeil Parseh <komeilparseh@disroot.org>"
12+
license="ISC"
13+
homepage="https://git.skarnet.org/software/s6-frontend/"
14+
changelog="https://git.skarnet.org/cgi-bin/cgit.cgi/s6-frontend/plain/NEWS"
15+
distfiles="https://skarnet.org/software/s6-frontend/s6-frontend-${version}.tar.gz"
16+
checksum=2c1ac4f64b04400cd7c81cd9be222be52b07b7d8955a876b9f9f3f8c2328dfeb
17+
18+
19+
case "$XBPS_TARGET_MACHINE" in
20+
*-musl)
21+
makedepends+=" nsss-devel"
22+
configure_args+=" --enable-nsss --with-include=${XBPS_CROSS_BASE}/usr/include/nsss"
23+
;;
24+
esac
25+
26+
post_install() {
27+
vlicense COPYING
28+
vdoc README
29+
vcopy "doc/*" usr/share/doc/${pkgname}
30+
}
31+
32+
s6-doc_package() {
33+
short_desc="Documentation for s6"
34+
depends="${sourcepkg}>=${version}_${revision} s6-man-pages"
35+
pkg_install() {
36+
vmove usr/share/doc
37+
}
38+
}

0 commit comments

Comments
 (0)