gst-plugins-base1: Update to 1.22.1
[oi-userland.git] / components / python / RBTools / Makefile
blobfa0f938877615477ac1fbde156192d2c0de014dd
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 RBTools
17 BUILD_STYLE = setup.py
18 USE_COMMON_TEST_MASTER = no
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME = RBTools
23 HUMAN_VERSION = 4.0
24 COMPONENT_SUMMARY = RBTools - Command line tools and API for working with code and document reviews on Review Board
25 COMPONENT_PROJECT_URL = https://www.reviewboard.org/downloads/rbtools/
26 COMPONENT_ARCHIVE_URL = \
27 https://files.pythonhosted.org/packages/d2/ce/363101545b7a61dac2ab94f5a718ac9e2120d1dda3b2bc5acb40f8034eef/RBTools-4.0.tar.gz
28 COMPONENT_ARCHIVE_HASH = \
29 sha256:67556ba8ce2e9977c4a4a5e14c4785cbe9215be56d04f8167fd703a4ae0f266f
30 COMPONENT_LICENSE = MIT
31 COMPONENT_LICENSE_FILE = COPYING
33 TEST_STYLE = pytest
35 # https://hellosplat.com/s/beanbag/tickets/4993/
36 # https://hellosplat.com/s/beanbag/tickets/4995/
37 COMPONENT_SRC_1 = rbtools-release-$(HUMAN_VERSION)
38 COMPONENT_ARCHIVE_1 = release-$(HUMAN_VERSION).tar.gz
39 COMPONENT_ARCHIVE_URL_1 = \
40 https://github.com/reviewboard/rbtools/archive/refs/tags/$(COMPONENT_ARCHIVE_1)
41 COMPONENT_ARCHIVE_HASH_1 = \
42 sha256:091fb5ee76ff80bef552a76a810733b14e0579b447c5f5435ead2b41d0efbfee
43 CLEAN_PATHS += $(COMPONENT_SRC_1)
44 # https://hellosplat.com/s/beanbag/tickets/4993/
45 COMPONENT_POST_UNPACK_ACTION_1 += \
46 $(RM) -r $(COMPONENT_SRC)/rbtools/clients/tests/testdata ; \
47 $(CP) -a $(COMPONENT_SRC_1)/rbtools/clients/tests/testdata $(COMPONENT_SRC)/rbtools/clients/tests/testdata ;
48 # https://hellosplat.com/s/beanbag/tickets/4995/
49 COMPONENT_POST_UNPACK_ACTION_1 += \
50 $(RM) -r $(COMPONENT_SRC)/rbtools/testing/scripts ; \
51 $(CP) -a $(COMPONENT_SRC_1)/rbtools/testing/scripts $(COMPONENT_SRC)/rbtools/testing/scripts ;
53 include $(WS_MAKE_RULES)/common.mk
55 # Tests needs GNU tools
56 COMPONENT_TEST_ENV += PATH=$(PATH.gnu)
58 # Manually added dependencies
59 TEST_REQUIRED_PACKAGES += developer/versioning/cvs
60 TEST_REQUIRED_PACKAGES += developer/versioning/mercurial
61 TEST_REQUIRED_PACKAGES += developer/versioning/subversion
62 TEST_REQUIRED_PACKAGES += developer/versioning/git
64 # Auto-generated dependencies
65 PYTHON_REQUIRED_PACKAGES += library/python/colorama
66 PYTHON_REQUIRED_PACKAGES += library/python/importlib-metadata
67 PYTHON_REQUIRED_PACKAGES += library/python/pydiffx
68 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
69 PYTHON_REQUIRED_PACKAGES += library/python/six
70 PYTHON_REQUIRED_PACKAGES += library/python/texttable
71 PYTHON_REQUIRED_PACKAGES += library/python/tqdm
72 PYTHON_REQUIRED_PACKAGES += library/python/typing-extensions
73 PYTHON_REQUIRED_PACKAGES += runtime/python