python{, 3}-pint: add recipes for python2 and python3

Add recipe for physical quantities module for python2 and
python3 infrastructure of Yocto.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jens Rehsack 2018-08-27 13:07:33 +02:00 committed by Khem Raj
parent e78cf91307
commit c591e5d84c
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,15 @@
DESCRIPTION = "Interval arithmetic for Python"
HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
PYPI_PACKAGE := "Pint"
inherit pypi
SRC_URI[md5sum] = "e1f80f3f8fc4e61f68ad3912db26b3a8"
SRC_URI[sha256sum] = "afcf31443a478c32bbac4b00337ee9026a13d0e2ac83d30c79151462513bb0d4"
BBCLASSEXTEND = "native"

View File

@ -0,0 +1,2 @@
inherit setuptools
require python-pint.inc

View File

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