[gentoo-commits] repo/gentoo:master commit in: profiles/, app-text/chm2pdf/files/, app-text/chm2pdf/

2018-12-11 Thread Michał Górny
commit: 26b81ceb1e90dc36fd6c85c1617b22c70f7a029d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:26:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:26:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b81ceb

app-text/chm2pdf: Remove last-rited pkg

Closes: https://bugs.gentoo.org/662180
Signed-off-by: Michał Górny  gentoo.org>

 app-text/chm2pdf/Manifest|  1 -
 app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild | 39 --
 app-text/chm2pdf/files/tempdir.patch | 71 
 app-text/chm2pdf/metadata.xml|  8 
 profiles/package.mask|  4 --
 5 files changed, 123 deletions(-)

diff --git a/app-text/chm2pdf/Manifest b/app-text/chm2pdf/Manifest
deleted file mode 100644
index bfb78778741..000
--- a/app-text/chm2pdf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST chm2pdf-0.9.1.tar.gz 19955 BLAKE2B 
6f16f35d25904cf1b42e91c46f58b279fceb11a328a88e14f20a9749148a4a5932af4884a19f57dc89b0135b3b8acd2dc880265aa46dfb9887ab6212a59172bd
 SHA512 
1d1997b17750f371e60cc6bf9693a8e4316deadd63247700f6ebd1bf02340f2e0524766a6be846d0f6349416b8551609da63fbf60ecd62766cf0d9b4f0c886d3

diff --git a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild 
b/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
deleted file mode 100644
index d4ace08fe54..000
--- a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="A script that converts a CHM file into a single PDF file"
-HOMEPAGE="https://code.google.com/p/chm2pdf/";
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE=""
-
-RDEPEND="dev-python/pychm[${PYTHON_USEDEP}]
-   app-text/htmldoc
-   >=dev-libs/chmlib-0.40-r1[examples]
-   ${PYTHON_DEPS}"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-PATCHES=( "${FILESDIR}/tempdir.patch" )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare(){
-   python_fix_shebang .
-}
-
-src_install() {
-   default
-   python_doscript ${PN} || die "failed to create executable"
-}

diff --git a/app-text/chm2pdf/files/tempdir.patch 
b/app-text/chm2pdf/files/tempdir.patch
deleted file mode 100644
index 6bb5fe55d00..000
--- a/app-text/chm2pdf/files/tempdir.patch
+++ /dev/null
@@ -1,71 +0,0 @@
 chm2pdf-0.9.1.orig/chm2pdf 2008-07-09 12:42:26.0 +0200
-+++ chm2pdf-0.9.1/chm2pdf  2009-02-25 20:58:53.0 +0100
-@@ -27,6 +27,8 @@
- import os, os.path
- import re, glob
- import getopt
-+import tempfile
-+import shutil
- # from BeautifulSoup import BeautifulSoup
- 
- global version
-@@ -39,8 +41,8 @@
- global filename #the input filename
- 
- version = '0.9.1'
--CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work' 
--CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
-+CHM2PDF_TEMP_WORK_DIR=tempfile.mkdtemp()
-+CHM2PDF_TEMP_ORIG_DIR=tempfile.mkdtemp()
- 
- 
- 
-@@ -299,16 +301,6 @@
- # ### File extraction and correction: START 

- #
- if options['dontextract'] == '':
--
--try:
--os.mkdir(CHM2PDF_TEMP_WORK_DIR)
--except OSError: # The directory already exists.
--pass
--
--try:
--os.mkdir(CHM2PDF_TEMP_ORIG_DIR)
--except OSError: # The directory already exists.
--pass
- 
- try:
- os.mkdir(CHM2PDF_ORIG_DIR)
-@@ -620,7 +612,7 @@
- print '\t--continuous\n\t\tSpecifies  that  the  HTML  sources are 
unstructured (plain web pages).\n\t\tNo page breaks are inserted between each 
file or URL in the output.'
- print '\t--cookies \'name="value with space"; name=value\'\n\t\t'
- print '\t--datadir directory\n\t\tSpecifies the  location  of  the  
HTMLDOC  data  files,  usually  /usr/share/htmldoc  or  C:\Program 
Files\HTMLDOC '
--print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files 
from the given CHM file, but will use previously extracted copies from the 
temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to extract the files in order to correct 
them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call 
with \'--dontextract\' will not overwrite your changes, but will use the 
corrected files instead.'
-+#print "\t--dontextract \n\t\tIf given, %s will not extract the HTML 
files from the given CHM file, but will use previously extracted copies from 
the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to 

[gentoo-commits] repo/gentoo:master commit in: profiles/, app-text/chm2pdf/files/, app-text/chm2pdf/

2018-12-11 Thread Michał Górny
commit: 26b81ceb1e90dc36fd6c85c1617b22c70f7a029d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:26:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:26:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b81ceb

app-text/chm2pdf: Remove last-rited pkg

Closes: https://bugs.gentoo.org/662180
Signed-off-by: Michał Górny  gentoo.org>

 app-text/chm2pdf/Manifest|  1 -
 app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild | 39 --
 app-text/chm2pdf/files/tempdir.patch | 71 
 app-text/chm2pdf/metadata.xml|  8 
 profiles/package.mask|  4 --
 5 files changed, 123 deletions(-)

diff --git a/app-text/chm2pdf/Manifest b/app-text/chm2pdf/Manifest
deleted file mode 100644
index bfb78778741..000
--- a/app-text/chm2pdf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST chm2pdf-0.9.1.tar.gz 19955 BLAKE2B 
6f16f35d25904cf1b42e91c46f58b279fceb11a328a88e14f20a9749148a4a5932af4884a19f57dc89b0135b3b8acd2dc880265aa46dfb9887ab6212a59172bd
 SHA512 
1d1997b17750f371e60cc6bf9693a8e4316deadd63247700f6ebd1bf02340f2e0524766a6be846d0f6349416b8551609da63fbf60ecd62766cf0d9b4f0c886d3

diff --git a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild 
b/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
deleted file mode 100644
index d4ace08fe54..000
--- a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="A script that converts a CHM file into a single PDF file"
-HOMEPAGE="https://code.google.com/p/chm2pdf/";
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE=""
-
-RDEPEND="dev-python/pychm[${PYTHON_USEDEP}]
-   app-text/htmldoc
-   >=dev-libs/chmlib-0.40-r1[examples]
-   ${PYTHON_DEPS}"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-PATCHES=( "${FILESDIR}/tempdir.patch" )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare(){
-   python_fix_shebang .
-}
-
-src_install() {
-   default
-   python_doscript ${PN} || die "failed to create executable"
-}

diff --git a/app-text/chm2pdf/files/tempdir.patch 
b/app-text/chm2pdf/files/tempdir.patch
deleted file mode 100644
index 6bb5fe55d00..000
--- a/app-text/chm2pdf/files/tempdir.patch
+++ /dev/null
@@ -1,71 +0,0 @@
 chm2pdf-0.9.1.orig/chm2pdf 2008-07-09 12:42:26.0 +0200
-+++ chm2pdf-0.9.1/chm2pdf  2009-02-25 20:58:53.0 +0100
-@@ -27,6 +27,8 @@
- import os, os.path
- import re, glob
- import getopt
-+import tempfile
-+import shutil
- # from BeautifulSoup import BeautifulSoup
- 
- global version
-@@ -39,8 +41,8 @@
- global filename #the input filename
- 
- version = '0.9.1'
--CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work' 
--CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
-+CHM2PDF_TEMP_WORK_DIR=tempfile.mkdtemp()
-+CHM2PDF_TEMP_ORIG_DIR=tempfile.mkdtemp()
- 
- 
- 
-@@ -299,16 +301,6 @@
- # ### File extraction and correction: START 

- #
- if options['dontextract'] == '':
--
--try:
--os.mkdir(CHM2PDF_TEMP_WORK_DIR)
--except OSError: # The directory already exists.
--pass
--
--try:
--os.mkdir(CHM2PDF_TEMP_ORIG_DIR)
--except OSError: # The directory already exists.
--pass
- 
- try:
- os.mkdir(CHM2PDF_ORIG_DIR)
-@@ -620,7 +612,7 @@
- print '\t--continuous\n\t\tSpecifies  that  the  HTML  sources are 
unstructured (plain web pages).\n\t\tNo page breaks are inserted between each 
file or URL in the output.'
- print '\t--cookies \'name="value with space"; name=value\'\n\t\t'
- print '\t--datadir directory\n\t\tSpecifies the  location  of  the  
HTMLDOC  data  files,  usually  /usr/share/htmldoc  or  C:\Program 
Files\HTMLDOC '
--print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files 
from the given CHM file, but will use previously extracted copies from the 
temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to extract the files in order to correct 
them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call 
with \'--dontextract\' will not overwrite your changes, but will use the 
corrected files instead.'
-+#print "\t--dontextract \n\t\tIf given, %s will not extract the HTML 
files from the given CHM file, but will use previously extracted copies from 
the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to 

[gentoo-commits] repo/gentoo:master commit in: profiles/, app-text/chm2pdf/files/, app-text/chm2pdf/

