1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-e3-core
7 SDESC[v11]= Adacore testing and building tools (3.11)
8 SDESC[v12]= Adacore testing and building tools (3.12)
9 HOMEPAGE= https://github.com/AdaCore/e3-core
10 CONTACT= John_Marino[draco@marino.st]
13 SITES[main]= GITHUB/AdaCore:e3-core:v22.6.0
14 DISTFILE[1]= generated:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
24 BUILD_DEPENDS= python-wheel:single:python_used
25 python-pip:single:python_used
26 python-setuptools:single:python_used
27 BR_DEPS[linux]= python-distro:single:python_used
28 python-psutil:single:python_used
32 SUB_FILES= build_rlimit.sh
33 SUB_LIST= PYCMD="{{PYTHON_CMD}}"
35 [PY311].BUILDRUN_DEPENDS_ON= python-colorama:single:v11
36 python-PyYAML:single:v11
37 python-python-dateutil:single:v11
38 python-requests:single:v11
39 python-requests-cache:single:v11
40 python-requests-toolbelt:single:v11
41 python-tqdm:single:v11
42 python-stevedore:single:v11
43 python-packaging:single:v11
44 [PY311].USES_ON= python:v11
46 [PY312].BUILDRUN_DEPENDS_ON= python-colorama:single:v12
47 python-PyYAML:single:v12
48 python-python-dateutil:single:v12
49 python-requests:single:v12
50 python-requests-cache:single:v12
51 python-requests-toolbelt:single:v12
52 python-tqdm:single:v12
53 python-stevedore:single:v12
54 python-packaging:single:v12
55 [PY312].USES_ON= python:v12
58 ${MV} ${WRKDIR}/build_rlimit.sh ${WRKSRC}/tools/rlimit
59 (cd ${WRKSRC}/tools/rlimit && ${SETENV} ${MAKE_ENV} ${SH} ./build_rlimit.sh)
62 (cd ${WRKSRC} && pip install --no-build-isolation --verbose .)
65 # unbelievable. prebuilt rlimit binaries for like 20 systems.
66 # get rid of it all so we can rebuild
67 ${RM} ${WRKSRC}/src/e3/os/data/rlimit-*
70 whl=$$(find /root/.cache/pip/wheels -name "*.whl");\
78 --root-user-action=ignore \
79 --disable-pip-version-check \
81 ${FIND} ${STAGEDIR}${PREFIX}/lib -name "rlimit-*" | xargs ${STRIP_CMD}
83 [FILE:2913:descriptions/desc.single]
89 [Documentation Status]
91 [![Code style: black]](https://github.com/psf/black)
94 This present project (`e3`) is a Python framework to ease the development
95 of portable automated build systems (compilation, dependencies management,
96 binary code packaging, and automated testing).
98 The `e3` framework is split across multiple Python packages named
100 and sharing the same namespace: `e3`.
105 `e3-core` package is organized in several packages and modules:
107 - *anod*: build system handling dependencies management and binary code
108 packaging. This includes a driver that can parse `.anod` specification
110 - *archive*: support for reading and writing tar and zip archives
111 - *collection*: generic collections, e.g. an implementation of Direct
114 - *cve*: small interface to NVD API to query CVE impacting a CPE
115 - *decorator*: Python decorators, e.g. a memoize decorator
116 - *diff*: functions to compute a diff or apply it
117 - *electrolyt*: support for parsing build plans
118 - *env*: global environment handling
119 - *error*: `e3` exceptions
120 - *event*: interface for notifying external services
121 - *fingerprint*: support for creating a synthetic view of set of
122 conditions and determining whether those conditions have changed
124 - *fs*: high-level file system operations, using globbing, walk,...
125 - *hash*: computation of sha1, md5
126 - *log*: logging helpers
127 - *main*: main program initialization, command line parsing,...
128 - *mainloop*: generic loop for running jobs
129 - *net*: network utilities
130 - *net.http*: helper for sending http requests and downloading files
131 - *net.smtp*: helper for sending emails through smtp
132 - *os*: platform independent interface to Operating System functions
133 - *os.fs*: low-level file system operations, no logging involved
134 - *os.platform*: tools to detect the platform
135 - *os.process*: interface to run process, to control the execution
137 - *os.timezone*: platform independent interface to get the machine
139 - *platform*: generic interface for providing platform information
140 - *platform_db*: knowledge base for computing platform information
141 - *spdx*: simple interface for generating SPDX files
142 - *store*: interface to download and store resources in a store
143 - *sys*: `e3` information, sanity check, ...
144 - *text*: text formatting and transformation
145 - *vcs*: high level interface to VCS repositories
146 - *yaml*: helpers for parsing yaml data
148 See [e3-core documentation] for
154 requires: Python >=3.9
156 e3-core releases are available on PyPI and can be installed by running:
162 To install from the source package, run:
165 python setup.py install
168 All `e3` dependencies will also be installed.
173 See [CONTRIBUTING.md].
177 981e8fa6fbac2ef657febf3c25f60e6220807ce9876fcb812658b4fee3f9c8e3 558104 AdaCore-e3-core-22.6.0.tar.gz
180 [FILE:2139:manifests/plist.single]
181 %%PYTHON_SITELIBDIR%%/e3/
205 %%PYTHON_SITELIBDIR%%/e3/anod/
216 qualifiers_manager.py
220 %%PYTHON_SITELIBDIR%%/e3/anod/action/__init__.py
221 %%PYTHON_SITELIBDIR%%/e3/anod/sandbox/
225 %%PYTHON_SITELIBDIR%%/e3/collection/
230 %%PYTHON_SITELIBDIR%%/e3/electrolyt/
236 %%PYTHON_SITELIBDIR%%/e3/encoding/
239 %%PYTHON_SITELIBDIR%%/e3/event/__init__.py
240 %%PYTHON_SITELIBDIR%%/e3/event/handler/
246 %%PYTHON_SITELIBDIR%%/e3/job/
250 %%PYTHON_SITELIBDIR%%/e3/mock/__init__.py
251 %%PYTHON_SITELIBDIR%%/e3/mock/os/
254 %%PYTHON_SITELIBDIR%%/e3/net/
259 %%PYTHON_SITELIBDIR%%/e3/os/
265 %%PYTHON_SITELIBDIR%%/e3/os/data/rlimit-%%OPSYS%%
266 %%PYTHON_SITELIBDIR%%/e3/os/windows/
272 %%PYTHON_SITELIBDIR%%/e3/platform_db/
275 %%PYTHON_SITELIBDIR%%/e3/python/
280 %%PYTHON_SITELIBDIR%%/e3/slsa/
283 %%PYTHON_SITELIBDIR%%/e3/store/__init__.py
284 %%PYTHON_SITELIBDIR%%/e3/store/backends/
288 %%PYTHON_SITELIBDIR%%/e3/store/cache/__init__.py
289 %%PYTHON_SITELIBDIR%%/e3/store/cache/backends/
293 %%PYTHON_SITELIBDIR%%/e3/vcs/
297 %%PYTHON_SITELIBDIR%%/e3_core-%%DIVER%%.dist-info/
313 [FILE:199:files/build_rlimit.sh.in]
315 # This script is expected to be at tools/rlimit
317 platform=$(%%PYCMD%% -c "import platform; print (platform.system().lower())")
319 cc $CFLAGS -o ../../src/e3/os/data/rlimit-$platform rlimit.c