diff --git a/pyproject_save_files.py b/pyproject_save_files.py index 3f1e178..dd697ec 100755 --- a/pyproject_save_files.py +++ b/pyproject_save_files.py @@ -265,7 +265,8 @@ def generate_file_list(paths_dict, module_globs, include_others=False): if include_others: files.update(f"{p}" for p in paths_dict["other"]["files"]) try: - files.update(f"%lang({lang_code}) {path}" for path in paths_dict["lang"][None][lang_code]) + for lang_code in paths_dict["lang"][None]: + files.update(f"%lang({lang_code}) {path}" for path in paths_dict["lang"][None][lang_code]) except KeyError: pass diff --git a/pyproject_save_files_test_data.yaml b/pyproject_save_files_test_data.yaml index a95e1b1..2c6cae4 100644 --- a/pyproject_save_files_test_data.yaml +++ b/pyproject_save_files_test_data.yaml @@ -1408,6 +1408,78 @@ classified: files: - /usr/bin/django-admin - /usr/bin/django-admin.py + printrun: + metadata: + dirs: + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info + docs: [] + files: + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/COPYING + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/INSTALLER + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/METADATA + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/RECORD + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/top_level.txt + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/REQUESTED + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/WHEEL + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/direct_url.json + licenses: [] + lang: + Null: + de: + - /usr/share/locale/de/LC_MESSAGES/plater.mo + - /usr/share/locale/de/LC_MESSAGES/pronterface.mo + fr: + - /usr/share/locale/fr/LC_MESSAGES/plater.mo + - /usr/share/locale/fr/LC_MESSAGES/pronterface.mo + it: + - /usr/share/locale/it/LC_MESSAGES/plater.mo + - /usr/share/locale/it/LC_MESSAGES/pronterface.mo + nl: + - /usr/share/locale/nl/LC_MESSAGES/pronterface.mo + modules: + printrun: + - files: + - /usr/lib/python3.7/site-packages/printrun + type: package + other: + files: + - /usr/bin/plater.py + - /usr/bin/printcore.py + - /usr/bin/pronsole.py + - /usr/bin/pronterface.py + - /usr/share/applications/plater.desktop + - /usr/share/applications/pronsole.desktop + - /usr/share/applications/pronterface.desktop + - /usr/share/metainfo/plater.appdata.xml + - /usr/share/metainfo/pronsole.appdata.xml + - /usr/share/metainfo/pronterface.appdata.xml + - /usr/share/pixmaps/plater.png + - /usr/share/pixmaps/pronsole.png + - /usr/share/pixmaps/pronterface.png + - /usr/share/pronterface/arrow_down.png + - /usr/share/pronterface/arrow_keys.png + - /usr/share/pronterface/arrow_up.png + - /usr/share/pronterface/control_mini.png + - /usr/share/pronterface/control_mini.svg + - /usr/share/pronterface/control_xy.png + - /usr/share/pronterface/control_xy.svg + - /usr/share/pronterface/control_z.png + - /usr/share/pronterface/control_z.svg + - /usr/share/pronterface/control_z_mini.png + - /usr/share/pronterface/control_z_mini.svg + - /usr/share/pronterface/edit.png + - /usr/share/pronterface/fit.png + - /usr/share/pronterface/inject.png + - /usr/share/pronterface/reset.png + - /usr/share/pronterface/zoom_in.png + - /usr/share/pronterface/zoom_out.png + - /usr/share/locale/de/LC_MESSAGES/plater.mo + - /usr/share/locale/de/LC_MESSAGES/pronterface.mo + - /usr/share/locale/fr/LC_MESSAGES/plater.mo + - /usr/share/locale/fr/LC_MESSAGES/pronterface.mo + - /usr/share/locale/it/LC_MESSAGES/plater.mo + - /usr/share/locale/it/LC_MESSAGES/pronterface.mo + - /usr/share/locale/nl/LC_MESSAGES/pronterface.mo dumped: - - tensorflow @@ -2646,6 +2718,62 @@ dumped: - /usr/lib/python3.7/site-packages/Django-3.0.7.dist-info/entry_points.txt - /usr/lib/python3.7/site-packages/Django-3.0.7.dist-info/top_level.txt - /usr/lib/python3.7/site-packages/django/ +- - printrun + - printrun + - - '%dir /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info' + - '%lang(de) /usr/share/locale/de/LC_MESSAGES/plater.mo' + - '%lang(de) /usr/share/locale/de/LC_MESSAGES/pronterface.mo' + - '%lang(fr) /usr/share/locale/fr/LC_MESSAGES/plater.mo' + - '%lang(fr) /usr/share/locale/fr/LC_MESSAGES/pronterface.mo' + - '%lang(it) /usr/share/locale/it/LC_MESSAGES/plater.mo' + - '%lang(it) /usr/share/locale/it/LC_MESSAGES/pronterface.mo' + - '%lang(nl) /usr/share/locale/nl/LC_MESSAGES/pronterface.mo' + - /usr/bin/plater.py + - /usr/bin/printcore.py + - /usr/bin/pronsole.py + - /usr/bin/pronterface.py + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/COPYING + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/INSTALLER + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/METADATA + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/RECORD + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/REQUESTED + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/WHEEL + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/direct_url.json + - /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/top_level.txt + - /usr/lib/python3.7/site-packages/printrun/ + - /usr/share/applications/plater.desktop + - /usr/share/applications/pronsole.desktop + - /usr/share/applications/pronterface.desktop + - /usr/share/locale/de/LC_MESSAGES/plater.mo + - /usr/share/locale/de/LC_MESSAGES/pronterface.mo + - /usr/share/locale/fr/LC_MESSAGES/plater.mo + - /usr/share/locale/fr/LC_MESSAGES/pronterface.mo + - /usr/share/locale/it/LC_MESSAGES/plater.mo + - /usr/share/locale/it/LC_MESSAGES/pronterface.mo + - /usr/share/locale/nl/LC_MESSAGES/pronterface.mo + - /usr/share/metainfo/plater.appdata.xml + - /usr/share/metainfo/pronsole.appdata.xml + - /usr/share/metainfo/pronterface.appdata.xml + - /usr/share/pixmaps/plater.png + - /usr/share/pixmaps/pronsole.png + - /usr/share/pixmaps/pronterface.png + - /usr/share/pronterface/arrow_down.png + - /usr/share/pronterface/arrow_keys.png + - /usr/share/pronterface/arrow_up.png + - /usr/share/pronterface/control_mini.png + - /usr/share/pronterface/control_mini.svg + - /usr/share/pronterface/control_xy.png + - /usr/share/pronterface/control_xy.svg + - /usr/share/pronterface/control_z.png + - /usr/share/pronterface/control_z.svg + - /usr/share/pronterface/control_z_mini.png + - /usr/share/pronterface/control_z_mini.svg + - /usr/share/pronterface/edit.png + - /usr/share/pronterface/fit.png + - /usr/share/pronterface/inject.png + - /usr/share/pronterface/reset.png + - /usr/share/pronterface/zoom_in.png + - /usr/share/pronterface/zoom_out.png records: kerberos: @@ -7151,3 +7279,144 @@ records: django/views/templates/technical_404.html,sha256=nZT2gkPAYc7G8VNJXst-dEyim0t83xjX-TtCGtxJZwc,2453 django/views/templates/technical_500.html,sha256=yM5Gbx8b4--cv8PE-TBuVWxfJnu4gEjk8dmuBwRcCd8,17286 django/views/templates/technical_500.txt,sha256=7xwuvsK28YuBeITnsrkXGaICspxnWbbXHKYaKdcNBYs,3471 + + printrun: + path: /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/RECORD + content: | + ../../../bin/__pycache__/plater.cpython-37.pyc,, + ../../../bin/__pycache__/printcore.cpython-37.pyc,, + ../../../bin/__pycache__/pronsole.cpython-37.pyc,, + ../../../bin/__pycache__/pronterface.cpython-37.pyc,, + ../../../bin/plater.py,sha256=kSU5dOm0wqLGdySUkyNMTlmD1yWni4wlDIIvZNt2-dM,1766 + ../../../bin/printcore.py,sha256=UA9ZOjDwGfb6MDa62itpjHw3v4DDDnVnP-FwrA_rUpA,3625 + ../../../bin/pronsole.py,sha256=0d1retd8ZAvs54_SSJq-p-FkfoSVNOEHMUUjIt6rvaI,2281 + ../../../bin/pronterface.py,sha256=WZKoAP_0Xz197ICln2Z4AdftIvHC9AG5vKB63Qpzu1o,2414 + ../../../share/applications/plater.desktop,sha256=SGOq4VYvscq-7yeJ2qxFB9os_sc8TW6wLVxe2vZwloA,237 + ../../../share/applications/pronsole.desktop,sha256=63cSwwPf7CoCeJutIgaIZFZTW8tcPdyLXveIgiUERF8,246 + ../../../share/applications/pronterface.desktop,sha256=fMrNUJglFruKyepC44Za6mv4jcHS7XY3dWzcnAuAVHU,351 + ../../../share/locale/de/LC_MESSAGES/plater.mo,sha256=LLWp7EBQnzKAiA9HPrnY5TnQmzJ-CgR47syCkzhrmQI,1551 + ../../../share/locale/de/LC_MESSAGES/pronterface.mo,sha256=1BOa7NCJudSsw_sLgn2ui7yCBCglKIvyrRPUCwlCNdY,9961 + ../../../share/locale/fr/LC_MESSAGES/plater.mo,sha256=9jNjLP08Ng4bzVzch9-j2ybK_uGAw6WwPxdKvC0rbjg,1622 + ../../../share/locale/fr/LC_MESSAGES/pronterface.mo,sha256=q7YMPxLXHyQKFcljEbH644Og7JlGhmxUkIZngP8eJbY,40986 + ../../../share/locale/it/LC_MESSAGES/plater.mo,sha256=y8QEgDWgWKgs-lTN3obMliZZvKKjy7HqsYGdDXPxsaY,1638 + ../../../share/locale/it/LC_MESSAGES/pronterface.mo,sha256=Rque1Azc5gIdJqGJka7jIAOKo-p06iE_vkLdZP9o42s,10146 + ../../../share/locale/nl/LC_MESSAGES/pronterface.mo,sha256=QfN0rNroeZ59hRTnYE7WFUI6iaPOris77kvRiwI9RVY,6719 + ../../../share/metainfo/plater.appdata.xml,sha256=0ON-14u2jgicN27cpbrgB_hd0uk7UwIy1bW_hBc3UD4,992 + ../../../share/metainfo/pronsole.appdata.xml,sha256=XIzqay6Yal4L1XQyKa9jzau-rXCLkBurmr5hMHWO9VI,1175 + ../../../share/metainfo/pronterface.appdata.xml,sha256=wn2fK02gtiAlKjzeQg4qk1nVrGGcdvC6kCfUWxA9QDo,1292 + ../../../share/pixmaps/plater.png,sha256=6n3WemUHR8FkxhABsfTQfjzGH2HEcRqVvN1e-TUclDM,2090 + ../../../share/pixmaps/pronsole.png,sha256=Gv8zNQEvPNyAS55pPPGPljzm2Uzf1MtylwIsAaJ1zsE,1090 + ../../../share/pixmaps/pronterface.png,sha256=TIAEzEwyln4ikjqU3gRiwf5B6mtIrbU8LD5DntBjb90,9063 + ../../../share/pronterface/arrow_down.png,sha256=Xk-ijihAfGK_mQrHT39vAmLuLQb4TjuAP20-IO59sAI,1166 + ../../../share/pronterface/arrow_keys.png,sha256=5YcTRBF9RxC2rUlb_rituHMOGJjWAcVRBjO4zsdlz0M,1053 + ../../../share/pronterface/arrow_up.png,sha256=scwCCHfGywmX3kmylGNLiXXkd6C8_bwHzrOanUECh8c,1048 + ../../../share/pronterface/control_mini.png,sha256=pvNG8GwJZmk6E6MwqOAae9C_mROtOMtkCKJi5R_-KsE,13223 + ../../../share/pronterface/control_mini.svg,sha256=FJINeVFCh9Gka5CPeD1CtTES3V_U2vdYJOSy9bTut10,24014 + ../../../share/pronterface/control_xy.png,sha256=8G--l_NRfZU0Td81hl2iwsj1JdRA9mMG5II14O7iuzA,57499 + ../../../share/pronterface/control_xy.svg,sha256=UbRMQK_9lEaKp2MuxmHfjTZS5wkws35mfP0rzPNRIt0,72098 + ../../../share/pronterface/control_z.png,sha256=Doj46ETcqBYvZARVRaGqDDpzJOQgYUhY00UaYjEz1d0,9236 + ../../../share/pronterface/control_z.svg,sha256=RNyNORTKFZD-z1Qi3hXaXX_H4mNfPRQMt2GgFCz-sco,22826 + ../../../share/pronterface/control_z_mini.png,sha256=vVOQWjfjPmWCI_MHYS2BKjWH7L9A71wktP6uq5_y9Ok,6718 + ../../../share/pronterface/control_z_mini.svg,sha256=wW0gZdj9oom9iOryhZatkzAtwRl1PnwXxaU-4oOj728,19749 + ../../../share/pronterface/edit.png,sha256=37oS18DGm97CXsM3P7OyZj9Yku-ki65wztaEqPPVGT0,1010 + ../../../share/pronterface/fit.png,sha256=VMHMRMuTydIZQ_-G6NdUM2dpKwNZddAzf8xiPwSbj1M,878 + ../../../share/pronterface/inject.png,sha256=zqWo4LoLiJvQBzsZ4T1hk58ysgPj9Gq4zxoMlgBzTfc,1424 + ../../../share/pronterface/reset.png,sha256=JkJlCXSSjRD-8_YLzI4GGJm_k9J5E95Ix-HYNJxW6W0,1194 + ../../../share/pronterface/zoom_in.png,sha256=2Q-xOFoZT0XZbdySuiZsCkXXT_pPeWMT1TSOqoav-oI,1739 + ../../../share/pronterface/zoom_out.png,sha256=55w7ZU5SUmlVFNBN5mGo-7FGt1QuamIQLFk0xXwkuw4,1174 + Printrun-2.0.0rc6.dist-info/COPYING,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147 + Printrun-2.0.0rc6.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 + Printrun-2.0.0rc6.dist-info/METADATA,sha256=vYCUX8z-BENqmAHfatVIYFNjGB9cg02r9vDjHEQ9p8E,20829 + Printrun-2.0.0rc6.dist-info/RECORD,, + Printrun-2.0.0rc6.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 + Printrun-2.0.0rc6.dist-info/WHEEL,sha256=EVRjI69F5qVjm_YgqcTXPnTAv3BfSUr0WVAHuSP3Xoo,92 + Printrun-2.0.0rc6.dist-info/direct_url.json,sha256=vfUYK5NrTfp_flHBMvvCVQIykCdJxtblsjse4VXUIRE,97 + Printrun-2.0.0rc6.dist-info/top_level.txt,sha256=V6WuxmUkUiVPSD_W2_F2i0I46pChNWt7ZWTqitFFQWA,9 + printrun/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 + printrun/__pycache__/__init__.cpython-37.pyc,, + printrun/__pycache__/eventhandler.cpython-37.pyc,, + printrun/__pycache__/excluder.cpython-37.pyc,, + printrun/__pycache__/gcodeplater.cpython-37.pyc,, + printrun/__pycache__/gcoder.cpython-37.pyc,, + printrun/__pycache__/gcview.cpython-37.pyc,, + printrun/__pycache__/gviz.cpython-37.pyc,, + printrun/__pycache__/injectgcode.cpython-37.pyc,, + printrun/__pycache__/objectplater.cpython-37.pyc,, + printrun/__pycache__/packer.cpython-37.pyc,, + printrun/__pycache__/printcore.cpython-37.pyc,, + printrun/__pycache__/projectlayer.cpython-37.pyc,, + printrun/__pycache__/pronsole.cpython-37.pyc,, + printrun/__pycache__/pronterface.cpython-37.pyc,, + printrun/__pycache__/rpc.cpython-37.pyc,, + printrun/__pycache__/settings.cpython-37.pyc,, + printrun/__pycache__/stlplater.cpython-37.pyc,, + printrun/__pycache__/stltool.cpython-37.pyc,, + printrun/__pycache__/stlview.cpython-37.pyc,, + printrun/__pycache__/utils.cpython-37.pyc,, + printrun/__pycache__/zscaper.cpython-37.pyc,, + printrun/eventhandler.py,sha256=Dr6c_UGkwIuALIy2sfhM9uSGK2yxFfN7bxI-KMzQQbY,3125 + printrun/excluder.py,sha256=cyBgJo1AKNFUI4aUVkCenE5QRSwhST1NSfXoYFsrp78,4933 + printrun/gcodeplater.py,sha256=CBHjjtL989tlOXp2gclYkf5gTLvA62wSzifDYSdjPjE,10956 + printrun/gcoder.py,sha256=YK01E3PchPmWOkxLKKEQmQnZFfLfPd1Ioz83WFVUVHc,30639 + printrun/gcview.py,sha256=LS2A-q3mBklijc5gGrrO0UuKARz9XhvOpbpH1fw81-w,20251 + printrun/gl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 + printrun/gl/__pycache__/__init__.cpython-37.pyc,, + printrun/gl/__pycache__/panel.cpython-37.pyc,, + printrun/gl/__pycache__/trackball.cpython-37.pyc,, + printrun/gl/libtatlin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 + printrun/gl/libtatlin/__pycache__/__init__.cpython-37.pyc,, + printrun/gl/libtatlin/__pycache__/actors.cpython-37.pyc,, + printrun/gl/libtatlin/actors.py,sha256=EEPZvXFd0qn38nfefiQ6mwhFcPISTLp9djEV8IfZJAc,48618 + printrun/gl/panel.py,sha256=54pXT1k1qOR1sKWJZ2wxh8TheYW1p9U2bWb8TFhhqxQ,17023 + printrun/gl/trackball.py,sha256=T4QYgieYVOOvBF1uFWPu4_npOz1zJg0WWM3BA1ZqhxQ,2724 + printrun/gui/__init__.py,sha256=Y6D4vGKz5u_xTtBqTunRRf0QsMqONp3rW5m2neRi_KU,13722 + printrun/gui/__pycache__/__init__.cpython-37.pyc,, + printrun/gui/__pycache__/bufferedcanvas.cpython-37.pyc,, + printrun/gui/__pycache__/controls.cpython-37.pyc,, + printrun/gui/__pycache__/graph.cpython-37.pyc,, + printrun/gui/__pycache__/log.cpython-37.pyc,, + printrun/gui/__pycache__/toolbar.cpython-37.pyc,, + printrun/gui/__pycache__/utils.cpython-37.pyc,, + printrun/gui/__pycache__/viz.cpython-37.pyc,, + printrun/gui/__pycache__/widgets.cpython-37.pyc,, + printrun/gui/__pycache__/xybuttons.cpython-37.pyc,, + printrun/gui/__pycache__/zbuttons.cpython-37.pyc,, + printrun/gui/bufferedcanvas.py,sha256=klFNcDrrTP6p5Mo2olElMxFxM1U2Ck_oAve1lOCUU2o,3276 + printrun/gui/controls.py,sha256=EjRCfoRquZrPQqj92n8XmzGasDfR9gKIAHlffZpQ3qQ,20859 + printrun/gui/graph.py,sha256=fcgJSbWq2otyUwQ675blS8UmRKUbsL-sV1aa4fG8PmA,21191 + printrun/gui/log.py,sha256=EyDfkb1MbyL6jLWrRn0As7PATkX4SDGoHHA-VvzukaU,2236 + printrun/gui/toolbar.py,sha256=_GJaeRu3sYbhxO9sqesd3VTZXrUrT5QTNVxPduMLlx0,4251 + printrun/gui/utils.py,sha256=ERlNVVByxU1y7qSgdhmmAqNCSQP-AzBqPFFieZ9oNmE,1466 + printrun/gui/viz.py,sha256=AtZC6iPnwNIll3kHoGOGUayOTueFVgmFToskBemM34k,4990 + printrun/gui/widgets.py,sha256=7Ye3wl7VRBc7cRwp6pN7g6TsFNp-Zt7ar17U6mEKSHA,16728 + printrun/gui/xybuttons.py,sha256=GAiqHE8huiXrUjdSdeeYYj-xlXuxyM2ohLL2_9dDzpY,19954 + printrun/gui/zbuttons.py,sha256=jA2rIQUFZCnNKmCcBGIoHdiILAhhUcFm1r9jzZCwtM4,6048 + printrun/gviz.py,sha256=QbQbAt6cZmGtLXCZqsK2HATqEWs3qgpPwjZb-BFcXK4,22300 + printrun/injectgcode.py,sha256=y-LWlI-i1jlcgFnsgJZNUzjdVLSlzEf5VLmRhxNrCpA,1922 + printrun/objectplater.py,sha256=cOZ0KSrLbCnGP8Uj9ExUZqSX9uvDIufrhyk2_7bmjJw,12188 + printrun/packer.py,sha256=TzC7s0SmKh5IVWmPkku88QECEBHBygwP_wFx9wdI37Q,7060 + printrun/plugins/__init__.py,sha256=P_gRpfv-ICAf5uuni_3m0cYwdxP-90uG6aJe1PKrwnY,784 + printrun/plugins/__pycache__/__init__.cpython-37.pyc,, + printrun/plugins/__pycache__/sample.cpython-37.pyc,, + printrun/plugins/sample.py,sha256=orY1bd8tTNOR_pj8SAqkQ8HDn_7MmPOZENK5EgWi4Sg,1989 + printrun/power/__init__.py,sha256=6769yQX94mYXIISGycav9YqnO9-a5cELFTCDJS1YBXk,5183 + printrun/power/__pycache__/__init__.cpython-37.pyc,, + printrun/power/__pycache__/osx.cpython-37.pyc,, + printrun/power/osx.py,sha256=191My5UlDptvnksF9OVnhUhxB531GcVbW0neRRZYJKI,3105 + printrun/printcore.py,sha256=67zY7IPrMB32nslusPMneNUbB1vV-mK29pUj9i0cEEA,31878 + printrun/projectlayer.py,sha256=8X2E3-H0I8FIM2vUCtr9SICapQht1DkSoaEHVSFzyNg,38424 + printrun/pronsole.py,sha256=F1yhJqh-5cUYud6vQW6w8kbBAlcrW8o1APZK3vfFexY,73663 + printrun/pronterface.py,sha256=vTiDgsraUU3oAkmtNsRVxZMSD9zuyXNb1CAjaW1HhLM,111761 + printrun/rpc.py,sha256=TQzoxG4UOfVcaLbN3VkxLLLTEQC7OndMzRtWzuQNp8M,4192 + printrun/settings.py,sha256=1EJnUib9mxYKCHU5xWKSZzMUXosmD17al3rYy_SbI-Y,17503 + printrun/spoolmanager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 + printrun/spoolmanager/__pycache__/__init__.cpython-37.pyc,, + printrun/spoolmanager/__pycache__/spoolmanager.cpython-37.pyc,, + printrun/spoolmanager/__pycache__/spoolmanager_gui.cpython-37.pyc,, + printrun/spoolmanager/spoolmanager.py,sha256=1YzB2dXEogPxHVEv2G34Z9edhVn-hU2DNoOD5_1wbSk,8798 + printrun/spoolmanager/spoolmanager_gui.py,sha256=P8ZHv3HAUMSr82kuS6BTbFqZdLFGCcbfIMkcSENo6ww,25647 + printrun/stlplater.py,sha256=Df6WFbqU_-8lYumZmd40nBx4MgOOQnBm3pi40SFDY8w,21296 + printrun/stltool.py,sha256=1NU8fDJFefv5OG34vESN_NLrSgDywebDDELaccXkvEY,13806 + printrun/stlview.py,sha256=Q4JuJ1X4CgGWM7CTWipgLuVttdCKBGGzw74it3XBmhI,18057 + printrun/utils.py,sha256=LM9Af-llCauZaqi8cMYVElnbmBgxqVuunCJW7iHs_do,9470 + printrun/zscaper.py,sha256=rpVaReYane8yv7iMwFzKf_Ppqh9nZhbeusjff93lNjw,4774 diff --git a/test_pyproject_save_files.py b/test_pyproject_save_files.py index d349e85..ee346bc 100755 --- a/test_pyproject_save_files.py +++ b/test_pyproject_save_files.py @@ -157,7 +157,7 @@ def test_parse_record_tensorflow(): def remove_others(expected): - return [p for p in expected if not (p.startswith(str(BINDIR)) or p.startswith(str(DATADIR)) or p.endswith(".pth"))] + return [p for p in expected if not (p.startswith(str(BINDIR)) or p.endswith(".pth") or p.rpartition(' ')[-1].startswith(str(DATADIR)))] @pytest.mark.parametrize("include_auto", (True, False)) diff --git a/tests/printrun.spec b/tests/printrun.spec new file mode 100644 index 0000000..d91b230 --- /dev/null +++ b/tests/printrun.spec @@ -0,0 +1,52 @@ +Name: printrun +Version: 2.0.0~rc6 +%global upstream_version 2.0.0rc6 +Release: 0%{?dist} +Summary: RepRap printer interface and tools +License: GPLv3+ and FSFAP +URL: https://github.com/kliment/Printrun +Source0: https://github.com/kliment/Printrun/archive/%{name}-%{upstream_version}.tar.gz + +# fix locale location +Patch0: https://github.com/kliment/Printrun/pull/1101.patch + +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-devel +BuildRequires: gcc + +%description +This package contains lang files outside of printrun module. +Building this tests that lang files are marked with %%lang in filelist. + + +%prep +%autosetup -p1 -n Printrun-printrun-%{upstream_version} + + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files printrun +auto + + +%check +# Internal check if generated lang entries are same as +# the ones generated using %%find_lang +%find_lang pronterface +%find_lang plater + +grep '^%%lang' %{pyproject_files} | sort > tested.lang +sort pronterface.lang plater.lang > expected.lang +diff tested.lang expected.lang + + +%files -f %{pyproject_files} +%doc README* +%license COPYING diff --git a/tests/tests.yml b/tests/tests.yml index c5dda43..e03bd53 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -58,6 +58,9 @@ - django: dir: . run: ./mocktest.sh python-django + - printrun: + dir: . + run: ./mocktest.sh printrun required_packages: - mock - rpmdevtools