debian/0000755000000000000000000000000012113055362007164 5ustar debian/watch0000644000000000000000000000015012113055362010211 0ustar # Debian watch file for mygpoclient version=3 http://thp.io/2010/mygpoclient/mygpoclient-(.*)\.tar\.gz debian/rules0000755000000000000000000000011312113055362010237 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem python_distutils --with python2 debian/changelog0000644000000000000000000000275712113055362011051 0ustar mygpoclient (1.7-1) unstable; urgency=low [ Thomas Perl ] * The "Nuisance Value" release * debian/control: - Bump Standards-Version to 3.9.4 - Remove XS-Python-Version - Bump debhelper dependency to 9; update debian/compat * debian/rules: Use the new simple "dh"-based rules format * Switch to dpkg-source 3.0 (quilt) format [ tony mancill ] * Include upstream patch 0001-Add-manpage-for-bpsync * debian/control - Add myself to Uploaders - Add Vcs-Git and Vcs-Browser fields -- tony mancill Mon, 25 Feb 2013 22:41:27 -0800 mygpoclient (1.4-1build1) precise; urgency=low * Rebuild to drop python2.6 dependencies and provides. -- Matthias Klose Sat, 14 Apr 2012 13:43:04 +0000 mygpoclient (1.4-1) unstable; urgency=low * The "Do No Harm" release * See the NEWS file for information on API changes in this version -- Thomas Perl Mon, 26 Apr 2010 13:14:47 +0200 mygpoclient (1.2-2) unstable; urgency=low * Drop Python 2.4 support (we need absolute imports) (Closes: #575212) -- Thomas Perl Thu, 25 Mar 2010 01:06:19 +0100 mygpoclient (1.2-1) unstable; urgency=low * New upstream release * Update to Debian Policy 3.8.4 (no changes necessary in this package) -- Thomas Perl Tue, 23 Mar 2010 15:38:02 +0100 mygpoclient (1.0-1) unstable; urgency=low * Initial release (Closes: #565691) -- Thomas Perl Sun, 17 Jan 2010 23:14:51 +0100 debian/patches/0000755000000000000000000000000012113055362010613 5ustar debian/patches/0001-Add-manpage-for-bpsync.patch0000644000000000000000000000565412113055362016402 0ustar From 747104a293e23a4c0f304dd34998b9aed58e24a5 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Mon, 25 Feb 2013 14:53:06 +0100 Subject: [PATCH] Add manpage for bpsync --- manpages/bpsync.1 | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++ setup.py | 5 +++ 2 files changed, 93 insertions(+) create mode 100644 manpages/bpsync.1 diff --git a/manpages/bpsync.1 b/manpages/bpsync.1 new file mode 100644 index 0000000..b832a5b --- /dev/null +++ b/manpages/bpsync.1 @@ -0,0 +1,88 @@ +.TH BPSYNC "1" "February 2013" "mygpoclient 1.7" "User Commands" +.SH NAME +bpsync \- Synchronize BashPodder subscriptions with gpodder.net +.SH SYNOPSIS +.B bpsync +(\fIput|get\fR) +[\fIdevice-id\fR] + +.SH DESCRIPTION +.PP +bpsync is a simple gpodder.net client application for syncing a BashPodder +(\fIhttp://lincgeek.org/bashpodder/\fR) subscription list from and to the +web service. As BashPodder uses a simple one-URL-per-line subscription list +format, this script can be used with other applications, too (or to simply +backup gpodder.net subscription URLs as plain text file). + +.PP +If you have added a subscription on gpodder.net, you can use the \fBget\fR +sub-command to overwrite the local subscription list with the list stored +on gpodder.net. If you have added a subscription locally, you can use the +\fBput\fR sub-command to overwrite the list on gpodder.net with the list +stored in the BashPodder subscription list. + +.SH ENVIRONMENT VARIABLES + +.PP +The following environment variables must be set for +.B bpsync +to work: + +.PP +.B MYGPO_USERNAME +.RS 4 +Username for the web service +.RE + +.PP +.B MYGPO_PASSWORD +.RS 4 +Password for the web service +.RE + +.PP +The following environment variables are optional: + +.PP +.B BPSYNC_BP_CONF +.RS 4 +Path to your bp.conf file (default: \fIbp.conf\fR) +.RE + +.PP +.B MYGPO_HOSTNAME +.RS 4 +Host of the webservice to use (default: \fIgpodder.net\fR) +.RE + +.SH EXAMPLES + +.PP +.B bpsync put +.RS 4 +Upload bp.conf as device "bp" +.RE + +.PP +.B bpsync get +.RS 4 +Download subscriptions for device "bp" +.RE + +.PP +.B bpsync get mydev +.RS 4 +Download subscriptions for device "mydev" +.RE + +.SH SEE ALSO +.PP +gpodder(1) + +.SH REPORTING BUGS +.PP +\fIhttps://bugs.gpodder.org/enter_bug.cgi?product=mygpoclient\fR + +.SH WEBSITE +.PP +\fIhttp://thp.io/2010/mygpoclient/\fR diff --git a/setup.py b/setup.py index ca1e167..bd5ca77 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,10 @@ else: # Extract name and e-mail ("Firstname Lastname ") AUTHOR, EMAIL = re.match(r'(.*) <(.*)>', AUTHOR_EMAIL).groups() +DATA_FILES = [ + ('share/man/man1', glob.glob('manpages/*')), +] + setup(name=PACKAGE, version=VERSION, description=DESCRIPTION, @@ -46,5 +50,6 @@ setup(name=PACKAGE, url=WEBSITE, packages=PACKAGES, scripts=SCRIPTS, + data_files=DATA_FILES, download_url=WEBSITE+PACKAGE+'-'+VERSION+'.tar.gz') -- 1.7.10.4 debian/patches/series0000644000000000000000000000004212113055362012024 0ustar 0001-Add-manpage-for-bpsync.patch debian/docs0000644000000000000000000000004112113055362010032 0ustar README AUTHORS DEPENDENCIES NEWS debian/source/0000755000000000000000000000000012113055362010464 5ustar debian/source/format0000644000000000000000000000001412113055362011672 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212113055362010362 0ustar 9 debian/copyright0000644000000000000000000000224712113055362011124 0ustar This package was debianized by Thomas Perl on Sun, 17 Jan 2010 23:14:51 +0100. It was downloaded from Upstream Author: Thomas Perl Copyright: Copyright (C) 2009-2013 Thomas Perl and the gPodder Team License: my.gpodder.org API Client Copyright (C) 2009-2013 Thomas Perl and the gPodder Team This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . The Debian packaging is: Copyright (C) 2010, 2013 Thomas Perl and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/control0000644000000000000000000000162012113055362010566 0ustar Source: mygpoclient Section: python Priority: extra Maintainer: Thomas Perl Uploaders: tony mancill Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~) Standards-Version: 3.9.4 Homepage: http://thp.io/2010/mygpoclient/ Vcs-Git: git://git.debian.org/git/collab-maint/mygpoclient.git Vcs-Browser: http://git.debian.org/?p=collab-maint/mygpoclient.git X-Python-Version: >= 2.6 Package: python-mygpoclient Architecture: all Depends: ${misc:Depends}, ${python:Depends} Provides: ${python:Provides} Description: Client library for the gpodder.net web service The mygpoclient library allows developers to utilize a Pythonic interface to the gpodder.net web services (formerly known as my.gpodder.org). . In addition to the user-specific API endpoints, a public (non-authenticated) API is provided for searching podcasts and retrieving the podcast toplist from the server.