Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37814605
en ru br
Репозитории ALT

Группа :: Работа с текстами
Пакет: logtop

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: rm-python2-from-makefile.patch
Скачать


From 68805d2ff7c19c74537a0a6764fea5303f85f08e Mon Sep 17 00:00:00 2001
From: Andrey Bychkov <mrdrew@altlinux.org>
Date: Thu, 31 Oct 2019 17:34:15 +0300
Subject: [PATCH] rm python2 from makefile
---
 Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index da9d19c..244fdfd 100644
--- a/Makefile
+++ b/Makefile
@@ -44,20 +44,15 @@ install:	$(NAME)
 		install -m755 $(NAME) $(DESTDIR)/usr/bin/
 		mkdir -p $(DESTDIR)/usr/lib${LIB_SUFFIX}
 		install -m644 $(LINKERNAME) $(DESTDIR)/usr/lib${LIB_SUFFIX}/
-		python ./setup.py install --root=$(DESTDIR)
 		python3 ./setup.py install --root=$(DESTDIR)
 		mkdir -p $(DESTDIR)/usr/share/man/man1
 		install -m644 doc/*.1 $(DESTDIR)/usr/share/man/man1/
 
-python-module:
-		swig -python *.i
-		python ./setup.py build_ext
-
 python3-module:
 		swig -python -py3 *.i
 		python3 ./setup.py build_ext
 
-all: python-module python3-module
+all: python3-module
 		@make $(NAME)
 		@make lib$(NAME)
 
-- 
2.21.0
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin