Projet

Général

Profil

0001-Adapt-debian-packaging-to-path-change-in-python3.10-.patch

Benjamin Dauvergne, 27 avril 2022 10:54

Télécharger (1,16 ko)

Voir les différences:

Subject: [PATCH] Adapt debian packaging to path change in python3.10 (#64605)

Cf. https://lists.debian.org/debian-python/2022/03/msg00039.html
 debian-bullseye/rules | 3 +++
 1 file changed, 3 insertions(+)
debian-bullseye/rules
101 101
	  $(MAKE) -C bindings/python$$v install DESTDIR=$(CURDIR)/debian/tmp; \
102 102
	  PYVER=/usr/bin/python$$v ; \
103 103
	  SUFFIX=$$($$PYVER -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))') ; \
104
	  PLATLIB=$$(python$$v -m sysconfig | grep "platlib =" | sed 's/.*"\(.*\)"/\1/') ; \
105
	  mkdir -p $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/ ; \
106
	  cp -R $(CURDIR)/debian/tmp$$PLATLIB/* $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/ ; \
104 107
	  mv $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/_lasso.so \
105 108
		  $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/_lasso$$SUFFIX ; \
106 109
	done
107
-