Marcel Telka
2023-12-21 9ca34b97dd1e30cb3da48a1fdfcd556b8a82da57
commit | author | age
5ef1cd 1 #
MT 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.
6 #
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.
10 #
11
12 #
13 # Copyright 2023 Marcel Telka
14 #
15
16 %patch% 01-no-trio.patch
9ca34b 17 %patch% 02-no-ruff.patch
MT 18 %patch% 03-test-requirements.patch
19 %patch% 04-types.patch
20 %patch% 05-pip-install.patch
21
22 %hook-begin%
23 # https://github.com/encode/httpx/discussions/2944
24 DOWNLOAD_URL='https://github.com/encode/httpx/archive/refs/tags/$(HUMAN_VERSION).tar.gz'
25 LICENSE_FILE='LICENSE.md'
26 %include-3%
27 # Random temporary directory name
28 # see also https://github.com/encode/httpx/pull/3015
29 COMPONENT_TEST_TRANSFORMS += "-e '/\/tmp\/.*garbage/d'"
30
31 # This project does not support tox so we need to provide test requirements
32 # manually.
33 TEST_REQUIREMENTS += requirements.txt