Jackie Huang | 57fdea7 | 2020-04-23 11:29:15 +0800 | [diff] [blame] | 1 | # |
| 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 | |
| 16 | SUMMARY = "Extensions to the standard Python datetime module" |
| 17 | DESCRIPTION = "The dateutil module provides powerful extensions to the datetime module available in the Python standard library." |
| 18 | HOMEPAGE = "https://dateutil.readthedocs.org" |
| 19 | LICENSE = "BSD-3-Clause & Apache-2.0" |
| 20 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996" |
| 21 | |
| 22 | SRC_URI[md5sum] = "f2a1d4b680b297b367a974664ca3a4f6" |
| 23 | SRC_URI[sha256sum] = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c" |
| 24 | |
| 25 | PYPI_PACKAGE = "python-dateutil" |
| 26 | inherit pypi |
| 27 | |
| 28 | PACKAGES =+ "${PN}-zoneinfo" |
| 29 | FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo" |
| 30 | |
| 31 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" |
| 32 | |
| 33 | RDEPENDS_${PN}_class-target = "\ |
| 34 | ${PYTHON_PN}-datetime \ |
| 35 | ${PYTHON_PN}-numbers \ |
| 36 | ${PYTHON_PN}-six \ |
| 37 | ${PYTHON_PN}-stringold \ |
| 38 | " |