Control: tags 937897 + patch
Dear maintainer, I've prepared an NMU for python-lockfile (versioned as 1:0.12.2-2.1). The diff is attached to this message. Regards.
diff -Nru python-lockfile-0.12.2/debian/changelog python-lockfile-0.12.2/debian/changelog --- python-lockfile-0.12.2/debian/changelog 2016-08-21 01:59:20.000000000 -0400 +++ python-lockfile-0.12.2/debian/changelog 2020-03-13 19:12:13.000000000 -0400 @@ -1,3 +1,10 @@ +python-lockfile (1:0.12.2-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Drop python2 support; Closes: #937897, #939930 + + -- Sandro Tosi <mo...@debian.org> Fri, 13 Mar 2020 19:12:13 -0400 + python-lockfile (1:0.12.2-2) unstable; urgency=medium * The “Tuğçe Albayrak” release. diff -Nru python-lockfile-0.12.2/debian/control python-lockfile-0.12.2/debian/control --- python-lockfile-0.12.2/debian/control 2016-08-21 01:59:20.000000000 -0400 +++ python-lockfile-0.12.2/debian/control 2020-03-13 19:01:33.000000000 -0400 @@ -11,42 +11,9 @@ python3-nose, python3-sphinx, python3-all, - python-setuptools, - python-pbr (>= 1.8), - python-nose, - python-all Standards-Version: 3.9.8 VCS-Git: https://notabug.org/bignose/debian_python-lockfile.git VCS-Browser: https://notabug.org/bignose/debian_python-lockfile/ -X-Python-Version: >= 2.7 -X-Python3-Version: >= 3.2 - -Package: python-lockfile -Architecture: all -Depends: - ${python:Depends}, - ${misc:Depends} -Suggests: python-lockfile-doc -Description: file locking library for Python — Python 2 library - The ‘lockfile’ library exports a ‘LockFile’ class which provides a - simple API for locking files. - . - The appropriate implementation for ‘LockFile’ is chosen automatically - based on the OS capabilities for an atomic filesystem operation. - These implementations are also available for explicit use as - ‘LinkLockFile’ and ‘MkdirLockFile’. - . - Other back ends are possible with the same semantics. Examples - included are: - * ‘SQLiteLockFile’, using records in an SQLite database. - * ‘PIDLockFile’, using the semantics of a Unix PID file. - . - Unlike other Python locking libraries (the Windows ‘msvcrt.locking’ - function, the Unix ‘fcntl.flock’, ‘fcntl.lockf’, and the deprecated - ‘posixfile’ module), the API is identical across both Unix (including - GNU/Linux and MacOS) and Windows platforms. - . - This package installs the Python 2 library. Package: python3-lockfile Architecture: all @@ -81,7 +48,7 @@ Depends: ${sphinxdoc:Depends}, ${misc:Depends} -Recommends: python-lockfile +Recommends: python3-lockfile Description: file locking library for Python — documentation The ‘lockfile’ library exports a ‘LockFile’ class which provides a simple API for locking files. diff -Nru python-lockfile-0.12.2/debian/python-lockfile.docs python-lockfile-0.12.2/debian/python-lockfile.docs --- python-lockfile-0.12.2/debian/python-lockfile.docs 2016-08-21 01:59:20.000000000 -0400 +++ python-lockfile-0.12.2/debian/python-lockfile.docs 1969-12-31 19:00:00.000000000 -0500 @@ -1,3 +0,0 @@ -README.rst -ACKS -AUTHORS diff -Nru python-lockfile-0.12.2/debian/rules python-lockfile-0.12.2/debian/rules --- python-lockfile-0.12.2/debian/rules 2016-08-21 01:59:20.000000000 -0400 +++ python-lockfile-0.12.2/debian/rules 2020-03-13 19:02:08.000000000 -0400 @@ -24,7 +24,7 @@ SPHINX_OPTS = -N %: - dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild + dh $@ --with python3,sphinxdoc --buildsystem=pybuild .PHONY: get-packaged-orig-source diff -Nru python-lockfile-0.12.2/debian/tests/control python-lockfile-0.12.2/debian/tests/control --- python-lockfile-0.12.2/debian/tests/control 2016-08-21 01:59:20.000000000 -0400 +++ python-lockfile-0.12.2/debian/tests/control 2020-03-13 19:02:22.000000000 -0400 @@ -2,11 +2,6 @@ # Control file for Debian ‘autopkgtests’. # Documentation: ‘/usr/share/doc/autopkgtest/README.package-tests.rst.gz’ -Tests: smoke-python2 -Depends: - python-pkg-resources, - python-lockfile - Tests: smoke-python3 Depends: python3-pkg-resources, diff -Nru python-lockfile-0.12.2/debian/tests/smoke-python2 python-lockfile-0.12.2/debian/tests/smoke-python2 --- python-lockfile-0.12.2/debian/tests/smoke-python2 2016-08-21 01:59:20.000000000 -0400 +++ python-lockfile-0.12.2/debian/tests/smoke-python2 1969-12-31 19:00:00.000000000 -0500 @@ -1,47 +0,0 @@ -#! /bin/bash -# -# debian/tests/smoke-python2 -# Part of Debian ‘python-lockfile’ package. -# -# Copyright © 2016 Ben Finney <bign...@debian.org> -# This is free software; you may copy, modify, and/or distribute this work -# under the terms of the GNU General Public License, version 3 or later. -# No warranty expressed or implied. -# See the file ‘/usr/share/common-licenses/GPL-3’ for details. -# -# Smoke test for package in Python 2 environments. - -set -o errexit -set -o errtrace -set -o nounset - -DISTRIBUTION_NAME=lockfile -MODULE_NAMES=( - lockfile - ) - -program_dir="$(dirname "$(realpath --strip "$0")")" - -# Use a working directory away from the source package root, -# so that Python imports will not find the local source package. -working_dir="$program_dir" -cd "$working_dir" - -test_opts="--distribution=$DISTRIBUTION_NAME" -for mod in ${MODULE_NAMES[@]} ; do - # Accumulate the module names. - test_opts="$test_opts --module=$mod" -done - -for py in $(pyversions -i) ; do - printf "Python command: %s\n" $py - $py "$program_dir"/smoke_test.py $test_opts - printf "\n" -done - - -# Local variables: -# coding: utf-8 -# mode: shell-script -# End: -# vim: fileencoding=utf-8 filetype=sh :