Merge pull request #567 from bulwahn/use-pypi-class

use pypi class for python recipes (resolves #566)
This commit is contained in:
Dmitry Rozhkov 2017-12-13 11:02:44 +02:00 committed by GitHub
commit e01c6ace0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 9 deletions

View File

@ -2,12 +2,11 @@ DESCRIPTION = "catkin package library"
SECTION = "devel/python"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
SRCNAME = "catkin_pkg"
PYPI_PACKAGE = "catkin_pkg"
SRC_URI = "https://pypi.python.org/packages/source/c/catkin_pkg/catkin_pkg-${PV}.tar.gz"
SRC_URI[md5sum] = "da93566c65dddfa9f821e18944c5ee5e"
SRC_URI[sha256sum] = "d4d069eaeb29d6a9ee71773b20c41515b6e0feb9ea2765ebaf3e599d0ceef050"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit pypi
BBCLASSEXTEND = "native"

View File

@ -2,12 +2,11 @@ DESCRIPTION = "Clean single-source support for Python 3 and 2"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f457538b297bd0ef86564b8ac216ad7"
SRCNAME = "future"
PYPI_PACKAGE = "future"
SRC_URI = "https://pypi.python.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-${PV}.tar.gz"
SRC_URI[md5sum] = "3e8e88a2bda48d54b1da7634d04760d7"
SRC_URI[sha256sum] = "e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit pypi
BBCLASSEXTEND += "native"

View File

@ -2,10 +2,9 @@ DESCRIPTION = "Portable network interface information for Python"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e138ba973c148df"
SRCNAME = "netifaces"
PYPI_PACKAGE = "netifaces"
SRC_URI = "https://pypi.python.org/packages/a7/4c/8e0771a59fd6e55aac993a7cc1b6a0db993f299514c464ae6a1ecf83b31d/netifaces-0.10.5.tar.gz"
SRC_URI[md5sum] = "5b4d1f1310ed279e6df27ef3a9b71519"
SRC_URI[sha256sum] = "59d8ad52dd3116fcb6635e175751b250dc783fb011adba539558bd764e5d628b"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit pypi

View File

@ -0,0 +1,16 @@
DESCRIPTION = "A Python Interface To The cURL library"
SECTION = "devel/python"
LICENSE = "LGPL-2.1 | MIT"
LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \
file://COPYING-MIT;md5=b7e434aeb228ed731c00bcf177e79b19"
SRCNAME = "pycurl"
DEPENDS = "curl"
SRC_URI = "https://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
SRC_URI[md5sum] = "c94bdba01da6004fa38325e9bd6b9760"
SRC_URI[sha256sum] = "aa975c19b79b6aa6c0518c0cc2ae33528900478f0b500531dbcdbf05beec584c"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils