mirror of
https://github.com/ivabus/pantry
synced 2024-09-21 09:10:50 +03:00
e3ea4ee44e
* +(opencanaryd) Signed-off-by: Jacob Torrey <jacob@thinkst.com> * Improve packaging and documentation for opencanary Signed-off-by: Jacob Torrey <jacob@thinkst.com> * Move to a more idiomatic, version-agnostic packaging Signed-off-by: Jacob Torrey <jacob@thinkst.com> * Trying to diagnose aarch64 build issue Signed-off-by: Jacob Torrey <jacob@thinkst.com> * Add libffi to the build deps Signed-off-by: Jacob Torrey <jacob@thinkst.com> * Bump to python 3.8 Signed-off-by: Jacob Torrey <jacob@thinkst.com> * Bump to python 3.9 Signed-off-by: Jacob Torrey <jacob@thinkst.com> * Reverting to the previously building version Signed-off-by: Jacob Torrey <jacob@thinkst.com> --------- Signed-off-by: Jacob Torrey <jacob@thinkst.com>
37 lines
947 B
YAML
37 lines
947 B
YAML
distributable:
|
|
url: https://github.com/thinkst/opencanary/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: thinkst/opencanary
|
|
|
|
dependencies:
|
|
python.org: ^3.10
|
|
tcpdump.org: '*'
|
|
openssl.org: '*'
|
|
|
|
runtime:
|
|
env:
|
|
PYTHONPATH: "$PYTHONPATH:{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages"
|
|
|
|
build:
|
|
dependencies:
|
|
pip.pypa.io: '*'
|
|
|
|
script:
|
|
- run: |
|
|
pip install setuptools
|
|
cat setup.py | sed -e 's/requirements = \[/requirements = \["scapy","pcapy-ng",/' > setup.py.mod
|
|
mv setup.py.mod setup.py
|
|
python setup.py sdist
|
|
python -m pip install --prefix={{prefix}} dist/opencanary-{{version}}.tar.gz
|
|
|
|
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
|
working-directory: ${{prefix}}/lib/
|
|
|
|
provides:
|
|
- bin/opencanaryd
|
|
|
|
test:
|
|
script: test "$(opencanaryd --version)" = "{{version}}"
|
|
|