Create the file /usr/local/bin/rlsbcl
with such as the following contents
#!/bin/sh
CMD="${SBCL_HOME:-/usr/bin}/sbcl"
exec rlwrap -q '"' -m -O '^\*\>' "${CMD}" "$@"
from numbers import Real | |
from typing import Optional | |
from typing_extensions import TypeAlias | |
from ...Qt import QtCore | |
from ..GraphicsWidget import GraphicsWidget | |
# from .PlotAxis import AxisName, AxisPosition, PlotAxisInfo | |
RangeTuple: TypeAlias = tuple[Real, Real] |
## async_httpx.py - callback-based HTTP client example | |
## (Public Domain) | |
from abc import abstractmethod, ABC | |
from typing import Mapping, Optional | |
from typing_extensions import Generic, TypeVar | |
import asyncio as aio | |
import httpx | |
from httpx._client import BaseClient |
## aiohttpx.py - callback-based HTTP client example | |
## when run, displays debugging information with a decoded | |
## JSON response from http://ip.jsontest.com | |
## requirements | |
## - Python 3 https://www.python.org/downloads/ | |
## - HTTPX https://www.python-httpx.org/async/ | |
from abc import abstractmethod, ABC |
## deps-sort.py | |
## trivial dependency sort with stateful loop detection | |
class SortState(): | |
def __init__(self, origin): | |
self._origin = origin | |
self._cache = [] | |
@property | |
def origin(self): |
## (No Warranty) | |
class SHFrob02 | |
def self.runfrob() | |
out_rd, out_wr = IO.pipe | |
err_rd, err_wr = IO.pipe | |
subpid = Process.spawn("ls -d /frob /etc", :in => :close, :out => out_wr, :err => err_wr ) | |
samepid, status = Process.wait2(subpid) |
# getent_auxgroups.sh - print auxiliary groups assigned to a single user name | |
# | |
# % Environment parameters | |
# WHOM | |
# - user name to parse for | |
# - If unspecified, defaults to $USER | |
# - Will be interpreted within a regular expression, in awk(1) | |
# | |
# % Depends On | |
# - getent(1) |
When building `webkit-gtk-2.26.1` with a GTK+3 `gtk+-3.24.10`, after some update to the webkit-gtk port, e.g | |
~~~~ | |
-USE_LANGUAGES= c c++11 | |
+USE_LANGUAGES= c c++11 c++14 c++17 | |
~~~~ | |
... this apparently serving to obviate some build failures, but subsequently, the following build failures may occur | |
~~~~ |
BUILD_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build | |
CMAKE_ARGS+= -GNinja | |
do-build: | |
cd ${WRKSRC} && ninja |
# $NetBSD$ | |
# | |
# This Makefile fragment is meant to be included by ports that require | |
# a docbook2X implementation during build | |
# | |
# === Variables set by this file === | |
# | |
# DOCBOOK2X_TYPE | |
# The name of the selected docbook2X implementation. | |
# One of: docbook2X, docbook2x, xmlto |