2018-12-11 Thread Michał Górny
commit: 26b81ceb1e90dc36fd6c85c1617b22c70f7a029d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:26:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:26:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b81ceb

app-text/chm2pdf: Remove last-rited pkg

Closes: https://bugs.gentoo.org/662180
Signed-off-by: Michał Górny  gentoo.org>

 app-text/chm2pdf/Manifest|  1 -
 app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild | 39 --
 app-text/chm2pdf/files/tempdir.patch | 71 
 app-text/chm2pdf/metadata.xml|  8 
 profiles/package.mask|  4 --
 5 files changed, 123 deletions(-)

diff --git a/app-text/chm2pdf/Manifest b/app-text/chm2pdf/Manifest
deleted file mode 100644
index bfb78778741..000
--- a/app-text/chm2pdf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST chm2pdf-0.9.1.tar.gz 19955 BLAKE2B 
6f16f35d25904cf1b42e91c46f58b279fceb11a328a88e14f20a9749148a4a5932af4884a19f57dc89b0135b3b8acd2dc880265aa46dfb9887ab6212a59172bd
 SHA512 
1d1997b17750f371e60cc6bf9693a8e4316deadd63247700f6ebd1bf02340f2e0524766a6be846d0f6349416b8551609da63fbf60ecd62766cf0d9b4f0c886d3

diff --git a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild 
b/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
deleted file mode 100644
index d4ace08fe54..000
--- a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="A script that converts a CHM file into a single PDF file"
-HOMEPAGE="https://code.google.com/p/chm2pdf/";
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE=""
-
-RDEPEND="dev-python/pychm[${PYTHON_USEDEP}]
-   app-text/htmldoc
-   >=dev-libs/chmlib-0.40-r1[examples]
-   ${PYTHON_DEPS}"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-PATCHES=( "${FILESDIR}/tempdir.patch" )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare(){
-   python_fix_shebang .
-}
-
-src_install() {
-   default
-   python_doscript ${PN} || die "failed to create executable"
-}

diff --git a/app-text/chm2pdf/files/tempdir.patch 
b/app-text/chm2pdf/files/tempdir.patch
deleted file mode 100644
index 6bb5fe55d00..000
--- a/app-text/chm2pdf/files/tempdir.patch
+++ /dev/null
@@ -1,71 +0,0 @@
 chm2pdf-0.9.1.orig/chm2pdf 2008-07-09 12:42:26.0 +0200
-+++ chm2pdf-0.9.1/chm2pdf  2009-02-25 20:58:53.0 +0100
-@@ -27,6 +27,8 @@
- import os, os.path
- import re, glob
- import getopt
-+import tempfile
-+import shutil
- # from BeautifulSoup import BeautifulSoup
- 
- global version
-@@ -39,8 +41,8 @@
- global filename #the input filename
- 
- version = '0.9.1'
--CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work' 
--CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
-+CHM2PDF_TEMP_WORK_DIR=tempfile.mkdtemp()
-+CHM2PDF_TEMP_ORIG_DIR=tempfile.mkdtemp()
- 
- 
- 
-@@ -299,16 +301,6 @@
- # ### File extraction and correction: START 

- #
- if options['dontextract'] == '':
--
--try:
--os.mkdir(CHM2PDF_TEMP_WORK_DIR)
--except OSError: # The directory already exists.
--pass
--
--try:
--os.mkdir(CHM2PDF_TEMP_ORIG_DIR)
--except OSError: # The directory already exists.
--pass
- 
- try:
- os.mkdir(CHM2PDF_ORIG_DIR)
-@@ -620,7 +612,7 @@
- print '\t--continuous\n\t\tSpecifies  that  the  HTML  sources are 
unstructured (plain web pages).\n\t\tNo page breaks are inserted between each 
file or URL in the output.'
- print '\t--cookies \'name="value with space"; name=value\'\n\t\t'
- print '\t--datadir directory\n\t\tSpecifies the  location  of  the  
HTMLDOC  data  files,  usually  /usr/share/htmldoc  or  C:\Program 
Files\HTMLDOC '
--print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files 
from the given CHM file, but will use previously extracted copies from the 
temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to extract the files in order to correct 
them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call 
with \'--dontextract\' will not overwrite your changes, but will use the 
corrected files instead.'
-+#print "\t--dontextract \n\t\tIf given, %s will not extract the HTML 
files from the given CHM file, but will use previously extracted copies from 
the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to 

[gentoo-commits] repo/gentoo:master commit in: profiles/, app-text/chm2pdf/files/, app-text/chm2pdf/

2018-12-11 Thread Michał Górny
commit: 26b81ceb1e90dc36fd6c85c1617b22c70f7a029d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:26:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:26:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b81ceb

