summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb19
1 files changed, 3 insertions, 16 deletions
diff --git a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb
index 4e0adc39f6..d111c3c9da 100644
--- a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb
@@ -1,30 +1,17 @@
1SUMMARY = "File transport adapter for Requests" 1SUMMARY = "File transport adapter for Requests"
2HOMEPAGE = "http://github.com/dashea/requests-file" 2HOMEPAGE = "https://github.com/dashea/requests-file"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b"
5 5
6SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658" 6SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d9867356e658"
7 7
8PYPI_PACKAGE = "requests_file" 8PYPI_PACKAGE = "requests_file"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
9 10
10inherit pypi python_setuptools_build_meta ptest 11inherit pypi python_setuptools_build_meta ptest-python-pytest
11
12SRC_URI += " \
13 file://run-ptest \
14"
15 12
16DEPENDS += "python3-setuptools-scm-native" 13DEPENDS += "python3-setuptools-scm-native"
17 14
18RDEPENDS:${PN}-ptest += " \
19 python3-pytest \
20 python3-unittest-automake-output \
21"
22
23do_install_ptest() {
24 install -d ${D}${PTEST_PATH}/tests
25 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
26}
27
28RDEPENDS:${PN} += " \ 15RDEPENDS:${PN} += " \
29 python3-requests \ 16 python3-requests \
30" 17"