xrandr: update to 1.5.3
[oi-userland.git] / components / python / GitPython / Makefile
blob1d73ed8918bc14fe82a52d523dbb669dc257cc94
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project GitPython
17 BUILD_STYLE = pyproject
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = GitPython
22 HUMAN_VERSION = 3.1.43
23 COMPONENT_SUMMARY = GitPython - GitPython is a Python library used to interact with Git repositories
24 COMPONENT_PROJECT_URL = https://github.com/gitpython-developers/GitPython
25 COMPONENT_ARCHIVE_URL = \
26 https://github.com/gitpython-developers/GitPython/archive/refs/tags/$(HUMAN_VERSION).tar.gz
27 COMPONENT_ARCHIVE_HASH = \
28 sha256:f87dfd8e0d0fce15690a5e84b92d3b02710161e116fda5d5f2324144b2cca23d
29 COMPONENT_LICENSE = BSD-3-Clause
30 COMPONENT_LICENSE_FILE = LICENSE
32 include $(WS_MAKE_RULES)/common.mk
34 # see README.md
35 COMPONENT_PRE_TEST_ACTION += ( \
36 $(RM) -r $(COMPONENT_TEST_DIR)/.git-test-tree ; \
37 git clone https://github.com/gitpython-developers/GitPython.git $(COMPONENT_TEST_DIR)/.git-test-tree ; \
38 cd $(COMPONENT_TEST_DIR)/.git-test-tree ; \
39 git tag __testing_point__ ; \
40 git checkout master ; \
41 git reset --hard HEAD~1 ; \
42 git reset --hard HEAD~1 ; \
43 git reset --hard HEAD~1 ; \
44 git reset --hard __testing_point__ ; \
45 git submodule update --init --recursive ; \
46 ) ;
47 COMPONENT_TEST_ENV += GIT_PYTHON_TEST_GIT_REPO_BASE=$(COMPONENT_TEST_DIR)/.git-test-tree
49 # Testing is using /tmp/repos. We need to make sure it does not exists to get
50 # consistent test results.
51 COMPONENT_PRE_TEST_ACTION += $(RM) -r /tmp/repos ;
53 # Force no colors to override defaults in tox.ini
54 TOX_POSARGS += --color=no
56 # Manually added test dependencies
57 TEST_REQUIRED_PACKAGES += developer/versioning/git
59 # Auto-generated dependencies
60 PYTHON_REQUIRED_PACKAGES += library/python/gitdb
61 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
62 PYTHON_REQUIRED_PACKAGES += library/python/wheel
63 PYTHON_REQUIRED_PACKAGES += runtime/python
64 TEST_REQUIRED_PACKAGES.python += library/python/coverage
65 TEST_REQUIRED_PACKAGES.python += library/python/ddt
66 TEST_REQUIRED_PACKAGES.python += library/python/mypy
67 TEST_REQUIRED_PACKAGES.python += library/python/pre-commit
68 TEST_REQUIRED_PACKAGES.python += library/python/pytest
69 TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
70 TEST_REQUIRED_PACKAGES.python += library/python/pytest-mock
71 TEST_REQUIRED_PACKAGES.python += library/python/tomli
72 TEST_REQUIRED_PACKAGES.python += library/python/typing-extensions