diff --git a/debian/changelog b/debian/changelog index 2f8a0d1fc1aaaf87c661a0b865e30391ea4c9809..faf299f57db8977c19ff39026911a8bf1bc0cab1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +python-otbr-api (2.7.0-1) unstable; urgency=medium + + * New upstream release. + * Update copyright year. + * Simplify debian/rules. + * Simplify debian/watch. + * Move packages required for tests to Build-Depends-Indep. + * Add --asyncio-mode=auto to autopkgtest. + + -- Edward Betts <edward@4angle.com> Wed, 15 Jan 2025 10:54:48 -0600 + python-otbr-api (2.6.0-2) unstable; urgency=medium * Source-only upload to allow package to migrate to testing. diff --git a/debian/control b/debian/control index 3507942fd4f508ace7235629c7066d36075a7942..b6655fa6b13bc4c4154145c5714bca9a8f6bf7e5 100644 --- a/debian/control +++ b/debian/control @@ -1,21 +1,24 @@ Source: python-otbr-api Maintainer: Debian Python Team <team+python@tracker.debian.org> -Uploaders: Edward Betts <edward@4angle.com> +Uploaders: + Edward Betts <edward@4angle.com>, Section: python Priority: optional -Build-Depends: debhelper-compat (= 13), - dh-sequence-python3, - pybuild-plugin-pyproject, - python3-aiohttp <!nocheck>, - python3-all, - python3-bitstruct <!nocheck>, - python3-cryptography <!nocheck>, - python3-poetry-core, - python3-pytest <!nocheck>, - python3-pytest-asyncio <!nocheck>, - python3-setuptools, - python3-typing-extensions <!nocheck>, - python3-voluptuous <!nocheck> +Build-Depends: + debhelper-compat (= 13), + dh-sequence-python3, + pybuild-plugin-pyproject, + python3-all, + python3-poetry-core, + python3-setuptools, +Build-Depends-Indep: + python3-aiohttp <!nocheck>, + python3-bitstruct <!nocheck>, + python3-cryptography <!nocheck>, + python3-pytest <!nocheck>, + python3-pytest-asyncio <!nocheck>, + python3-typing-extensions <!nocheck>, + python3-voluptuous <!nocheck>, Rules-Requires-Root: no Standards-Version: 4.7.0 Homepage: https://github.com/home-assistant-libs/python-otbr-api @@ -24,7 +27,9 @@ Vcs-Git: https://salsa.debian.org/python-team/packages/python-otbr-api.git Package: python3-python-otbr-api Architecture: all -Depends: ${misc:Depends}, ${python3:Depends} +Depends: + ${misc:Depends}, + ${python3:Depends}, Description: Interact with an OpenThread Border Router (OTBR) via the REST API Python interface for communication with an OpenThread Border Router (OTBR) using its RESTful API. Facilitates the management and monitoring of network diff --git a/debian/copyright b/debian/copyright index b61a0376e4ba0392152235d2ede3399aaeb287e5..3f9fc0add97aca9833815b261b1e36c4502589fb 100644 --- a/debian/copyright +++ b/debian/copyright @@ -8,7 +8,7 @@ Copyright: 2023 ESPHome License: MIT Files: debian/* -Copyright: 2024 Edward Betts <edward@4angle.com> +Copyright: 2024-2025 Edward Betts <edward@4angle.com> License: MIT diff --git a/debian/rules b/debian/rules index 3d1adee516737672d72522ea79f4adf365b671b3..11cd9df2ea166b7a775aa9eaa0eda7fc682e61d4 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,4 @@ #!/usr/bin/make -f -export PYBUILD_NAME=python-otbr-api - %: dh $@ --buildsystem=pybuild - -override_dh_auto_clean: - dh_auto_clean - rm -rf python_otbr_api.egg-info/ diff --git a/debian/tests/control b/debian/tests/control index 5daad5ddf1cd255e8db7516c306fc88a91c6692c..2be6a3f8bfee5f73aefc211200abd72ddf30b551 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,2 +1,7 @@ -Tests: run-tests -Depends: python3-all, python3-pytest, python3-pytest-asyncio, @ +Tests: + run-tests, +Depends: + python3-all, + python3-pytest, + python3-pytest-asyncio, + @, diff --git a/debian/tests/run-tests b/debian/tests/run-tests index 6002b7ba9ccbf252f4af5a9785ec421fb0f5ec14..341881fd513c31a6ca9602ffb316629a25c461a3 100755 --- a/debian/tests/run-tests +++ b/debian/tests/run-tests @@ -2,5 +2,5 @@ set -e cp -r test* "$AUTOPKGTEST_TMP/" && cd "$AUTOPKGTEST_TMP" for py in $(py3versions -s); do - $py -Wd -m pytest -v -x 2>&1 + $py -Wd -m pytest --asyncio-mode=auto -v -x 2>&1 done diff --git a/debian/watch b/debian/watch index a69dbb2f533e3c7096ebb45714a904b2c333f283..7044e1633e68bde54e561fe31ef6696eef6d91a5 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,2 @@ version=4 -opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/python-otbr-api-$1\.tar\.gz/ \ - https://github.com/home-assistant-libs/python-otbr-api/tags .*/v?(\d\S+)\.tar\.gz +https://github.com/home-assistant-libs/python-otbr-api/tags .*/v?(\d\S+)\.tar\.gz