Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.pytesseract: init at 0.2.5 #50467

Merged
merged 1 commit into from Nov 22, 2018
Merged

Conversation

Ma27
Copy link
Member

@Ma27 Ma27 commented Nov 16, 2018

Motivation for this change

Simple python wrapper for Tesseract, an OCR engine to detect and read
text from images.

See https://pypi.org/project/pytesseract/

cc @divb

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@Ma27
Copy link
Member Author

Ma27 commented Nov 21, 2018

@GrahamcOfBorg build pythonPackages.pytesseract python3Packages.pytesseract

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: pythonPackages.pytesseract, python3Packages.pytesseract

Partial log (click to expand)

reading manifest template 'MANIFEST.in'
writing manifest file 'pytesseract.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/4hxkpz36r5207lws8zmrqmd19qsy6qi3-python2.7-pytesseract-0.2.5
/nix/store/pf7zsg5q1kqarkl3bw5cm30rpw905rxm-python3.7-pytesseract-0.2.5

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: pythonPackages.pytesseract, python3Packages.pytesseract

Partial log (click to expand)

reading manifest template 'MANIFEST.in'
writing manifest file 'pytesseract.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/n74qiy3ym38p895bm2mhxw7h296yhj0a-python2.7-pytesseract-0.2.5
/nix/store/1m9ai1lv2h8jkwv53r27nx62833q74vm-python3.7-pytesseract-0.2.5

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: pythonPackages.pytesseract, python3Packages.pytesseract

Partial log (click to expand)

reading manifest template 'MANIFEST.in'
writing manifest file 'pytesseract.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/fq78m03sjf80hvhwfrmgm1jgypnf0by7-python2.7-pytesseract-0.2.5
/nix/store/vxn8nxgwvwrnxkhxpwmyfmkqmbaaj0ry-python3.7-pytesseract-0.2.5

@FRidh
Copy link
Member

FRidh commented Nov 21, 2018

Ran 0 tests in 0.000s

No tests are found. Either the test runner cannot find tests and needs to be patched, or there simply are no tests in which case the tests need to be disabled. Do include a comment explaining why the tests are disabled.

Simple python wrapper for Tesseract, an OCR engine to detect and read
text from images.

See https://pypi.org/project/pytesseract/
@Ma27
Copy link
Member Author

Ma27 commented Nov 22, 2018

@FRidh thanks, fixed :)

@FRidh FRidh merged commit 76ad975 into NixOS:master Nov 22, 2018
@Ma27 Ma27 deleted the package-pytesseract branch November 22, 2018 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants