[med-svn] [Git][med-team/python-pycosat][master] 10 commits: Add README.Debian

Andreas Tille gitlab at salsa.debian.org
Tue Aug 20 10:10:00 BST 2019



Andreas Tille pushed to branch master at Debian Med / python-pycosat


Commits:
14c069d8 by Andreas Tille at 2019-03-10T14:38:41Z
Add README.Debian

- - - - -
630ce1f2 by Andreas Tille at 2019-03-11T07:33:01Z
Run build time test

- - - - -
68469e0f by Andreas Tille at 2019-03-11T07:33:11Z
Upload to unstable

- - - - -
5435fffd by Andreas Tille at 2019-08-20T08:58:10Z
debhelper-compat 12

- - - - -
d6494360 by Andreas Tille at 2019-08-20T08:58:13Z
Standards-Version: 4.4.0

- - - - -
53904ae8 by Andreas Tille at 2019-08-20T08:58:18Z
Set upstream metadata fields: Name.

Fixes lintian: upstream-metadata-file-is-missing
See https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html for more details.

- - - - -
63506147 by Andreas Tille at 2019-08-20T08:59:23Z
Upload to unstable

- - - - -
a82c93c1 by Andreas Tille at 2019-08-20T09:02:43Z
Strip changelog after routine-update

- - - - -
c09e15d5 by Andreas Tille at 2019-08-20T09:05:56Z
Add autopkgtest

- - - - -
0d720bb9 by Andreas Tille at 2019-08-20T09:07:34Z
Upload to unstable

- - - - -


9 changed files:

- + debian/README.Debian
- debian/changelog
- − debian/compat
- debian/control
- + debian/examples
- debian/rules
- + debian/tests/control
- + debian/tests/run-unit-test
- + debian/upstream/metadata


Changes:

=====================================
debian/README.Debian
=====================================
@@ -0,0 +1,7 @@
+pycosat for Debian
+==================
+
+This is packaged as a predepencency for conda.
+
+ -- Andreas Tille <tille at debian.org>  Sun, 10 Mar 2019 15:38:19 +0100
+


=====================================
debian/changelog
=====================================
@@ -1,5 +1,5 @@
-python-pycosat (0.6.3+dfsg-1) UNRELEASED; urgency=low
+python-pycosat (0.6.3+dfsg-1) unstable; urgency=low
 
-  * Initial release. (Closes: #???)
+  * Initial release. (Closes: #924294)
 
- -- Andreas Tille <tille at debian.org>  Wed, 28 Nov 2018 16:59:12 +0100
+ -- Andreas Tille <tille at debian.org>  Tue, 20 Aug 2019 11:06:13 +0200


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-12


=====================================
debian/control
=====================================
@@ -4,11 +4,11 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: python
 Testsuite: autopkgtest-pkg-python
 Priority: optional
-Build-Depends: debhelper (>= 12),
+Build-Depends: debhelper-compat (= 12),
                dh-python,
                python3-all-dev,
                picosat
-Standards-Version: 4.3.0
+Standards-Version: 4.4.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-pycosat
 Vcs-Git: https://salsa.debian.org/med-team/python-pycosat.git
 Homepage: https://pypi.org/project/pycosat/


=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+test_pycosat.py


=====================================
debian/rules
=====================================
@@ -5,3 +5,12 @@ export PYBUILD_DISABLE_python2 = 1
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	cd $(shell pybuild --print build_dir --interpreter python3) && python3 test_pycosat.py
+endif
+
+override_dh_install:
+	dh_install
+	find debian -name "test_*.py" -delete


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,18 @@
+#!/bin/bash
+set -e
+
+pkg=python3-pycosat
+
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  # Double quote below to expand the temporary directory variable now versus
+  # later is on purpose.
+  # shellcheck disable=SC2064
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+python3 test_pycosat.py


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1 @@
+Name: pycosat



View it on GitLab: https://salsa.debian.org/med-team/python-pycosat/compare/0e52540db08a51fde15400cb82cec9151dea8fc3...0d720bb9488e16b45927c8f7dfc0f4e78250449b

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pycosat/compare/0e52540db08a51fde15400cb82cec9151dea8fc3...0d720bb9488e16b45927c8f7dfc0f4e78250449b
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/20190820/c0736052/attachment-0001.html>


More information about the debian-med-commit mailing list