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

Bug#737376: marked as done (texlive-extra-utils: Debian pythontex can't use python3)



Your message dated Sun, 16 Feb 2014 13:14:51 +0000
with message-id <E1WF1YZ-0003d2-6s@franck.debian.org>
and subject line Bug#737376: fixed in texlive-extra 2013.20140215-1
has caused the Debian Bug report #737376,
regarding texlive-extra-utils: Debian pythontex can't use python3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
737376: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737376
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-extra-utils
Version: 2013.20131219-1
Tags: patch

I just read about pythontex in TUGboat - it sounds great!

I was a little surprised that it says, though, that it's only for
Python 2.7.  So I looked at the code, and it has support for Python
3.2+; yay!  Unfortunately, though, the invocation doesn't allow this
to work on Debian: /usr/bin/pythontex ->
/usr/share/texlive/texmf-dist/scripts/pythontex/pythontex.py
has the first line:

#!/usr/bin/env python

and on Debian, /usr/bin/python is a symlink to python2.7, so the rest
of the pythontex.py code, which checks whether python2 or python3 is
being used, is effectively redundant.

My suggested patch is as follows:

Create a copy of pythontex.py in
/usr/share/texlive/texmf-dist/scripts/pythontex, called say
pythontex3-init.py (pythontex3.py is already used), which has the
first line

#!/usr/bin/python3

or 

#!/usr/bin/env python3

and symlink /usr/bin/pythontex3 to it.

That way, pythontex will use Python 2.7 and pythontex3 will use Python
3.x.

   Julian

--- End Message ---
--- Begin Message ---
Source: texlive-extra
Source-Version: 2013.20140215-1

We believe that the bug you reported is fixed in the latest version of
texlive-extra, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 737376@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated texlive-extra package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 15 Feb 2014 11:25:34 +0900
Source: texlive-extra
Binary: texlive-bibtex-extra texlive-extra-utils texlive-font-utils texlive-formats-extra texlive-generic-extra texlive-math-extra texlive-plain-extra texlive-latex-extra texlive-fonts-extra texlive-music texlive-games texlive-pstricks texlive-publishers texlive-humanities texlive-science texpower pdfjam texlive-latex3 texlive-fonts-extra-doc texlive-humanities-doc texlive-latex-extra-doc texlive-pstricks-doc texlive-publishers-doc texlive-science-doc
Architecture: source all
Version: 2013.20140215-1
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description: 
 pdfjam     - TeX Live: transitional dummy package
 texlive-bibtex-extra - TeX Live: BibTeX additional styles
 texlive-extra-utils - TeX Live: TeX auxiliary programs
 texlive-font-utils - TeX Live: Graphics and font utilities
 texlive-fonts-extra - TeX Live: Additional fonts
 texlive-fonts-extra-doc - TeX Live: Documentation files for texlive-fonts-extra
 texlive-formats-extra - TeX Live: Additional formats
 texlive-games - TeX Live: Games typesetting
 texlive-generic-extra - TeX Live: Generic additional packages
 texlive-humanities - TeX Live: Humanities packages
 texlive-humanities-doc - TeX Live: Documentation files for texlive-humanities
 texlive-latex-extra - TeX Live: LaTeX additional packages
 texlive-latex-extra-doc - TeX Live: Documentation files for texlive-latex-extra
 texlive-latex3 - TeX Live: transitional dummy package
 texlive-math-extra - TeX Live: Mathematics packages
 texlive-music - TeX Live: Music packages
 texlive-plain-extra - TeX Live: Plain TeX packages
 texlive-pstricks - TeX Live: PSTricks
 texlive-pstricks-doc - TeX Live: Documentation files for texlive-pstricks
 texlive-publishers - TeX Live: Publisher styles, theses, etc.
 texlive-publishers-doc - TeX Live: Documentation files for texlive-publishers
 texlive-science - TeX Live: Natural and computer sciences
 texlive-science-doc - TeX Live: Documentation files for texlive-science
 texpower   - TeX Live: transitional dummy package
Closes: 736802 737376 738251
Changes: 
 texlive-extra (2013.20140215-1) unstable; urgency=medium
 .
   * new upstream checkout
   * 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)
Checksums-Sha1: 
 01f085d0cd9c8f4466ef83c98168c3588bb9973e 2651 texlive-extra_2013.20140215-1.dsc
 a65de85af07022d71eb54f536d38f559236debed 906059204 texlive-extra_2013.20140215.orig.tar.xz
 2dc1766d392d2e3b2ee3940529453accdeb62533 129968 texlive-extra_2013.20140215-1.debian.tar.xz
 c4d74659a39810bea5f4da43d1c1b4f6aa2e869e 32399128 texlive-bibtex-extra_2013.20140215-1_all.deb
 7bc4af5d8c44f365aa849d1e201e1f16f7eb6f81 10535502 texlive-extra-utils_2013.20140215-1_all.deb
 7818a5cd08e31c9ef1972f2bb7e35fc3d3e7a61f 1729480 texlive-font-utils_2013.20140215-1_all.deb
 1435b5cd1bc5525afc3b09d7e7cbf8ca2e0680bb 2079966 texlive-formats-extra_2013.20140215-1_all.deb
 c509325d24cf238ddd734ceba4eed5d125d4cd2b 9578602 texlive-generic-extra_2013.20140215-1_all.deb
 cb4f6f75d065bda6bfa4935525f91ba997fba888 13843678 texlive-math-extra_2013.20140215-1_all.deb
 a8c2dc41af0b6f1ad7527ed69f13a603955f2f81 3144822 texlive-plain-extra_2013.20140215-1_all.deb
 e7efe73d8ada3bc3e1dfa3d0faa1ce077216fca1 7312684 texlive-latex-extra_2013.20140215-1_all.deb
 1f3fc41f82e6f20db274ef026781bd25b6b8763d 171844216 texlive-fonts-extra_2013.20140215-1_all.deb
 cc5843b6bf58a9120cc56f2d131fe083578ef838 9533432 texlive-music_2013.20140215-1_all.deb
 89f764f8631399e69ff79b1e64f73e4a6d2d55bf 6147972 texlive-games_2013.20140215-1_all.deb
 12954637f4ee17046f9374ac25a29af07a8554f5 26175750 texlive-pstricks_2013.20140215-1_all.deb
 410826c8200de2a683706efa1ee5462f15a886b5 2073446 texlive-publishers_2013.20140215-1_all.deb
 407c2930312c62b48b3fa9e87c69c4deae4885a8 365690 texlive-humanities_2013.20140215-1_all.deb
 527f274c8ed32e01b5d5b2e8f78082267c834c6b 2386336 texlive-science_2013.20140215-1_all.deb
 d9da0e0a33d0a84d59535494a1f3cb4f788a42dc 24150 texpower_2013.20140215-1_all.deb
 16316b6b57b29c2cc98d6e5c8f524c10bea6096e 24144 pdfjam_2013.20140215-1_all.deb
 ac47c1652db768f9696b4ac66c51482921704eab 24174 texlive-latex3_2013.20140215-1_all.deb
 90438c4817a27ff8a61d82e80ce733209ef9a40b 53610918 texlive-fonts-extra-doc_2013.20140215-1_all.deb
 eb1413b0d7679aabba5bd9667253bd1defddc5e8 15445234 texlive-humanities-doc_2013.20140215-1_all.deb
 efb8c576bbc069a43d13ebc81ae228dd882b4836 316164924 texlive-latex-extra-doc_2013.20140215-1_all.deb
 990100e11cf8dec13411247abe3ecbfd96b8210d 76741564 texlive-pstricks-doc_2013.20140215-1_all.deb
 b101c4119bd89f3b50c21d41052db069d4fae653 68628502 texlive-publishers-doc_2013.20140215-1_all.deb
 f5f1330dd98d2fa130ea6930522dc2c34b33f5c7 21903948 texlive-science-doc_2013.20140215-1_all.deb
Checksums-Sha256: 
 684af0a5d96ccb7b6dc513053433d8e911371dc5a4539117f5b702351abfea43 2651 texlive-extra_2013.20140215-1.dsc
 48537e1d321625f08f64131b911d9a70cf41c82ddd6c416de01361a3ed3d4611 906059204 texlive-extra_2013.20140215.orig.tar.xz
 e363b14cfa7c693fcb12be2c33eb7f6e9b3bf7970f9f39d5f133f287ce685d72 129968 texlive-extra_2013.20140215-1.debian.tar.xz
 a5acc369294d34cbe58245afa3ce46e599d046a0be53c56b54c525289a8d31aa 32399128 texlive-bibtex-extra_2013.20140215-1_all.deb
 59b01b82ca2eb3eb39344343b029e078fae9b395746925be6006943c39ae5d35 10535502 texlive-extra-utils_2013.20140215-1_all.deb
 38b7cdda83f578a335c934961efa5cd75d897e4b8dcee2bb953f1ffa8e1b702e 1729480 texlive-font-utils_2013.20140215-1_all.deb
 be3b1b1347491e4b355e333588285ac7f3f53c0c825855bb1d6f0ba350fb5e91 2079966 texlive-formats-extra_2013.20140215-1_all.deb
 52c12421d7d9e7c472131672d2d19adb4c519950c591a79c75a262cba9e5c6e3 9578602 texlive-generic-extra_2013.20140215-1_all.deb
 2c78a781cb9bc7aa9dfbd11424ea9596374d63f7c82652f03019dc0465ae219f 13843678 texlive-math-extra_2013.20140215-1_all.deb
 791f0a4f604352f452c9d5df28d33f5b9414f49ca0064829b0b70294352bdd22 3144822 texlive-plain-extra_2013.20140215-1_all.deb
 80e8fba2b2349b7c60b0087dd158803ac3a5039504cfbc899060d5c38bc29d44 7312684 texlive-latex-extra_2013.20140215-1_all.deb
 84d122b9a65cf691f11fd62c8a7b3772a6f679c4fc478f5c563092ff27ac9e57 171844216 texlive-fonts-extra_2013.20140215-1_all.deb
 0ea3a6195675c49344e9858909de3f1d2abd9b36c3397359237b2406f7f21a25 9533432 texlive-music_2013.20140215-1_all.deb
 554b57f5315ebdd11a629b6acdd4657c14fd3ab3eba8674347fd92da8354ebb3 6147972 texlive-games_2013.20140215-1_all.deb
 f581f4e593b66dc41628d629cb8a0ba89af306ea5ffffc39ff0bad8871dc1f5c 26175750 texlive-pstricks_2013.20140215-1_all.deb
 3a0774aa12d36d3234c25c202532bdf5e46436855484e4e8c0da27237b320883 2073446 texlive-publishers_2013.20140215-1_all.deb
 ae461f1847fa74dc4627d90d71f1506497dd336926109be7f604bebd5e9697b3 365690 texlive-humanities_2013.20140215-1_all.deb
 9bd752a7d1df3269bb6c30c29bb8d4b6bf83d8dce2682a53098dd538c6764b26 2386336 texlive-science_2013.20140215-1_all.deb
 cbd9b409a37355137615fd7a8b045a524c4cb9a459724ec5ba49a935841bfc4e 24150 texpower_2013.20140215-1_all.deb
 3a152ca0877050dfd6d51886c6fc9e1a86256b43d00b2c60e4bf3962ccb732ed 24144 pdfjam_2013.20140215-1_all.deb
 7d505ba8820f008817cfe1ac52e4c399f6113486318d08af0943cf8d527b4620 24174 texlive-latex3_2013.20140215-1_all.deb
 a3d4fcb3970c47813cf28c70af5fad6554695153f5da41081d4189e23b839e37 53610918 texlive-fonts-extra-doc_2013.20140215-1_all.deb
 bf5b1f6f0df8490bdbebbff38a900a5135187023c7b511562d95e66d9a539701 15445234 texlive-humanities-doc_2013.20140215-1_all.deb
 6c46d7dbaf58baf5b427f0819511abcb5dea31b1fcc95a28004d130956761ab8 316164924 texlive-latex-extra-doc_2013.20140215-1_all.deb
 dcc02f4095b872036a6a4d6db2c295c55f7fc2ff680123971cbc3ec3e8e46029 76741564 texlive-pstricks-doc_2013.20140215-1_all.deb
 7021cd96246a93c4adc0c414ae3a82f7bf6218b2d5901e6eb21d1b8ea136c9a7 68628502 texlive-publishers-doc_2013.20140215-1_all.deb
 7be5feb6fb7404e13e801a23c3e178435ee76c632048880c69d56cdb0cb775bd 21903948 texlive-science-doc_2013.20140215-1_all.deb
Files: 
 c93857f8e1f1a7cd8b07178394bc4562 2651 tex optional texlive-extra_2013.20140215-1.dsc
 3693eb110fc498205f4e44b4d87e48bd 906059204 tex optional texlive-extra_2013.20140215.orig.tar.xz
 6e2771a776d222e5553ebb0174e1169a 129968 tex optional texlive-extra_2013.20140215-1.debian.tar.xz
 3d6d905046347a67861c4c855cc34808 32399128 tex optional texlive-bibtex-extra_2013.20140215-1_all.deb
 81f95d80a270cd927b8809adfe64911e 10535502 tex optional texlive-extra-utils_2013.20140215-1_all.deb
 364f713843a6db8b8754658bb89ceec7 1729480 tex optional texlive-font-utils_2013.20140215-1_all.deb
 6bfa556cd6a44c1cafaaaeaeeefc54f1 2079966 tex optional texlive-formats-extra_2013.20140215-1_all.deb
 a363d8a2abd8468371e572e5603d87d9 9578602 tex optional texlive-generic-extra_2013.20140215-1_all.deb
 48bc17ea86fc39d65184066cf90c3d09 13843678 tex optional texlive-math-extra_2013.20140215-1_all.deb
 f459aa15f0a1f7817222a84818bb83a9 3144822 tex optional texlive-plain-extra_2013.20140215-1_all.deb
 e30b4ef9be9daa8cb3cfe3f2618dfd49 7312684 tex optional texlive-latex-extra_2013.20140215-1_all.deb
 625aabac203b7b7b1ddc4106cd06c637 171844216 fonts optional texlive-fonts-extra_2013.20140215-1_all.deb
 83de046d9ddaec1403d327bfc843f123 9533432 tex optional texlive-music_2013.20140215-1_all.deb
 bf08366c91052ecff0299574e2d43b58 6147972 tex optional texlive-games_2013.20140215-1_all.deb
 111eeb2d7d877aeac1318f1c0ff7f1fe 26175750 tex optional texlive-pstricks_2013.20140215-1_all.deb
 da05d8c1dc35723f3d91b52ff89dbd05 2073446 tex optional texlive-publishers_2013.20140215-1_all.deb
 a3f25320182d56d112b7b8fe94068fd0 365690 tex optional texlive-humanities_2013.20140215-1_all.deb
 05839ae6f2f7ec5725ed10b832657ce1 2386336 tex optional texlive-science_2013.20140215-1_all.deb
 555ba57cb1dd4bf90ebd9933f8abaf35 24150 oldlibs extra texpower_2013.20140215-1_all.deb
 a54b000ed22afd94374dfefb8a2b0ed3 24144 oldlibs extra pdfjam_2013.20140215-1_all.deb
 0141e1c78480d359a0e3fc4bae026411 24174 oldlibs extra texlive-latex3_2013.20140215-1_all.deb
 2a857db27bf2fa198c03cfc3ca47bfd1 53610918 doc optional texlive-fonts-extra-doc_2013.20140215-1_all.deb
 24a7f5934e77a85ab0f38074a14d5201 15445234 doc optional texlive-humanities-doc_2013.20140215-1_all.deb
 1f86a0bcaade58e878674ac61126e8c6 316164924 doc optional texlive-latex-extra-doc_2013.20140215-1_all.deb
 9b612c695ad16dc4c9ae0b2b4266d8df 76741564 doc optional texlive-pstricks-doc_2013.20140215-1_all.deb
 1b891c9ca8204e5e940bf6fc8513b765 68628502 doc optional texlive-publishers-doc_2013.20140215-1_all.deb
 66fb83069f857ba212c3f606cb9c2065 21903948 doc optional texlive-science-doc_2013.20140215-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFS/vpE0r9KownFsJQRAvAeAJ94vhkuCjR2smfL2XT8Bxash5DaeACfaRDh
681ZC2RHfxl5ZfyVDTaclnw=
=7Fsw
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: