File: separate_setup.py.diff

package info (click to toggle)
othman 1.0.0-3
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 3,332 kB
  • sloc: python: 923; makefile: 69
file content (17 lines) | stat: -rw-r--r-- 803 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Do not call setup.py from Makefile
 For Debian packaging, it would be better to call setup.py using debhelper.
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
Forwarded: not-needed

Index: othman/Makefile
===================================================================
--- othman.orig/Makefile	2023-04-28 02:23:09.523987637 +0200
+++ othman/Makefile	2023-04-28 02:23:09.523987637 +0200
@@ -25,7 +25,6 @@
 install: all
 	[ $(TEST_DEPS) == "1" ] && $(PYTHON) -c 'import gi; gi.require_version("Gtk", "3.0")' || :
 	rm othman-data/quran-kareem.png || :
-	$(PYTHON) setup.py install --prefix=$(PREFIX)
 	$(INSTALL) -d $(datadir)/applications/
 	$(INSTALL) -m 0644 Othman.desktop $(datadir)/applications/
 	for i in 96 72 64 48 36 32 24 22 16; do \