pybuildtools 0.7.4__tar.gz → 0.7.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/PKG-INFO +17 -13
  2. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/__init__.py +1 -1
  3. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/_os_utils_linux.py +1 -1
  4. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/_os_utils_win32.py +1 -1
  5. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/as3.py +1 -1
  6. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/bt_logging.py +1 -1
  7. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/buildsystem/CCompiler.py +1 -1
  8. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/buildsystem/__init__.py +1 -1
  9. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/buildsystem/baseproject.py +1 -1
  10. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/buildsystem/msbuild.py +1 -1
  11. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/buildsystem/prebuild.py +1 -1
  12. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/buildsystem/visualstudio.py +1 -1
  13. pybuildtools-0.7.6/buildtools/cli/nuitka_plus/__main__.py +50 -0
  14. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/cli.py +1 -1
  15. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/config.py +1 -1
  16. pybuildtools-0.7.6/buildtools/consts.py +56 -0
  17. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/error.py +1 -1
  18. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/ext/salt/jinja_ext.py +1 -7
  19. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/http.py +1 -1
  20. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/indentation.py +1 -1
  21. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/lxml_utils.py +24 -0
  22. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/__init__.py +24 -0
  23. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/base_target.py +2 -1
  24. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/coffeescript.py +1 -1
  25. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/convert_data.py +1 -1
  26. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/docs.py +2 -1
  27. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/enumwriters/coffee.py +2 -1
  28. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/enumwriters/enumwriter.py +2 -1
  29. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/enumwriters/php.py +2 -1
  30. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/enumwriters/python.py +2 -1
  31. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/enumwriters/types.py +2 -1
  32. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/fileio.py +4 -3
  33. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/genenum.py +2 -1
  34. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/git.py +1 -1
  35. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/jinja2.py +1 -1
  36. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/nuitka.py +55 -35
  37. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/package_managers.py +1 -1
  38. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/shell.py +1 -1
  39. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/utils.py +1 -1
  40. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/web.py +24 -0
  41. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/os_utils.py +65 -61
  42. pybuildtools-0.7.6/buildtools/paths.py +31 -0
  43. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/posix/elf.py +1 -1
  44. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/pygit2_callbacks.py +1 -1
  45. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/qconfig5.py +1 -1
  46. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/repo/base.py +28 -4
  47. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/repo/git.py +33 -4
  48. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/repo/hg.py +1 -1
  49. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/timing.py +1 -1
  50. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/twisted_utils.py +1 -1
  51. pybuildtools-0.7.6/buildtools/types.py +57 -0
  52. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/utils.py +24 -0
  53. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/wrapper/__init__.py +1 -1
  54. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/wrapper/ant.py +1 -1
  55. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/wrapper/ccache.py +1 -1
  56. pybuildtools-0.7.6/buildtools/wrapper/cmake.py +146 -0
  57. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/wrapper/cotire.py +24 -0
  58. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/wrapper/distcc.py +24 -0
  59. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/wrapper/fpm.py +1 -1
  60. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/wrapper/git.py +88 -18
  61. pybuildtools-0.7.6/pyproject.toml +54 -0
  62. pybuildtools-0.7.4/buildtools/cli/nuitka_plus/__main__.py +0 -26
  63. pybuildtools-0.7.4/buildtools/consts.py +0 -32
  64. pybuildtools-0.7.4/buildtools/paths.py +0 -7
  65. pybuildtools-0.7.4/buildtools/types.py +0 -33
  66. pybuildtools-0.7.4/buildtools/wrapper/cmake.py +0 -78
  67. pybuildtools-0.7.4/pyproject.toml +0 -53
  68. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/LICENSE +0 -0
  69. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/README.md +0 -0
  70. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/buildsystem/gcc.py +0 -0
  71. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/cli/__init__.py +0 -0
  72. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/cli/nuitka_plus/README.md +0 -0
  73. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/cli/nuitka_plus/__init__.py +0 -0
  74. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/ext/__init__.py +0 -0
  75. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/ext/salt/__init__.py +0 -0
  76. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/maestro/enumwriters/__init__.py +0 -0
  77. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/posix/__init__.py +0 -0
  78. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/repo/__init__.py +0 -0
  79. {pybuildtools-0.7.4 → pybuildtools-0.7.6}/buildtools/wrapper/repo/__init__.py +0 -0
@@ -1,30 +1,34 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: pybuildtools
3
- Version: 0.7.4
3
+ Version: 0.7.6
4
4
  Summary: A set of tools for putting together buildscripts and other CLI applications
5
- License: MIT
5
+ License-Expression: MIT
6
+ License-File: LICENSE
6
7
  Author: Rob Nelson
7
8
  Author-email: nexisentertainment@gmail.com
8
9
  Requires-Python: >=3.13,<4.0
9
- Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.13
12
+ Classifier: Programming Language :: Python :: 3.14
12
13
  Provides-Extra: all
13
14
  Provides-Extra: nuitka
14
15
  Provides-Extra: pygit2
15
16
  Provides-Extra: twisted
16
17
  Requires-Dist: Jinja2 (==3.1.2)
17
- Requires-Dist: MarkupSafe (>=3.0.2,<4.0.0)
18
- Requires-Dist: Twisted (>=24.11.0,<25.0.0) ; extra == "twisted" or extra == "all"
18
+ Requires-Dist: MarkupSafe (>=3.0.3,<4.0.0)
19
+ Requires-Dist: Twisted (>=25.5.0,<26.0.0) ; extra == "all"
20
+ Requires-Dist: Twisted (>=25.5.0,<26.0.0) ; extra == "twisted"
19
21
  Requires-Dist: colorama (>=0.4.6,<0.5.0)
20
- Requires-Dist: lxml (>=5.4.0,<6.0.0)
21
- Requires-Dist: nuitka (>=2.7.2,<3.0.0) ; extra == "nuitka" or extra == "all"
22
- Requires-Dist: psutil (>=7.0.0,<8.0.0)
23
- Requires-Dist: pygit2 (>=1.18.0,<2.0.0) ; extra == "pygit2" or extra == "all"
24
- Requires-Dist: requests (>=2.32.3,<3.0.0)
25
- Requires-Dist: ruamel.yaml (>=0.18.6,<0.19.0)
22
+ Requires-Dist: lxml (>=6.0.2,<7.0.0)
23
+ Requires-Dist: nuitka (>=2.8.6,<3.0.0) ; extra == "all"
24
+ Requires-Dist: nuitka (>=2.8.6,<3.0.0) ; extra == "nuitka"
25
+ Requires-Dist: psutil (>=7.1.3,<8.0.0)
26
+ Requires-Dist: pygit2 (>=1.19.0,<2.0.0) ; extra == "all"
27
+ Requires-Dist: pygit2 (>=1.19.0,<2.0.0) ; extra == "pygit2"
28
+ Requires-Dist: requests (>=2.32.5,<3.0.0)
29
+ Requires-Dist: ruamel.yaml (>=0.18.16,<0.19.0)
26
30
  Requires-Dist: six (>=1.17.0,<2.0.0)
27
- Requires-Dist: subprocess-tee (>=0.4.1,<0.5.0)
31
+ Requires-Dist: subprocess-tee (>=0.4.2,<0.5.0)
28
32
  Requires-Dist: toml (>=0.10.2,<0.11.0)
29
33
  Requires-Dist: tqdm (>=4.67.1,<5.0.0)
30
34
  Project-URL: Homepage, https://gitlab.com/N3X15/python-build-tools
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Main Module.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Linux-specific part of os_utils.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Windows-Specific os_utils.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  ActionScript3-related shit
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Logging stuff.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Generic C Compiler wrapper
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  BLURB GOES HERE.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  BLURB GOES HERE.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  MSBuild wrapper
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Prebuild Wrapper Classes
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Visual Studio tools and wrappers
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,50 @@
1
+ '''
2
+ BLURB GOES HERE.
3
+
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ '''
25
+ import json
26
+ import os
27
+ import sys
28
+
29
+
30
+ def main() -> None:
31
+ print(f'buildtools.cli.nuitka_plus subprocess spawned. PID={os.getpid()}')
32
+ print(f'Opening {sys.argv[1]}...')
33
+ data: dict
34
+ with open(sys.argv[1], 'r') as f:
35
+ data = json.load(f)
36
+
37
+ args = data['args']
38
+ print(f'Setting sys.argv = [sys.argv[0]] + {args!r}...')
39
+ sys.argv = [sys.argv[0]] + args
40
+
41
+ print(f"Setting os.environ['PATH'] = {data['environ']['PATH']!r}...")
42
+ os.environ['PATH'] = data['environ']['PATH']
43
+
44
+ print(f'Invoking nuitka.__main__.main()...')
45
+ import nuitka.__main__ as nkmain
46
+ nkmain.main()
47
+
48
+
49
+ if __name__ == "__main__":
50
+ main()
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Commandline things.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Salty Configuration, meaning that a bunch of this code is stolen from Salt :V
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,56 @@
1
+ '''
2
+ BLURB GOES HERE.
3
+
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ '''
25
+ from enum import Enum, IntEnum
26
+
27
+
28
+ class LogPrefixes(Enum):
29
+ RUNNING = '[~]'
30
+ QUESTION = '[?]'
31
+ BAD = '[-]'
32
+ GOOD = '[+]'
33
+ WARNING = '[!]'
34
+ ERROR = '[*]'
35
+ CRITICAL = '[X]'
36
+
37
+
38
+ class SysExits(IntEnum):
39
+ # https://sites.uclouvain.be/SystInfo/usr/include/sysexits.h.html
40
+
41
+ OK = 0
42
+ USAGE = 64 # Command Line Usage
43
+ DATAERR = 65 # Data format error
44
+ NOINPUT = 66 # Could not open input
45
+ NOUSER = 67 # Addressee not found
46
+ NOHOST = 68 # Could not find hostname
47
+ UNAVAILABLE = 69 # Service unavailable
48
+ SOFTWARE = 70 # Software error
49
+ OSERR = 71 # System error (fork issues, etc)
50
+ OSFILE = 72 # Critical OS file missing
51
+ CANTCREATE = 73 # Can't create new file
52
+ IOERR = 74 # I/O error
53
+ TEMPFAIL = 75 # Try again
54
+ PROTOCOL = 76 # Protocol error
55
+ NOPERM = 77 # Permission denied
56
+ CONFIG = 78 # Configuration error
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Exceptions and stuff
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Taken from salt: salt/utils/jinja.py
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -21,12 +21,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
23
 
24
-
25
- MODIFICATIONS:
26
-
27
- Jan 16 2021:
28
- * Converted PyYAML to ruamel.yaml.
29
-
30
24
  '''
31
25
 
32
26
  # Import python libs
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  HTTP stuff.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  File indentation stuff for my OCD :V
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,3 +1,27 @@
1
+ '''
2
+ BLURB GOES HERE.
3
+
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ '''
1
25
  """
2
26
  lxml Utility Functions
3
27
 
@@ -1,3 +1,27 @@
1
+ '''
2
+ BLURB GOES HERE.
3
+
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ '''
1
25
  """
2
26
  Maestro is my crappy, synchronous, yet extensible build system
3
27
 
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Base BuildTarget
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
+
23
24
  '''
24
25
  from __future__ import annotations
25
26
 
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  BLURB GOES HERE.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  BLURB GOES HERE.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Documentation-related build steps.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
+
23
24
  '''
24
25
 
25
26
  from pathlib import Path
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  CoffeeScript enum writer
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
+
23
24
  '''
24
25
 
25
26
  import json
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Base enumwriter.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
+
23
24
  '''
24
25
 
25
26
  from typing import TextIO
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  PHP7+ EnumWriter
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
+
23
24
  '''
24
25
 
25
26
  from typing import Any, TextIO
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Enum code generator for Python 3+.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
+
23
24
  '''
24
25
 
25
26
  from typing import Any, TextIO
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Enum Code Generation Utility Types
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
+
23
24
  '''
24
25
 
25
26
  import collections
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  File I/O related buildtargets
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
+
23
24
  '''
24
25
  from __future__ import annotations
25
26
 
@@ -90,7 +91,7 @@ class ReplaceTextTarget(SingleBuildTarget):
90
91
  self.write_encoding = write_encoding
91
92
  self.display_progress = display_progress
92
93
  super().__init__(str(outfile), [origfile], dependencies)
93
-
94
+
94
95
  def get_config(self):
95
96
  return {
96
97
  'replacements': self.replacements,
@@ -397,7 +398,7 @@ class ExtractArchiveTarget(SingleBuildTarget):
397
398
  bm: BuildMaestro,
398
399
  target_dir: str,
399
400
  archive: str,
400
- dependencies=[],
401
+ dependencies=[],
401
402
  provides=[]) -> None:
402
403
  self.target_dir = target_dir
403
404
  self.archive = archive
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Enum generators for various languages.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -20,6 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
20
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
21
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  SOFTWARE.
23
+
23
24
  '''
24
25
 
25
26
  import os
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  Git commands. Mostly used for submodules.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  BLURB GOES HERE.
3
3
 
4
- Copyright (c) 2015 - 2024 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
4
+ Copyright (c) 2015 - 2025 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal