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

hovercraft: 2.0 -> 2.6 #49841

Merged
merged 2 commits into from Nov 10, 2018
Merged

hovercraft: 2.0 -> 2.6 #49841

merged 2 commits into from Nov 10, 2018

Conversation

makefu
Copy link
Contributor

@makefu makefu commented Nov 6, 2018

Motivation for this change

move to top-level, use buildPythonApplication, bump version to 2.6 .
hovercraft tool for creating presentations, not a python library.

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)
  • [NA] 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.

move to top-level, use buildPythonApplication
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: hovercraft

Partial log (click to expand)

test_small (tests.test_generator.GeneratorTests) ... ok
test_table (tests.test_generator.GeneratorTests) ... ok
/build/source/docs/examples/tutorial.rst
/build/source/docs/examples/tutorial.rst ... ok

----------------------------------------------------------------------
Ran 36 tests in 0.806s

OK
/nix/store/kfl4dh47nbssbk96js813yswr5ndqp5w-hovercraft-2.6

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: hovercraft

Partial log (click to expand)

test_minimal_template (tests.test_template.TemplateInfoNodeTests) ... ok
test_template_maximal (tests.test_template.TemplateInfoTests) ... ok
test_template_minimal (tests.test_template.TemplateInfoTests) ... ok
test_template_paths (tests.test_template.TemplateInfoTests) ... ok

----------------------------------------------------------------------
Ran 36 tests in 0.492s

OK
/nix/store/0my7ikqnc1pay71f438y24hj4a1bl9i9-hovercraft-2.6

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: hovercraft

Partial log (click to expand)

test_minimal_template (tests.test_template.TemplateInfoNodeTests) ... ok
test_template_maximal (tests.test_template.TemplateInfoTests) ... ok
test_template_minimal (tests.test_template.TemplateInfoTests) ... ok
test_template_paths (tests.test_template.TemplateInfoTests) ... ok

----------------------------------------------------------------------
Ran 36 tests in 0.675s

OK
/nix/store/rl4glj7xj9rmc9kxkarwb5xdj8pkl3q1-hovercraft-2.6

@makefu
Copy link
Contributor Author

makefu commented Nov 7, 2018

even the tests run through on aarch64 and darwin!

version = "2.6";
disabled = ! isPy3k;

src = fetchFromGitHub {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming here that the tests weren't distributed at pypi?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exactly, i was using pypi before

description = "Makes impress.js presentations from reStructuredText";
homepage = https://github.com/regebro/hovercraft;
license = licenses.mit;
maintainers = with maintainers;[ goibhniu makefu ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
maintainers = with maintainers;[ goibhniu makefu ];
maintainers = with maintainers; [ goibhniu makefu ];

@Mic92 Mic92 merged commit 0c9b49d into NixOS:master Nov 10, 2018
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: hovercraft

Partial log (click to expand)

test_small (tests.test_generator.GeneratorTests) ... ok
test_table (tests.test_generator.GeneratorTests) ... ok
/build/source/docs/examples/tutorial.rst
/build/source/docs/examples/tutorial.rst ... ok

----------------------------------------------------------------------
Ran 36 tests in 0.811s

OK
/nix/store/kfl4dh47nbssbk96js813yswr5ndqp5w-hovercraft-2.6

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: hovercraft

Partial log (click to expand)

test_minimal_template (tests.test_template.TemplateInfoNodeTests) ... ok
test_template_maximal (tests.test_template.TemplateInfoTests) ... ok
test_template_minimal (tests.test_template.TemplateInfoTests) ... ok
test_template_paths (tests.test_template.TemplateInfoTests) ... ok

----------------------------------------------------------------------
Ran 36 tests in 0.507s

OK
/nix/store/0my7ikqnc1pay71f438y24hj4a1bl9i9-hovercraft-2.6

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: hovercraft

Partial log (click to expand)

test_template_minimal (tests.test_template.TemplateInfoTests) ... ok
test_template_paths (tests.test_template.TemplateInfoTests) ... ok
/build/source/docs/examples/tutorial.rst
/build/source/docs/examples/tutorial.rst ... ok

----------------------------------------------------------------------
Ran 36 tests in 1.556s

OK
/nix/store/rl4glj7xj9rmc9kxkarwb5xdj8pkl3q1-hovercraft-2.6

@makefu makefu deleted the pkgs/hovercraft/update branch November 10, 2018 21:55
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

4 participants