python-pytz: provide both python2 and python3 packages

Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Pascal Bach
2017-01-05 18:12:30 +01:00
committed by Martin Jansa
parent 43b62423d6
commit 0c41b5e314
3 changed files with 19 additions and 15 deletions
+15
View File
@@ -0,0 +1,15 @@
SUMMARY = "World timezone definitions, modern and historical"
HOMEPAGE = "http://pythonhosted.org/pytz"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22b38951eb857cf285a4560a914b7cd6"
inherit pypi
SRC_URI[md5sum] = "8660ba7c3c0abd23e6e4efa493b02966"
SRC_URI[sha256sum] = "8787de03f35f31699bcaf127e56ad14c00647965ed24d72dbaca87c6e4f843a3"
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-io \
${PYTHON_PN}-threading \
"
+2 -15
View File
@@ -1,15 +1,2 @@
SUMMARY = "World timezone definitions, modern and historical"
HOMEPAGE = " http://pythonhosted.org/pytz"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22b38951eb857cf285a4560a914b7cd6"
SRC_URI[md5sum] = "8660ba7c3c0abd23e6e4efa493b02966"
SRC_URI[sha256sum] = "8787de03f35f31699bcaf127e56ad14c00647965ed24d72dbaca87c6e4f843a3"
inherit pypi setuptools
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-io \
${PYTHON_PN}-threading \
"
inherit setuptools
require python-pytz.inc
@@ -0,0 +1,2 @@
inherit setuptools3
require python-pytz.inc