>>> py3-vatnumber: Building testing/py3-vatnumber 1.2-r9 (using abuild 3.13.0-r5) started Wed, 07 Aug 2024 15:03:58 +0000 >>> py3-vatnumber: Checking sanity of /home/buildozer/aports/testing/py3-vatnumber/APKBUILD... >>> py3-vatnumber: Analyzing dependencies... >>> py3-vatnumber: Installing for build: build-base python3 py3-python-stdnum py3-setuptools py3-gpep517 (1/24) Installing libbz2 (1.0.8-r6) (2/24) Installing libffi (3.4.6-r0) (3/24) Installing gdbm (1.24-r0) (4/24) Installing xz-libs (5.6.2-r0) (5/24) Installing mpdecimal (4.0.0-r0) (6/24) Installing libpanelw (6.5_p20240601-r0) (7/24) Installing sqlite-libs (3.46.0-r0) (8/24) Installing python3 (3.12.4-r0) (9/24) Installing python3-pycache-pyc0 (3.12.4-r0) (10/24) Installing pyc (3.12.4-r0) (11/24) Installing python3-pyc (3.12.4-r0) (12/24) Installing py3-python-stdnum (1.19-r2) (13/24) Installing py3-python-stdnum-pyc (1.19-r2) (14/24) Installing py3-parsing (3.1.2-r1) (15/24) Installing py3-parsing-pyc (3.1.2-r1) (16/24) Installing py3-packaging (24.1-r0) (17/24) Installing py3-packaging-pyc (24.1-r0) (18/24) Installing py3-setuptools (70.3.0-r0) (19/24) Installing py3-setuptools-pyc (70.3.0-r0) (20/24) Installing py3-installer (0.7.0-r2) (21/24) Installing py3-installer-pyc (0.7.0-r2) (22/24) Installing py3-gpep517 (16-r0) (23/24) Installing py3-gpep517-pyc (16-r0) (24/24) Installing .makedepends-py3-vatnumber (20240807.150404) Executing busybox-1.36.1-r31.trigger OK: 396 MiB in 126 packages >>> py3-vatnumber: Cleaning up srcdir >>> py3-vatnumber: Cleaning up pkgdir >>> py3-vatnumber: Cleaning up tmpdir >>> py3-vatnumber: Fetching https://distfiles.alpinelinux.org/distfiles/edge/vatnumber-1.2.tar.gz >>> py3-vatnumber: Fetching https://distfiles.alpinelinux.org/distfiles/edge/vatnumber-1.2.tar.gz >>> py3-vatnumber: Checking sha512sums... vatnumber-1.2.tar.gz: OK py3.patch: OK >>> py3-vatnumber: Unpacking /var/cache/distfiles/edge/vatnumber-1.2.tar.gz... >>> py3-vatnumber: py3.patch patching file setup.py /usr/bin/2to3:3: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ from lib2to3.main import main RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored vatnumber/__init__.py RefactoringTool: Refactored vatnumber/tests.py RefactoringTool: Files that were modified: RefactoringTool: vatnumber/__init__.py RefactoringTool: vatnumber/tests.py --- vatnumber/__init__.py (original) +++ vatnumber/__init__.py (refactored) @@ -80,7 +80,7 @@ return False base = [5, 4, 3, 2, 7, 6, 5, 4, 3, 2] aux = 0 - for i in xrange(10): + for i in range(10): aux += int(vat[i]) * base[i] aux = 11 - (aux - (int(aux / 11) * 11)) if aux == 11: --- vatnumber/tests.py (original) +++ vatnumber/tests.py (refactored) @@ -199,7 +199,7 @@ Test vies ''' for vat in VIES_NUMBERS: - self.assert_(vatnumber.check_vies(vat)) + self.assertTrue(vatnumber.check_vies(vat)) def test_countries(self): ''' 2024-08-07 15:04:12,089 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-08-07 15:04:12,193 root INFO running bdist_wheel 2024-08-07 15:04:12,329 root INFO running build 2024-08-07 15:04:12,330 root INFO running build_py 2024-08-07 15:04:12,349 root INFO creating build 2024-08-07 15:04:12,350 root INFO creating build/lib 2024-08-07 15:04:12,351 root INFO creating build/lib/vatnumber 2024-08-07 15:04:12,352 root INFO copying vatnumber/tests.py -> build/lib/vatnumber 2024-08-07 15:04:12,355 root INFO copying vatnumber/__init__.py -> build/lib/vatnumber 2024-08-07 15:04:12,395 root INFO installing to build/bdist.linux-riscv64/wheel 2024-08-07 15:04:12,395 root INFO running install 2024-08-07 15:04:12,460 root INFO running install_lib 2024-08-07 15:04:12,475 root INFO creating build/bdist.linux-riscv64 2024-08-07 15:04:12,476 root INFO creating build/bdist.linux-riscv64/wheel 2024-08-07 15:04:12,478 root INFO creating build/bdist.linux-riscv64/wheel/vatnumber 2024-08-07 15:04:12,479 root INFO copying build/lib/vatnumber/tests.py -> build/bdist.linux-riscv64/wheel/vatnumber 2024-08-07 15:04:12,482 root INFO copying build/lib/vatnumber/__init__.py -> build/bdist.linux-riscv64/wheel/vatnumber 2024-08-07 15:04:12,484 root INFO running install_egg_info 2024-08-07 15:04:12,500 root INFO running egg_info 2024-08-07 15:04:12,511 root INFO writing vatnumber.egg-info/PKG-INFO 2024-08-07 15:04:12,517 root INFO writing dependency_links to vatnumber.egg-info/dependency_links.txt 2024-08-07 15:04:12,520 root INFO writing requirements to vatnumber.egg-info/requires.txt 2024-08-07 15:04:12,521 root INFO writing top-level names to vatnumber.egg-info/top_level.txt 2024-08-07 15:04:12,536 root INFO reading manifest file 'vatnumber.egg-info/SOURCES.txt' 2024-08-07 15:04:12,539 root INFO reading manifest template 'MANIFEST.in' 2024-08-07 15:04:12,541 root INFO adding license file 'LICENSE' 2024-08-07 15:04:12,546 root INFO writing manifest file 'vatnumber.egg-info/SOURCES.txt' 2024-08-07 15:04:12,547 root INFO Copying vatnumber.egg-info to build/bdist.linux-riscv64/wheel/vatnumber-1.2-py3.12.egg-info 2024-08-07 15:04:12,556 root INFO running install_scripts 2024-08-07 15:04:12,572 root INFO creating build/bdist.linux-riscv64/wheel/vatnumber-1.2.dist-info/WHEEL 2024-08-07 15:04:12,575 wheel INFO creating '/home/buildozer/aports/testing/py3-vatnumber/src/vatnumber-1.2/.dist/.tmp-ctlz5u2_/vatnumber-1.2-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it 2024-08-07 15:04:12,578 wheel INFO adding 'vatnumber/__init__.py' 2024-08-07 15:04:12,580 wheel INFO adding 'vatnumber/tests.py' 2024-08-07 15:04:12,583 wheel INFO adding 'vatnumber-1.2.dist-info/LICENSE' 2024-08-07 15:04:12,586 wheel INFO adding 'vatnumber-1.2.dist-info/METADATA' 2024-08-07 15:04:12,588 wheel INFO adding 'vatnumber-1.2.dist-info/WHEEL' 2024-08-07 15:04:12,589 wheel INFO adding 'vatnumber-1.2.dist-info/top_level.txt' 2024-08-07 15:04:12,591 wheel INFO adding 'vatnumber-1.2.dist-info/RECORD' 2024-08-07 15:04:12,592 root INFO removing build/bdist.linux-riscv64/wheel 2024-08-07 15:04:12,598 gpep517 INFO The backend produced .dist/vatnumber-1.2-py3-none-any.whl vatnumber-1.2-py3-none-any.whl >>> py3-vatnumber: Entering fakeroot... 2024-08-07 15:04:13,901 gpep517 INFO Installing .dist/vatnumber-1.2-py3-none-any.whl into /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber 2024-08-07 15:04:13,985 gpep517 INFO Installation complete >>> py3-vatnumber-pyc*: Running split function pyc... '/home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.12/site-packages/vatnumber/__pycache__' -> '/home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber-pyc/usr/lib/python3.12/site-packages/vatnumber/__pycache__' >>> py3-vatnumber-pyc*: Preparing subpackage py3-vatnumber-pyc... >>> py3-vatnumber-pyc*: Running postcheck for py3-vatnumber-pyc >>> py3-vatnumber*: Running postcheck for py3-vatnumber >>> py3-vatnumber*: Preparing package py3-vatnumber... >>> py3-vatnumber-pyc*: Tracing dependencies... python3 py3-python-stdnum python3~3.12 >>> py3-vatnumber-pyc*: Package size: 52.0 KB >>> py3-vatnumber-pyc*: Compressing data... >>> py3-vatnumber-pyc*: Create checksum... >>> py3-vatnumber-pyc*: Create py3-vatnumber-pyc-1.2-r9.apk >>> py3-vatnumber*: Tracing dependencies... python3 py3-python-stdnum python3~3.12 >>> py3-vatnumber*: Package size: 100.0 KB >>> py3-vatnumber*: Compressing data... >>> py3-vatnumber*: Create checksum... >>> py3-vatnumber*: Create py3-vatnumber-1.2-r9.apk >>> py3-vatnumber: Build complete at Wed, 07 Aug 2024 15:04:18 +0000 elapsed time 0h 0m 20s >>> py3-vatnumber: Cleaning up srcdir >>> py3-vatnumber: Cleaning up pkgdir >>> py3-vatnumber: Uninstalling dependencies... (1/24) Purging .makedepends-py3-vatnumber (20240807.150404) (2/24) Purging py3-python-stdnum-pyc (1.19-r2) (3/24) Purging py3-python-stdnum (1.19-r2) (4/24) Purging py3-setuptools-pyc (70.3.0-r0) (5/24) Purging py3-setuptools (70.3.0-r0) (6/24) Purging py3-packaging-pyc (24.1-r0) (7/24) Purging py3-packaging (24.1-r0) (8/24) Purging py3-parsing-pyc (3.1.2-r1) (9/24) Purging py3-parsing (3.1.2-r1) (10/24) Purging py3-gpep517-pyc (16-r0) (11/24) Purging py3-gpep517 (16-r0) (12/24) Purging py3-installer-pyc (0.7.0-r2) (13/24) Purging py3-installer (0.7.0-r2) (14/24) Purging python3-pyc (3.12.4-r0) (15/24) Purging python3-pycache-pyc0 (3.12.4-r0) (16/24) Purging pyc (3.12.4-r0) (17/24) Purging python3 (3.12.4-r0) (18/24) Purging gdbm (1.24-r0) (19/24) Purging libbz2 (1.0.8-r6) (20/24) Purging libffi (3.4.6-r0) (21/24) Purging libpanelw (6.5_p20240601-r0) (22/24) Purging mpdecimal (4.0.0-r0) (23/24) Purging sqlite-libs (3.46.0-r0) (24/24) Purging xz-libs (5.6.2-r0) Executing busybox-1.36.1-r31.trigger OK: 341 MiB in 102 packages >>> py3-vatnumber: Updating the testing/riscv64 repository index... >>> py3-vatnumber: Signing the index...