Commit 76b65834 authored by Jakob Kirsch's avatar Jakob Kirsch

fix dependencies because python3-pillow and python3-numpy exist

parent 2e465cf3
......@@ -5,10 +5,12 @@ export ARC=amd64
$PY -m venv venv
venv/bin/$PY -m pip install arcade
rm -fr venv/lib//$PY/site-packages/setuptools*
rm -fr venv/lib//$PY/site-packages/pkg_resources*
rm -fr venv/lib//$PY/site-packages/pip*
rm -fr venv/lib//$PY/site-packages/*.py
rm -fr venv/lib/$PY/site-packages/setuptools*
rm -fr venv/lib/$PY/site-packages/pkg_resources*
rm -fr venv/lib/$PY/site-packages/pip*
rm -fr venv/lib/$PY/site-packages/numpy*
rm -fr venv/lib/$PY/site-packages/PIL*
rm -fr venv/lib/$PY/site-packages/*.py
git clone https://github.com/jarikomppa/soloud.git
cd soloud/build
git clone https://github.com/bkaradzic/genie.git
......@@ -30,6 +32,7 @@ mkdir python3-arcade_$VER/usr
mkdir python3-arcade_$VER/usr/lib
mkdir python3-arcade_$VER/usr/lib/python3
cp venv/lib/$PY/site-packages/ python3-arcade_$VER/usr/lib/python3/dist-packages/ -r
mkdir python3-arcade_$VER/usr/lib/python3/dist-packages/__pycache__/
mkdir python3-arcade_$VER/DEBIAN
echo Package: python3-arcade > python3-arcade_$VER/DEBIAN/control
echo Version: $VER >> python3-arcade_$VER/DEBIAN/control
......@@ -37,8 +40,8 @@ echo Section: custom >> python3-arcade_$VER/DEBIAN/control
echo Priority: optional >> python3-arcade_$VER/DEBIAN/control
echo Architecture: $ARC >> python3-arcade_$VER/DEBIAN/control
echo Essential: no >> python3-arcade_$VER/DEBIAN/control
echo Requires: $PY >> python3-arcade_$VER/DEBIAN/control
echo Provides: python3-pytiled-parser, python3-numpy, python3-pillow, python3-pyglet, python3-attrs >> python3-arcade_$VER/DEBIAN/control
echo Requires: $PY, python3-numpy, python3-pillow >> python3-arcade_$VER/DEBIAN/control
echo Provides: python3-pytiled-parser, python3-pyglet, python3-attrs >> python3-arcade_$VER/DEBIAN/control
echo Maintainer: Jakob Kirsch >> python3-arcade_$VER/DEBIAN/control
echo Description: full arcade >> python3-arcade_$VER/DEBIAN/control
dpkg-deb --build python3-arcade_$VER
......
No preview for this file type
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