[med-svn] [Git][med-team/atropos][master] 4 commits: d/control: B-D on python3-all-dev instead of python3-dev in order to build...

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Mon Apr 4 18:37:00 BST 2022



Nilesh Patra pushed to branch master at Debian Med / atropos


Commits:
a08bc542 by Nilesh Patra at 2022-04-04T22:52:08+05:30
d/control: B-D on python3-all-dev instead of python3-dev in order to build extensions for all supported versions

- - - - -
09dcbdc6 by Nilesh Patra at 2022-04-04T22:52:25+05:30
d/t/control: Update test deps

- - - - -
c6936891 by Nilesh Patra at 2022-04-04T22:53:09+05:30
d/t/run-unit-test: Do not test inplace, rather in AUTOPKGTEST_TMP

- - - - -
e3ba4142 by Nilesh Patra at 2022-04-04T22:53:52+05:30
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/tests/control
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,17 @@
+atropos (1.1.31+dfsg-3) unstable; urgency=medium
+
+  * Team Upload.
+  [ Mohammed Bilal ]
+  * Initialize autopkgtest
+
+  [ Nilesh Patra ]
+  * d/control: B-D on python3-all-dev instead of python3-dev in
+    order to build extensions for all supported versions
+  * d/t/control: Update test deps
+  * d/t/run-unit-test: Do not test inplace, rather in AUTOPKGTEST_TMP
+
+ -- Nilesh Patra <nilesh at debian.org>  Mon, 04 Apr 2022 22:53:19 +0530
+
 atropos (1.1.31+dfsg-2) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-python,
                cython3,
-               python3-dev,
+               python3-all-dev,
                python3-setuptools,
                python3-setuptools-scm,
                python3-wheel,


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
 Tests: run-unit-test
-Depends: @, python3-all, python3-dev, python3-setuptools
+Depends: @, python3-all, python3-pytest
 Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -2,11 +2,19 @@
 set -e
 
 pkg=atropos
+CUR_DIR=`pwd`
 
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a ${CUR_DIR}/tests $AUTOPKGTEST_TMP
+cd $AUTOPKGTEST_TMP
 
 for py in $(py3versions -s 2> /dev/null)
 do
-	$py setup.py build_ext --inplace
 	$py -m pytest -v
 done
 



View it on GitLab: https://salsa.debian.org/med-team/atropos/-/compare/18808ed7987f92face98a839bd945154ed39bf3d...e3ba414264c2adb0918ea097596e2210005c1628

-- 
View it on GitLab: https://salsa.debian.org/med-team/atropos/-/compare/18808ed7987f92face98a839bd945154ed39bf3d...e3ba414264c2adb0918ea097596e2210005c1628
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/20220404/7c2a47f8/attachment-0001.htm>


More information about the debian-med-commit mailing list