>>> py3-vatnumber: Building testing/py3-vatnumber 1.2-r9 (using abuild 3.13.0-r5) started Wed, 07 Aug 2024 12:30:02 +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/22) Installing libffi (3.4.6-r0) (2/22) Installing gdbm (1.24-r0) (3/22) Installing mpdecimal (4.0.0-r0) (4/22) Installing libpanelw (6.5_p20240601-r0) (5/22) Installing sqlite-libs (3.46.0-r0) (6/22) Installing python3 (3.12.4-r0) (7/22) Installing python3-pycache-pyc0 (3.12.4-r0) (8/22) Installing pyc (3.12.4-r0) (9/22) Installing python3-pyc (3.12.4-r0) (10/22) Installing py3-python-stdnum (1.19-r2) (11/22) Installing py3-python-stdnum-pyc (1.19-r2) (12/22) Installing py3-parsing (3.1.2-r1) (13/22) Installing py3-parsing-pyc (3.1.2-r1) (14/22) Installing py3-packaging (24.1-r0) (15/22) Installing py3-packaging-pyc (24.1-r0) (16/22) Installing py3-setuptools (70.3.0-r0) (17/22) Installing py3-setuptools-pyc (70.3.0-r0) (18/22) Installing py3-installer (0.7.0-r2) (19/22) Installing py3-installer-pyc (0.7.0-r2) (20/22) Installing py3-gpep517 (16-r0) (21/22) Installing py3-gpep517-pyc (16-r0) (22/22) Installing .makedepends-py3-vatnumber (20240807.123003) Executing busybox-1.36.1-r31.trigger OK: 341 MiB in 132 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/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 12:30:05,231 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-08-07 12:30:05,248 root INFO running bdist_wheel 2024-08-07 12:30:05,267 root INFO running build 2024-08-07 12:30:05,268 root INFO running build_py 2024-08-07 12:30:05,270 root INFO creating build 2024-08-07 12:30:05,271 root INFO creating build/lib 2024-08-07 12:30:05,271 root INFO creating build/lib/vatnumber 2024-08-07 12:30:05,271 root INFO copying vatnumber/tests.py -> build/lib/vatnumber 2024-08-07 12:30:05,271 root INFO copying vatnumber/__init__.py -> build/lib/vatnumber 2024-08-07 12:30:05,277 root INFO installing to build/bdist.linux-ppc64le/wheel 2024-08-07 12:30:05,277 root INFO running install 2024-08-07 12:30:05,298 root INFO running install_lib 2024-08-07 12:30:05,301 root INFO creating build/bdist.linux-ppc64le 2024-08-07 12:30:05,301 root INFO creating build/bdist.linux-ppc64le/wheel 2024-08-07 12:30:05,301 root INFO creating build/bdist.linux-ppc64le/wheel/vatnumber 2024-08-07 12:30:05,301 root INFO copying build/lib/vatnumber/tests.py -> build/bdist.linux-ppc64le/wheel/vatnumber 2024-08-07 12:30:05,301 root INFO copying build/lib/vatnumber/__init__.py -> build/bdist.linux-ppc64le/wheel/vatnumber 2024-08-07 12:30:05,301 root INFO running install_egg_info 2024-08-07 12:30:05,304 root INFO running egg_info 2024-08-07 12:30:05,306 root INFO writing vatnumber.egg-info/PKG-INFO 2024-08-07 12:30:05,306 root INFO writing dependency_links to vatnumber.egg-info/dependency_links.txt 2024-08-07 12:30:05,307 root INFO writing requirements to vatnumber.egg-info/requires.txt 2024-08-07 12:30:05,307 root INFO writing top-level names to vatnumber.egg-info/top_level.txt 2024-08-07 12:30:05,309 root INFO reading manifest file 'vatnumber.egg-info/SOURCES.txt' 2024-08-07 12:30:05,310 root INFO reading manifest template 'MANIFEST.in' 2024-08-07 12:30:05,310 root INFO adding license file 'LICENSE' 2024-08-07 12:30:05,311 root INFO writing manifest file 'vatnumber.egg-info/SOURCES.txt' 2024-08-07 12:30:05,311 root INFO Copying vatnumber.egg-info to build/bdist.linux-ppc64le/wheel/vatnumber-1.2-py3.12.egg-info 2024-08-07 12:30:05,312 root INFO running install_scripts 2024-08-07 12:30:05,314 root INFO creating build/bdist.linux-ppc64le/wheel/vatnumber-1.2.dist-info/WHEEL 2024-08-07 12:30:05,314 wheel INFO creating '/home/buildozer/aports/testing/py3-vatnumber/src/vatnumber-1.2/.dist/.tmp-8zn_2dxe/vatnumber-1.2-py3-none-any.whl' and adding 'build/bdist.linux-ppc64le/wheel' to it 2024-08-07 12:30:05,315 wheel INFO adding 'vatnumber/__init__.py' 2024-08-07 12:30:05,315 wheel INFO adding 'vatnumber/tests.py' 2024-08-07 12:30:05,315 wheel INFO adding 'vatnumber-1.2.dist-info/LICENSE' 2024-08-07 12:30:05,316 wheel INFO adding 'vatnumber-1.2.dist-info/METADATA' 2024-08-07 12:30:05,316 wheel INFO adding 'vatnumber-1.2.dist-info/WHEEL' 2024-08-07 12:30:05,316 wheel INFO adding 'vatnumber-1.2.dist-info/top_level.txt' 2024-08-07 12:30:05,316 wheel INFO adding 'vatnumber-1.2.dist-info/RECORD' 2024-08-07 12:30:05,316 root INFO removing build/bdist.linux-ppc64le/wheel 2024-08-07 12:30:05,317 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 12:30:05,539 gpep517 INFO Installing .dist/vatnumber-1.2-py3-none-any.whl into /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber 2024-08-07 12:30:05,552 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 12:30:05 +0000 elapsed time 0h 0m 3s >>> py3-vatnumber: Cleaning up srcdir >>> py3-vatnumber: Cleaning up pkgdir >>> py3-vatnumber: Uninstalling dependencies... (1/22) Purging .makedepends-py3-vatnumber (20240807.123003) (2/22) Purging py3-python-stdnum-pyc (1.19-r2) (3/22) Purging py3-python-stdnum (1.19-r2) (4/22) Purging py3-setuptools-pyc (70.3.0-r0) (5/22) Purging py3-setuptools (70.3.0-r0) (6/22) Purging py3-packaging-pyc (24.1-r0) (7/22) Purging py3-packaging (24.1-r0) (8/22) Purging py3-parsing-pyc (3.1.2-r1) (9/22) Purging py3-parsing (3.1.2-r1) (10/22) Purging py3-gpep517-pyc (16-r0) (11/22) Purging py3-gpep517 (16-r0) (12/22) Purging py3-installer-pyc (0.7.0-r2) (13/22) Purging py3-installer (0.7.0-r2) (14/22) Purging python3-pyc (3.12.4-r0) (15/22) Purging python3-pycache-pyc0 (3.12.4-r0) (16/22) Purging pyc (3.12.4-r0) (17/22) Purging python3 (3.12.4-r0) (18/22) Purging gdbm (1.24-r0) (19/22) Purging libffi (3.4.6-r0) (20/22) Purging libpanelw (6.5_p20240601-r0) (21/22) Purging mpdecimal (4.0.0-r0) (22/22) Purging sqlite-libs (3.46.0-r0) Executing busybox-1.36.1-r31.trigger OK: 282 MiB in 110 packages >>> py3-vatnumber: Updating the testing/ppc64le repository index... >>> py3-vatnumber: Signing the index...