Codebase list python-dateutil / 4212629
Remove Python 2 support Closes: #948295 Guido Günther 4 years ago
6 changed file(s) with 1 addition(s) and 37 deletion(s). Raw diff Collapse all Expand all
77 python3-setuptools,
88 python3-setuptools-scm,
99 python3-six,
10 python-all (>= 2.6.6-3~),
11 python-setuptools,
12 python-setuptools-scm,
13 python-six,
1410 Standards-Version: 4.0.0
1511 Vcs-Git: https://salsa.debian.org/agx/python-dateutil.git
1612 Vcs-Browser: https://salsa.debian.org/agx/python-dateutil
17 X-Python-Version: >= 2.3
1813 X-Python3-Version: >= 3.2
19
20 Package: python-dateutil
21 Architecture: all
22 Depends: ${python:Depends}, ${misc:Depends}, tzdata
23 XB-Python-Version: ${python:Version}
24 Breaks: python-icalendar (<< 4.0.3-2~),
25 python-vobject (<< 0.9.6.1-0.1~),
26 Description: powerful extensions to the standard Python datetime module
27 It features:
28 .
29 * computing of relative deltas (next month, next year, next monday, last week
30 of month, etc);
31 * computing of relative deltas between two given date and/or datetime objects
32 * computing of dates based on very flexible recurrence rules, using a superset
33 of the iCalendar specification. Parsing of RFC strings is supported as well.
34 * generic parsing of dates in almost any string format
35 * timezone (tzinfo) implementations for tzfile(5) format files
36 (/etc/localtime, /usr/share/zoneinfo, etc), TZ environment string (in all
37 known formats), iCalendar format files, given ranges (with help from
38 relative deltas), local machine timezone, fixed offset timezone, UTC
39 timezone
40 * computing of Easter Sunday dates for any given year, using Western, Orthodox
41 or Julian algorithms
42 .
43 This package provides the Python 2 version of the datetime module.
4414
4515 Package: python3-dateutil
4616 Architecture: all
+0
-1
debian/python-dateutil.install less more
0 debian/tmp/usr/lib/python2.?/
+0
-1
debian/python3-dateutil.install less more
0 debian/tmp/usr/lib/python3.?/
33 #export DH_VERBOSE=1
44
55 %:
6 dh $@ --with python2,python3 --buildsystem=pybuild
6 dh $@ --with python3 --buildsystem=pybuild
77
88 override_dh_auto_install:
99 dh_auto_install $@
00 Tests: upstream
11 Depends: @,
2 python-freezegun,
3 python-hypothesis,
4 python-pytest,
52 python3-freezegun,
63 python3-hypothesis,
74 python3-pytest,
1111
1212 cp -a dateutil/test $TMPDIR
1313 cd $TMPDIR
14 python -mpytest
1514 python3 -mpytest