>>> py3-vatnumber: Building testing/py3-vatnumber 1.2-r9 (using abuild 3.13.0-r5) started Tue, 24 Sep 2024 05:51:53 +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-r1) (7/24) Installing sqlite-libs (3.46.1-r0) (8/24) Installing python3 (3.12.6-r0) (9/24) Installing python3-pycache-pyc0 (3.12.6-r0) (10/24) Installing pyc (3.12.6-r0) (11/24) Installing python3-pyc (3.12.6-r0) (12/24) Installing py3-python-stdnum (1.20-r0) (13/24) Installing py3-python-stdnum-pyc (1.20-r0) (14/24) Installing py3-parsing (3.1.4-r0) (15/24) Installing py3-parsing-pyc (3.1.4-r0) (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 (20240924.055155) Executing busybox-1.36.1-r32.trigger OK: 307 MiB in 127 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 % 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 19074 100 19074 0 0 239k 0 --:--:-- --:--:-- --:--:-- 241k >>> 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/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-09-24 05:51:57,536 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-09-24 05:51:57,554 root INFO running bdist_wheel 2024-09-24 05:51:57,577 root INFO running build 2024-09-24 05:51:57,577 root INFO running build_py 2024-09-24 05:51:57,580 root INFO creating build 2024-09-24 05:51:57,581 root INFO creating build/lib 2024-09-24 05:51:57,581 root INFO creating build/lib/vatnumber 2024-09-24 05:51:57,581 root INFO copying vatnumber/tests.py -> build/lib/vatnumber 2024-09-24 05:51:57,581 root INFO copying vatnumber/__init__.py -> build/lib/vatnumber 2024-09-24 05:51:57,588 root INFO installing to build/bdist.linux-loongarch64/wheel 2024-09-24 05:51:57,588 root INFO running install 2024-09-24 05:51:57,602 root INFO running install_lib 2024-09-24 05:51:57,604 root INFO creating build/bdist.linux-loongarch64 2024-09-24 05:51:57,604 root INFO creating build/bdist.linux-loongarch64/wheel 2024-09-24 05:51:57,605 root INFO creating build/bdist.linux-loongarch64/wheel/vatnumber 2024-09-24 05:51:57,605 root INFO copying build/lib/vatnumber/tests.py -> build/bdist.linux-loongarch64/wheel/vatnumber 2024-09-24 05:51:57,605 root INFO copying build/lib/vatnumber/__init__.py -> build/bdist.linux-loongarch64/wheel/vatnumber 2024-09-24 05:51:57,605 root INFO running install_egg_info 2024-09-24 05:51:57,608 root INFO running egg_info 2024-09-24 05:51:57,610 root INFO writing vatnumber.egg-info/PKG-INFO 2024-09-24 05:51:57,611 root INFO writing dependency_links to vatnumber.egg-info/dependency_links.txt 2024-09-24 05:51:57,612 root INFO writing requirements to vatnumber.egg-info/requires.txt 2024-09-24 05:51:57,612 root INFO writing top-level names to vatnumber.egg-info/top_level.txt 2024-09-24 05:51:57,615 root INFO reading manifest file 'vatnumber.egg-info/SOURCES.txt' 2024-09-24 05:51:57,615 root INFO reading manifest template 'MANIFEST.in' 2024-09-24 05:51:57,615 root INFO adding license file 'LICENSE' 2024-09-24 05:51:57,616 root INFO writing manifest file 'vatnumber.egg-info/SOURCES.txt' 2024-09-24 05:51:57,617 root INFO Copying vatnumber.egg-info to build/bdist.linux-loongarch64/wheel/vatnumber-1.2-py3.12.egg-info 2024-09-24 05:51:57,618 root INFO running install_scripts 2024-09-24 05:51:57,621 root INFO creating build/bdist.linux-loongarch64/wheel/vatnumber-1.2.dist-info/WHEEL 2024-09-24 05:51:57,621 wheel INFO creating '/home/buildozer/aports/testing/py3-vatnumber/src/vatnumber-1.2/.dist/.tmp-lpbc9vpm/vatnumber-1.2-py3-none-any.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it 2024-09-24 05:51:57,622 wheel INFO adding 'vatnumber/__init__.py' 2024-09-24 05:51:57,622 wheel INFO adding 'vatnumber/tests.py' 2024-09-24 05:51:57,623 wheel INFO adding 'vatnumber-1.2.dist-info/LICENSE' 2024-09-24 05:51:57,623 wheel INFO adding 'vatnumber-1.2.dist-info/METADATA' 2024-09-24 05:51:57,623 wheel INFO adding 'vatnumber-1.2.dist-info/WHEEL' 2024-09-24 05:51:57,624 wheel INFO adding 'vatnumber-1.2.dist-info/top_level.txt' 2024-09-24 05:51:57,624 wheel INFO adding 'vatnumber-1.2.dist-info/RECORD' 2024-09-24 05:51:57,624 root INFO removing build/bdist.linux-loongarch64/wheel 2024-09-24 05:51:57,625 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-09-24 05:51:57,857 gpep517 INFO Installing .dist/vatnumber-1.2-py3-none-any.whl into /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber 2024-09-24 05:51:57,872 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 Tue, 24 Sep 2024 05:51:58 +0000 elapsed time 0h 0m 5s >>> py3-vatnumber: Cleaning up srcdir >>> py3-vatnumber: Cleaning up pkgdir >>> py3-vatnumber: Uninstalling dependencies... (1/24) Purging .makedepends-py3-vatnumber (20240924.055155) (2/24) Purging py3-python-stdnum-pyc (1.20-r0) (3/24) Purging py3-python-stdnum (1.20-r0) (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.4-r0) (9/24) Purging py3-parsing (3.1.4-r0) (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.6-r0) (15/24) Purging python3-pycache-pyc0 (3.12.6-r0) (16/24) Purging pyc (3.12.6-r0) (17/24) Purging python3 (3.12.6-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-r1) (22/24) Purging mpdecimal (4.0.0-r0) (23/24) Purging sqlite-libs (3.46.1-r0) (24/24) Purging xz-libs (5.6.2-r0) Executing busybox-1.36.1-r32.trigger OK: 251 MiB in 103 packages >>> py3-vatnumber: Updating the testing/loongarch64 repository index... >>> py3-vatnumber: Signing the index...