summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-03 06:50:17 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-05-03 01:49:58 -0500
commit919b3a5df1c54b0e212e787d184efbbc2982b238 (patch)
tree84c51c407a304cb1ab44c80f3e61011f9d17197c /python
parentc226d01a8d8150d3b441cad73fffd66bf6aba5cf (diff)
downloadslackbuilds-919b3a5df1c54b0e212e787d184efbbc2982b238.tar.gz
python/python-pdfminer: Renamed python2-pdfminer.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-pdfminer/slack-desc19
-rw-r--r--python/python2-pdfminer/README (renamed from python/python-pdfminer/README)0
-rw-r--r--python/python2-pdfminer/python2-pdfminer.SlackBuild (renamed from python/python-pdfminer/python-pdfminer.SlackBuild)4
-rw-r--r--python/python2-pdfminer/python2-pdfminer.info (renamed from python/python-pdfminer/python-pdfminer.info)2
-rw-r--r--python/python2-pdfminer/slack-desc19
5 files changed, 22 insertions, 22 deletions
diff --git a/python/python-pdfminer/slack-desc b/python/python-pdfminer/slack-desc
deleted file mode 100644
index 0076bdf514..0000000000
--- a/python/python-pdfminer/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-python-pdfminer: python-pdfminer (PDF parser and analyzer)
-python-pdfminer:
-python-pdfminer: PDFMiner is a tool for extracting information from PDF
-python-pdfminer: documents. It focuses entirely on getting and analyzing text
-python-pdfminer: data. PDFMiner can obtain the location of text in a page,
-python-pdfminer: and other information like fonts or lines. It includes a
-python-pdfminer: PDF converter that can transform PDF files into several
-python-pdfminer: text formats. It also includes an extensible PDF parser.
-python-pdfminer:
-python-pdfminer: Home page: https://euske.github.io/pdfminer/index.html
-python-pdfminer:
diff --git a/python/python-pdfminer/README b/python/python2-pdfminer/README
index 64ca2affa2..64ca2affa2 100644
--- a/python/python-pdfminer/README
+++ b/python/python2-pdfminer/README
diff --git a/python/python-pdfminer/python-pdfminer.SlackBuild b/python/python2-pdfminer/python2-pdfminer.SlackBuild
index 60ae39db9e..8f58b7f1fa 100644
--- a/python/python-pdfminer/python-pdfminer.SlackBuild
+++ b/python/python2-pdfminer/python2-pdfminer.SlackBuild
@@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-pdfminer
+PRGNAM=python2-pdfminer
SRCNAM=pdfminer
VERSION=${VERSION:-20140328}
BUILD=${BUILD:-1}
@@ -74,7 +74,7 @@ find -L . \
make cmap # Comment out this line to disable this support
# Build / Install
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/python-pdfminer/python-pdfminer.info b/python/python2-pdfminer/python2-pdfminer.info
index 87021abe74..f7980b8c8e 100644
--- a/python/python-pdfminer/python-pdfminer.info
+++ b/python/python2-pdfminer/python2-pdfminer.info
@@ -1,4 +1,4 @@
-PRGNAM="python-pdfminer"
+PRGNAM="python2-pdfminer"
VERSION="20140328"
HOMEPAGE="https://euske.github.io/pdfminer/index.html"
DOWNLOAD="https://pypi.python.org/packages/source/p/pdfminer/pdfminer-20140328.tar.gz"
diff --git a/python/python2-pdfminer/slack-desc b/python/python2-pdfminer/slack-desc
new file mode 100644
index 0000000000..5bb70f73ac
--- /dev/null
+++ b/python/python2-pdfminer/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python2-pdfminer: python2-pdfminer (PDF parser and analyzer)
+python2-pdfminer:
+python2-pdfminer: PDFMiner is a tool for extracting information from PDF
+python2-pdfminer: documents. It focuses entirely on getting and analyzing text
+python2-pdfminer: data. PDFMiner can obtain the location of text in a page,
+python2-pdfminer: and other information like fonts or lines. It includes a
+python2-pdfminer: PDF converter that can transform PDF files into several
+python2-pdfminer: text formats. It also includes an extensible PDF parser.
+python2-pdfminer:
+python2-pdfminer: Home page: https://euske.github.io/pdfminer/index.html
+python2-pdfminer: