File: pip

package info (click to toggle)
selinux-python 3.9-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 17,292 kB
  • sloc: python: 20,282; sh: 328; makefile: 260; ansic: 191
file content (13 lines) | stat: -rw-r--r-- 770 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: selinux-python-3.9/sepolicy/Makefile
===================================================================
--- selinux-python-3.9.orig/sepolicy/Makefile
+++ selinux-python-3.9/sepolicy/Makefile
@@ -27,7 +27,7 @@ test:
 	@$(PYTHON) test_sepolicy.py -v
 
 install:
-	$(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) .
+	PIP_NO_INDEX=1 $(PYTHON) -m pip install --ignore-installed --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --no-build-isolation --no-deps $(PYTHON_SETUP_ARGS) .
 	[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
 	install -m 755 sepolicy.py $(DESTDIR)$(BINDIR)/sepolicy
 	(cd $(DESTDIR)$(BINDIR); ln -sf sepolicy sepolgen)