[Python-modules-commits] [panoramisk] 01/01: separate library from binary package

Orestis Ioannou oorestisime-guest at moszumanska.debian.org
Tue Oct 4 16:55:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

oorestisime-guest pushed a commit to branch master
in repository panoramisk.

commit c5e6981bf979ae4019fed1bc3eac467ad1a76928
Author: Orestis Ioannou <orestis at oioannou.com>
Date:   Tue Oct 4 18:53:19 2016 +0200

    separate library from binary package
---
 debian/control            | 19 +++++++++++++++++--
 debian/panoramisk.install |  1 +
 debian/rules              |  4 ++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 74f0752..589aa59 100644
--- a/debian/control
+++ b/debian/control
@@ -17,17 +17,32 @@ Homepage: http://panoramisk.readthedocs.org/
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/panoramisk.git
 Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/panoramisk.git
 
+
+Package: panoramisk
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends}, python3-panoramisk,
+Description: asyncio based library to play with asterisk (Python 3 binary)
+ Panoramisk is a library based on python’s AsyncIO to play with Asterisk’s
+ manager.
+ It uses the TCP manager server to listen to events and send actions.
+ .
+ This is the command line package.
+
+
 Package: python3-panoramisk
 Architecture: all
 Depends:
  ${misc:Depends},
  ${python3:Depends},
-Description: asyncio based library to play with asterisk (Python 3)
+Description: asyncio based library to play with asterisk (Python 3 library)
  Panoramisk is a library based on python’s AsyncIO to play with Asterisk’s
  manager.
  It uses the TCP manager server to listen to events and send actions.
  .
- This is the Python 3 package.
+ This is the Python 3 library package.
+
 
 Package: python-panoramisk-doc
 Architecture: all
diff --git a/debian/panoramisk.install b/debian/panoramisk.install
new file mode 100644
index 0000000..4f6839f
--- /dev/null
+++ b/debian/panoramisk.install
@@ -0,0 +1 @@
+debian/python3-panoramisk/usr/bin/panoramisk usr/bin
diff --git a/debian/rules b/debian/rules
index a8b4214..f9411aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,7 @@ override_dh_auto_build:
 
 override_dh_auto_test:
 	PYTHONPATH=. dh_auto_test
+
+override_dh_install:
+	dh_install
+	rm -v debian/python3-panoramisk/usr/bin/panoramisk

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/panoramisk.git



More information about the Python-modules-commits mailing list