File: separate_setup.py.diff

package info (click to toggle)
othman 0.6.0-3
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm
  • size: 3,512 kB
  • sloc: python: 923; makefile: 63
file content (17 lines) | stat: -rw-r--r-- 798 bytes parent folder | download | duplicates (2)
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	2019-10-18 02:49:45.202981284 +0200
+++ othman/Makefile	2019-10-18 02:50:13.043092749 +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 \