blob: cad9464ccf8a2afe5609afe8efffc8bc4461e883 (
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
|
SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=873757af01d2d221eedb422c4c1dd163"
DEPENDS = "python3-cython proj"
DEPENDS:append:class-target = " python3-cython-native proj-native"
inherit pypi python_setuptools_build_meta
SRC_URI += "file://rpath.patch"
SRC_URI[sha256sum] = "44aa7c704c2b7d8fb3d483bbf75af6cb2350d30a63b144279a09b75fead501bf"
RDEPENDS:${PN} = " \
python3-certifi \
python3-compression \
python3-json \
python3-logging \
python3-profile \
"
export PROJ_INCDIR = "${STAGING_INCDIR}"
export PROJ_LIBDIR = "${STAGING_LIBDIR}"
export PROJ_DIR = "${STAGING_BINDIR_NATIVE}/.."
do_compile:append() {
for f in `find ${B} -name *.c`
do
sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" $f
done
python_pep517_do_compile
}
|