buildstream-plugins 2.1.0.dev0__tar.gz → 2.2.0.dev2__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 (58) hide show
  1. buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages/buildstream/data/projectconfig.yaml +184 -0
  2. buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages/buildstream/data/userconfig.yaml +148 -0
  3. buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages/buildstream/plugins/elements/compose.yaml +45 -0
  4. buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages/buildstream/plugins/elements/filter.yaml +45 -0
  5. buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages/buildstream/plugins/elements/import.yaml +26 -0
  6. buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages/buildstream/plugins/elements/manual.yaml +34 -0
  7. buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages/buildstream/plugins/elements/script.yaml +45 -0
  8. buildstream-plugins-2.2.0.dev2/.tox/release/lib/python3.11/site-packages/markdown_it/port.yaml +48 -0
  9. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/NEWS +14 -0
  10. {buildstream-plugins-2.1.0.dev0/src/buildstream_plugins.egg-info → buildstream-plugins-2.2.0.dev2}/PKG-INFO +3 -2
  11. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/__init__.py +1 -1
  12. buildstream-plugins-2.2.0.dev2/src/buildstream_plugins/elements/autotools.yaml +143 -0
  13. buildstream-plugins-2.2.0.dev2/src/buildstream_plugins/elements/cmake.yaml +80 -0
  14. buildstream-plugins-2.2.0.dev2/src/buildstream_plugins/elements/make.yaml +60 -0
  15. buildstream-plugins-2.2.0.dev2/src/buildstream_plugins/elements/meson.yaml +88 -0
  16. buildstream-plugins-2.2.0.dev2/src/buildstream_plugins/elements/pip.yaml +46 -0
  17. buildstream-plugins-2.2.0.dev2/src/buildstream_plugins/elements/setuptools.yaml +59 -0
  18. buildstream-plugins-2.2.0.dev2/src/buildstream_plugins/sources/_utils.py +126 -0
  19. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/sources/cargo.py +50 -73
  20. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/sources/docker.py +50 -24
  21. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2/src/buildstream_plugins.egg-info}/PKG-INFO +3 -2
  22. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins.egg-info/SOURCES.txt +15 -0
  23. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/.asf.yaml +0 -0
  24. {buildstream-plugins-2.1.0.dev0/src → buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages}/buildstream_plugins/elements/autotools.yaml +0 -0
  25. {buildstream-plugins-2.1.0.dev0/src → buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages}/buildstream_plugins/elements/cmake.yaml +0 -0
  26. {buildstream-plugins-2.1.0.dev0/src → buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages}/buildstream_plugins/elements/make.yaml +0 -0
  27. {buildstream-plugins-2.1.0.dev0/src → buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages}/buildstream_plugins/elements/meson.yaml +0 -0
  28. {buildstream-plugins-2.1.0.dev0/src → buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages}/buildstream_plugins/elements/pip.yaml +0 -0
  29. {buildstream-plugins-2.1.0.dev0/src → buildstream-plugins-2.2.0.dev2/.tox/lint/lib/python3.11/site-packages}/buildstream_plugins/elements/setuptools.yaml +0 -0
  30. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/COMMITTERS.rst +0 -0
  31. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/LICENSE +0 -0
  32. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/MANIFEST.in +0 -0
  33. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/NOTICE +0 -0
  34. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/README.rst +0 -0
  35. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/project.conf +0 -0
  36. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/pyproject.toml +0 -0
  37. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/requirements/mypy-requirements.txt +0 -0
  38. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/requirements/plugin-requirements.txt +0 -0
  39. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/requirements/test-requirements.txt +0 -0
  40. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/setup.cfg +0 -0
  41. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/setup.py +0 -0
  42. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/elements/__init__.py +0 -0
  43. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/elements/autotools.py +0 -0
  44. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/elements/cmake.py +0 -0
  45. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/elements/make.py +0 -0
  46. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/elements/meson.py +0 -0
  47. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/elements/pip.py +0 -0
  48. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/elements/setuptools.py +0 -0
  49. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/sources/__init__.py +0 -0
  50. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/sources/bzr.py +0 -0
  51. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/sources/git.py +0 -0
  52. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/sources/patch.py +0 -0
  53. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins/sources/pip.py +0 -0
  54. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins.egg-info/dependency_links.txt +0 -0
  55. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins.egg-info/entry_points.txt +0 -0
  56. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins.egg-info/not-zip-safe +0 -0
  57. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins.egg-info/requires.txt +0 -0
  58. {buildstream-plugins-2.1.0.dev0 → buildstream-plugins-2.2.0.dev2}/src/buildstream_plugins.egg-info/top_level.txt +0 -0
