[Python-apps-commits] r12453 - in packages (19 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon Oct 5 21:11:04 UTC 2015


    Date: Monday, October 5, 2015 @ 21:11:03
  Author: piotr
Revision: 12453

add alienfeed

Added:
  packages/alienfeed/
  packages/alienfeed/tags/
  packages/alienfeed/trunk/
  packages/alienfeed/trunk/debian/
  packages/alienfeed/trunk/debian/changelog
  packages/alienfeed/trunk/debian/compat
  packages/alienfeed/trunk/debian/control
  packages/alienfeed/trunk/debian/copyright
  packages/alienfeed/trunk/debian/docs
  packages/alienfeed/trunk/debian/lintian-overrides
  packages/alienfeed/trunk/debian/manpages
  packages/alienfeed/trunk/debian/patches/
  packages/alienfeed/trunk/debian/patches/add-init-py.patch
  packages/alienfeed/trunk/debian/patches/remove-update-functionality.patch
  packages/alienfeed/trunk/debian/patches/series
  packages/alienfeed/trunk/debian/rules
  packages/alienfeed/trunk/debian/source/
  packages/alienfeed/trunk/debian/source/format
  packages/alienfeed/trunk/debian/watch


Property changes on: packages/alienfeed/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/alienfeed/trunk/debian/changelog
===================================================================
--- packages/alienfeed/trunk/debian/changelog	                        (rev 0)
+++ packages/alienfeed/trunk/debian/changelog	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1,5 @@
+alienfeed (0.3.2+230d5a67e8-1) unstable; urgency=low
+
+  * Initial release (Closes: #728940)
+
+ -- Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>  Sun, 20 Sep 2015 08:46:25 +1000

Added: packages/alienfeed/trunk/debian/compat
===================================================================
--- packages/alienfeed/trunk/debian/compat	                        (rev 0)
+++ packages/alienfeed/trunk/debian/compat	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1 @@
+9

Added: packages/alienfeed/trunk/debian/control
===================================================================
--- packages/alienfeed/trunk/debian/control	                        (rev 0)
+++ packages/alienfeed/trunk/debian/control	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1,18 @@
+Source: alienfeed
+Section: web
+Priority: optional
+Maintainer: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9), python, python-setuptools, python-praw
+Standards-Version: 3.9.6
+Homepage: https://github.com/jawerty/alienfeed
+Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/alienfeed/trunk/
+Vcs-Browser: https://anonscm.debian.org/viewvc/python-apps/packages/alienfeed/trunk/
+
+Package: alienfeed
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, www-browser
+Description: Reddit command-line client
+ Alienfeed is a command-line interface to reddit. At present, it can
+ display the top posts in a subreddit and open them. Posting and other
+ activities that require login are currently not supported.

Added: packages/alienfeed/trunk/debian/copyright
===================================================================
--- packages/alienfeed/trunk/debian/copyright	                        (rev 0)
+++ packages/alienfeed/trunk/debian/copyright	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: alienfeed
+Source: <https://github.com/jawerty/alienfeed>
+
+Files: *
+Copyright: 2013-2014 Jared Wright <jawerty210 at gmail.com>
+           2013      Karan Goel <karan at goel.io>
+           2013      Michael Reinhardt
+           2014      Raul Rene Lespa
+License: MIT
+
+Files: debian/*
+Copyright: 2015 Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 
+ USE OR OTHER DEALINGS IN THE SOFTWARE.

Added: packages/alienfeed/trunk/debian/docs
===================================================================
--- packages/alienfeed/trunk/debian/docs	                        (rev 0)
+++ packages/alienfeed/trunk/debian/docs	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1 @@
+README.md

Added: packages/alienfeed/trunk/debian/lintian-overrides
===================================================================
--- packages/alienfeed/trunk/debian/lintian-overrides	                        (rev 0)
+++ packages/alienfeed/trunk/debian/lintian-overrides	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1,4 @@
+#"If this package could ever be a build dependency, it should list a real
+# package as the first alternative to any virtual package in its
+# Depends... If it will never be a build dependency, this isn't necessary"
+virtual-package-depends-without-real-package-depends depends: www-browser
\ No newline at end of file

Added: packages/alienfeed/trunk/debian/manpages
===================================================================
--- packages/alienfeed/trunk/debian/manpages	                        (rev 0)
+++ packages/alienfeed/trunk/debian/manpages	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1 @@
+alienfeed.1
\ No newline at end of file

Added: packages/alienfeed/trunk/debian/patches/add-init-py.patch
===================================================================
--- packages/alienfeed/trunk/debian/patches/add-init-py.patch	                        (rev 0)
+++ packages/alienfeed/trunk/debian/patches/add-init-py.patch	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1,33 @@
+Description: Treat alienfeed as a package, not as a script
+ If this application is treated as a script, both alien.py and
+ alienfeed are installed into /usr/bin. Being an intermediate script
+ not intended for direct use, alien.py should not be in /usr/bin.
+ .
+ Treating the application as a package enables us to fix this problem.
+Forwarded: https://github.com/jawerty/AlienFeed/pull/27
+Author: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
+Last-Update: 2015-09-20
+Index: build/alienfeed/__init__.py
+===================================================================
+--- /dev/null
++++ build/alienfeed/__init__.py
+@@ -0,0 +1 @@
++
+Index: build/setup.py
+===================================================================
+--- build.orig/setup.py
++++ build/setup.py
+@@ -10,11 +10,11 @@ setup(name='AlienFeed',
+       keywords = "AlienFeed alien reddit feed rss tool cli",
+       author_email='jawerty210 at gmail.com',
+       url='http://github.com/jawerty/AlienFeed',
+-      scripts=['alienfeed/alien.py'],
++      packages=['alienfeed'],
+       install_requires=['praw'],
+       entry_points = {
+         'console_scripts': [
+-            'alienfeed = alien:main'
++            'alienfeed = alienfeed.alien:main'
+         ],
+       }
+ )

Added: packages/alienfeed/trunk/debian/patches/remove-update-functionality.patch
===================================================================
--- packages/alienfeed/trunk/debian/patches/remove-update-functionality.patch	                        (rev 0)
+++ packages/alienfeed/trunk/debian/patches/remove-update-functionality.patch	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1,60 @@
+Description: Remove the option to update using alienfeed's -U option
+ Automatic updating is inconsistent with the idea of a package manager. In
+ addition, this removes a dependency on update_checker.
+Forwarded: not-needed
+Author: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX at bitmessage.ch>
+Last-Update: 2015-09-20
+Index: alienfeed-0.3.2+230d5a67e8/README.md
+===================================================================
+--- alienfeed-0.3.2+230d5a67e8.orig/README.md
++++ alienfeed-0.3.2+230d5a67e8/README.md
+@@ -100,11 +100,6 @@ In order to display the self-text of a p
+ $ alienfeed jokes -or 1..2 -s
+ ```
+ 
+-To upgrade alienfeed via pip, you would need to call this argument, '-U'
+-```
+-$ alienfeed funny -U
+-```
+-
+ ## Contact
+ If you would like to contact me for further information on the project, see the info below.
+ 
+Index: alienfeed-0.3.2+230d5a67e8/alienfeed/alien.py
+===================================================================
+--- alienfeed-0.3.2+230d5a67e8.orig/alienfeed/alien.py
++++ alienfeed-0.3.2+230d5a67e8/alienfeed/alien.py
+@@ -182,9 +182,6 @@ def main():
+     parser.add_argument("-r", "--random", action='store_true',
+                         help='Opens a random link (must be the only '
+                              'optional argument)')
+-    parser.add_argument("-U", "--update", action='store_true',
+-                        help='Automatically updates AlienFeed via pip')
+-
+ 
+     # if only 1 argument, print the help
+     if len(sys.argv) == 1:
+@@ -315,13 +312,5 @@ def main():
+         for i, submission in enumerate(chosen_submissions):
+             print color.OKGREEN, "[" + str(i) + "] -> ", color.OKBLUE, submission.selftext, color.ENDC
+ 
+-    # Update AlienFeed case
+-    if args.update == True:
+-        try:
+-            print "Upgrading AlienFeed..."
+-            call(['pip', 'install', 'alienfeed', '--upgrade', '--quiet'])
+-        except OSError, e:
+-            print_warning("You cannot use -U without having pip installed.")
+-
+ if __name__ == '__main__':
+     main()
+Index: alienfeed-0.3.2+230d5a67e8/requirements.txt
+===================================================================
+--- alienfeed-0.3.2+230d5a67e8.orig/requirements.txt
++++ alienfeed-0.3.2+230d5a67e8/requirements.txt
+@@ -1,5 +1,4 @@
+ praw==2.1.11
+ requests==2.0.1
+ six==1.4.1
+-update-checker==0.6
+ wsgiref==0.1.2

Added: packages/alienfeed/trunk/debian/patches/series
===================================================================
--- packages/alienfeed/trunk/debian/patches/series	                        (rev 0)
+++ packages/alienfeed/trunk/debian/patches/series	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1,2 @@
+remove-update-functionality.patch
+add-init-py.patch

Added: packages/alienfeed/trunk/debian/rules
===================================================================
--- packages/alienfeed/trunk/debian/rules	                        (rev 0)
+++ packages/alienfeed/trunk/debian/rules	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2 --buildsystem=pybuild

Added: packages/alienfeed/trunk/debian/source/format
===================================================================
--- packages/alienfeed/trunk/debian/source/format	                        (rev 0)
+++ packages/alienfeed/trunk/debian/source/format	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/alienfeed/trunk/debian/watch
===================================================================
--- packages/alienfeed/trunk/debian/watch	                        (rev 0)
+++ packages/alienfeed/trunk/debian/watch	2015-10-05 21:11:03 UTC (rev 12453)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.debian.net/alienfeed/AlienFeed-(.+)\.tar\.gz




More information about the Python-apps-commits mailing list