Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
51047681
Commit
51047681
authored
May 24, 2018
by
Chris Thurber
Committed by
GitHub
May 24, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2386 from uberhacker/add-textract-package
Add textract package
parents
516c5b05
e58cfef5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
packages/textract.rb
packages/textract.rb
+32
-0
No files found.
packages/textract.rb
0 → 100644
View file @
51047681
require
'package'
class
Textract
<
Package
description
'Extract text from any document.'
homepage
'http://textract.readthedocs.io/en/stable/'
version
'1.6.1'
source_url
'https://github.com/deanmalmgren/textract/archive/v1.6.1.tar.gz'
source_sha256
'9e5e2132db126646031134f7a84efbf10f631a3d0fb56bc8881f67998890dfac'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/textract-1.6.1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/textract-1.6.1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/textract-1.6.1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/textract-1.6.1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'77b0b5be2d908bf3e82e57e23c657edc4e556b87dc3d8790aba158e5509b87c7'
,
armv7l:
'77b0b5be2d908bf3e82e57e23c657edc4e556b87dc3d8790aba158e5509b87c7'
,
i686:
'f5e52a3dcb931ad25d4847b47f41c50f9eee454d24169603c13f5cb800df59ca'
,
x86_64:
'13e5933fe8082e152cdf80c661f85f9a425e2a303ace296cf82e8d302da39551'
,
})
depends_on
'python3'
depends_on
'pulseaudio'
depends_on
'swig'
def
self
.
install
system
'pip3 install setuptools'
system
"pip3 install textract --root
#{
CREW_DEST_DIR
}
--prefix
#{
CREW_PREFIX
}
"
system
'pip3 uninstall --yes setuptools'
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment