diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-04 15:12:18 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-06-08 13:58:02 -0700 |
commit | b52e9bde2edafa023cc51e95b7dd31d20615fd9a (patch) | |
tree | 321c9730ce954804287c27966b7dcdfeb1c9a812 | |
parent | 736030a9aaa9b5d03e6d7b1b9bee609aa9e1bcc7 (diff) | |
download | meta-openembedded-b52e9bde2edafa023cc51e95b7dd31d20615fd9a.tar.gz |
python3-dateutil: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python-dateutil.inc | 25 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-dateutil_2.8.1.bb | 27 |
2 files changed, 25 insertions, 27 deletions
diff --git a/meta-python/recipes-devtools/python/python-dateutil.inc b/meta-python/recipes-devtools/python/python-dateutil.inc deleted file mode 100644 index e70e963e9c..0000000000 --- a/meta-python/recipes-devtools/python/python-dateutil.inc +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Extensions to the standard Python datetime module" -DESCRIPTION = "The dateutil module provides powerful extensions to the datetime module available in the Python standard library." -HOMEPAGE = "https://dateutil.readthedocs.org" -LICENSE = "BSD-3-Clause & Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996" - -SRC_URI[md5sum] = "f2a1d4b680b297b367a974664ca3a4f6" -SRC_URI[sha256sum] = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c" - -PYPI_PACKAGE = "python-dateutil" -inherit pypi - -PACKAGES =+ "${PN}-zoneinfo" -FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-stringold \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-dateutil_2.8.1.bb b/meta-python/recipes-devtools/python/python3-dateutil_2.8.1.bb index 1d2baf55c9..fb7db162c4 100644 --- a/meta-python/recipes-devtools/python/python3-dateutil_2.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-dateutil_2.8.1.bb @@ -1,2 +1,25 @@ -inherit setuptools3 -require python-dateutil.inc +SUMMARY = "Extensions to the standard Python datetime module" +DESCRIPTION = "The dateutil module provides powerful extensions to the datetime module available in the Python standard library." +HOMEPAGE = "https://dateutil.readthedocs.org" +LICENSE = "BSD-3-Clause & Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996" + +SRC_URI[md5sum] = "f2a1d4b680b297b367a974664ca3a4f6" +SRC_URI[sha256sum] = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c" + +PYPI_PACKAGE = "python-dateutil" +inherit pypi setuptools3 + +PACKAGES =+ "${PN}-zoneinfo" +FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-stringold \ +" + +BBCLASSEXTEND = "native" |