diff --git a/debian/control b/debian/control index c1a4de1..1f6efbf 100644 --- a/debian/control +++ b/debian/control @@ -1,24 +1,29 @@ Source: python3-mirakuru +Section: python Priority: optional -Maintainer: Antoine R. Dumont -Build-Depends: debhelper (>= 11) +Maintainer: Software Heritage developers +Build-Depends: debhelper (>= 9), + dh-python (>= 2), + python3-all, + python3-setuptools, + python3-psutil, + python3-pytest, + python3-pytest-cov, + python3-mock, + python3-daemon Standards-Version: 4.1.3 -Section: libs -Homepage: -#Vcs-Browser: https://salsa.debian.org/debian/python3-mirakuru -#Vcs-Git: https://salsa.debian.org/debian/python3-mirakuru.git +Homepage: https://github.com/ClearcodeHQ/mirakuru -Package: python3-mirakuru-dev -Section: libdevel -Architecture: any -Multi-Arch: same -Depends: python3-mirakuruBROKEN (= ${binary:Version}), ${misc:Depends} -Description: - - -Package: python3-mirakuruBROKEN -Architecture: any -Multi-Arch: same -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: - +Package: python3-mirakuru +Architecture: all +Depends: python3-psutil, + ${misc:Depends}, + ${python3:Depends} +Description: Process executor for tests + Mirakuru is a process orchestration tool designed for functional and + integration tests. + . + Maybe you want to be able to start a database before you start your + program or maybe you just need to set additional services up for + your tests. This is where you should consider using mirakuru to add + superpowers to your program or tests. diff --git a/debian/copyright b/debian/copyright index f28e92f..7b7b399 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,38 +1,42 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: python3-mirakuru -Source: +Source: https://github.com/ClearcodeHQ/mirakuru Files: * -Copyright: - -License: - - +Copyright: 2013-2019 "Clearcode - The A Room " +License: LGPL + GNU Lesser General Public License v3.0 . - + Permissions of this copyleft license are conditioned on making + available complete source code of licensed works and modifications + under the same license or the GNU GPLv3. Copyright and license + notices must be preserved. Contributors provide an express grant of + patent rights. However, a larger work using the licensed work through + interfaces provided by the licensed work may be distributed under + different terms and without source code for the larger work. -# If you want to use GPL v2 or later for the /debian/* files use +# If you want to use GPL v2 or later for the /debian/* files use # the following clauses, or change it to suit. Delete these two lines Files: debian/* -Copyright: 2019 Antoine R. Dumont +Copyright: 2019 Antoine R. Dumont License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". # Please also look if there are files or directories which have a # different copyright/license attached and list them here. # Please avoid picking licenses with terms that are more restrictive than the # packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/rules b/debian/rules index e1c367c..1a44f55 100755 --- a/debian/rules +++ b/debian/rules @@ -1,25 +1,27 @@ #!/usr/bin/make -f + +export PYBUILD_NAME=mirakuru + # See debhelper(7) (uncomment to enable) # output every command that modifies files on the build system. #export DH_VERBOSE = 1 # see FEATURE AREAS in dpkg-buildflags(1) #export DEB_BUILD_MAINT_OPTIONS = hardening=+all # see ENVIRONMENT in dpkg-buildflags(1) # package maintainers to append CFLAGS #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic # package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: - dh $@ + dh $@ --with python3 --buildsystem=pybuild # dh_make generated override targets # This is example for Cmake (See https://bugs.debian.org/641051 ) #override_dh_auto_configure: # dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) -