Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Software Construction tool (make/autotools replacement)" |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://github.com/SCons/scons" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 3 | SECTION = "devel/python" |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE-python3-scons-${PV};md5=e14e1b33428df24a40a782ae142785d0" |
| 6 | |
| 7 | # pypi package does not have a valid license file |
| 8 | SRC_URI += "https://raw.githubusercontent.com/SCons/scons/${PV}/LICENSE;downloadfilename=LICENSE-python3-scons-${PV};name=license" |
| 9 | |
| 10 | SRC_URI[md5sum] = "f9c4ad06dcf1427be95472eaf380c81a" |
| 11 | SRC_URI[sha256sum] = "8aaa483c303efeb678e6f7c776c8444a482f8ddc3ad891f8b6cdd35264da9a1f" |
| 12 | SRC_URI[license.md5sum] = "e14e1b33428df24a40a782ae142785d0" |
| 13 | SRC_URI[license.sha256sum] = "72ed889165fb28378cadac14552be4a959f1ebab6b148abb5dd2b49712c3c6f6" |
| 14 | |
| 15 | S = "${WORKDIR}/scons-${PV}" |
| 16 | |
| 17 | UPSTREAM_CHECK_URI = "http://scons.org/pages/download.html" |
| 18 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" |
| 19 | |
| 20 | inherit pypi setuptools3 |
| 21 | |
| 22 | do_install_prepend() { |
| 23 | sed -i -e "1s,#!.*python.*,#!${USRBINPATH}/env python3," ${S}/script/* |
| 24 | } |
| 25 | |
| 26 | RDEPENDS_${PN}_class-target = "\ |
| 27 | python3-core \ |
| 28 | python3-fcntl \ |
| 29 | python3-io \ |
| 30 | python3-json \ |
| 31 | python3-shell \ |
| 32 | python3-pickle \ |
| 33 | python3-pprint \ |
| 34 | " |