aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-12-08 08:21:48 +0100
committerPapoteur <papoteur@mageialinux-online.org>2015-12-08 08:21:48 +0100
commit44e12e0ca10e4b643286560f3630bb993948e2fc (patch)
tree44457e97f85deebd7593b1f59b3a43e0ffd05015
parentce1676ee092db853cf6b80d2496a43c1cf157edc (diff)
downloadisodumper-44e12e0ca10e4b643286560f3630bb993948e2fc.tar
isodumper-44e12e0ca10e4b643286560f3630bb993948e2fc.tar.gz
isodumper-44e12e0ca10e4b643286560f3630bb993948e2fc.tar.bz2
isodumper-44e12e0ca10e4b643286560f3630bb993948e2fc.tar.xz
isodumper-44e12e0ca10e4b643286560f3630bb993948e2fc.zip
Adapt environment to python3
-rw-r--r--Makefile9
-rwxr-xr-xisodumper2
-rw-r--r--lib/isodumper.py2
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