@@ -0,0 +1,184 @@
1
+ #
2
+ # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software
9
+ # distributed under the License is distributed on an "AS IS" BASIS,
10
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ # See the License for the specific language governing permissions and
12
+ # limitations under the License.
13
+ #
14
+
15
+ # Default BuildStream project configuration.
16
+
17
+
18
+ # General configuration defaults
19
+ #
20
+
21
+ # Elements are found at the project root
22
+ element-path: .
23
+
24
+ # Store source references in element files
25
+ ref-storage: inline
26
+
27
+ # Variable Configuration
28
+ #
29
+ variables:
30
+ # Path configuration, to be used in build instructions.
31
+ prefix: "/usr"
32
+ exec_prefix: "%{prefix}"
33
+ bindir: "%{exec_prefix}/bin"
34
+ sbindir: "%{exec_prefix}/sbin"
35
+ libexecdir: "%{exec_prefix}/libexec"
36
+ datadir: "%{prefix}/share"
37
+ sysconfdir: "/etc"
38
+ sharedstatedir: "%{prefix}/com"
39
+ localstatedir: "/var"
40
+ lib: "lib"
41
+ libdir: "%{prefix}/%{lib}"
42
+ debugdir: "%{libdir}/debug"
43
+ includedir: "%{prefix}/include"
44
+ docdir: "%{datadir}/doc"
45
+ infodir: "%{datadir}/info"
46
+ mandir: "%{datadir}/man"
47
+
48
+ # Indicates the default build directory where input is
49
+ # normally staged
50
+ build-root: /buildstream/%{project-name}/%{element-name}
51
+
52
+ # Indicates where the build system should look for configuration files
53
+ conf-root: .
54
+
55
+ # Indicates the build installation directory in the sandbox
56
+ install-root: /buildstream-install
57
+
58
+ # You need to override this with the commands specific for your system
59
+ strip-binaries: ""
60
+
61
+ # Base sandbox environment, can be overridden by plugins
62
+ environment:
63
+ PATH: /usr/bin:/bin:/usr/sbin:/sbin
64
+ SHELL: /bin/sh
65
+ TERM: dumb
66
+ USER: tomjon
67
+ USERNAME: tomjon
68
+ LOGNAME: tomjon
69
+ LC_ALL: C
70
+ HOME: /tmp
71
+ TZ: UTC
72
+
73
+ # For reproducible builds we use 2011-11-11 11:11:11 UTC as a constant
74
+ SOURCE_DATE_EPOCH: 1321009871
75
+
76
+ # List of environment variables which should not be taken into
77
+ # account when calculating a cache key for a given element.
78
+ #
79
+ environment-nocache: []
80
+
81
+ # Configuration for the sandbox other than environment variables
82
+ # should go in 'sandbox'.
83
+ sandbox: {}
84
+
85
+ # Defaults for the 'split-rules' public data found on elements
86
+ # in the 'bst' domain.
87
+ #
88
+ split-rules:
89
+
90
+ # The runtime domain includes whatever is needed for the
91
+ # built element to run, this includes stripped executables
92
+ # and shared libraries by default.
93
+ runtime:
94
+ - |
95
+ %{bindir}
96
+ - |
97
+ %{bindir}/*
98
+ - |
99
+ %{sbindir}
100
+ - |
101
+ %{sbindir}/*
102
+ - |
103
+ %{libexecdir}
104
+ - |
105
+ %{libexecdir}/*
106
+ - |
107
+ %{libdir}/lib*.so*
108
+
109
+ # The devel domain includes additional things which
110
+ # you may need for development.
111
+ #
112
+ # By default this includes header files, static libraries
113
+ # and other metadata such as pkgconfig files, m4 macros and
114
+ # libtool archives.
115
+ devel:
116
+ - |
117
+ %{includedir}
118
+ - |
119
+ %{includedir}/**
120
+ - |
121
+ %{libdir}/lib*.a
122
+ - |
123
+ %{libdir}/lib*.la
124
+ - |
125
+ %{libdir}/pkgconfig/*.pc
126
+ - |
127
+ %{datadir}/pkgconfig/*.pc
128
+ - |
129
+ %{datadir}/aclocal/*.m4
130
+
131
+ # The debug domain includes debugging information stripped
132
+ # away from libraries and executables
133
+ debug:
134
+ - |
135
+ %{debugdir}
136
+ - |
137
+ %{debugdir}/**
138
+
139
+ # The doc domain includes documentation
140
+ doc:
141
+ - |
142
+ %{docdir}
143
+ - |
144
+ %{docdir}/**
145
+ - |
146
+ %{infodir}
147
+ - |
148
+ %{infodir}/**
149
+ - |
150
+ %{mandir}
151
+ - |
152
+ %{mandir}/**
153
+
154
+ # The locale domain includes translations etc
155
+ locale:
156
+ - |
157
+ %{datadir}/locale
158
+ - |
159
+ %{datadir}/locale/**
160
+ - |
161
+ %{datadir}/i18n
162
+ - |
163
+ %{datadir}/i18n/**
164
+ - |
165
+ %{datadir}/zoneinfo
166
+ - |
167
+ %{datadir}/zoneinfo/**
168
+
169
+
170
+ # Default behavior for `bst shell`
171
+ #
172
+ shell:
173
+
174
+ # Command to run when `bst shell` does not provide a command
175
+ #
176
+ command: [ 'sh', '-i' ]
177
+
178
+ # Defaults for bst commands
179
+ #
180
+ defaults:
181
+
182
+ # Set default target elements to use when none are passed on the command line.
183
+ # If none are configured in the project, default to all project elements.
184
+ targets: []
@@ -0,0 +1,148 @@
1
+ #
2
+ # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software
9
+ # distributed under the License is distributed on an "AS IS" BASIS,
10
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ # See the License for the specific language governing permissions and
12
+ # limitations under the License.
13
+ #
14
+
15
+ # Default BuildStream user configuration.
16
+
17
+ #
18
+ # Work Directories
19
+ #
20
+
21
+ # Location to store sources
22
+ sourcedir: ${XDG_CACHE_HOME}/buildstream/sources
23
+
24
+ # Root location for other directories in the cache
25
+ cachedir: ${XDG_CACHE_HOME}/buildstream
26
+
27
+ # Location to store build logs
28
+ logdir: ${XDG_CACHE_HOME}/buildstream/logs
29
+
30
+ # Default root location for workspaces, blank for no default set.
31
+ workspacedir: .
32
+
33
+ #
34
+ # Cache
35
+ #
36
+ cache:
37
+
38
+ # Use as much space as possible
39
+ quota: infinity
40
+
41
+ # Whether to pull build trees when downloading element artifacts
42
+ pull-buildtrees: False
43
+
44
+ # Whether to cache build trees on artifact creation
45
+ #
46
+ cache-buildtrees: auto
47
+
48
+
49
+ #
50
+ # Scheduler
51
+ #
52
+ scheduler:
53
+
54
+ # Maximum number of simultaneous downloading tasks.
55
+ fetchers: 10
56
+
57
+ # Maximum number of simultaneous build tasks.
58
+ builders: 4
59
+
60
+ # Maximum number of simultaneous uploading tasks.
61
+ pushers: 4
62
+
63
+ # Maximum number of retries for network tasks.
64
+ network-retries: 2
65
+
66
+ # Control what to do when a task fails, if not running in
67
+ # interactive mode
68
+ #
69
+ on-error: quit
70
+
71
+
72
+ #
73
+ # Build related configuration
74
+ #
75
+ build:
76
+
77
+ #
78
+ # Maximum number of jobs to run per build task.
79
+ #
80
+ max-jobs: 0
81
+
82
+ #
83
+ # Control which dependencies to build
84
+ #
85
+ dependencies: none
86
+
87
+
88
+ #
89
+ # Source fetch related configuration
90
+ #
91
+ fetch:
92
+
93
+ #
94
+ # Which URIs are allowed to be accessed
95
+ #
96
+ source: all
97
+
98
+
99
+ #
100
+ # Source track related configuration
101
+ #
102
+ track:
103
+
104
+ #
105
+ # Which URIs are allowed to be accessed
106
+ #
107
+ source: aliases
108
+
109
+
110
+ #
111
+ # Logging
112
+ #
113
+ logging:
114
+
115
+ # The abbreviated cache key length to display in the UI
116
+ key-length: 8
117
+
118
+ # Whether to show extra detailed messages
119
+ verbose: True
120
+
121
+ # Maximum number of lines to print from the
122
+ # end of a failing build log
123
+ error-lines: 20
124
+
125
+ # Maximum number of lines to print in a detailed
126
+ # message on the console or in the master log (the full
127
+ # messages are always recorded in the individual build
128
+ # logs)
129
+ message-lines: 20
130
+
131
+ # Whether to enable debugging messages
132
+ debug: False
133
+
134
+ # Format string for printing the pipeline at startup, this
135
+ # also determines the default display format for `bst show`
136
+ #
137
+ element-format: |
138
+
139
+ %{state: >12} %{full-key} %{name} %{workspace-dirs}
140
+
141
+ # Format string for log messages.
142
+ #
143
+ message-format: |
144
+
145
+ [%{elapsed}][%{key}][%{element}] %{action} %{message}
146
+
147
+ # Limit bst console output update rate to 1Hz where applicable
148
+ throttle-ui-updates: True
@@ -0,0 +1,45 @@
1
+ # Licensed under the Apache License, Version 2.0 (the "License");
2
+ # you may not use this file except in compliance with the License.
3
+ # You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ # Compose element configuration
14
+ config:
15
+
16
+ # Whether to run the integration commands for the
17
+ # staged dependencies.
18
+ #
19
+ integrate: True
20
+
21
+ # A list of domains to include from each artifact, as
22
+ # they were defined in the element's 'split-rules'.
23
+ #
24
+ # Since domains can be added, it is not an error to
25
+ # specify domains which may not exist for all of the
26
+ # elements in this composition.
27
+ #
28
+ # The default empty list indicates that all domains
29
+ # from each dependency should be included.
30
+ #
31
+ include: []
32
+
33
+ # A list of domains to exclude from each artifact, as
34
+ # they were defined in the element's 'split-rules'.
35
+ #
36
+ # In the case that a file is spoken for by a domain
37
+ # in the 'include' list and another in the 'exclude'
38
+ # list, then the file will be excluded.
39
+ exclude: []
40
+
41
+ # Whether to include orphan files which are not
42
+ # included by any of the 'split-rules' present on
43
+ # a given element.
44
+ #
45
+ include-orphans: True
@@ -0,0 +1,45 @@
1
+ # Licensed under the Apache License, Version 2.0 (the "License");
2
+ # you may not use this file except in compliance with the License.
3
+ # You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ # Filter element configuration
14
+ config:
15
+
16
+ # A list of domains to include in each artifact, as
17
+ # they were defined as public data in the parent
18
+ # element's 'split-rules'.
19
+ #
20
+ # If a domain is specified that does not exist, the
21
+ # filter element will fail to build.
22
+ #
23
+ # The default empty list indicates that all domains
24
+ # of the parent's artifact should be included.
25
+ #
26
+ include: []
27
+
28
+ # A list of domains to exclude from each artifact, as
29
+ # they were defined in the parent element's 'split-rules'.
30
+ #
31
+ # In the case that a file is spoken for by a domain
32
+ # in the 'include' list and another in the 'exclude'
33
+ # list, then the file will be excluded.
34
+ exclude: []
35
+
36
+ # Whether to include orphan files which are not
37
+ # included by any of the 'split-rules' present in
38
+ # the parent element.
39
+ #
40
+ include-orphans: False
41
+
42
+ # Whether to pass the 'integration-commands' of the
43
+ # parent element through the filter.
44
+ #
45
+ pass-integration: False
@@ -0,0 +1,26 @@
1
+ # Licensed under the Apache License, Version 2.0 (the "License");
2
+ # you may not use this file except in compliance with the License.
3
+ # You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ # The import element simply stages the given sources
14
+ # directly to the root of the sandbox and then collects
15
+ # the output to create an output artifact.
16
+ #
17
+ config:
18
+
19
+ # By default we collect everything staged, specify a
20
+ # directory here to output only a subset of the staged
21
+ # input sources.
22
+ source: /
23
+
24
+ # Prefix the output with an optional directory, by default
25
+ # the input is found at the root of the produced artifact.
26
+ target: /
@@ -0,0 +1,34 @@
1
+ # Licensed under the Apache License, Version 2.0 (the "License");
2
+ # you may not use this file except in compliance with the License.
3
+ # You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ # Manual build element does not provide any default
14
+ # build commands
15
+ config:
16
+
17
+ # Commands for configuring the software
18
+ #
19
+ configure-commands: []
20
+
21
+ # Commands for building the software
22
+ #
23
+ build-commands: []
24
+
25
+ # Commands for installing the software into a
26
+ # destination folder
27
+ #
28
+ install-commands: []
29
+
30
+ # Commands for stripping installed binaries
31
+ #
32
+ strip-commands:
33
+ - |
34
+ %{strip-binaries}
@@ -0,0 +1,45 @@
1
+ # Licensed under the Apache License, Version 2.0 (the "License");
2
+ # you may not use this file except in compliance with the License.
3
+ # You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ # The script element allows staging elements into specific locations
14
+ # via it's "location" dependency configuration
15
+ #
16
+ # For example, if you want to stage "foo-tools.bst" into the "/" of
17
+ # the sandbox at buildtime, and the "foo-system.bst" element into
18
+ # the %{build-root}, you can do so as follows:
19
+ #
20
+ # build-depends:
21
+ # - foo-tools.bst
22
+ # - filename: foo-system.bst
23
+ # config:
24
+ # location: "%{build-root}"
25
+ #
26
+ # Note: the default of the "location" parameter is "/", so it is not
27
+ # necessary to specify the location if you want to stage the
28
+ # element in "/"
29
+ #
30
+
31
+ # Common script element variables
32
+ variables:
33
+ # Defines the directory commands will be run from.
34
+ cwd: /
35
+
36
+ # Script element configuration
37
+ config:
38
+
39
+ # Defines whether to run the sandbox with '/' read-only.
40
+ # It is recommended to set root as read-only wherever possible.
41
+ root-read-only: False
42
+
43
+ # List of commands to run in the sandbox.
44
+ commands: []
45
+
@@ -0,0 +1,48 @@
1
+ - package: markdown-it/markdown-it
2
+ version: 13.0.1
3
+ commit: e843acc9edad115cbf8cf85e676443f01658be08
4
+ date: May 3, 2022
5
+ notes:
6
+ - Rename variables that use python built-in names, e.g.
7
+ - `max` -> `maximum`
8
+ - `len` -> `length`
9
+ - `str` -> `string`
10
+ - |
11
+ Convert JS `for` loops to `while` loops
12
+ this is generally the main difference between the codes,
13
+ because in python you can't do e.g. `for {i=1;i<x;i++} {}`
14
+ - |
15
+ `env` is a common Python dictionary, and so does not have attribute access to keys,
16
+ as with JavaScript dictionaries.
17
+ `options` have attribute access only to core markdownit configuration options
18
+ - |
19
+ `Token.attrs` is a dictionary, instead of a list of lists.
20
+ Upstream the list format is only used to guarantee order: https://github.com/markdown-it/markdown-it/issues/142,
21
+ but in Python 3.7+ order of dictionaries is guaranteed.
22
+ One should anyhow use the `attrGet`, `attrSet`, `attrPush` and `attrJoin` methods
23
+ to manipulate `Token.attrs`, which have an identical signature to those upstream.
24
+ - Use python version of `charCodeAt`
25
+ - |
26
+ Use `str` units instead of `int`s to represent Unicode codepoints.
27
+ This provides a significant performance boost
28
+ - |
29
+ In markdown_it/rules_block/reference.py,
30
+ record line range in state.env["references"] and add state.env["duplicate_refs"]
31
+ This is to allow renderers to report on issues regarding references
32
+ - |
33
+ The `MarkdownIt.__init__` signature is slightly different for updating options,
34
+ since you must always specify the config first, e.g.
35
+ use `MarkdownIt("commonmark", {"html": False})` instead of `MarkdownIt({"html": False})`
36
+ - The default configuration preset for `MarkdownIt` is "commonmark" not "default"
37
+ - Allow custom renderer to be passed to `MarkdownIt`
38
+ - |
39
+ change render method signatures
40
+ `func(tokens, idx, options, env, slf)` to
41
+ `func(self, tokens, idx, options, env)`
42
+ - |
43
+ Extensions add render methods by format
44
+ `MarkdownIt.add_render_rule(name, function, fmt="html")`,
45
+ rather than `MarkdownIt.renderer.rules[name] = function`
46
+ and renderers should declare a class property `__output__ = "html"`.
47
+ This allows for extensibility to more than just HTML renderers
48
+ - inline tokens in tables are assigned a map (this is helpful for propagation to children)
@@ -1,3 +1,17 @@
1
+ =========================
2
+ buildstream-plugins 2.2.0
3
+ =========================
4
+
5
+ o cargo: Fix mirroring (#55)
6
+
7
+ o cargo: Support authentication using .netrc (#57)
8
+
9
+ o docker: Fix authentication when using .netrc (#59)
10
+
11
+ o docker: Improve flexibility for mirroring (#58)
12
+
13
+ o cargo: Add support for source mirrors and bearer http authentication (#60, #64)
14
+
1
15
  =========================
2
16
  buildstream-plugins 2.1.0
3
17
  =========================
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: buildstream-plugins
3
- Version: 2.1.0.dev0
3
+ Version: 2.2.0.dev2
4
4
  Summary: A collection of plugins for BuildStream.
5
5
  Home-page: https://buildstream.build
6
6
  Author: The Apache Software Foundation
@@ -22,9 +22,10 @@ Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3.11
23
23
  Classifier: Topic :: Software Development :: Build Tools
24
24
  Description-Content-Type: text/x-rst; charset=UTF-8
25
- Provides-Extra: cargo
26
25
  License-File: LICENSE
27
26
  License-File: NOTICE
27
+ Provides-Extra: cargo
28
+ Requires-Dist: tomli; python_version < "3.11" and extra == "cargo"
28
29
 
29
30
  BuildStream Plugins
30
31
  ===================
@@ -15,4 +15,4 @@
15
15
  #
16
16
  # Remember to adjust this version number before tagging releases
17
17
  #
18
- __version__ = "2.1.0.dev0"
18
+ __version__ = "2.2.0.dev2"