Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-py-staticmaps.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1686598730.387165/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-py-staticmaps.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-py-staticmaps-0.4.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-py-staticmaps.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1686598730.387165/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-py-staticmaps.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-py-staticmaps-0.4.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-py-staticmaps.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1686598730.387165/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-py-staticmaps.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zfk6DC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf py-staticmaps-0.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/py-staticmaps-0.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd py-staticmaps-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uEzI8V + umask 022 + cd /builddir/build/BUILD + cd py-staticmaps-0.4.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' # py-staticmaps A python module to create static map images (PNG, SVG) with markers, geodesic lines, etc. ## Features - Map objects: pin-style markers, image (PNG) markers, polylines, polygons, (geodesic) circles - Automatic computation of best center + zoom from the added map objects - Several pre-configured map tile providers - Proper tile provider attributions display - On-disc caching of map tile images for faster drawing and reduced load on the tile servers - Non-anti-aliased drawing via `PILLOW` - Anti-aliased drawing via `pycairo` (optional; only if `pycairo` is installed properly) - SVG creation via `svgwrite` ## Installation ### SVG + non-anti-aliased PNG version ```shell pip install py-staticmaps ``` ### SVG + anti-aliased PNG version (via Cairo) ```shell pip install py-staticmaps[cairo] ``` `py-staticmaps` uses `pycairo` for creating anti-aliased raster-graphics, so make sure `libcairo2` is installed on your system (on Ubuntu just install the `libcairo2-dev` package, i.e. `sudo apt install libcairo2-dev`). ## Examples Note: PNG support (e.g. `context.render_cairo(...)`) is only available if the `pycairo` module is installed. ### Markers and Geodesic Lines ```python import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_StamenToner) frankfurt = staticmaps.create_latlng(50.110644, 8.682092) newyork = staticmaps.create_latlng(40.712728, -74.006015) context.add_object(staticmaps.Line([frankfurt, newyork], color=staticmaps.BLUE, width=4)) context.add_object(staticmaps.Marker(frankfurt, color=staticmaps.GREEN, size=12)) context.add_object(staticmaps.Marker(newyork, color=staticmaps.RED, size=12)) # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("frankfurt_newyork.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 500) image.write_to_png("frankfurt_newyork.cairo.png") # render svg svg_image = context.render_svg(800, 500) with open("frankfurt_newyork.svg", "w", encoding="utf-8") as f: svg_image.write(f, pretty=True) ``` ### Transparent Polygons ```python import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_OSM) freiburg_polygon = [ (47.96881, 7.79045), (47.96866, 7.78610), (47.97134, 7.77874), ... ] context.add_object( staticmaps.Area( [staticmaps.create_latlng(lat, lng) for lat, lng in freiburg_polygon], fill_color=staticmaps.parse_color("#00FF003F"), width=2, color=staticmaps.BLUE, ) ) # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("freiburg_area.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 500) image.write_to_png("freiburg_area.cairo.png") # render svg svg_image = context.render_svg(800, 500) with open("freiburg_area.svg", "w", encoding="utf-8") as f: svg_image.write(f, pretty=True) ``` ### Drawing a GPX Track + Image Marker (PNG) ```python import sys import gpxpy import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_ArcGISWorldImagery) with open(sys.argv[1], "r") as file: gpx = gpxpy.parse(file) for track in gpx.tracks: for segment in track.segments: line = [staticmaps.create_latlng(p.latitude, p.longitude) for p in segment.points] context.add_object(staticmaps.Line(line)) for p in gpx.walk(only_points=True): pos = staticmaps.create_latlng(p.latitude, p.longitude) marker = staticmaps.ImageMarker(pos, "start.png", origin_x=27, origin_y=35) context.add_object(marker) break # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("draw_gpx.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 500) image.write_to_png("draw_gpx.cairo.png") ``` ### US State Capitals ```python import json import requests import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_OSM) URL = ( "https://gist.githubusercontent.com/jpriebe/d62a45e29f24e843c974/" "raw/b1d3066d245e742018bce56e41788ac7afa60e29/us_state_capitals.json" ) response = requests.get(URL) for _, data in json.loads(response.text).items(): capital = staticmaps.create_latlng(float(data["lat"]), float(data["long"])) context.add_object(staticmaps.Marker(capital, size=5)) # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("us_capitals.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 500) image.write_to_png("us_capitals.cairo.png") ``` ### Geodesic Circles ```python import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_StamenToner) center1 = staticmaps.create_latlng(66, 0) center2 = staticmaps.create_latlng(0, 0) context.add_object(staticmaps.Circle(center1, 2000, fill_color=staticmaps.TRANSPARENT, color=staticmaps.RED, width=2)) context.add_object(staticmaps.Circle(center2, 2000, fill_color=staticmaps.TRANSPARENT, color=staticmaps.GREEN, width=2)) context.add_object(staticmaps.Marker(center1, color=staticmaps.RED)) context.add_object(staticmaps.Marker(center2, color=staticmaps.GREEN)) # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("geodesic_circles.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 600) image.write_to_png("geodesic_circles.cairo.png") ``` ### Other Examples Please take a look at the command line program which uses the `staticmaps` package: `staticmaps/cli.py` ### Dependencies `py-staticmaps` uses - `PILLOW` for rendering raster-graphics - `pycairo` for rendering antialiased raster-graphics (optional!) - `svgwrite` for writing SVG files - `s2sphere` for geo coordinates handling - `geographiclib` for geodesic computations - `appdirs` for finding the user's default cache directory - `requests` for downloading tile files ## License [MIT](LICENSE) © 2020-2021 Florian Pigorsch running build running build_py creating build creating build/lib creating build/lib/staticmaps copying staticmaps/context.py -> build/lib/staticmaps copying staticmaps/cairo_renderer.py -> build/lib/staticmaps copying staticmaps/marker.py -> build/lib/staticmaps copying staticmaps/renderer.py -> build/lib/staticmaps copying staticmaps/tile_downloader.py -> build/lib/staticmaps copying staticmaps/coordinates.py -> build/lib/staticmaps copying staticmaps/line.py -> build/lib/staticmaps copying staticmaps/object.py -> build/lib/staticmaps copying staticmaps/meta.py -> build/lib/staticmaps copying staticmaps/svg_renderer.py -> build/lib/staticmaps copying staticmaps/__init__.py -> build/lib/staticmaps copying staticmaps/area.py -> build/lib/staticmaps copying staticmaps/circle.py -> build/lib/staticmaps copying staticmaps/tile_provider.py -> build/lib/staticmaps copying staticmaps/color.py -> build/lib/staticmaps copying staticmaps/transformer.py -> build/lib/staticmaps copying staticmaps/cli.py -> build/lib/staticmaps copying staticmaps/pillow_renderer.py -> build/lib/staticmaps copying staticmaps/image_marker.py -> build/lib/staticmaps + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.51rnrt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64 + cd py-staticmaps-0.4.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64 # py-staticmaps A python module to create static map images (PNG, SVG) with markers, geodesic lines, etc. ## Features - Map objects: pin-style markers, image (PNG) markers, polylines, polygons, (geodesic) circles - Automatic computation of best center + zoom from the added map objects - Several pre-configured map tile providers - Proper tile provider attributions display - On-disc caching of map tile images for faster drawing and reduced load on the tile servers - Non-anti-aliased drawing via `PILLOW` - Anti-aliased drawing via `pycairo` (optional; only if `pycairo` is installed properly) - SVG creation via `svgwrite` ## Installation ### SVG + non-anti-aliased PNG version ```shell pip install py-staticmaps ``` ### SVG + anti-aliased PNG version (via Cairo) ```shell pip install py-staticmaps[cairo] ``` `py-staticmaps` uses `pycairo` for creating anti-aliased raster-graphics, so make sure `libcairo2` is installed on your system (on Ubuntu just install the `libcairo2-dev` package, i.e. `sudo apt install libcairo2-dev`). ## Examples Note: PNG support (e.g. `context.render_cairo(...)`) is only available if the `pycairo` module is installed. ### Markers and Geodesic Lines ```python import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_StamenToner) frankfurt = staticmaps.create_latlng(50.110644, 8.682092) newyork = staticmaps.create_latlng(40.712728, -74.006015) context.add_object(staticmaps.Line([frankfurt, newyork], color=staticmaps.BLUE, width=4)) context.add_object(staticmaps.Marker(frankfurt, color=staticmaps.GREEN, size=12)) context.add_object(staticmaps.Marker(newyork, color=staticmaps.RED, size=12)) # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("frankfurt_newyork.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 500) image.write_to_png("frankfurt_newyork.cairo.png") # render svg svg_image = context.render_svg(800, 500) with open("frankfurt_newyork.svg", "w", encoding="utf-8") as f: svg_image.write(f, pretty=True) ``` ### Transparent Polygons ```python import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_OSM) freiburg_polygon = [ (47.96881, 7.79045), (47.96866, 7.78610), (47.97134, 7.77874), ... ] context.add_object( staticmaps.Area( [staticmaps.create_latlng(lat, lng) for lat, lng in freiburg_polygon], fill_color=staticmaps.parse_color("#00FF003F"), width=2, color=staticmaps.BLUE, ) ) # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("freiburg_area.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 500) image.write_to_png("freiburg_area.cairo.png") # render svg svg_image = context.render_svg(800, 500) with open("freiburg_area.svg", "w", encoding="utf-8") as f: svg_image.write(f, pretty=True) ``` ### Drawing a GPX Track + Image Marker (PNG) ```python import sys import gpxpy import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_ArcGISWorldImagery) with open(sys.argv[1], "r") as file: gpx = gpxpy.parse(file) for track in gpx.tracks: for segment in track.segments: line = [staticmaps.create_latlng(p.latitude, p.longitude) for p in segment.points] context.add_object(staticmaps.Line(line)) for p in gpx.walk(only_points=True): pos = staticmaps.create_latlng(p.latitude, p.longitude) marker = staticmaps.ImageMarker(pos, "start.png", origin_x=27, origin_y=35) context.add_object(marker) break # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("draw_gpx.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 500) image.write_to_png("draw_gpx.cairo.png") ``` ### US State Capitals ```python import json import requests import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_OSM) URL = ( "https://gist.githubusercontent.com/jpriebe/d62a45e29f24e843c974/" "raw/b1d3066d245e742018bce56e41788ac7afa60e29/us_state_capitals.json" ) response = requests.get(URL) for _, data in json.loads(response.text).items(): capital = staticmaps.create_latlng(float(data["lat"]), float(data["long"])) context.add_object(staticmaps.Marker(capital, size=5)) # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("us_capitals.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 500) image.write_to_png("us_capitals.cairo.png") ``` ### Geodesic Circles ```python import staticmaps context = staticmaps.Context() context.set_tile_provider(staticmaps.tile_provider_StamenToner) center1 = staticmaps.create_latlng(66, 0) center2 = staticmaps.create_latlng(0, 0) context.add_object(staticmaps.Circle(center1, 2000, fill_color=staticmaps.TRANSPARENT, color=staticmaps.RED, width=2)) context.add_object(staticmaps.Circle(center2, 2000, fill_color=staticmaps.TRANSPARENT, color=staticmaps.GREEN, width=2)) context.add_object(staticmaps.Marker(center1, color=staticmaps.RED)) context.add_object(staticmaps.Marker(center2, color=staticmaps.GREEN)) # render non-anti-aliased png image = context.render_pillow(800, 500) image.save("geodesic_circles.pillow.png") # render anti-aliased png (this only works if pycairo is installed) image = context.render_cairo(800, 600) image.write_to_png("geodesic_circles.cairo.png") ``` ### Other Examples Please take a look at the command line program which uses the `staticmaps` package: `staticmaps/cli.py` ### Dependencies `py-staticmaps` uses - `PILLOW` for rendering raster-graphics - `pycairo` for rendering antialiased raster-graphics (optional!) - `svgwrite` for writing SVG files - `s2sphere` for geo coordinates handling - `geographiclib` for geodesic computations - `appdirs` for finding the user's default cache directory - `requests` for downloading tile files ## License [MIT](LICENSE) © 2020-2021 Florian Pigorsch running install running install_lib creating /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr creating /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib creating /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/context.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/cairo_renderer.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/marker.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/renderer.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/tile_downloader.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/coordinates.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/line.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/object.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/meta.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/svg_renderer.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/__init__.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/area.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/circle.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/tile_provider.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/color.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/transformer.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/cli.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/pillow_renderer.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps copying build/lib/staticmaps/image_marker.py -> /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/context.py to context.cpython-39.pyc /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/cairo_renderer.py to cairo_renderer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/marker.py to marker.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/renderer.py to renderer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/tile_downloader.py to tile_downloader.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/coordinates.py to coordinates.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/line.py to line.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/object.py to object.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/meta.py to meta.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/svg_renderer.py to svg_renderer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/area.py to area.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/circle.py to circle.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/tile_provider.py to tile_provider.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/color.py to color.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/transformer.py to transformer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/cli.py to cli.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/pillow_renderer.py to pillow_renderer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/staticmaps/image_marker.py to image_marker.cpython-39.pyc writing byte-compilation script '/tmp/tmplo2ysnpn.py' /usr/bin/python3 /tmp/tmplo2ysnpn.py removing /tmp/tmplo2ysnpn.py running install_egg_info running egg_info writing py_staticmaps.egg-info/PKG-INFO writing dependency_links to py_staticmaps.egg-info/dependency_links.txt writing entry points to py_staticmaps.egg-info/entry_points.txt writing requirements to py_staticmaps.egg-info/requires.txt writing top-level names to py_staticmaps.egg-info/top_level.txt reading manifest file 'py_staticmaps.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' adding license file 'LICENSE' writing manifest file 'py_staticmaps.egg-info/SOURCES.txt' Copying py_staticmaps.egg-info to /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9/site-packages/py_staticmaps-0.4.0-py3.9.egg-info running install_scripts Installing createstaticmap script to /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/bin + install -d -m755 /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64//usr/share/doc/python-py-staticmaps + '[' -d doc ']' ~/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64 ~/build/BUILD/py-staticmaps-0.4.0 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '"/%h/%f"\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + find usr/bin -type f -printf '"/%h/%f"\n' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' ~/build/BUILD/py-staticmaps-0.4.0 + popd + mv /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/filelist.lst . + mv /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.4.0-1 --unique-debug-suffix -0.4.0-1.aarch64 --unique-debug-src-base python-py-staticmaps-0.4.0-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/py-staticmaps-0.4.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-py-staticmaps-0.4.0-1.noarch Provides: python-py-staticmaps python3-py-staticmaps = 0.4.0-1 python3.9dist(py-staticmaps) = 0.4 python3dist(py-staticmaps) = 0.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.9 python3.9dist(appdirs) python3.9dist(geographiclib) python3.9dist(pillow) python3.9dist(python-slugify) python3.9dist(requests) python3.9dist(s2sphere) python3.9dist(setuptools) python3.9dist(svgwrite) Processing files: python-py-staticmaps-help-0.4.0-1.noarch warning: Empty %files file /builddir/build/BUILD/py-staticmaps-0.4.0/doclist.lst Provides: python-py-staticmaps-help = 0.4.0-1 python3-py-staticmaps-doc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64 Wrote: /builddir/build/RPMS/python-py-staticmaps-help-0.4.0-1.noarch.rpm Wrote: /builddir/build/RPMS/python3-py-staticmaps-0.4.0-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zpC06m + umask 022 + cd /builddir/build/BUILD + cd py-staticmaps-0.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-py-staticmaps-0.4.0-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0