Skip to content

Commit ebc34ec

Browse files
ryzokukenrvagg
authored andcommitted
gyp: update gyp to 0.2.0
PR-URL: #2092 Reviewed-By: Rod Vagg <rod@vagg.org>
1 parent 9aed628 commit ebc34ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+27578
-24435
lines changed

β€Žgyp/.flake8β€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
max-complexity = 10
3+
max-line-length = 88
4+
extend-ignore = E203,C901,E501
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# TODO: Enable os: windows-latest
2+
# TODO: Enable python-version: 3.5
3+
# TODO: Enable pytest --doctest-modules
4+
5+
name: Python_tests
6+
on: [push, pull_request]
7+
jobs:
8+
Python_tests:
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
fail-fast: false
12+
max-parallel: 15
13+
matrix:
14+
os: [macos-latest, ubuntu-latest] # , windows-latest]
15+
python-version: [2.7, 3.6, 3.7, 3.8] # 3.5,
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v1
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install -r requirements_dev.txt
26+
- name: Lint with flake8
27+
run: flake8 . --count --show-source --statistics
28+
- name: Test with pytest
29+
run: pytest
30+
# - name: Run doctests with pytest
31+
# run: pytest --doctest-modules

β€Žgyp/.gitignoreβ€Ž

Lines changed: 143 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,143 @@
1-
*.pyc
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
pip-wheel-metadata/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# PyInstaller
31+
# Usually these files are written by a python script from a template
32+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33+
*.manifest
34+
*.spec
35+
36+
# Installer logs
37+
pip-log.txt
38+
pip-delete-this-directory.txt
39+
40+
# Unit test / coverage reports
41+
htmlcov/
42+
.tox/
43+
.nox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
*.py,cover
51+
.hypothesis/
52+
.pytest_cache/
53+
cover/
54+
55+
# Translations
56+
*.mo
57+
*.pot
58+
59+
# Django stuff:
60+
*.log
61+
local_settings.py
62+
db.sqlite3
63+
db.sqlite3-journal
64+
65+
# Flask stuff:
66+
instance/
67+
.webassets-cache
68+
69+
# Scrapy stuff:
70+
.scrapy
71+
72+
# Sphinx documentation
73+
docs/_build/
74+
75+
# PyBuilder
76+
.pybuilder/
77+
target/
78+
79+
# Jupyter Notebook
80+
.ipynb_checkpoints
81+
82+
# IPython
83+
profile_default/
84+
ipython_config.py
85+
86+
# pyenv
87+
# For a library or package, you might want to ignore these files since the code is
88+
# intended to run in multiple environments; otherwise, check them in:
89+
# .python-version
90+
91+
# pipenv
92+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
94+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
95+
# install all needed dependencies.
96+
#Pipfile.lock
97+
98+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
99+
__pypackages__/
100+
101+
# Celery stuff
102+
celerybeat-schedule
103+
celerybeat.pid
104+
105+
# SageMath parsed files
106+
*.sage.py
107+
108+
# Environments
109+
.env
110+
.venv
111+
env/
112+
venv/
113+
ENV/
114+
env.bak/
115+
venv.bak/
116+
117+
# Spyder project settings
118+
.spyderproject
119+
.spyproject
120+
121+
# Rope project settings
122+
.ropeproject
123+
124+
# mkdocs documentation
125+
/site
126+
127+
# mypy
128+
.mypy_cache/
129+
.dmypy.json
130+
dmypy.json
131+
132+
# Pyre type checker
133+
.pyre/
134+
135+
# pytype static type analyzer
136+
.pytype/
137+
138+
# Cython debug symbols
139+
cython_debug/
140+
141+
# static files generated from Django application using `collectstatic`
142+
media
143+
static

β€Žgyp/AUTHORSβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ Eric N. Vander Weele <ericvw@gmail.com>
1313
Tom Freudenberg <th.freudenberg@gmail.com>
1414
Julien Brianceau <jbriance@cisco.com>
1515
Refael Ackermann <refack@gmail.com>
16+
Ujjwal Sharma <ryzokuken@disroot.org>

β€Žgyp/CODE_OF_CONDUCT.mdβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Code of Conduct
2+
3+
* [Node.js Code of Conduct](https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md)
4+
* [Node.js Moderation Policy](https://github.com/nodejs/admin/blob/master/Moderation-Policy.md)

β€Žgyp/CONTRIBUTING.mdβ€Ž

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Contributing to gyp-next
2+
3+
## Code of Conduct
4+
5+
This project is bound to the [Node.js Code of Conduct](https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md).
6+
7+
<a id="developers-certificate-of-origin"></a>
8+
## Developer's Certificate of Origin 1.1
9+
10+
By making a contribution to this project, I certify that:
11+
12+
* (a) The contribution was created in whole or in part by me and I
13+
have the right to submit it under the open source license
14+
indicated in the file; or
15+
16+
* (b) The contribution is based upon previous work that, to the best
17+
of my knowledge, is covered under an appropriate open source
18+
license and I have the right under that license to submit that
19+
work with modifications, whether created in whole or in part
20+
by me, under the same open source license (unless I am
21+
permitted to submit under a different license), as indicated
22+
in the file; or
23+
24+
* (c) The contribution was provided directly to me by some other
25+
person who certified (a), (b) or (c) and I have not modified
26+
it.
27+
28+
* (d) I understand and agree that this project and the contribution
29+
are public and that a record of the contribution (including all
30+
personal information I submit with it, including my sign-off) is
31+
maintained indefinitely and may be redistributed consistent with
32+
this project or the open source license(s) involved.

β€Žgyp/LICENSEβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
Copyright (c) 2019 Ujjwal Sharma. All rights reserved.
12
Copyright (c) 2009 Google Inc. All rights reserved.
23

34
Redistribution and use in source and binary forms, with or without

β€Žgyp/OWNERSβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€Žgyp/PRESUBMIT.pyβ€Ž

Lines changed: 0 additions & 138 deletions
This file was deleted.

β€Žgyp/gyp.batβ€Ž

100644100755
File mode changed.

0 commit comments

Comments
Β (0)