[Python-modules-commits] [pyjokes] 02/06: Add binary package
Ethan Ward
ethanward-guest at moszumanska.debian.org
Tue Aug 22 17:23:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
ethanward-guest pushed a commit to branch master
in repository pyjokes.
commit c32960ac523a960da606e12e358d9fdc8d7071c3
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date: Mon Aug 21 20:05:23 2017 -0500
Add binary package
---
debian/control | 14 ++++++++++++--
debian/pyjoke.install | 1 +
debian/pyjoke.manpages | 1 +
debian/rules | 7 -------
4 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/debian/control b/debian/control
index 8c63065..683cfdb 100644
--- a/debian/control
+++ b/debian/control
@@ -33,9 +33,19 @@ Package: python3-pyjokes
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: One line jokes for programmers (Python 3)
- Import this library to generate random jokes for programmers, or
- run the command line utility to generate a random joke.
+ Import this library to generate random jokes for programmers.
Choose from neutral jokes, adult jokes, and Chuck Norris themed
jokes.
.
This package contains the module for Python 3.
+
+Package: pyjoke
+Section: misc
+Architecture: all
+Depends: python3-pyjokes, ${misc:Depends}, ${python3:Depends}
+Description: Command line utility to make programmer jokes
+ Run this command line utility to generate random jokes for programmers.
+ Choose from neutral jokes, adult jokes, and Chuck Norris themed
+ jokes.
+ .
+ This package contains the application for Python 3.
diff --git a/debian/pyjoke.install b/debian/pyjoke.install
new file mode 100644
index 0000000..70de0bd
--- /dev/null
+++ b/debian/pyjoke.install
@@ -0,0 +1 @@
+bin/pyjoke /usr/bin
diff --git a/debian/pyjoke.manpages b/debian/pyjoke.manpages
new file mode 100644
index 0000000..d7ebf79
--- /dev/null
+++ b/debian/pyjoke.manpages
@@ -0,0 +1 @@
+debian/pyjoke.1
diff --git a/debian/rules b/debian/rules
index d3513f6..4206d89 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,3 @@ export PYBUILD_TEST_ARGS=-k "not test_cli_error"
%:
dh $@ --with python2,python3 --buildsystem=pybuild --test-pytest
-
-override_dh_python3:
- dh_python3 --shebang=/usr/bin/python3
-
-override_dh_auto_install:
- dh_auto_install
- rm debian/python-pyjokes/usr/bin/pyjoke
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyjokes.git
More information about the Python-modules-commits
mailing list