[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[texlive-nonbin] 01/01: install (de)pythontex3 scripts (Closes: #737376)



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository texlive-nonbin.

commit 914322d3f5d611c881400ef010f3416d39ade568
Author: Norbert Preining <preining@debian.org>
Date:   Mon Feb 10 08:30:39 2014 +0900

    install (de)pythontex3 scripts (Closes: #737376)
---
 all/debian/rules.in               |  3 +++
 texlive-extra/debian/changelog    |  3 ++-
 texlive-extra/debian/depythontex3 | 11 +++++++++++
 texlive-extra/debian/pythontex3   | 11 +++++++++++
 4 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/all/debian/rules.in b/all/debian/rules.in
index 7423f31..d2a233a 100755
--- a/all/debian/rules.in
+++ b/all/debian/rules.in
@@ -50,6 +50,9 @@ install-stamp: build-stamp
 	  debian/texlive-base/etc/texmf/texdoctk
 	rmdir --ignore-fail-on-non-empty debian/texlive-base/usr/share/texlive/texmf-dist/texdoctk
 <: } :>//
+<: if ($srcpackage eq "texlive-extra") { _:>//
+	install debian/pythontex3 debian/depythontex3 debian/texlive-extra-utils/usr/bin
+<: } :>//
 	# link pfb/afm files (type1 fonts) into /usr/share/fonts
 	for i in $(PACKAGES) $(METAPACKAGES) ; do \
 	  bash debian/create-font-links $$i >> debian/$$i.links ; \
diff --git a/texlive-extra/debian/changelog b/texlive-extra/debian/changelog
index 5c08c87..8157316 100644
--- a/texlive-extra/debian/changelog
+++ b/texlive-extra/debian/changelog
@@ -3,8 +3,9 @@ texlive-extra (2013.20140123-2) UNRELEASED; urgency=medium
   * butcher flashmovie and media9 packages by removing some swf flash
     files without included source (although available) (Closes: #736802)
   * change {ttf,otf}-freefont to fonts-freefont-{ttf,otf} (Closes: #738251)
+  * install (de)pythontex3 scripts (Closes: #737376)
 
- -- Norbert Preining <preining@debian.org>  Mon, 10 Feb 2014 07:54:49 +0900
+ -- Norbert Preining <preining@debian.org>  Mon, 10 Feb 2014 08:30:06 +0900
 
 texlive-extra (2013.20140123-1) unstable; urgency=medium
 
diff --git a/texlive-extra/debian/depythontex3 b/texlive-extra/debian/depythontex3
new file mode 100644
index 0000000..c49a248
--- /dev/null
+++ b/texlive-extra/debian/depythontex3
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if which python3 >/dev/null 2>&1
+then
+  python3 /usr/share/texlive/texmf-dist/scripts/pythontex/depythontex3.py "$@"
+else
+  echo "You need to have python3 installed to be able to use" >&2
+  echo "the Python 3 version of depythontex!" >&2
+  echo "Exiting." >&2
+fi
+
diff --git a/texlive-extra/debian/pythontex3 b/texlive-extra/debian/pythontex3
new file mode 100644
index 0000000..7b2da2c
--- /dev/null
+++ b/texlive-extra/debian/pythontex3
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if which python3 >/dev/null 2>&1
+then
+  python3 /usr/share/texlive/texmf-dist/scripts/pythontex/pythontex3.py "$@"
+else
+  echo "You need to have python3 installed to be able to use" >&2
+  echo "the Python 3 version of pythontex!" >&2
+  echo "Exiting." >&2
+fi
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texlive-nonbin.git


Reply to: