generic "add LLVM_COMPAT 20 everywhere", untested
This commit is contained in:
parent
94cdac5f27
commit
2a34c396c2
917 changed files with 85031 additions and 1065 deletions
6
dev-lang/python/files/pydoc.conf
Normal file
6
dev-lang/python/files/pydoc.conf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# /etc/init.d/pydoc.conf
|
||||
|
||||
# This file contains the configuration for pydoc's internal webserver.
|
||||
|
||||
# Default port for Python's pydoc server.
|
||||
@PYDOC_PORT_VARIABLE@="7464"
|
||||
24
dev-lang/python/files/pydoc.init
Normal file
24
dev-lang/python/files/pydoc.init
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public Licence v2
|
||||
|
||||
start() {
|
||||
local pydoc_port="${@PYDOC_PORT_VARIABLE@-${PYDOC_PORT}}"
|
||||
|
||||
if [ -z "${pydoc_port}" ]; then
|
||||
eerror "Port not set"
|
||||
return 1
|
||||
fi
|
||||
|
||||
ebegin "Starting pydoc server on port ${pydoc_port}"
|
||||
start-stop-daemon --start --background --make-pidfile \
|
||||
--pidfile /var/run/@PYDOC@.pid \
|
||||
--exec /usr/bin/@PYDOC@ -- -p "${pydoc_port}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping pydoc server"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/@PYDOC@.pid
|
||||
eend $?
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue