2021-05-19 Fred Gleason <fredg@paravelsystems.com>

* Hacked the build system to make the PyPAD module install
	correctly on Debian-ish systems.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-05-20 08:02:24 -04:00
parent 70d773d78e
commit cb4f8fe9ea
5 changed files with 64 additions and 15 deletions

9
debian/rules vendored
View File

@@ -100,11 +100,10 @@ binary:
# rivendell-pypad
#
mkdir -p debian/rivendell-pypad/usr/lib/rivendell/pypad
cp -a apis/pypad/scripts/pypad* debian/rivendell-pypad/usr/lib/rivendell/pypad/
mkdir -p debian/rivendell-pypad/usr/lib/python3.8/pypad
mv debian/tmp/usr/lib/python3.8/site-packages/pypad.py debian/rivendell-pypad/usr/lib/python3.8/pypad/
mv debian/tmp/usr/lib/python3.8/site-packages/__pycache__ debian/rivendell-pypad/usr/lib/python3.8/pypad/
rmdir debian/tmp/usr/lib/python3.8/site-packages
mv debian/tmp/usr/lib/rivendell/pypad/* debian/rivendell-pypad/usr/lib/rivendell/pypad/
mkdir -p debian/rivendell-pypad/usr/lib/python3/dist-packages/__pycache__
mv debian/tmp/usr/lib/python3/dist-packages/pypad.py debian/rivendell-pypad/usr/lib/python3/dist-packages/
mv debian/tmp/usr/lib/python3/dist-packages/__pycache__/* debian/rivendell-pypad/usr/lib/python3/dist-packages/__pycache__/
#
# rivendell-select