# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-e3-core VERSION= 22.10.0 REVISION= 1 KEYWORDS= python VARIANTS= v13 v14 SDESC[v13]= Adacore testing and building tools (3.13) SDESC[v14]= Adacore testing and building tools (3.14) HOMEPAGE= https://github.com/AdaCore/e3-core CONTACT= John_Marino[draco@marino.st] DOWNLOAD_GROUPS= main SITES[main]= GITHUB/AdaCore:e3-core:v22.10.0 DISTFILE[1]= generated:main DIST_SUBDIR= python-src DF_INDEX= 1 SPKGS[v13]= single SPKGS[v14]= single OPTIONS_AVAILABLE= PY313 PY314 OPTIONS_STANDARD= none VOPTS[v13]= PY313=ON PY314=OFF VOPTS[v14]= PY313=OFF PY314=ON BUILD_DEPENDS= python-wheel:single:python_used python-pip:single:python_used python-setuptools:single:python_used BR_DEPS[linux]= python-distro:single:python_used python-psutil:single:python_used PLIST_SUB= DIVER=22.10 OPSYS={{OPSYS:tl}} PYC=.cpython-{{PYTHON_SUFFIX}} SUB_FILES= build_rlimit.sh SUB_LIST= PYCMD="{{PYTHON_CMD}}" [PY313].BUILDRUN_DEPENDS_ON= python-colorama:single:v13 python-PyYAML:single:v13 python-python-dateutil:single:v13 python-requests:single:v13 python-requests-cache:single:v13 python-requests-toolbelt:single:v13 python-tqdm:single:v13 python-stevedore:single:v13 python-packaging:single:v13 python-resolvelib:single:v13 [PY313].USES_ON= python:v13 [PY314].BUILDRUN_DEPENDS_ON= python-colorama:single:v14 python-PyYAML:single:v14 python-python-dateutil:single:v14 python-requests:single:v14 python-requests-cache:single:v14 python-requests-toolbelt:single:v14 python-tqdm:single:v14 python-stevedore:single:v14 python-packaging:single:v14 python-resolvelib:single:v14 [PY314].USES_ON= python:v14 pre-build: ${MV} ${WRKDIR}/build_rlimit.sh ${WRKSRC}/tools/rlimit (cd ${WRKSRC}/tools/rlimit && ${SETENV} ${MAKE_ENV} ${SH} ./build_rlimit.sh) do-build: (cd ${WRKSRC} && pip install --no-build-isolation --verbose .) post-extract: # unbelievable. prebuilt rlimit binaries for like 20 systems. # get rid of it all so we can rebuild ${RM} ${WRKSRC}/src/e3/os/data/rlimit-* do-install: whl=$$(find /root/.cache/pip/wheels -name "*.whl");\ pip install \ --verbose \ --no-index \ --no-compile \ --force-reinstall \ --progress-bar off \ --root=${STAGEDIR} \ --root-user-action=ignore \ --disable-pip-version-check \ --no-deps $$whl ${FIND} ${STAGEDIR}${PREFIX}/lib -name "rlimit-*" | xargs ${STRIP_CMD} # compile them separately (avoids embedded stagedir) (cd ${STAGEDIR} && ${PYTHON_CMD} -m compileall -d / . ||:) [FILE:2913:descriptions/desc.single] The `e3` Project ================ [Build Status] [Checked with mypy] [Documentation Status] [codecov] [![Code style: black]](https://github.com/psf/black) [CII Best Practices] This present project (`e3`) is a Python framework to ease the development of portable automated build systems (compilation, dependencies management, binary code packaging, and automated testing). The `e3` framework is split across multiple Python packages named `e3-` and sharing the same namespace: `e3`. `e3-core` content ================= `e3-core` package is organized in several packages and modules: - *anod*: build system handling dependencies management and binary code packaging. This includes a driver that can parse `.anod` specification files. - *archive*: support for reading and writing tar and zip archives - *collection*: generic collections, e.g. an implementation of Direct Acyclic Graphs - *cve*: small interface to NVD API to query CVE impacting a CPE - *decorator*: Python decorators, e.g. a memoize decorator - *diff*: functions to compute a diff or apply it - *electrolyt*: support for parsing build plans - *env*: global environment handling - *error*: `e3` exceptions - *event*: interface for notifying external services - *fingerprint*: support for creating a synthetic view of set of conditions and determining whether those conditions have changed or not. - *fs*: high-level file system operations, using globbing, walk,... - *hash*: computation of sha1, md5 - *log*: logging helpers - *main*: main program initialization, command line parsing,... - *mainloop*: generic loop for running jobs - *net*: network utilities - *net.http*: helper for sending http requests and downloading files - *net.smtp*: helper for sending emails through smtp - *os*: platform independent interface to Operating System functions - *os.fs*: low-level file system operations, no logging involved - *os.platform*: tools to detect the platform - *os.process*: interface to run process, to control the execution time,... - *os.timezone*: platform independent interface to get the machine timezone - *platform*: generic interface for providing platform information - *platform_db*: knowledge base for computing platform information - *spdx*: simple interface for generating SPDX files - *store*: interface to download and store resources in a store - *sys*: `e3` information, sanity check, ... - *text*: text formatting and transformation - *vcs*: high level interface to VCS repositories - *yaml*: helpers for parsing yaml data See [e3-core documentation] for more details. Install ======= requires: Python >=3.9 e3-core releases are available on PyPI and can be installed by running: ```bash pip install e3-core ``` To install from the source package, run: ```bash python setup.py install ``` All `e3` dependencies will also be installed. Contributing ============ See [CONTRIBUTING.md]. [FILE:120:distinfo] 496b630569579c0b544e5455681076baeb6195d9ed03b4a7c7add9618d9e7127 805122 python-src/AdaCore-e3-core-22.10.0.tar.gz [FILE:5210:manifests/plist.single] %%PYTHON_SITELIBDIR%%/e3/ archive.py cve.py date.py decorator.py diff.py dsse.py env.py error.py fingerprint.py fs.py hash.py json.py log.py main.py maven.py mypy.py npm.py platform.py py.typed pytest.py spdx.py sys.py text.py yaml.py %%PYTHON_SITELIBDIR%%/e3/__pycache__/ archive%%PYC%%.pyc cve%%PYC%%.pyc date%%PYC%%.pyc decorator%%PYC%%.pyc diff%%PYC%%.pyc dsse%%PYC%%.pyc env%%PYC%%.pyc error%%PYC%%.pyc fingerprint%%PYC%%.pyc fs%%PYC%%.pyc hash%%PYC%%.pyc json%%PYC%%.pyc log%%PYC%%.pyc main%%PYC%%.pyc maven%%PYC%%.pyc mypy%%PYC%%.pyc npm%%PYC%%.pyc platform%%PYC%%.pyc pytest%%PYC%%.pyc spdx%%PYC%%.pyc sys%%PYC%%.pyc text%%PYC%%.pyc yaml%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/anod/ __init__.py buildspace.py checkout.py context.py deps.py driver.py error.py helper.py loader.py package.py qualifier.py qualifiers_manager.py queries.py spec.py status.py %%PYTHON_SITELIBDIR%%/e3/anod/__pycache__/ __init__%%PYC%%.pyc buildspace%%PYC%%.pyc checkout%%PYC%%.pyc context%%PYC%%.pyc deps%%PYC%%.pyc driver%%PYC%%.pyc error%%PYC%%.pyc helper%%PYC%%.pyc loader%%PYC%%.pyc package%%PYC%%.pyc qualifier%%PYC%%.pyc qualifiers_manager%%PYC%%.pyc queries%%PYC%%.pyc spec%%PYC%%.pyc status%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/anod/action/__init__.py %%PYTHON_SITELIBDIR%%/e3/anod/action/__pycache__/__init__%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/anod/sandbox/ __init__.py main.py scripts.py %%PYTHON_SITELIBDIR%%/e3/anod/sandbox/__pycache__/ __init__%%PYC%%.pyc main%%PYC%%.pyc scripts%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/collection/ __init__.py dag.py toggleable_bool.py trie.py %%PYTHON_SITELIBDIR%%/e3/collection/__pycache__/ __init__%%PYC%%.pyc dag%%PYC%%.pyc toggleable_bool%%PYC%%.pyc trie%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/electrolyt/ __init__.py entry_point.py host.py plan.py run.py %%PYTHON_SITELIBDIR%%/e3/electrolyt/__pycache__/ __init__%%PYC%%.pyc entry_point%%PYC%%.pyc host%%PYC%%.pyc plan%%PYC%%.pyc run%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/encoding/ __init__.py vex.py %%PYTHON_SITELIBDIR%%/e3/encoding/__pycache__/ __init__%%PYC%%.pyc vex%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/event/__init__.py %%PYTHON_SITELIBDIR%%/e3/event/__pycache__/__init__%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/event/handler/ __init__.py file.py logging.py s3.py smtp.py %%PYTHON_SITELIBDIR%%/e3/event/handler/__pycache__/ __init__%%PYC%%.pyc file%%PYC%%.pyc logging%%PYC%%.pyc s3%%PYC%%.pyc smtp%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/job/ __init__.py scheduler.py walk.py %%PYTHON_SITELIBDIR%%/e3/job/__pycache__/ __init__%%PYC%%.pyc scheduler%%PYC%%.pyc walk%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/mock/ __init__.py env.py %%PYTHON_SITELIBDIR%%/e3/mock/__pycache__/ __init__%%PYC%%.pyc env%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/mock/os/ __init__.py process.py %%PYTHON_SITELIBDIR%%/e3/mock/os/__pycache__/ __init__%%PYC%%.pyc process%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/net/ __init__.py http.py smtp.py token.py %%PYTHON_SITELIBDIR%%/e3/net/__pycache__/ __init__%%PYC%%.pyc http%%PYC%%.pyc smtp%%PYC%%.pyc token%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/os/ __init__.py fs.py platform.py process.py timezone.py %%PYTHON_SITELIBDIR%%/e3/os/__pycache__/ __init__%%PYC%%.pyc fs%%PYC%%.pyc platform%%PYC%%.pyc process%%PYC%%.pyc timezone%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/os/data/rlimit-%%OPSYS%% %%PYTHON_SITELIBDIR%%/e3/os/windows/ __init__.py fs.py native_api.py object.py process.py %%PYTHON_SITELIBDIR%%/e3/os/windows/__pycache__/ __init__%%PYC%%.pyc fs%%PYC%%.pyc native_api%%PYC%%.pyc object%%PYC%%.pyc process%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/platform_db/ __init__.py knowledge_base.py %%PYTHON_SITELIBDIR%%/e3/platform_db/__pycache__/ __init__%%PYC%%.pyc knowledge_base%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/python/ __init__.py pypi.py pypiscript.py wheel.py %%PYTHON_SITELIBDIR%%/e3/python/__pycache__/ __init__%%PYC%%.pyc pypi%%PYC%%.pyc pypiscript%%PYC%%.pyc wheel%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/slsa/ __init__.py provenance.py %%PYTHON_SITELIBDIR%%/e3/slsa/__pycache__/ __init__%%PYC%%.pyc provenance%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/store/__init__.py %%PYTHON_SITELIBDIR%%/e3/store/__pycache__/__init__%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/store/backends/ __init__.py base.py http_simple_store.py %%PYTHON_SITELIBDIR%%/e3/store/backends/__pycache__/ __init__%%PYC%%.pyc base%%PYC%%.pyc http_simple_store%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/store/cache/__init__.py %%PYTHON_SITELIBDIR%%/e3/store/cache/__pycache__/__init__%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/store/cache/backends/ __init__.py base.py filecache.py %%PYTHON_SITELIBDIR%%/e3/store/cache/backends/__pycache__/ __init__%%PYC%%.pyc base%%PYC%%.pyc filecache%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3/vcs/ __init__.py git.py svn.py %%PYTHON_SITELIBDIR%%/e3/vcs/__pycache__/ __init__%%PYC%%.pyc git%%PYC%%.pyc svn%%PYC%%.pyc %%PYTHON_SITELIBDIR%%/e3_core-%%DIVER%%.dist-info/ INSTALLER METADATA RECORD REQUESTED WHEEL direct_url.json entry_points.txt top_level.txt %%PYTHON_SITELIBDIR%%/e3_core-%%DIVER%%.dist-info/licenses/COPYING3 bin/ e3 e3-pypi-closure e3-sandbox [FILE:199:files/build_rlimit.sh.in] #!/bin/sh # This script is expected to be at tools/rlimit platform=$(%%PYCMD%% -c "import platform; print (platform.system().lower())") cc $CFLAGS -o ../../src/e3/os/data/rlimit-$platform rlimit.c