aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/python-dateutil/ya.make
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2023-10-10 11:35:31 +0300
committershadchin <shadchin@yandex-team.com>2023-10-10 11:54:48 +0300
commit656bb1fb2814e586db5de6166ebbb17363d5325b (patch)
tree31b755ba74120fea597c6d00ce9ff1d0ca7b728a /contrib/python/python-dateutil/ya.make
parent3896b7591b5f3231ceb4bfe69cf9863b237d8b78 (diff)
downloadydb-656bb1fb2814e586db5de6166ebbb17363d5325b.tar.gz
Split python-dateutil on py2/py3
Diffstat (limited to 'contrib/python/python-dateutil/ya.make')
-rw-r--r--contrib/python/python-dateutil/ya.make53
1 files changed, 9 insertions, 44 deletions
diff --git a/contrib/python/python-dateutil/ya.make b/contrib/python/python-dateutil/ya.make
index 85792cfed6..ed3aac7d91 100644
--- a/contrib/python/python-dateutil/ya.make
+++ b/contrib/python/python-dateutil/ya.make
@@ -1,53 +1,18 @@
-# Generated by devtools/yamaker (pypi).
-
PY23_LIBRARY()
-VERSION(2.8.2)
-
-LICENSE(BSD-3-Clause)
+LICENSE(Service-Py23-Proxy)
-PEERDIR(
- contrib/python/six
-)
+IF (PYTHON2)
+ PEERDIR(contrib/python/python-dateutil/py2)
+ELSE()
+ PEERDIR(contrib/python/python-dateutil/py3)
+ENDIF()
NO_LINT()
-NO_CHECK_IMPORTS(
- dateutil.tz.win
- dateutil.tzwin
-)
-
-PY_SRCS(
- TOP_LEVEL
- dateutil/__init__.py
- dateutil/_common.py
- dateutil/_version.py
- dateutil/easter.py
- dateutil/parser/__init__.py
- dateutil/parser/_parser.py
- dateutil/parser/isoparser.py
- dateutil/relativedelta.py
- dateutil/rrule.py
- dateutil/tz/__init__.py
- dateutil/tz/_common.py
- dateutil/tz/_factories.py
- dateutil/tz/tz.py
- dateutil/tz/win.py
- dateutil/tzwin.py
- dateutil/utils.py
- dateutil/zoneinfo/__init__.py
- dateutil/zoneinfo/rebuild.py
-)
-
-RESOURCE_FILES(
- PREFIX contrib/python/python-dateutil/
- .dist-info/METADATA
- .dist-info/top_level.txt
- dateutil/zoneinfo/dateutil-zoneinfo.tar.gz
-)
-
END()
-RECURSE_FOR_TESTS(
- tests
+RECURSE(
+ py2
+ py3
)