[Python-modules-commits] [python-fedora] 05/09: Rewriting/improving debian/control

Sergio Durigan Junior sergiodj-guest at moszumanska.debian.org
Tue Jul 19 23:50:00 UTC 2016


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

sergiodj-guest pushed a commit to branch master
in repository python-fedora.

commit eab03c0683c473b9d1890d4434aa91ea9be1f41b
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date:   Tue Jul 19 19:44:03 2016 -0400

    Rewriting/improving debian/control
    
    * New upstream release.
    * Add myself to the Uploaders list.
    * Split package into python-fedora and python3-fedora.
    * New package python-fedora-doc.  Make python{,3}-fedora packages
      suggest it.
    * Bump Standards-Version to 3.9.8.
    * Add X-Python3-Version >= 3.2.
    * Use wrap-and-sort on debian/control.
---
 debian/control                    | 69 ++++++++++++++++++++++++++++++++-------
 debian/python-fedora-doc.doc-base | 19 +++++++++++
 debian/python-fedora-doc.docs     |  1 +
 debian/python-fedora-doc.manpages |  1 +
 4 files changed, 78 insertions(+), 12 deletions(-)

diff --git a/debian/control b/debian/control
index 6993dc1..723fe3e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,18 +2,30 @@ Source: python-fedora
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Nicolas Dandrimont <olasd at debian.org>
-Build-Depends: debhelper (>= 9),
-               dh-python,
-               python-all,
-               python-bunch,
-               python-kitchen,
-               python-pkg-resources,
-               python-nose,
-               python-requests,
-               python-setuptools
-Standards-Version: 3.9.5
+Uploaders: Nicolas Dandrimont <olasd at debian.org>, Sergio Durigan Junior <sergiodj at sergiodj.net>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-kitchen,
+ python-lockfile,
+ python-munch,
+ python-nose,
+ python-pkg-resources,
+ python-requests,
+ python-setuptools,
+ python3-all,
+ python3-kitchen,
+ python3-lockfile,
+ python3-munch,
+ python3-nose,
+ python3-pkg-resources,
+ python3-requests,
+ python3-setuptools,
+ python-sphinx,
+Standards-Version: 3.9.8
 X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-fedora.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-fedora.git
 Homepage: https://fedorahosted.org/python-fedora/
@@ -21,7 +33,8 @@ Homepage: https://fedorahosted.org/python-fedora/
 Package: python-fedora
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
-Description: Python modules for interacting with Fedora Services
+Suggests: python-fedora-doc
+Description: Python modules for interacting with Fedora Services (Python 2)
  The python-fedora module provides a Python API for connecting to web
  services provided by the fedora infrastructure.
  .
@@ -29,3 +42,35 @@ Description: Python modules for interacting with Fedora Services
  System, for the Fedora Package Database, for the Fedora Build System
  (bodhi), and for the Fedora wiki, as well as a more generic client for
  the other Fedora web services.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-fedora
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: python-fedora-doc
+Description: Python modules for interacting with Fedora Services (Python 3)
+ The python-fedora module provides a Python API for connecting to web
+ services provided by the fedora infrastructure.
+ .
+ Specifically, this package provides clients for the Fedora Account
+ System, for the Fedora Package Database, for the Fedora Build System
+ (bodhi), and for the Fedora wiki, as well as a more generic client for
+ the other Fedora web services.
+ .
+ This package installs the library for Python 3.
+
+Package: python-fedora-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: Python modules for interacting with Fedora Services (common documentation)
+ The python-fedora module provides a Python API for connecting to web
+ services provided by the fedora infrastructure.
+ .
+ Specifically, this package provides clients for the Fedora Account
+ System, for the Fedora Package Database, for the Fedora Build System
+ (bodhi), and for the Fedora wiki, as well as a more generic client for
+ the other Fedora web services.
+ .
+ This is the common documentation package.
diff --git a/debian/python-fedora-doc.doc-base b/debian/python-fedora-doc.doc-base
new file mode 100644
index 0000000..f8e2f6a
--- /dev/null
+++ b/debian/python-fedora-doc.doc-base
@@ -0,0 +1,19 @@
+Document: python-fedora
+Title: Debian python-fedora Manual
+Author: Red Hat, Inc.
+Abstract: This is the manual for python-fedora.
+ The python-fedora module provides a Python API for connecting to web
+ services provided by the fedora infrastructure.
+ .
+ Specifically, this package provides clients for the Fedora Account
+ System, for the Fedora Package Database, for the Fedora Build System
+ (bodhi), and for the Fedora wiki, as well as a more generic client for
+ the other Fedora web services.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-fedora-doc/html/index.html
+Files:
+ /usr/share/doc/python-fedora-doc/html/*.html
+ /usr/share/doc/python-fedora-doc/html/_sources/*
+ /usr/share/doc/python-fedora-doc/html/_static/*
diff --git a/debian/python-fedora-doc.docs b/debian/python-fedora-doc.docs
new file mode 100644
index 0000000..29c30b8
--- /dev/null
+++ b/debian/python-fedora-doc.docs
@@ -0,0 +1 @@
+doc/_build/html/
diff --git a/debian/python-fedora-doc.manpages b/debian/python-fedora-doc.manpages
new file mode 100644
index 0000000..c73b31b
--- /dev/null
+++ b/debian/python-fedora-doc.manpages
@@ -0,0 +1 @@
+doc/_build/man/python-fedora.1

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



More information about the Python-modules-commits mailing list