>>> py3-vatnumber: Building testing/py3-vatnumber 1.2-r7 (using abuild 3.11.0-r1) started Thu, 11 May 2023 07:47:45 +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/21) Installing libbz2 (1.0.8-r5) (2/21) Installing libffi (3.4.4-r2) (3/21) Installing gdbm (1.23-r1) (4/21) Installing xz-libs (5.4.3-r0) (5/21) Installing mpdecimal (2.5.1-r2) (6/21) Installing libpanelw (6.4_p20230506-r0) (7/21) Installing readline (8.2.1-r1) (8/21) Installing sqlite-libs (3.41.2-r2) (9/21) Installing python3 (3.11.3-r11) (10/21) Installing python3-pycache-pyc0 (3.11.3-r11) (11/21) Installing pyc (0.1-r0) (12/21) Installing python3-pyc (3.11.3-r11) (13/21) Installing py3-python-stdnum (1.18-r2) (14/21) Installing py3-python-stdnum-pyc (1.18-r2) (15/21) Installing py3-parsing (3.0.9-r2) (16/21) Installing py3-parsing-pyc (3.0.9-r2) (17/21) Installing py3-packaging (23.1-r1) (18/21) Installing py3-packaging-pyc (23.1-r1) (19/21) Installing py3-setuptools (67.7.2-r0) (20/21) Installing py3-setuptools-pyc (67.7.2-r0) (21/21) Installing .makedepends-py3-vatnumber (20230511.074747) Executing busybox-1.36.0-r9.trigger OK: 447 MiB in 123 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 % 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 235k 0 --:--:-- --:--:-- --:--:-- 235k >>> 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/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() 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-pyc*: Running split function pyc... '/home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber/usr/lib/python3.11/site-packages/vatnumber/__pycache__' -> '/home/buildozer/aports/testing/py3-vatnumber/pkg/py3-vatnumber-pyc/usr/lib/python3.11/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.11 >>> py3-vatnumber-pyc*: Package size: 56.0 KB >>> py3-vatnumber-pyc*: Compressing data... >>> py3-vatnumber-pyc*: Create checksum... >>> py3-vatnumber-pyc*: Create py3-vatnumber-pyc-1.2-r7.apk >>> py3-vatnumber*: Tracing dependencies... python3 py3-python-stdnum python3~3.11 >>> py3-vatnumber*: Package size: 68.0 KB >>> py3-vatnumber*: Compressing data... >>> py3-vatnumber*: Create checksum... >>> py3-vatnumber*: Create py3-vatnumber-1.2-r7.apk >>> py3-vatnumber: Build complete at Thu, 11 May 2023 07:47:50 +0000 elapsed time 0h 0m 5s >>> py3-vatnumber: Cleaning up srcdir >>> py3-vatnumber: Cleaning up pkgdir >>> py3-vatnumber: Uninstalling dependencies... (1/21) Purging .makedepends-py3-vatnumber (20230511.074747) (2/21) Purging py3-python-stdnum-pyc (1.18-r2) (3/21) Purging py3-python-stdnum (1.18-r2) (4/21) Purging py3-setuptools-pyc (67.7.2-r0) (5/21) Purging py3-setuptools (67.7.2-r0) (6/21) Purging py3-packaging-pyc (23.1-r1) (7/21) Purging py3-packaging (23.1-r1) (8/21) Purging py3-parsing-pyc (3.0.9-r2) (9/21) Purging py3-parsing (3.0.9-r2) (10/21) Purging python3-pyc (3.11.3-r11) (11/21) Purging python3-pycache-pyc0 (3.11.3-r11) (12/21) Purging pyc (0.1-r0) (13/21) Purging python3 (3.11.3-r11) (14/21) Purging gdbm (1.23-r1) (15/21) Purging libbz2 (1.0.8-r5) (16/21) Purging libffi (3.4.4-r2) (17/21) Purging libpanelw (6.4_p20230506-r0) (18/21) Purging mpdecimal (2.5.1-r2) (19/21) Purging readline (8.2.1-r1) (20/21) Purging sqlite-libs (3.41.2-r2) (21/21) Purging xz-libs (5.4.3-r0) Executing busybox-1.36.0-r9.trigger OK: 393 MiB in 102 packages >>> py3-vatnumber: Updating the testing/x86_64 repository index... >>> py3-vatnumber: Signing the index...