app-text/chm2pdf: Remove last-rited pkg

Closes: https://bugs.gentoo.org/662180
Signed-off-by: Michał Górny  gentoo.org>

 app-text/chm2pdf/Manifest|  1 -
 app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild | 39 --
 app-text/chm2pdf/files/tempdir.patch | 71 
 app-text/chm2pdf/metadata.xml|  8 
 profiles/package.mask|  4 --
 5 files changed, 123 deletions(-)

diff --git a/app-text/chm2pdf/Manifest b/app-text/chm2pdf/Manifest
deleted file mode 100644
index bfb78778741..000
--- a/app-text/chm2pdf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST chm2pdf-0.9.1.tar.gz 19955 BLAKE2B 
6f16f35d25904cf1b42e91c46f58b279fceb11a328a88e14f20a9749148a4a5932af4884a19f57dc89b0135b3b8acd2dc880265aa46dfb9887ab6212a59172bd
 SHA512 
1d1997b17750f371e60cc6bf9693a8e4316deadd63247700f6ebd1bf02340f2e0524766a6be846d0f6349416b8551609da63fbf60ecd62766cf0d9b4f0c886d3

diff --git a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild 
b/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
deleted file mode 100644
index d4ace08fe54..000
--- a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="A script that converts a CHM file into a single PDF file"
-HOMEPAGE="https://code.google.com/p/chm2pdf/";
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE=""
-
-RDEPEND="dev-python/pychm[${PYTHON_USEDEP}]
-   app-text/htmldoc
-   >=dev-libs/chmlib-0.40-r1[examples]
-   ${PYTHON_DEPS}"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-PATCHES=( "${FILESDIR}/tempdir.patch" )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare(){
-   python_fix_shebang .
-}
-
-src_install() {
-   default
-   python_doscript ${PN} || die "failed to create executable"
-}

diff --git a/app-text/chm2pdf/files/tempdir.patch 
b/app-text/chm2pdf/files/tempdir.patch
deleted file mode 100644
index 6bb5fe55d00..000
--- a/app-text/chm2pdf/files/tempdir.patch
+++ /dev/null
@@ -1,71 +0,0 @@
 chm2pdf-0.9.1.orig/chm2pdf 2008-07-09 12:42:26.0 +0200
-+++ chm2pdf-0.9.1/chm2pdf  2009-02-25 20:58:53.0 +0100
-@@ -27,6 +27,8 @@
- import os, os.path
- import re, glob
- import getopt
-+import tempfile
-+import shutil
- # from BeautifulSoup import BeautifulSoup
- 
- global version
-@@ -39,8 +41,8 @@
- global filename #the input filename
- 
- version = '0.9.1'
--CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work' 
--CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
-+CHM2PDF_TEMP_WORK_DIR=tempfile.mkdtemp()
-+CHM2PDF_TEMP_ORIG_DIR=tempfile.mkdtemp()
- 
- 
- 
-@@ -299,16 +301,6 @@
- # ### File extraction and correction: START 

- #
- if options['dontextract'] == '':
--
--try:
--os.mkdir(CHM2PDF_TEMP_WORK_DIR)
--except OSError: # The directory already exists.
--pass
--
--try:
--os.mkdir(CHM2PDF_TEMP_ORIG_DIR)
--except OSError: # The directory already exists.
--pass
- 
- try:
- os.mkdir(CHM2PDF_ORIG_DIR)
-@@ -620,7 +612,7 @@
- print '\t--continuous\n\t\tSpecifies  that  the  HTML  sources are 
unstructured (plain web pages).\n\t\tNo page breaks are inserted between each 
file or URL in the output.'
- print '\t--cookies \'name="value with space"; name=value\'\n\t\t'
- print '\t--datadir directory\n\t\tSpecifies the  location  of  the  
HTMLDOC  data  files,  usually  /usr/share/htmldoc  or  C:\Program 
Files\HTMLDOC '
--print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files 
from the given CHM file, but will use previously extracted copies from the 
temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to extract the files in order to correct 
them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call 
with \'--dontextract\' will not overwrite your changes, but will use the 
corrected files instead.'
-+#print "\t--dontextract \n\t\tIf given, %s will not extract the HTML 
files from the given CHM file, but will use previously extracted copies from 
the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to 

[gentoo-commits] repo/gentoo:master commit in: profiles/, app-text/chm2pdf/files/, app-text/chm2pdf/

2018-12-11 Thread Michał Górny
commit: 26b81ceb1e90dc36fd6c85c1617b22c70f7a029d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:26:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:26:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b81ceb

app-text/chm2pdf: Remove last-rited pkg

