aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software
diff options
context:
space:
mode:
authorRaul Infante-Sainz <infantesainz@gmail.com>2019-05-24 17:04:05 +0100
committerRaul Infante-Sainz <infantesainz@gmail.com>2019-05-24 17:04:05 +0100
commit47b74e7e9006fcc1183a5571e7b4aab668b76a7b (patch)
treefcaa6544d089b54215172d9aeebae6cabb18eec4 /reproduce/software
parent01df9c86669b68d0d9c874664039189e2dae4534 (diff)
Added PyYAML Python package into the project
With this commit, PyYAML Python package has been added into the project. It is widely used in the Python community and the goal is to have human readable configuration files. As in the web page (https://pypi.org/project/PyYAML/) says: YAML is a data serialization format designed for human readability and interaction with scripting languages. PyYAML is a YAML parser and emitter for Python.
Diffstat (limited to 'reproduce/software')
-rw-r--r--reproduce/software/config/installation/versions.mk1
-rw-r--r--reproduce/software/make/python.mk12
2 files changed, 13 insertions, 0 deletions
diff --git a/reproduce/software/config/installation/versions.mk b/reproduce/software/config/installation/versions.mk
index 9f74b27..7019ee4 100644
--- a/reproduce/software/config/installation/versions.mk
+++ b/reproduce/software/config/installation/versions.mk
@@ -136,6 +136,7 @@ pycparser-version = 2.19
pyparsing-version = 2.3.1
pypkgconfig-version = 1.5.1
python-dateutil-version = 2.8.0
+pyyaml-version = 5.1
requests-version = 2.21.0
scipy-version = 1.2.1
secretstorage-version = 3.1.1
diff --git a/reproduce/software/make/python.mk b/reproduce/software/make/python.mk
index 592ca2f..3e44451 100644
--- a/reproduce/software/make/python.mk
+++ b/reproduce/software/make/python.mk
@@ -86,6 +86,7 @@ pytarballs = $(foreach t, asn1crypto-$(asn1crypto-version).tar.gz \
python-$(python-version).tar.gz \
python-dateutil-$(python-dateutil-version).tar.gz \
pyparsing-$(pyparsing-version).tar.gz \
+ pyyaml-$(pyyaml-version).tar.gz \
requests-$(requests-version).tar.gz \
scipy-$(scipy-version).tar.gz \
secretstorage-$(secretstorage-version).tar.gz \
@@ -140,6 +141,10 @@ $(pytarballs): $(tdir)/%:
elif [ $$n = python ]; then
mergenames=0
h=https://www.python.org/ftp/python/$(python-version)/Python-$(python-version).tgz
+ elif [ $$n = pyyaml ]; then
+ mergenames=0
+ hash=9f/2c/9417b5c774792634834e730932745bc09a7d36754ca00acf1ccd1ac2594d
+ h=$(pytopurl)/$$hash/PyYAML-$(pyyaml-version).tar.gz
elif [ $$n = libffi ]; then
mergenames=0
h=ftp://sourceware.org/pub/libffi/libffi-$(libffi-version).tar.gz
@@ -463,6 +468,13 @@ $(ipydir)/python-dateutil: $(tdir)/python-dateutil-$(python-dateutil-version).ta
$(call pybuild, tar xf, $<, python-dateutil-$(python-dateutil-version), ,\
python-dateutil $(python-dateutil-version))
+$(ipydir)/pyyaml: $(tdir)/pyyaml-$(pyyaml-version).tar.gz \
+ $(ibidir)/yaml \
+ $(ipydir)/cython \
+ $(ipydir)/setuptools
+ $(call pybuild, tar xf, $<, pyyaml-$(pyyaml-version), ,\
+ PyYAML $(pyyaml-version))
+
$(ipydir)/requests: $(tdir)/requests-$(requests-version).tar.gz \
$(ipydir)/certifi \
$(ipydir)/chardet \