2021-12-23 Fred Gleason <fredg@paravelsystems.com>

* Refactored the build of the 'python3-rivwebpyapi' deb package
	so as to include proper PyPI package metadata.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-12-23 10:00:54 -05:00
parent 6a01538bf3
commit c1d95b01a9
6 changed files with 38 additions and 3 deletions

6
debian/Makefile.am vendored
View File

@@ -30,7 +30,9 @@ EXTRA_DIST = changelog\
postinst\
postrm\
prerm\
rules
rules\
rules.src
MAINTAINERCLEANFILES = changelog\
control
control\
rules

6
debian/control.src vendored
View File

@@ -69,3 +69,9 @@ Depends: python3, python3-pycurl, python3-mysqldb, python3-serial, python3-reque
Description: PyPAD Program Associated Data script system for Rivendell
This package contains Rivendell's PyPAD scripting system for transmitting
Program Associated Data (PAD) using Python scripts.
Package: python3-rivwebpyapi
Architecture: all
Depends: python3, python3-requests
Description: Python 3 interface for accessing the Rivendell Web API
This is a Python 3 language binding for the Rivendell Web API.

View File

@@ -104,6 +104,20 @@ binary:
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__/
#
# python3-rivwebpyapi
#
mkdir -p debian/python3-rivwebpyapi/usr/lib/python3/dist-packages
mv debian/tmp/usr/lib/python3/dist-packages/rivwebpyapi debian/python3-rivwebpyapi/usr/lib/python3/dist-packages/
mkdir -p debian/python3-rivwebpyapi/usr/lib/python3/dist-packages/rivwebpyapi-@RIVWEBPYAPI_VERSION@.egg-info
cp apis/rivwebpyapi/PKG-INFO debian/python3-rivwebpyapi/usr/lib/python3/dist-packages/rivwebpyapi-@RIVWEBPYAPI_VERSION@.egg-info/
cp apis/rivwebpyapi/dependency_links.txt debian/python3-rivwebpyapi/usr/lib/python3/dist-packages/rivwebpyapi-@RIVWEBPYAPI_VERSION@.egg-info/
cp apis/rivwebpyapi/requires.txt debian/python3-rivwebpyapi/usr/lib/python3/dist-packages/rivwebpyapi-@RIVWEBPYAPI_VERSION@.egg-info/
cp apis/rivwebpyapi/top_level.txt debian/python3-rivwebpyapi/usr/lib/python3/dist-packages/rivwebpyapi-@RIVWEBPYAPI_VERSION@.egg-info/
mkdir -p debian/python3-rivwebpyapi/usr/share/doc/python3-rivwebpyapi/examples
cp apis/rivwebpyapi/tests/*.py debian/python3-rivwebpyapi/usr/share/doc/python3-rivwebpyapi/examples/
#
# rivendell-select
#