-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add support for GitLab "/archive/" URLs in `url2purl` #133 Signed-off-by: tdruez <[email protected]> * Add a Makefile to simplify setup Signed-off-by: tdruez <[email protected]> * Bump version to 0.11.3 Signed-off-by: tdruez <[email protected]> * Minor adjustments to the CI confs Signed-off-by: tdruez <[email protected]> * Upgrade python version to 3.7 in mypy conf Signed-off-by: tdruez <[email protected]> --------- Signed-off-by: tdruez <[email protected]>
- Loading branch information
Showing
9 changed files
with
95 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Copyright (c) the purl authors | ||
# SPDX-License-Identifier: MIT | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
# Visit https://github.com/package-url/packageurl-python for support and | ||
# download. | ||
|
||
# Python version can be specified with `$ PYTHON_EXE=python3.x make conf` | ||
PYTHON_EXE?=python3 | ||
ACTIVATE?=. bin/activate; | ||
VIRTUALENV_PYZ=thirdparty/virtualenv.pyz | ||
BLACK_ARGS=--exclude=".cache|migrations|data|lib|bin|var" | ||
|
||
virtualenv: | ||
@echo "-> Bootstrap the virtualenv with PYTHON_EXE=${PYTHON_EXE}" | ||
@${PYTHON_EXE} ${VIRTUALENV_PYZ} --never-download --no-periodic-update . | ||
|
||
conf: virtualenv | ||
@echo "-> Install dependencies" | ||
@${ACTIVATE} pip install -e . | ||
|
||
dev: virtualenv | ||
@echo "-> Configure and install development dependencies" | ||
@${ACTIVATE} pip install -e .[test] | ||
|
||
clean: | ||
@echo "-> Clean the Python env" | ||
rm -rf bin/ lib*/ include/ build/ dist/ .*cache/ pip-selfcheck.json pyvenv.cfg | ||
find . -type f -name '*.py[co]' -delete -o -type d -name __pycache__ \ | ||
-delete -type d -name '*.egg-info' -delete | ||
|
||
test: | ||
@echo "-> Run the test suite" | ||
${MANAGE} test --noinput | ||
bin/py.test tests | ||
|
||
.PHONY: virtualenv conf dev clean test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -248,6 +248,7 @@ | |
"https://gitlab.com/TG1999/firebase/-/tree/master": "pkg:gitlab/tg1999/firebase@master", | ||
"https://gitlab.com/tg1999/Firebase/-/tree/master": "pkg:gitlab/tg1999/firebase@master", | ||
"https://gitlab.com/TG1999/FIREBASE": "pkg:gitlab/tg1999/firebase", | ||
"https://gitlab.com/hoppr/hoppr/-/archive/v1.11.1-dev.2/hoppr-v1.11.1-dev.2.tar.gz": "pkg:gitlab/hoppr/[email protected]", | ||
"https://hackage.haskell.org/package/a50-0.5/a50-0.5.tar.gz": "pkg:hackage/[email protected]", | ||
"https://hackage.haskell.org/package/AC-HalfInteger-1.2.1/AC-HalfInteger-1.2.1.tar.gz": "pkg:hackage/[email protected]", | ||
"https://hackage.haskell.org/package/3d-graphics-examples-0.0.0.2/3d-graphics-examples-0.0.0.2.tar.gz": "pkg:hackage/[email protected]", | ||
|