Closes: https://bugs.gentoo.org/662180
Signed-off-by: Michał Górny  gentoo.org>

 app-text/chm2pdf/Manifest|  1 -
 app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild | 39 --
 app-text/chm2pdf/files/tempdir.patch | 71 
 app-text/chm2pdf/metadata.xml|  8 
 profiles/package.mask|  4 --
 5 files changed, 123 deletions(-)

diff --git a/app-text/chm2pdf/Manifest b/app-text/chm2pdf/Manifest
deleted file mode 100644
index bfb78778741..000
--- a/app-text/chm2pdf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST chm2pdf-0.9.1.tar.gz 19955 BLAKE2B 
6f16f35d25904cf1b42e91c46f58b279fceb11a328a88e14f20a9749148a4a5932af4884a19f57dc89b0135b3b8acd2dc880265aa46dfb9887ab6212a59172bd
 SHA512 
1d1997b17750f371e60cc6bf9693a8e4316deadd63247700f6ebd1bf02340f2e0524766a6be846d0f6349416b8551609da63fbf60ecd62766cf0d9b4f0c886d3

diff --git a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild 
b/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
deleted file mode 100644
index d4ace08fe54..000
--- a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="A script that converts a CHM file into a single PDF file"
-HOMEPAGE="https://code.google.com/p/chm2pdf/";
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE=""
-
-RDEPEND="dev-python/pychm[${PYTHON_USEDEP}]
-   app-text/htmldoc
-   >=dev-libs/chmlib-0.40-r1[examples]
-   ${PYTHON_DEPS}"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-PATCHES=( "${FILESDIR}/tempdir.patch" )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare(){
-   python_fix_shebang .
-}
-
-src_install() {
-   default
-   python_doscript ${PN} || die "failed to create executable"
-}

diff --git a/app-text/chm2pdf/files/tempdir.patch 
b/app-text/chm2pdf/files/tempdir.patch
deleted file mode 100644
index 6bb5fe55d00..000
--- a/app-text/chm2pdf/files/tempdir.patch
+++ /dev/null
@@ -1,71 +0,0 @@
 chm2pdf-0.9.1.orig/chm2pdf 2008-07-09 12:42:26.0 +0200
-+++ chm2pdf-0.9.1/chm2pdf  2009-02-25 20:58:53.0 +0100
-@@ -27,6 +27,8 @@
- import os, os.path
- import re, glob
- import getopt
-+import tempfile
-+import shutil
- # from BeautifulSoup import BeautifulSoup
- 
- global version
-@@ -39,8 +41,8 @@
- global filename #the input filename
- 
- version = '0.9.1'
--CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work' 
--CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
-+CHM2PDF_TEMP_WORK_DIR=tempfile.mkdtemp()
-+CHM2PDF_TEMP_ORIG_DIR=tempfile.mkdtemp()
- 
- 
- 
-@@ -299,16 +301,6 @@
- # ### File extraction and correction: START 

- #
- if options['dontextract'] == '':
--
--try:
--os.mkdir(CHM2PDF_TEMP_WORK_DIR)
--except OSError: # The directory already exists.
--pass
--
--try:
--os.mkdir(CHM2PDF_TEMP_ORIG_DIR)
--except OSError: # The directory already exists.
--pass
- 
- try:
- os.mkdir(CHM2PDF_ORIG_DIR)
-@@ -620,7 +612,7 @@
- print '\t--continuous\n\t\tSpecifies  that  the  HTML  sources are 
unstructured (plain web pages).\n\t\tNo page breaks are inserted between each 
file or URL in the output.'
- print '\t--cookies \'name="value with space"; name=value\'\n\t\t'
- print '\t--datadir directory\n\t\tSpecifies the  location  of  the  
HTMLDOC  data  files,  usually  /usr/share/htmldoc  or  C:\Program 
Files\HTMLDOC '
--print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files 
from the given CHM file, but will use previously extracted copies from the 
temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to extract the files in order to correct 
them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call 
with \'--dontextract\' will not overwrite your changes, but will use the 
corrected files instead.'
-+#print "\t--dontextract \n\t\tIf given, %s will not extract the HTML 
files from the given CHM file, but will use previously extracted copies from 
the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to 

[gentoo-commits] repo/gentoo:master commit in: profiles/, app-text/chm2pdf/files/, app-text/chm2pdf/

2018-12-11 Thread Michał Górny
commit: 26b81ceb1e90dc36fd6c85c1617b22c70f7a029d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:26:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:26:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b81ceb

app-text/chm2pdf: Remove last-rited pkg

