>>> py3-vatnumber: Building testing/py3-vatnumber 1.2-r6 (using abuild 3.10.0_rc1-r2) started Thu, 24 Nov 2022 21:29:30 +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 (1/13) Installing libbz2 (1.0.8-r4) (2/13) Installing libffi (3.4.4-r0) (3/13) Installing gdbm (1.23-r0) (4/13) Installing xz-libs (5.2.8-r0) (5/13) Installing mpdecimal (2.5.1-r1) (6/13) Installing readline (8.2.0-r0) (7/13) Installing sqlite-libs (3.40.0-r0) (8/13) Installing python3 (3.11.0-r2) (9/13) Installing py3-python-stdnum (1.18-r1) (10/13) Installing py3-parsing (3.0.9-r1) (11/13) Installing py3-packaging (21.3-r3) (12/13) Installing py3-setuptools (65.6.3-r0) (13/13) Installing .makedepends-py3-vatnumber (20221124.212932) Executing busybox-1.35.0-r29.trigger OK: 473 MiB in 111 packages >>> py3-vatnumber: Cleaning up srcdir >>> py3-vatnumber: Cleaning up pkgdir >>> 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): ''' running build running build_py creating build creating build/lib creating build/lib/vatnumber copying vatnumber/tests.py -> build/lib/vatnumber copying vatnumber/__init__.py -> build/lib/vatnumber >>> py3-vatnumber: Entering fakeroot... running install /usr/lib/python3.11/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 install_lib creating /home/buildozer/aports/testing/py3-vatnumber/pkg creating /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber creating /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr creating /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib creating /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.11 creating /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.11/site-packages creating /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.11/site-packages/vatnumber copying build/lib/vatnumber/tests.py -> /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.11/site-packages/vatnumber copying build/lib/vatnumber/__init__.py -> /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.11/site-packages/vatnumber byte-compiling /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.11/site-packages/vatnumber/tests.py to tests.cpython-311.pyc byte-compiling /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.11/site-packages/vatnumber/__init__.py to __init__.cpython-311.pyc running install_egg_info running egg_info writing vatnumber.egg-info/PKG-INFO writing dependency_links to vatnumber.egg-info/dependency_links.txt writing requirements to vatnumber.egg-info/requires.txt writing top-level names to vatnumber.egg-info/top_level.txt reading manifest file 'vatnumber.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'vatnumber.egg-info/SOURCES.txt' Copying vatnumber.egg-info to /home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.11/site-packages/vatnumber-1.2-py3.11.egg-info running install_scripts >>> py3-vatnumber*: Running postcheck for py3-vatnumber >>> py3-vatnumber*: Preparing package py3-vatnumber... >>> py3-vatnumber*: Tracing dependencies... >>> py3-vatnumber*: Package size: 100.0 KB >>> py3-vatnumber*: Compressing data... >>> py3-vatnumber*: Create checksum... >>> py3-vatnumber*: Create py3-vatnumber-1.2-r6.apk >>> py3-vatnumber: Build complete at Thu, 24 Nov 2022 21:29:35 +0000 elapsed time 0h 0m 5s >>> py3-vatnumber: Cleaning up srcdir >>> py3-vatnumber: Cleaning up pkgdir >>> py3-vatnumber: Uninstalling dependencies... (1/13) Purging .makedepends-py3-vatnumber (20221124.212932) (2/13) Purging py3-python-stdnum (1.18-r1) (3/13) Purging py3-setuptools (65.6.3-r0) (4/13) Purging py3-packaging (21.3-r3) (5/13) Purging py3-parsing (3.0.9-r1) (6/13) Purging python3 (3.11.0-r2) (7/13) Purging libbz2 (1.0.8-r4) (8/13) Purging libffi (3.4.4-r0) (9/13) Purging gdbm (1.23-r0) (10/13) Purging xz-libs (5.2.8-r0) (11/13) Purging mpdecimal (2.5.1-r1) (12/13) Purging readline (8.2.0-r0) (13/13) Purging sqlite-libs (3.40.0-r0) Executing busybox-1.35.0-r29.trigger OK: 393 MiB in 98 packages >>> py3-vatnumber: Updating the testing/x86_64 repository index... >>> py3-vatnumber: Signing the index...