Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 1 | # Copyright (C) 2021 Khem Raj <raj.khem@gmail.com> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
Patrick Williams | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame] | 4 | SUMMARY = "An aspect-oriented programming, monkey-patch and decorators library." |
| 5 | DESCRIPTION = " It is useful when changing behavior in existing code is desired. \ |
| 6 | It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework." |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 7 | HOMEPAGE = "https://github.com/ionelmc/python-aspectlib" |
| 8 | LICENSE = "BSD-2-Clause" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d58b3f20fd10347a9458b8a03793b62e" |
| 10 | |
| 11 | SRC_URI[sha256sum] = "d275ec82c4c2712e564bb760e4accff8f061f648e38774feabeb8b241cf3a4aa" |
| 12 | |
| 13 | inherit ptest pypi setuptools3 |
| 14 | |
| 15 | SRC_URI += "file://run-ptest \ |
| 16 | file://0001-Remove-tornado-6-test-constraint.-Ref-15.patch \ |
| 17 | " |
| 18 | |
| 19 | do_install_ptest() { |
| 20 | install -d ${D}${PTEST_PATH}/tests |
| 21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 22 | } |
| 23 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | RDEPENDS:${PN}-ptest += "\ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 25 | python3-tornado \ |
| 26 | python3-process-tests \ |
| 27 | " |
| 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | RDEPENDS:${PN} += "python3-core python3-fields" |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 30 | |
| 31 | BBCLASSEXTEND = "native nativesdk" |