python3-parse: Add recipe

Correct the license to MIT. The PyPI metadata says BSD, but the license
text in the code is actually MIT.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Robert Joslyn 2018-08-02 20:27:02 -07:00 committed by Khem Raj
parent edc253a4d2
commit 4f39906e1c
3 changed files with 18 additions and 13 deletions

View File

@ -0,0 +1,14 @@
SUMMARY = "Parse strings using a specification based on the Python format() syntax"
HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://parse.py;beginline=1273;endline=1291;md5=5147afdd9b3615290ad8733f0137a1a1"
SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b"
SRC_URI[sha256sum] = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939"
inherit pypi
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-logging \
"

View File

@ -1,13 +1,2 @@
SUMMARY = "Parse strings using a specification based on the Python format() syntax"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://parse.py;beginline=1273;endline=1291;md5=5147afdd9b3615290ad8733f0137a1a1"
SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b"
SRC_URI[sha256sum] = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939"
inherit pypi setuptools
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-logging \
"
inherit setuptools
require python-parse.inc

View File

@ -0,0 +1,2 @@
inherit setuptools3
require python-parse.inc