Codebase list python-procrunner / debian/1.1.0-1
Initial packaging Sébastien Delafond 3 years ago
9 changed file(s) with 94 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 python-procrunner (1.1.0-1) unstable; urgency=medium
1
2 * First release (Closes: #962456)
3
4 -- Sebastien Delafond <seb@debian.org> Mon, 08 Jun 2020 13:47:32 +0200
0 Source: python-procrunner
1 Section: python
2 Priority: optional
3 Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
4 Uploaders: Sebastien Delafond <seb@debian.org>
5 Build-Depends: debhelper (>= 12), dh-python, python3-setuptools, python3-all, python3-pytest-runner, python3-pytest, python3-mock
6 Standards-Version: 4.5.0
7 Homepage: https://github.com/DiamondLightSource/python-procrunner
8 Vcs-Browser: https://salsa.debian.org/science-team/python-procrunner
9 Vcs-Git: https://salsa.debian.org/science-team/python-procrunner.git
10
11 Package: python3-procrunner
12 Architecture: any
13 Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends}
14 Description: Versatile utility function to run external processes from Python
15 Versatile utility function to run external processes from Python, with many
16 features:
17 * runs an external process and waits for it to finish
18 * does not deadlock, no matter the process stdout/stderr output
19 behaviour
20 * returns the exit code, stdout, stderr (separately, both as
21 bytestrings), and the total process runtime as a dictionary
22 * process can run in a custom environment, either as a modification
23 of the current environment or in a new environment from scratch
24 * stdin can be fed to the process, the returned dictionary contains
25 information how much was read by the process
26 * stdout and stderr is printed by default, can be disabled
27 * stdout and stderr can be passed to any arbitrary function for live
28 processing (separately, both as unicode strings)
29 * optionally enforces a time limit on the process
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: python-procrunner
2 Source: https://github.com/DiamondLightSource/python-procrunner
3
4 Files: *
5 Copyright: Markus Gerstel; 2018 Diamond Light Source.
6 License: BSD-3
7
8 Files: debian/*
9 Copyright: 2020 Sebastien Delafond <seb@debian.org>
10 License: BSD-3
11
12 License: BSD-3
13 Copyright (c) The Regents of the University of California.
14 All rights reserved.
15 .
16 Redistribution and use in source and binary forms, with or without
17 modification, are permitted provided that the following conditions
18 are met:
19 1. Redistributions of source code must retain the above copyright
20 notice, this list of conditions and the following disclaimer.
21 2. Redistributions in binary form must reproduce the above copyright
22 notice, this list of conditions and the following disclaimer in the
23 documentation and/or other materials provided with the distribution.
24 3. Neither the name of the University nor the names of its contributors
25 may be used to endorse or promote products derived from this software
26 without specific prior written permission.
27 .
28 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
29 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
31 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
32 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 SUCH DAMAGE.
0 [DEFAULT]
1 debian-branch = debian/master
2 upstream-branch = upstream/latest
0 #!/usr/bin/make -f
1
2 export PYBUILD_NAME=python-procrunner
3 #export PYBUILD_DISABLE=test
4 # export PYBUILD_VERSIONS=3.8
5 # export PYBUILD_INTERPRETERS=python{version}
6
7 %:
8 dh $@ --with python3 --buildsystem=pybuild
0 ---
1 include:
2 - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
3 - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
0 3.0 (quilt)
0 version=3
1 https://github.com/DiamondLightSource/python-procrunner/tags .*/v(\d[\d\.]*)\.tar\.gz debian uupdate