1*44b3caf2SPatrick WilliamsSUMMARY = "Saves and loads to the cache a transformed versions of a source object." 2*44b3caf2SPatrick WilliamsHOMEPAGE = "https://github.com/hgrecco/flexcache" 3*44b3caf2SPatrick WilliamsLICENSE = "BSD-3-Clause" 4*44b3caf2SPatrick WilliamsLIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" 5*44b3caf2SPatrick WilliamsDEPENDS += "python3-setuptools-scm-native" 6*44b3caf2SPatrick WilliamsSRC_URI[sha256sum] = "18743bd5a0621bfe2cf8d519e4c3bfdf57a269c15d1ced3fb4b64e0ff4600656" 7*44b3caf2SPatrick Williams 8*44b3caf2SPatrick Williamsinherit pypi python_setuptools_build_meta ptest 9*44b3caf2SPatrick WilliamsPYPI_PACKAGE = "flexcache" 10*44b3caf2SPatrick Williams 11*44b3caf2SPatrick WilliamsSRC_URI += " \ 12*44b3caf2SPatrick Williams file://run-ptest \ 13*44b3caf2SPatrick Williams" 14*44b3caf2SPatrick Williams 15*44b3caf2SPatrick WilliamsRDEPENDS:${PN}-ptest += " \ 16*44b3caf2SPatrick Williams python3-pytest \ 17*44b3caf2SPatrick Williams python3-unittest-automake-output \ 18*44b3caf2SPatrick Williams" 19*44b3caf2SPatrick Williams 20*44b3caf2SPatrick Williamsdo_install_ptest() { 21*44b3caf2SPatrick Williams install -d ${D}${PTEST_PATH}/testsuite 22*44b3caf2SPatrick Williams cp -rf ${S}/flexcache/testsuite/* ${D}${PTEST_PATH}/testsuite/ 23*44b3caf2SPatrick Williams} 24*44b3caf2SPatrick Williams 25*44b3caf2SPatrick WilliamsRDEPENDS:${PN} += " \ 26*44b3caf2SPatrick Williams python3-compression \ 27*44b3caf2SPatrick Williams python3-email \ 28*44b3caf2SPatrick Williams python3-json \ 29*44b3caf2SPatrick Williams python3-pickle \ 30*44b3caf2SPatrick Williams python3-typing-extensions \ 31*44b3caf2SPatrick Williams" 32