Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

87.21. pystring-1.2.0

C++ functions with the behaviour of Python's string methods

1.2.0-1 · BSD-3-Clause · 2.2 SBU · 215.2 KiB, 10 files · 41_system, 358 of 1047 · ports/core/devlibs/pystring

Homepage: https://github.com/imageworks/pystring

Depends on: cmake, ninja.

Required by (1): opencolorio.

Sources: pystring-1.2.0.tar.gz (24.2 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install pystring'

build.sh:

mkdir build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
	-DBUILD_SHARED_LIBS=ON
ninja
DESTDIR=$PKG ninja install

Libraries: libpystring.so.

Directories: /usr/include/pystring, /usr/lib/cmake/pystring, /usr/share/licenses/pystring.