>>> py3-bluez: Building community/py3-bluez 0.23-r4 (using abuild 3.9.0-r0) started Wed, 20 Apr 2022 17:05:23 +0000 >>> py3-bluez: Checking sanity of /home/buildozer/aports/community/py3-bluez/APKBUILD... >>> py3-bluez: Analyzing dependencies... >>> py3-bluez: Installing for build: build-base python3-dev py3-setuptools bluez-dev (1/16) Installing gdbm (1.23-r0) (2/16) Installing mpdecimal (2.5.1-r1) (3/16) Installing readline (8.1.2-r0) (4/16) Installing sqlite-libs (3.38.2-r0) (5/16) Installing python3 (3.10.3-r1) (6/16) Installing python3-dev (3.10.3-r1) (7/16) Installing py3-appdirs (1.4.4-r3) (8/16) Installing py3-more-itertools (8.12.0-r2) (9/16) Installing py3-ordered-set (4.0.2-r3) (10/16) Installing py3-parsing (2.4.7-r3) (11/16) Installing py3-six (1.16.0-r1) (12/16) Installing py3-packaging (21.3-r0) (13/16) Installing py3-setuptools (59.4.0-r0) (14/16) Installing bluez-libs (5.64-r0) (15/16) Installing bluez-dev (5.64-r0) (16/16) Installing .makedepends-py3-bluez (20220420.170525) Executing busybox-1.35.0-r8.trigger OK: 1370 MiB in 119 packages >>> py3-bluez: Cleaning up srcdir >>> py3-bluez: Cleaning up pkgdir >>> py3-bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/py3-bluez-0.23.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 210k 100 210k 0 0 1917k 0 --:--:-- --:--:-- --:--:-- 1932k >>> py3-bluez: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/py3-bluez-0.23.tar.gz >>> py3-bluez: Checking sha512sums... py3-bluez-0.23.tar.gz: OK setuptools59.patch: OK >>> py3-bluez: Unpacking /var/cache/distfiles/v3.16/py3-bluez-0.23.tar.gz... >>> py3-bluez: setuptools59.patch patching file setup.py RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to bluetooth/__init__.py RefactoringTool: Refactored bluetooth/bluez.py RefactoringTool: No changes to bluetooth/btcommon.py RefactoringTool: No changes to bluetooth/macos.py RefactoringTool: No changes to bluetooth/msbt.py RefactoringTool: No changes to bluetooth/widcomm.py RefactoringTool: Files that were modified: RefactoringTool: bluetooth/__init__.py RefactoringTool: bluetooth/bluez.py RefactoringTool: bluetooth/btcommon.py RefactoringTool: bluetooth/macos.py RefactoringTool: bluetooth/msbt.py RefactoringTool: bluetooth/widcomm.py --- bluetooth/bluez.py (original) +++ bluetooth/bluez.py (refactored) @@ -151,9 +151,9 @@ def _get_available_ports(protocol): if protocol == RFCOMM: - return range (1, 31) + return list(range(1, 31)) elif protocol == L2CAP: - return range (0x1001, 0x8000, 2) + return list(range(0x1001, 0x8000, 2)) else: return [0] running build running build_py creating build creating build/lib.linux-x86_64-3.10 creating build/lib.linux-x86_64-3.10/bluetooth copying bluetooth/__init__.py -> build/lib.linux-x86_64-3.10/bluetooth copying bluetooth/msbt.py -> build/lib.linux-x86_64-3.10/bluetooth copying bluetooth/btcommon.py -> build/lib.linux-x86_64-3.10/bluetooth copying bluetooth/macos.py -> build/lib.linux-x86_64-3.10/bluetooth copying bluetooth/ble.py -> build/lib.linux-x86_64-3.10/bluetooth copying bluetooth/bluez.py -> build/lib.linux-x86_64-3.10/bluetooth copying bluetooth/widcomm.py -> build/lib.linux-x86_64-3.10/bluetooth running build_ext building 'bluetooth._bluetooth' extension creating build/temp.linux-x86_64-3.10 creating build/temp.linux-x86_64-3.10/bluez gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fomit-frame-pointer -g -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIC -I./port3 -I/usr/include/python3.10 -c bluez/btmodule.c -o build/temp.linux-x86_64-3.10/bluez/btmodule.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fomit-frame-pointer -g -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIC -I./port3 -I/usr/include/python3.10 -c bluez/btsdp.c -o build/temp.linux-x86_64-3.10/bluez/btsdp.o gcc -shared -Os -fomit-frame-pointer -Os -fomit-frame-pointer build/temp.linux-x86_64-3.10/bluez/btmodule.o build/temp.linux-x86_64-3.10/bluez/btsdp.o -L/usr/lib -lbluetooth -o build/lib.linux-x86_64-3.10/bluetooth/_bluetooth.cpython-310-x86_64-linux-gnu.so >>> py3-bluez: Entering fakeroot... running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py running build_ext running install_lib creating /home/buildozer/aports/community/py3-bluez/pkg creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10 creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages creating /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth copying build/lib.linux-x86_64-3.10/bluetooth/__init__.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth copying build/lib.linux-x86_64-3.10/bluetooth/msbt.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth copying build/lib.linux-x86_64-3.10/bluetooth/btcommon.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth copying build/lib.linux-x86_64-3.10/bluetooth/macos.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth copying build/lib.linux-x86_64-3.10/bluetooth/ble.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth copying build/lib.linux-x86_64-3.10/bluetooth/bluez.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth copying build/lib.linux-x86_64-3.10/bluetooth/_bluetooth.cpython-310-x86_64-linux-gnu.so -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth copying build/lib.linux-x86_64-3.10/bluetooth/widcomm.py -> /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth/__init__.py to __init__.cpython-310.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth/msbt.py to msbt.cpython-310.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth/btcommon.py to btcommon.cpython-310.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth/macos.py to macos.cpython-310.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth/ble.py to ble.cpython-310.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth/bluez.py to bluez.cpython-310.pyc byte-compiling /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/bluetooth/widcomm.py to widcomm.cpython-310.pyc running install_egg_info running egg_info creating PyBluez.egg-info writing PyBluez.egg-info/PKG-INFO writing dependency_links to PyBluez.egg-info/dependency_links.txt writing eager_resources to PyBluez.egg-info/eager_resources.txt writing requirements to PyBluez.egg-info/requires.txt writing top-level names to PyBluez.egg-info/top_level.txt writing manifest file 'PyBluez.egg-info/SOURCES.txt' reading manifest file 'PyBluez.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README' warning: no files found matching '*.c' under directory 'macos' warning: no previously-included files matching '*.pyc' found under directory '*' warning: no previously-included files matching '*.o' found under directory '*' warning: no previously-included files matching '*.opp' found under directory '*' adding license file 'COPYING' writing manifest file 'PyBluez.egg-info/SOURCES.txt' Copying PyBluez.egg-info to /home/buildozer/aports/community/py3-bluez/pkg/py3-bluez/usr/lib/python3.10/site-packages/PyBluez-0.23-py3.10.egg-info running install_scripts >>> py3-bluez*: Running postcheck for py3-bluez >>> py3-bluez*: Preparing package py3-bluez... >>> py3-bluez*: Stripping binaries >>> py3-bluez*: Scanning shared objects >>> py3-bluez*: Tracing dependencies... so:libbluetooth.so.3 so:libc.musl-x86_64.so.1 >>> py3-bluez*: Package size: 356.0 KB >>> py3-bluez*: Compressing data... >>> py3-bluez*: Create checksum... >>> py3-bluez*: Create py3-bluez-0.23-r4.apk >>> py3-bluez: Build complete at Wed, 20 Apr 2022 17:05:32 +0000 elapsed time 0h 0m 9s >>> py3-bluez: Cleaning up srcdir >>> py3-bluez: Cleaning up pkgdir >>> py3-bluez: Uninstalling dependencies... (1/16) Purging .makedepends-py3-bluez (20220420.170525) (2/16) Purging python3-dev (3.10.3-r1) (3/16) Purging py3-setuptools (59.4.0-r0) (4/16) Purging py3-appdirs (1.4.4-r3) (5/16) Purging py3-more-itertools (8.12.0-r2) (6/16) Purging py3-ordered-set (4.0.2-r3) (7/16) Purging py3-packaging (21.3-r0) (8/16) Purging py3-six (1.16.0-r1) (9/16) Purging py3-parsing (2.4.7-r3) (10/16) Purging python3 (3.10.3-r1) (11/16) Purging bluez-dev (5.64-r0) (12/16) Purging bluez-libs (5.64-r0) (13/16) Purging gdbm (1.23-r0) (14/16) Purging mpdecimal (2.5.1-r1) (15/16) Purging readline (8.1.2-r0) (16/16) Purging sqlite-libs (3.38.2-r0) Executing busybox-1.35.0-r8.trigger OK: 1274 MiB in 103 packages >>> py3-bluez: Updating the community/x86_64 repository index... >>> py3-bluez: Signing the index...