Browse Source

Finalize man page and debian rules for generation, release 0.6

Helmut Pozimski 11 years ago
parent
commit
79c1af678f
10 changed files with 14 additions and 9 deletions
  1. 1 0
      CHANGELOG
  2. 1 0
      MANIFEST.in
  3. 1 3
      TODO
  4. 3 2
      debian/changelog
  5. 1 1
      debian/control
  6. 3 0
      debian/rules
  7. 1 0
      debian/stov.manpages
  8. 1 1
      doc/description.rst
  9. 1 1
      doc/files.rst
  10. 1 1
      setup.py

+ 1 - 0
CHANGELOG

@@ -5,6 +5,7 @@
 * Fixed package internal import for python 3.x
 * Locales are now build in debian/rules when creating the package
 * Changed debian/control and debian/rules to be more lintian clean
+* Added a complete man page, making the package finally lintian clean
  
 0.5
 ----

+ 1 - 0
MANIFEST.in

@@ -2,3 +2,4 @@ include LICENSE
 include CHANGELOG
 include locale/en/LC_MESSAGES/stov.po
 include locale/de/LC_MESSAGES/stov.po
+include doc/*

+ 1 - 3
TODO

@@ -1,5 +1,3 @@
-TODOs for 0.6:
+TODOs for 077:
 
 *Rework and correct strings
-*Make the debian package lintian clean
-*Add a proper man page

+ 3 - 2
debian/changelog

@@ -1,11 +1,12 @@
-stov (0.6.1wip-1) stable; urgency=low
+stov (0.6.1-1) stable; urgency=low
 
   * Changed minimal python version in debian/control to 2.6
   * Fixed package internal import for python 3.x
   * Locales are now build in debian/rules when creating the package
   * Changed debian/control and debian/rules to be more lintian clean
+  * Add a complete man page, making the package finally lintian clean
 
- -- Helmut Pozimski <helmut@pozimski.eu>  Sun, 14 Apr 2013 23:31:23 +0200
+ -- Helmut Pozimski <helmut@pozimski.eu>  Tue, 16 Apr 2013 01:08:00 +0200
 
 stov (0.5-1) stable; urgency=low
 

+ 1 - 1
debian/control

@@ -4,7 +4,7 @@ Maintainer: Helmut Pozimski <helmut@pozimski.eu>
 Homepage: https://dev.intranet.helmut-pozimski.de/stov
 Section: python
 Priority: optional
-Build-Depends: python (>= 2.6), debhelper (>= 7.4.3), gettext
+Build-Depends: python (>= 2.6), debhelper (>= 7.4.3), gettext, python-sphinx
 Standards-Version: 3.9.4
 
 Package: stov

+ 3 - 0
debian/rules

@@ -7,7 +7,10 @@
 	dh $@ --with python2
 override_dh_auto_install:
 	python setup.py install --root=debian/stov --install-layout=deb --install-lib=/usr/share/stov --install-scripts=/usr/share/stov --install-data=/usr
+	# manually compile localization files and copy them into the right directory since distutils don't handle this
 	msgfmt locale/de/LC_MESSAGES/stov.po --output-file debian/stov/usr/share/locale/de/LC_MESSAGES/stov.mo
 	msgfmt locale/en/LC_MESSAGES/stov.po --output-file debian/stov/usr/share/locale/en/LC_MESSAGES/stov.mo
 	mkdir -p debian/stov/usr/share/doc/stov; cp debian/copyright debian/stov/usr/share/doc/stov/
+	# Build the man page, also not handled by distutils
+	sphinx-build -b man ./doc ./doc/_build/
 override_dh_auto_build:

+ 1 - 0
debian/stov.manpages

@@ -0,0 +1 @@
+doc/_build/stov.1

+ 1 - 1
doc/description.rst

@@ -4,6 +4,6 @@ DESCRIPTION
 DESCRIPTION
 -----------
 
-Stov is a little tool which allows you to subscribe to channels (or search results within channels), playlists or search results on the video plattform youtube. It then pulls all necessary data from the youtube API and saves it into it's internal database. This information can be used to automatically download videos contained in the defined subscriptions. For this functionality, the additional *youtube-dl* utility is needed. It is recommended that you use cron or another similiar mechanism to periodically update video data and download new videos.
+Stov is a little tool which allows you to subscribe to channels (or search results within channels), playlists or search results on the video platform youtube. It then pulls all necessary data from the youtube API and saves it into it's internal database. This information can be used to automatically download videos contained in the defined subscriptions. For this functionality, the additional *youtube-dl* utility is needed. It is recommended that you use cron or another similar mechanism to periodically update video data and download new videos.
 
 Since stov only uses read-only access to the youtube API, no developer key or youtube account is needed to use it. 

+ 1 - 1
doc/files.rst

@@ -5,6 +5,6 @@ FILES
 -----
 
 **~/.stov/stov.config**
-	This file is automatically created when you run stov for the first time, optionally you may also use a rudamentary assistent which will ask you which value you'd like to use for each setting. See *CONFIGURATION* for more details.
+	This file is automatically created when you run stov for the first time, optionally you may also use a rudamentary assistant which will ask you which value you'd like to use for each setting. See *CONFIGURATION* for more details.
 **~/.stov/stov.sqlite**
 	This database contains two tables ("videos" and "subscriptions") which contain all relevant information about the configured subscriptions and the videos contained in these. It uses sqlite3 format so you could also use sqlite3 on the command line to edit it manually if you feel the need to do so.

+ 1 - 1
setup.py

@@ -22,7 +22,7 @@ from distutils.core import setup
 
 setup(
 	name="stov",
-	version="0.6wip",
+	version="0.6",
 	author="Helmut Pozimski",
 	author_email="helmut@pozimski.de",
 	description=("a program to subscribe to channels and users from youtube and"