Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 1 | SUMMARY = "A port of Ruby on Rails' inflection to Python." |
| 2 | HOMEPAGE = "https://pypi.org/project/inflection" |
| 3 | LICENSE = "MIT" |
| 4 | SECTION = "devel/python" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31" |
| 6 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 7 | SRC_URI[md5sum] = "c3287d4f0e3bdf625a52d655cc514403" |
| 8 | SRC_URI[sha256sum] = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417" |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 9 | |
| 10 | inherit pypi setuptools3 ptest |
| 11 | |
| 12 | SRC_URI +=" \ |
| 13 | file://run-ptest \ |
| 14 | " |
| 15 | |
| 16 | RDEPENDS_${PN}_ptest +=" \ |
| 17 | ${PYTHON_PN}_pytest \ |
| 18 | " |
| 19 | |
| 20 | do_install_ptest() { |
| 21 | cp -f ${S}/test_inflection.py ${D}${PTEST_PATH}/ |
| 22 | } |
| 23 | |
| 24 | |
| 25 | RDEPENDS_${PN} += "${PYTHON_PN}-pytest" |
| 26 | |
| 27 | BBCLASSEXTEND = "native nativesdk" |