]> code.ossystems Code Review - openembedded-core.git/commitdiff
devpyshell: rename to pydevshell kirkstone-next
authorMichael Opdenacker <michael.opdenacker@bootlin.com>
Tue, 5 Oct 2021 08:33:34 +0000 (10:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Oct 2021 17:41:02 +0000 (18:41 +0100)
For consistency with "pydevshell" which is also used.
This addresses [YOCTO #14531]

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes/devshell.bbclass
meta/conf/documentation.conf
scripts/oepydevshell-internal.py

index 76dd0b42eea2aef64010b37cb976fdedc1af308c..62dc958d9a4a50bac7e55be0b61d5d4b0950c8a3 100644 (file)
@@ -34,7 +34,7 @@ python () {
        d.delVarFlag("do_devshell", "fakeroot")
 } 
 
-def devpyshell(d):
+def pydevshell(d):
 
     import code
     import select
@@ -140,17 +140,17 @@ def devpyshell(d):
                 os.kill(child, signal.SIGTERM)
                 break
 
-python do_devpyshell() {
+python do_pydevshell() {
     import signal
 
     try:
-        devpyshell(d)
+        pydevshell(d)
     except SystemExit:
         # Stop the SIGTERM above causing an error exit code
         return
     finally:
         return
 }
-addtask devpyshell after do_patch
+addtask pydevshell after do_patch
 
-do_devpyshell[nostamp] = "1"
+do_pydevshell[nostamp] = "1"
index c5a38b07642ede25ab8986b5daa44c27d5e3396d..80ad8e10d58b0a2379c2e41d31cdfd642b0b6860 100644 (file)
@@ -17,7 +17,7 @@ do_compile_ptest_base[doc] = "Compiles the runtime test suite included in the so
 do_configure[doc] = "Configures the source by enabling and disabling any build-time and configuration options for the software being built"
 do_configure_ptest_base[doc] = "Configures the runtime test suite included in the software being built"
 do_deploy[doc] = "Writes deployable output files to the deploy directory"
-do_devpyshell[doc] = "Starts an interactive Python shell for development/debugging"
+do_pydevshell[doc] = "Starts an interactive Python shell for development/debugging"
 do_devshell[doc] = "Starts a shell with the environment set up for development/debugging"
 do_diffconfig[doc] = "Compares the old and new config files after running do_menuconfig for the kernel"
 do_fetch[doc] = "Fetches the source code"
index 96c078ef3dff1150e742b4682e5938263d41d86f..e3c35bbe2cd2a6040975def2fd47dcb543500d9d 100755 (executable)
@@ -43,7 +43,7 @@ nonblockingfd(pty)
 nonblockingfd(sys.stdin)
 
 
-histfile = os.path.expanduser("~/.oedevpyshell-history")
+histfile = os.path.expanduser("~/.oepydevshell-history")
 readline.parse_and_bind("tab: complete")
 try:
     readline.read_history_file(histfile)