aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linknx/linknx_0.0.1.26.bb
blob: 5fe2ef5b9321072f9521c502f6ac3f2aca32ea96 (plain)
1
2
3
4
5
6
7
8
9
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/linknx/linknx-${PV}.tar.gz \
           file://logger-initialisations.patch;patch=1 \
           "

require linknx.inc
SRC_URI[md5sum] = "21956fe0ca7072e08b8fe096c61c4f2d"
SRC_URI[sha256sum] = "cbc7e781fad9ac4704b7bf24b95e3de480fbcce6884e595109d18d0027d3b2fa"
-openembedded-contrib/tree/meta-python?h=paule/python-pyfirmata&id=1fdecc334ec50875786acd2a50a4cb45ebd05b63'>meta-python/recipes-devtools/python/python3-cython_0.26.1.bb
blob: 2ce6bdbd68b711b7142e94532ed939312abcb636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
inherit setuptools3
require python-cython.inc

RDEPENDS_${PN} += "\
    python3-setuptools \
"

# running build_ext a second time during install fails, because Python
# would then attempt to import cythonized modules built for the target
# architecture.
DISTUTILS_INSTALL_ARGS += "--skip-build"

do_install_append() {
    # rename scripts that would conflict with the Python 2 build of Cython
    mv ${D}${bindir}/cython ${D}${bindir}/cython3
    mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3
    mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3
}