Commit 41fc5f0f authored by Petter Reinholdtsen's avatar Petter Reinholdtsen

Moved example python scripts to package minetest-mod-pycraft.

This make it possible to run them from within minetest.
parent 5681a468
......@@ -13,6 +13,7 @@ Vcs-Browser: https://salsa.debian.org/games-team/unfinished/minetest-mod-pycraft
Package: minetest-mod-pycraft
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, minetest | minetest-server
, python3-minecraftpi
Description: Minetest mod - (most of) Raspberry PI Minecraft API
Provide API server in Minetest to allow Python and Sonic Pi to manipulate
the world in the server.
......
*.lua usr/share/games/minetest/mods/pycraft
*.conf usr/share/games/minetest/mods/pycraft
mcpipy/*.py usr/share/games/minetest/mods/pycraft/mcpipy
mcpipy/*.jpg usr/share/games/minetest/mods/pycraft/mcpipy
mcpipy/*.png usr/share/games/minetest/mods/pycraft/mcpipy
mcpipy/README.md usr/share/games/minetest/mods/pycraft/mcpipy
mcpipy/mcpi/*.py /usr/lib/python3/dist-packages/mcpi
mcpipy/*.py /usr/share/doc/python3-minecraftpi/examples
......@@ -6,8 +6,8 @@
override_dh_install:
dh_install
chmod a-x debian/minetest-mod-pycraft/usr/share/games/minetest/mods/pycraft/*
chmod a-x debian/minetest-mod-pycraft/usr/share/games/minetest/mods/pycraft/mcpipy/*
chmod a-x debian/python3-minecraftpi/usr/lib/python3/dist-packages/mcpi/*
chmod a-x debian/python3-minecraftpi/usr/share/doc/python3-minecraftpi/examples/*
override_dh_auto_test:
busted .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment