Commit 753ca303 authored by Jérome Perrin's avatar Jérome Perrin

component/ca-certificates: use buildout's python

We want to avoid using system python
parent b4df8a33
......@@ -16,10 +16,10 @@ url = http://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_2
md5sum = c02582bf9ae338e558617291897615eb
patch-binary = ${patch:location}/bin/patch
patches =
${:_profile_base_location_}/ca-certificates-any-python.patch#47c2509f1346bd5af8123fb1a2751c2c
${:_profile_base_location_}/ca-certificates-any-python.patch#a300e67933e205ddcbcccbb5442c8424
${:_profile_base_location_}/ca-certificates-sbin-dir.patch#0b4e7d82ce768823c01954ee41ef177b
patch-options = -p0
configure-command = true
make-targets = install DESTDIR=@@LOCATION@@ CERTSDIR=certs SBINDIR=sbin
make-targets = install DESTDIR=@@LOCATION@@ CERTSDIR=certs SBINDIR=sbin PYTHON=${buildout:executable}
environment =
PATH=${xz-utils:location}/bin:%(PATH)s
......@@ -16,8 +16,7 @@
all:
- python3 certdata2pem.py
+ for x in '' 2 3; do type python$$x && break; done >/dev/null \
+ && python$$x certdata2pem.py
+ $(PYTHON) certdata2pem.py
clean:
-rm -f *.crt
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment