perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / python / natsort / Makefile
blob1db84338a3fd15ba780c2454ed10162627084709
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 natsort
17 BUILD_STYLE = setup.py
18 USE_COMMON_TEST_MASTER = no
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME = natsort
23 HUMAN_VERSION = 8.4.0
24 COMPONENT_SUMMARY = natsort - Simple yet flexible natural sorting in Python.
25 COMPONENT_PROJECT_URL = https://github.com/SethMMorton/natsort
26 COMPONENT_ARCHIVE_URL = \
27 https://files.pythonhosted.org/packages/e2/a9/a0c57aee75f77794adaf35322f8b6404cbd0f89ad45c87197a937764b7d0/natsort-8.4.0.tar.gz
28 COMPONENT_ARCHIVE_HASH = \
29 sha256:45312c4a0e5507593da193dedd04abb1469253b601ecaf63445ad80f0a1ea581
30 COMPONENT_LICENSE = MIT
31 COMPONENT_LICENSE_FILE = LICENSE
33 include $(WS_MAKE_RULES)/common.mk
35 # There are three sets of test results (pytest is run three times by tox) so we
36 # need to sort the 2nd one and the 3rd one too (the first one is sorted in
37 # setup.py.mk).
38 COMPONENT_TEST_TRANSFORMS += \
39 "| ( \
40 $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \
41 $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \
42 $(GSED) -u -e '/^$$/q' ; \
43 $(GSED) -u -e 's/ *\[...%\]$$//' -e '/^$$/Q' | $(SORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \
44 $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \
45 $(GSED) -u -e '/^$$/q' ; \
46 $(GSED) -u -e 's/ *\[...%\]$$//' -e '/^$$/Q' | $(SORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \
47 $(CAT) \
48 ) | $(COMPONENT_TEST_TRANSFORMER) -e ''"
50 # Auto-generated dependencies
51 PYTHON_REQUIRED_PACKAGES += library/python/importlib-metadata
52 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
53 PYTHON_REQUIRED_PACKAGES += runtime/python
54 TEST_REQUIRED_PACKAGES.python += library/python/coverage
55 TEST_REQUIRED_PACKAGES.python += library/python/hypothesis
56 TEST_REQUIRED_PACKAGES.python += library/python/pytest
57 TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
58 TEST_REQUIRED_PACKAGES.python += library/python/pytest-mock