python-enum: add recipe

* recipe was stolen from
  http://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/plain/meta-openstack/recipes-devtools/python/python-enum_0.4.4.bb

* remove the DEPENDS and RDEPENDS line, because they
  are not needed

* do not build the dev and dbg packages

Fixes: SYS#1082
This commit is contained in:
Henning Heinold 2015-06-09 18:26:02 +02:00 committed by Holger Hans Peter Freyther
parent dc739f3c27
commit 3078014afc
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
SUMMARY = "Robust enumerated type support in Python"
DESCRIPTION = "This package provides a module for robust enumerations in Python."
HOMEPAGE = "https://pypi.python.org/pypi/enum"
SECTION = "devel/python"
LICENSE = "GPLv2 | PSFv2"
LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=4325afd396febcb659c36b49533135d4 \
file://LICENSE.PSF;md5=1ad8a43fc3bbfea1585223c99f4c3e6f \
"
SRCNAME = "enum"
SRC_URI = "http://pypi.python.org/packages/source/e/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
SRC_URI[md5sum] = "ce75c7c3c86741175a84456cc5bd531e"
SRC_URI[sha256sum] = "9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
PACKAGES = "${PN}"