diff -Nru luma.emulator-1.4.0/debian/changelog luma.emulator-1.4.0/debian/changelog --- luma.emulator-1.4.0/debian/changelog 2022-03-21 21:05:34.000000000 +0000 +++ luma.emulator-1.4.0/debian/changelog 2022-05-15 11:44:25.000000000 +0000 @@ -1,3 +1,11 @@ +luma.emulator (1.4.0-3) unstable; urgency=medium + + * [05b6194] Fix ModuleNotFoundError. (Closes: #1009478) + * [fae08e9] Apply cme fix dpkg. Set Standards-Version to 4.6.0 (no changes) + * [20822a4] Replace license name MIT->EXPAT + + -- Anton Gladky Sun, 15 May 2022 13:44:25 +0200 + luma.emulator (1.4.0-2) unstable; urgency=medium * Source-only upload diff -Nru luma.emulator-1.4.0/debian/control luma.emulator-1.4.0/debian/control --- luma.emulator-1.4.0/debian/control 2021-12-29 19:28:32.000000000 +0000 +++ luma.emulator-1.4.0/debian/control 2022-05-15 11:14:10.000000000 +0000 @@ -2,6 +2,7 @@ Maintainer: Debian Electronics Team Uploaders: Anton Gladky Section: libs +Testsuite: autopkgtest-pkg-python Priority: optional Build-Depends: debhelper-compat (= 13), dh-python, @@ -12,11 +13,10 @@ python3-pytest, python3-setuptools, sphinx -Standards-Version: 4.5.1 +Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/electronics-team/luma.emulator Vcs-Git: https://salsa.debian.org/electronics-team/luma.emulator.git Homepage: https://github.com/rm-hull/luma.emulator -Testsuite: autopkgtest-pkg-python Package: python3-luma.emulator Architecture: any @@ -34,7 +34,6 @@ Animated GIF animator Real-time ASCII-art & block emulators - Package: luma.emulator-doc Architecture: all Section: python diff -Nru luma.emulator-1.4.0/debian/copyright luma.emulator-1.4.0/debian/copyright --- luma.emulator-1.4.0/debian/copyright 2021-12-29 18:21:31.000000000 +0000 +++ luma.emulator-1.4.0/debian/copyright 2022-05-15 04:34:09.000000000 +0000 @@ -4,13 +4,13 @@ Files: * Copyright: 2017-2021 Richard Hull and contributors -License: MIT +License: Expat Files: debian/* Copyright: 2021 Anton Gladky -License: MIT +License: Expat -License: MIT +License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, @@ -18,10 +18,10 @@ publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - . + . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - . + . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. diff -Nru luma.emulator-1.4.0/debian/patches/drop_timeout luma.emulator-1.4.0/debian/patches/drop_timeout --- luma.emulator-1.4.0/debian/patches/drop_timeout 2021-12-29 18:50:47.000000000 +0000 +++ luma.emulator-1.4.0/debian/patches/drop_timeout 2022-05-15 04:57:31.000000000 +0000 @@ -1,27 +1,5 @@ -Description: - TODO: Put a short summary on the line above and replace this paragraph - with a longer explanation of this change. Complete the meta-information - with other relevant fields (see below for details). To make it easier, the - information below has been extracted from the changelog. Adjust it or drop - it. - . - luma.emulator (1.4.0-1) unstable; urgency=medium - . - * Initial upload. (Closes: #1002792) +Description: Drop timeout for tests Author: Anton Gladky -Bug-Debian: https://bugs.debian.org/1002792 - ---- -The information above should follow the Patch Tagging Guidelines, please -checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here -are templates for supplementary fields that you might want to add: - -Origin: , -Bug: -Bug-Debian: https://bugs.debian.org/ -Bug-Ubuntu: https://launchpad.net/bugs/ -Forwarded: -Reviewed-By: Last-Update: 2021-12-29 --- luma.emulator-1.4.0.orig/pytest.ini diff -Nru luma.emulator-1.4.0/debian/patches/fix_module_not_found.patch luma.emulator-1.4.0/debian/patches/fix_module_not_found.patch --- luma.emulator-1.4.0/debian/patches/fix_module_not_found.patch 1970-01-01 00:00:00.000000000 +0000 +++ luma.emulator-1.4.0/debian/patches/fix_module_not_found.patch 2022-05-15 07:03:44.000000000 +0000 @@ -0,0 +1,40 @@ +Description: Fix compilation against python3.10 +Author: Anton Gladky +Bug-Debian: https://bugs.debian.org/1009478 +Last-Update: 2022-05-14 + +Index: luma.emulator/setup.py +=================================================================== +--- luma.emulator.orig/setup.py ++++ luma.emulator/setup.py +@@ -5,7 +5,7 @@ import re + import os + import sys + from io import open +-from setuptools import setup, find_packages ++from setuptools import setup, find_namespace_packages + + + def read_file(fname, encoding='utf-8'): +@@ -51,7 +51,7 @@ setup( + url="https://github.com/rm-hull/luma.emulator", + download_url="https://github.com/rm-hull/luma.emulator/tarball/" + version, + namespace_packages=["luma"], +- packages=find_packages(), ++ packages=find_namespace_packages(include=['luma']), + include_package_data=True, + package_data={"luma.emulator.images": [ + "luma/emulator/images/led_on.png", +Index: luma.emulator/luma/__init__.py +=================================================================== +--- luma.emulator.orig/luma/__init__.py ++++ /dev/null +@@ -1,8 +0,0 @@ +-# -*- coding: utf-8 -*- +-# Copyright (c) 2017-2020 Richard Hull and contributors +-# See LICENSE.rst for details. +- +-try: +- __import__('pkg_resources').declare_namespace(__name__) +-except ImportError: +- __path__ = __import__('pkgutil').extend_path(__path__, __name__) diff -Nru luma.emulator-1.4.0/debian/patches/series luma.emulator-1.4.0/debian/patches/series --- luma.emulator-1.4.0/debian/patches/series 2021-12-29 18:50:44.000000000 +0000 +++ luma.emulator-1.4.0/debian/patches/series 2022-05-15 04:51:10.000000000 +0000 @@ -1 +1,2 @@ drop_timeout +fix_module_not_found.patch