[med-svn] [Git][python-team/packages/python-ciso8601][master] 2 commits: d/copyright: Update copyright of all files and add missing copyrights
Lance Lin (@linqigang)
gitlab at salsa.debian.org
Fri Nov 10 12:48:03 GMT 2023
Lance Lin pushed to branch master at Debian Python Team / packages / python-ciso8601
Commits:
5b5134a8 by Lance Lin at 2023-11-10T19:20:28+07:00
d/copyright: Update copyright of all files and add missing copyrights
- - - - -
7e8816a1 by Lance Lin at 2023-11-10T19:47:07+07:00
d/tests: Test all supported python versions
- - - - -
4 changed files:
- debian/changelog
- debian/copyright
- debian/tests/control
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -5,6 +5,8 @@ python-ciso8601 (2.3.1-1) UNRELEASED; urgency=medium
* Standards-Version: 4.6.2 (routine-update)
* d/clean: Remove autogenerated files (Closes: #1046261)
* d/patches: Remove /etc/timezone reference (Closes: #1038844)
+ * d/copyright: Update copyright of all files and add missing copyrights
+ * d/tests: Test all supported python versions
-- Lance Lin <lq27267 at gmail.com> Tue, 07 Nov 2023 21:25:13 +0700
=====================================
debian/copyright
=====================================
@@ -3,7 +3,15 @@ Upstream-Name: ciso8601
Source: http://pypi.debian.net/ciso8601
Files: *
-Copyright: 2016 closeio, tomst
+Copyright: 2014 Close.io
+License: MIT
+
+Files: isocalendar.c
+Copyright: 2001-2022 Python
+License: MIT
+
+Files: timezone.c
+Copyright: 2015 Sébastien Eustace
License: MIT
Files: debian/*
=====================================
debian/tests/control
=====================================
@@ -1,4 +1,4 @@
-Test-Command: python3 -c "import ciso8601 ; x=ciso8601.parse_datetime('2020-04-21T21:16:45.123456-04:30'); print(x, type(x).__name__); y=ciso8601.parse_datetime('20200421T211645'); print(y, type(y).__name__)"
+Test-Command: for py in $(py3versions -s); do $py -c "import ciso8601 ; x=ciso8601.parse_datetime('2020-04-21T21:16:45.123456-04:30'); print(x, type(x).__name__); y=ciso8601.parse_datetime('20200421T211645'); print(y, type(y).__name__)"; done;
Depends: @
Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -3,6 +3,7 @@ set -e
pkg=python-ciso8601
CUR_DIR=`pwd`
+pys=`py3versions -s`
if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
@@ -13,4 +14,7 @@ cd "${AUTOPKGTEST_TMP}"
cp ${CUR_DIR}/tests . -a
cp ${CUR_DIR}/generate_test_timestamps.py .
-python3 -m unittest -v
+for py in $pys
+do
+ $py -m unittest -v
+done
View it on GitLab: https://salsa.debian.org/python-team/packages/python-ciso8601/-/compare/85da1efdb219a5ff1c0b740108c9e877e77cd48b...7e8816a1344db67d77940311f19459f5704ada75
--
View it on GitLab: https://salsa.debian.org/python-team/packages/python-ciso8601/-/compare/85da1efdb219a5ff1c0b740108c9e877e77cd48b...7e8816a1344db67d77940311f19459f5704ada75
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20231110/5f9fccf3/attachment-0001.htm>
More information about the debian-med-commit
mailing list