diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /third_party/python/PyYAML/Makefile | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/python/PyYAML/Makefile')
-rw-r--r-- | third_party/python/PyYAML/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/third_party/python/PyYAML/Makefile b/third_party/python/PyYAML/Makefile new file mode 100644 index 0000000000..34a1d40110 --- /dev/null +++ b/third_party/python/PyYAML/Makefile @@ -0,0 +1,51 @@ + +.PHONY: build dist + +PYTHON=/usr/bin/python3 +TEST= +PARAMETERS= + +build: + ${PYTHON} setup.py build ${PARAMETERS} + +buildext: + ${PYTHON} setup.py --with-libyaml build ${PARAMETERS} + +force: + ${PYTHON} setup.py build -f ${PARAMETERS} + +forceext: + ${PYTHON} setup.py --with-libyaml build -f ${PARAMETERS} + +install: + ${PYTHON} setup.py install ${PARAMETERS} + +installext: + ${PYTHON} setup.py --with-libyaml install ${PARAMETERS} + +test: build + ${PYTHON} tests/lib/test_build.py ${TEST} + +testext: buildext + ${PYTHON} tests/lib/test_build_ext.py ${TEST} + +testall: + ${PYTHON} setup.py test + +dist: + @# No longer uploading a zip file to pypi + @# ${PYTHON} setup.py --with-libyaml sdist --formats=zip,gztar + ${PYTHON} setup.py --with-libyaml sdist --formats=gztar + +windist: + ${PYTHON} setup.py --with-libyaml bdist_wininst + +clean: + ${PYTHON} setup.py --with-libyaml clean -a + rm -fr \ + dist/ \ + lib/PyYAML.egg-info/ \ + lib/yaml/__pycache__/ \ + tests/lib/__pycache__/ \ + yaml/_yaml.c \ + |