Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Library to implement a well-behaved Unix daemon process" |
| 2 | HOMEPAGE = "https://pagure.io/python-daemon/" |
| 3 | SECTION = "devel/python" |
| 4 | |
| 5 | DEPENDS = "python-docutils" |
| 6 | RDEPENDS_${PN} = "python-docutils \ |
| 7 | python-lockfile (>= 0.10) \ |
| 8 | python-resource \ |
| 9 | " |
| 10 | |
| 11 | LICENSE = "Apache-2.0" |
| 12 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 13 | |
| 14 | inherit pypi setuptools |
| 15 | |
| 16 | SRC_URI[md5sum] = "9c57343d81f2a96c51cffeab982b04d2" |
| 17 | SRC_URI[sha256sum] = "261c859be5c12ae7d4286dc6951e87e9e1a70a882a8b41fd926efc1ec4214f73" |
| 18 | |
| 19 | # Fix for build error in Yocto: |
| 20 | # i = p.rfind('/') + 1 |
| 21 | # AttributeError: 'NoneType' object has no attribute 'rfind' |
| 22 | #S = "${WORKDIR}/python-daemon" |
| 23 | SRC_URI_append = " \ |
| 24 | file://0001-Workaround-for-issue-2-1.patch \ |
| 25 | " |
| 26 | |
| 27 | PYPI_PACKAGE = "python-daemon" |