From 44e12e0ca10e4b643286560f3630bb993948e2fc Mon Sep 17 00:00:00 2001 From: Papoteur Date: Tue, 8 Dec 2015 08:21:48 +0100 Subject: Adapt environment to python3 --- Makefile | 9 +++++---- isodumper | 2 +- lib/isodumper.py | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index eb99a58..3da9f14 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,10 @@ SYSCONFDIR=/etc DIRS = polkit POFILES = po +PACKAGE = isodumper +VERSION = 0.50 +GITPATH = git://git.mageia.org/software/isodumper + all: dirs pofiles dirs: @@ -98,9 +102,7 @@ install: mkdir -p $(DESTDIR)$(ICONSDIR)/hicolor/scalable/apps install -m 644 isodumper.svg $(DESTDIR)$(ICONSDIR)/hicolor/scalable/apps/isodumper.svg - mkdir $(SYSCONFDIR)/mpan/categories.d - install -m 644 mpan/categories.conf.d/manadumper.conf $(SYSCONFDIR)/mpan/categories.d - + # for isodumper.mo translations for locale in share/locale/*; \ do \ @@ -111,7 +113,6 @@ install: tar: tar cvJf isodumper.tar.xz * - README.txt: README.md pandoc -f markdown -t plain README.md -o README.txt diff --git a/isodumper b/isodumper index fb1bdcc..7857fef 100755 --- a/isodumper +++ b/isodumper @@ -13,4 +13,4 @@ TERM=xterm DIR=/usr/lib/isodumper -$DIR/isodumper.py $1 +python3 $DIR/isodumper.py $1 diff --git a/lib/isodumper.py b/lib/isodumper.py index aa0168a..20dc0f6 100644 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -23,7 +23,7 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. -# Requires python-parted +# Requires python3-parted # ensure we're using the latest build, if called from our build environment import sys -- cgit v1.2.1