Closes: https://bugs.gentoo.org/662180
Signed-off-by: Michał Górny  gentoo.org>

 app-text/chm2pdf/Manifest|  1 -
 app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild | 39 --
 app-text/chm2pdf/files/tempdir.patch | 71 
 app-text/chm2pdf/metadata.xml|  8 
 profiles/package.mask|  4 --
 5 files changed, 123 deletions(-)

diff --git a/app-text/chm2pdf/Manifest b/app-text/chm2pdf/Manifest
deleted file mode 100644
index bfb78778741..000
--- a/app-text/chm2pdf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST chm2pdf-0.9.1.tar.gz 19955 BLAKE2B 
6f16f35d25904cf1b42e91c46f58b279fceb11a328a88e14f20a9749148a4a5932af4884a19f57dc89b0135b3b8acd2dc880265aa46dfb9887ab6212a59172bd
 SHA512 
1d1997b17750f371e60cc6bf9693a8e4316deadd63247700f6ebd1bf02340f2e0524766a6be846d0f6349416b8551609da63fbf60ecd62766cf0d9b4f0c886d3

diff --git a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild 
b/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
deleted file mode 100644
index d4ace08fe54..000
--- a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="A script that converts a CHM file into a single PDF file"
-HOMEPAGE="https://code.google.com/p/chm2pdf/";
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE=""
-
-RDEPEND="dev-python/pychm[${PYTHON_USEDEP}]
-   app-text/htmldoc
-   >=dev-libs/chmlib-0.40-r1[examples]
-   ${PYTHON_DEPS}"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-PATCHES=( "${FILESDIR}/tempdir.patch" )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare(){
-   python_fix_shebang .
-}
-
-src_install() {
-   default
-   python_doscript ${PN} || die "failed to create executable"
-}

diff --git a/app-text/chm2pdf/files/tempdir.patch 
b/app-text/chm2pdf/files/tempdir.patch
deleted file mode 100644
index 6bb5fe55d00..000
--- a/app-text/chm2pdf/files/tempdir.patch
+++ /dev/null
@@ -1,71 +0,0 @@
 chm2pdf-0.9.1.orig/chm2pdf 2008-07-09 12:42:26.0 +0200
-+++ chm2pdf-0.9.1/chm2pdf  2009-02-25 20:58:53.0 +0100
-@@ -27,6 +27,8 @@
- import os, os.path
- import re, glob
- import getopt
-+import tempfile
-+import shutil
- # from BeautifulSoup import BeautifulSoup
- 
- global version
-@@ -39,8 +41,8 @@
- global filename #the input filename
- 
- version = '0.9.1'
--CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work' 
--CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
-+CHM2PDF_TEMP_WORK_DIR=tempfile.mkdtemp()
-+CHM2PDF_TEMP_ORIG_DIR=tempfile.mkdtemp()
- 
- 
- 
-@@ -299,16 +301,6 @@
- # ### File extraction and correction: START 

- #
- if options['dontextract'] == '':
--
--try:
--os.mkdir(CHM2PDF_TEMP_WORK_DIR)
--except OSError: # The directory already exists.
--pass
--
--try:
--os.mkdir(CHM2PDF_TEMP_ORIG_DIR)
--except OSError: # The directory already exists.
--pass
- 
- try:
- os.mkdir(CHM2PDF_ORIG_DIR)
-@@ -620,7 +612,7 @@
- print '\t--continuous\n\t\tSpecifies  that  the  HTML  sources are 
unstructured (plain web pages).\n\t\tNo page breaks are inserted between each 
file or URL in the output.'
- print '\t--cookies \'name="value with space"; name=value\'\n\t\t'
- print '\t--datadir directory\n\t\tSpecifies the  location  of  the  
HTMLDOC  data  files,  usually  /usr/share/htmldoc  or  C:\Program 
Files\HTMLDOC '
--print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files 
from the given CHM file, but will use previously extracted copies from the 
temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to extract the files in order to correct 
them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call 
with \'--dontextract\' will not overwrite your changes, but will use the 
corrected files instead.'
-+#print "\t--dontextract \n\t\tIf given, %s will not extract the HTML 
files from the given CHM file, but will use previously extracted copies from 
the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to 

[gentoo-commits] repo/gentoo:master commit in: profiles/, app-text/chm2pdf/files/, app-text/chm2pdf/

2018-12-11 Thread Michał Górny
commit: 26b81ceb1e90dc36fd6c85c1617b22c70f7a029d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:26:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:26:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b81ceb

app-text/chm2pdf: Remove last-rited pkg

Closes: https://bugs.gentoo.org/662180
Signed-off-by: Michał Górny  gentoo.org>

 app-text/chm2pdf/Manifest|  1 -
 app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild | 39 --
 app-text/chm2pdf/files/tempdir.patch | 71 
 app-text/chm2pdf/metadata.xml|  8 
 profiles/package.mask|  4 --
 5 files changed, 123 deletions(-)

diff --git a/app-text/chm2pdf/Manifest b/app-text/chm2pdf/Manifest
deleted file mode 100644
index bfb78778741..000
--- a/app-text/chm2pdf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST chm2pdf-0.9.1.tar.gz 19955 BLAKE2B 
6f16f35d25904cf1b42e91c46f58b279fceb11a328a88e14f20a9749148a4a5932af4884a19f57dc89b0135b3b8acd2dc880265aa46dfb9887ab6212a59172bd
 SHA512 
1d1997b17750f371e60cc6bf9693a8e4316deadd63247700f6ebd1bf02340f2e0524766a6be846d0f6349416b8551609da63fbf60ecd62766cf0d9b4f0c886d3

diff --git a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild 
b/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
deleted file mode 100644
index d4ace08fe54..000
--- a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="A script that converts a CHM file into a single PDF file"
-HOMEPAGE="https://code.google.com/p/chm2pdf/";
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE=""
-
-RDEPEND="dev-python/pychm[${PYTHON_USEDEP}]
-   app-text/htmldoc
-   >=dev-libs/chmlib-0.40-r1[examples]
-   ${PYTHON_DEPS}"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-PATCHES=( "${FILESDIR}/tempdir.patch" )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare(){
-   python_fix_shebang .
-}
-
-src_install() {
-   default
-   python_doscript ${PN} || die "failed to create executable"
-}

diff --git a/app-text/chm2pdf/files/tempdir.patch 
b/app-text/chm2pdf/files/tempdir.patch
deleted file mode 100644
index 6bb5fe55d00..000
--- a/app-text/chm2pdf/files/tempdir.patch
+++ /dev/null
@@ -1,71 +0,0 @@
 chm2pdf-0.9.1.orig/chm2pdf 2008-07-09 12:42:26.0 +0200
-+++ chm2pdf-0.9.1/chm2pdf  2009-02-25 20:58:53.0 +0100
-@@ -27,6 +27,8 @@
- import os, os.path
- import re, glob
- import getopt
-+import tempfile
-+import shutil
- # from BeautifulSoup import BeautifulSoup
- 
- global version
-@@ -39,8 +41,8 @@
- global filename #the input filename
- 
- version = '0.9.1'
--CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work' 
--CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
-+CHM2PDF_TEMP_WORK_DIR=tempfile.mkdtemp()
-+CHM2PDF_TEMP_ORIG_DIR=tempfile.mkdtemp()
- 
- 
- 
-@@ -299,16 +301,6 @@
- # ### File extraction and correction: START 

- #
- if options['dontextract'] == '':
--
--try:
--os.mkdir(CHM2PDF_TEMP_WORK_DIR)
--except OSError: # The directory already exists.
--pass
--
--try:
--os.mkdir(CHM2PDF_TEMP_ORIG_DIR)
--except OSError: # The directory already exists.
--pass
- 
- try:
- os.mkdir(CHM2PDF_ORIG_DIR)
-@@ -620,7 +612,7 @@
- print '\t--continuous\n\t\tSpecifies  that  the  HTML  sources are 
unstructured (plain web pages).\n\t\tNo page breaks are inserted between each 
file or URL in the output.'
- print '\t--cookies \'name="value with space"; name=value\'\n\t\t'
- print '\t--datadir directory\n\t\tSpecifies the  location  of  the  
HTMLDOC  data  files,  usually  /usr/share/htmldoc  or  C:\Program 
Files\HTMLDOC '
--print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files 
from the given CHM file, but will use previously extracted copies from the 
temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to extract the files in order to correct 
them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call 
with \'--dontextract\' will not overwrite your changes, but will use the 
corrected files instead.'
-+#print "\t--dontextract \n\t\tIf given, %s will not extract the HTML 
files from the given CHM file, but will use previously extracted copies from 
the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to 

[gentoo-commits] repo/gentoo:master commit in: profiles/, app-text/chm2pdf/files/, app-text/chm2pdf/

2018-12-11 Thread Michał Górny
commit: 26b81ceb1e90dc36fd6c85c1617b22c70f7a029d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec 11 13:26:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec 11 13:26:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b81ceb

app-text/chm2pdf: Remove last-rited pkg

Closes: https://bugs.gentoo.org/662180
Signed-off-by: Michał Górny  gentoo.org>

 app-text/chm2pdf/Manifest|  1 -
 app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild | 39 --
 app-text/chm2pdf/files/tempdir.patch | 71 
 app-text/chm2pdf/metadata.xml|  8 
 profiles/package.mask|  4 --
 5 files changed, 123 deletions(-)

diff --git a/app-text/chm2pdf/Manifest b/app-text/chm2pdf/Manifest
deleted file mode 100644
index bfb78778741..000
--- a/app-text/chm2pdf/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST chm2pdf-0.9.1.tar.gz 19955 BLAKE2B 
6f16f35d25904cf1b42e91c46f58b279fceb11a328a88e14f20a9749148a4a5932af4884a19f57dc89b0135b3b8acd2dc880265aa46dfb9887ab6212a59172bd
 SHA512 
1d1997b17750f371e60cc6bf9693a8e4316deadd63247700f6ebd1bf02340f2e0524766a6be846d0f6349416b8551609da63fbf60ecd62766cf0d9b4f0c886d3

diff --git a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild 
b/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
deleted file mode 100644
index d4ace08fe54..000
--- a/app-text/chm2pdf/chm2pdf-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="A script that converts a CHM file into a single PDF file"
-HOMEPAGE="https://code.google.com/p/chm2pdf/";
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz";
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE=""
-
-RDEPEND="dev-python/pychm[${PYTHON_USEDEP}]
-   app-text/htmldoc
-   >=dev-libs/chmlib-0.40-r1[examples]
-   ${PYTHON_DEPS}"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-PATCHES=( "${FILESDIR}/tempdir.patch" )
-
-pkg_setup() {
-   python-single-r1_pkg_setup
-}
-
-src_prepare(){
-   python_fix_shebang .
-}
-
-src_install() {
-   default
-   python_doscript ${PN} || die "failed to create executable"
-}

diff --git a/app-text/chm2pdf/files/tempdir.patch 
b/app-text/chm2pdf/files/tempdir.patch
deleted file mode 100644
index 6bb5fe55d00..000
--- a/app-text/chm2pdf/files/tempdir.patch
+++ /dev/null
@@ -1,71 +0,0 @@
 chm2pdf-0.9.1.orig/chm2pdf 2008-07-09 12:42:26.0 +0200
-+++ chm2pdf-0.9.1/chm2pdf  2009-02-25 20:58:53.0 +0100
-@@ -27,6 +27,8 @@
- import os, os.path
- import re, glob
- import getopt
-+import tempfile
-+import shutil
- # from BeautifulSoup import BeautifulSoup
- 
- global version
-@@ -39,8 +41,8 @@
- global filename #the input filename
- 
- version = '0.9.1'
--CHM2PDF_TEMP_WORK_DIR='/tmp/chm2pdf/work' 
--CHM2PDF_TEMP_ORIG_DIR='/tmp/chm2pdf/orig'
-+CHM2PDF_TEMP_WORK_DIR=tempfile.mkdtemp()
-+CHM2PDF_TEMP_ORIG_DIR=tempfile.mkdtemp()
- 
- 
- 
-@@ -299,16 +301,6 @@
- # ### File extraction and correction: START 

- #
- if options['dontextract'] == '':
--
--try:
--os.mkdir(CHM2PDF_TEMP_WORK_DIR)
--except OSError: # The directory already exists.
--pass
--
--try:
--os.mkdir(CHM2PDF_TEMP_ORIG_DIR)
--except OSError: # The directory already exists.
--pass
- 
- try:
- os.mkdir(CHM2PDF_ORIG_DIR)
-@@ -620,7 +612,7 @@
- print '\t--continuous\n\t\tSpecifies  that  the  HTML  sources are 
unstructured (plain web pages).\n\t\tNo page breaks are inserted between each 
file or URL in the output.'
- print '\t--cookies \'name="value with space"; name=value\'\n\t\t'
- print '\t--datadir directory\n\t\tSpecifies the  location  of  the  
HTMLDOC  data  files,  usually  /usr/share/htmldoc  or  C:\Program 
Files\HTMLDOC '
--print "\t--dontextract \n\t\tIf given, %s will not extract the HTML files 
from the given CHM file, but will use previously extracted copies from the 
temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to extract the files in order to correct 
them manually (in ' + CHM2PDF_TEMP_WORK_DIR + '). After the correction, a call 
with \'--dontextract\' will not overwrite your changes, but will use the 
corrected files instead.'
-+#print "\t--dontextract \n\t\tIf given, %s will not extract the HTML 
files from the given CHM file, but will use previously extracted copies from 
the temporary directory " %name + '(i.e. ' + CHM2PDF_TEMP_ORIG_DIR + ' and ' + 
CHM2PDF_TEMP_WORK_DIR + '). Usually you will use this option after you have 
used the \'--extract-only\' option to