aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-inotify_git.bb
blob: 582599bca89811cb288c85756e32ec9085b9f52c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
SUMMARY = "An adapter to Linux kernel support for inotify directory-watching."
HOMEPAGE = "https://pypi.org/project/inotify/"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://setup.py;md5=79b7ec72aa0d446a552d3cceb5799e41;beginline=28;endline=28"

SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6c02a07"

SRC_URI = " \
    git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \
    file://new-test-inotify.patch \
    file://run-ptest \
"

SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f"

S = "${WORKDIR}/git"

inherit setuptools3 ptest

RDEPENDS:${PN} += " \
    python3-ctypes \
    python3-logging \
"

RDEPENDS:${PN}-ptest += " \
    python3-pytest \
    python3-unittest-automake-output \
"

do_install_ptest() {
    install -d ${D}${PTEST_PATH}/tests
    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}