summaryrefslogtreecommitdiffstats
path: root/rules/python3-pytz.make
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2020-08-05 12:56:08 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-08-14 14:24:51 +0200
commit89ca1131647c3b20ea5a172e65eba0c29c003a5a (patch)
tree76baf6692085d62ae4c25deab054239867b6efca /rules/python3-pytz.make
parentd5c17b7e63bda3628533962122409805a2095b7c (diff)
downloadptxdist-89ca1131647c3b20ea5a172e65eba0c29c003a5a.tar.gz
ptxdist-89ca1131647c3b20ea5a172e65eba0c29c003a5a.tar.xz
python3: use PYTHON3_SITEPACKAGES variable
python3.make helpfully defines the PYTHON3_SITEPACKAGES variable. Use it in all places that manually construct the site-packages directory. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Message-Id: <20200805105608.32371-1-p.zabel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python3-pytz.make')
-rw-r--r--rules/python3-pytz.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/python3-pytz.make b/rules/python3-pytz.make
index 81b9438a0..bf7bb982a 100644
--- a/rules/python3-pytz.make
+++ b/rules/python3-pytz.make
@@ -40,7 +40,7 @@ $(STATEDIR)/python3-pytz.targetinstall:
@$(call install_fixup,python3-pytz,DESCRIPTION,missing)
@$(call install_glob, python3-pytz, 0, 0, -, \
- /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/pytz,, *.py */zoneinfo*)
+ $(PYTHON3_SITEPACKAGES)/pytz,, *.py */zoneinfo*)
@$(call install_finish,python3-pytz)