blob: aafb5698543ddc3b254920fe7e6d0960f9b5a599 [file] [log] [blame]
Jackie Huang57fdea72020-04-23 11:29:15 +08001#
2## Copyright (C) 2019 Wind River Systems, Inc.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16SUMMARY = "Extensions to the standard Python datetime module"
17DESCRIPTION = "The dateutil module provides powerful extensions to the datetime module available in the Python standard library."
18HOMEPAGE = "https://dateutil.readthedocs.org"
19LICENSE = "BSD-3-Clause & Apache-2.0"
20LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996"
21
22SRC_URI[md5sum] = "f2a1d4b680b297b367a974664ca3a4f6"
23SRC_URI[sha256sum] = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c"
24
25PYPI_PACKAGE = "python-dateutil"
26inherit pypi
27
28PACKAGES =+ "${PN}-zoneinfo"
29FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo"
30
31DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
32
33RDEPENDS_${PN}_class-target = "\
34 ${PYTHON_PN}-datetime \
35 ${PYTHON_PN}-numbers \
36 ${PYTHON_PN}-six \
37 ${PYTHON_PN}-stringold \
38"