haxor-news: Import haxor-news-0.4.3 as wip/haxor-news

haxor-news brings Hacker News to the terminal, allowing you to view/filter the
following without leaving your command line:

 - Posts
 - Post Comments
 - Post Linked Web Content
 - Monthly Hiring and Freelancers Posts
 - User Info
 - Onions
This commit is contained in:
Leonardo Taccari 2018-01-02 15:34:17 +01:00
parent 22e588d37e
commit 03b2e7fb06
6 changed files with 140 additions and 0 deletions

View File

@ -1171,6 +1171,7 @@ SUBDIR+= hasktags
SUBDIR+= hawk
SUBDIR+= hawknl
SUBDIR+= haxima
SUBDIR+= haxor-news
SUBDIR+= haydar-fonts
SUBDIR+= haze
SUBDIR+= hdparm

9
haxor-news/DESCR Normal file
View File

@ -0,0 +1,9 @@
haxor-news brings Hacker News to the terminal, allowing you to view/filter the
following without leaving your command line:
- Posts
- Post Comments
- Post Linked Web Content
- Monthly Hiring and Freelancers Posts
- User Info
- Onions

23
haxor-news/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $NetBSD$
DISTNAME= haxor-news-0.4.3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_PYPI:=h/haxor-news/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/donnemartin/haxor-news
COMMENT= Hacker News command line interface (CLI)
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-click>=5.1:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-colorama>=0.3.3:../../comms/py-colorama
DEPENDS+= ${PYPKGPREFIX}-prompt_toolkit>=1.0.0:../../devel/py-prompt_toolkit
DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0.2:../../textproc/py-pygments
DEPENDS+= ${PYPKGPREFIX}-requests>=2.4.3:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
USE_LANGUAGES= # none
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

84
haxor-news/PLIST Normal file
View File

@ -0,0 +1,84 @@
@comment $NetBSD$
bin/haxor-news
bin/hn
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/haxor_news/__init__.py
${PYSITELIB}/haxor_news/__init__.pyc
${PYSITELIB}/haxor_news/__init__.pyo
${PYSITELIB}/haxor_news/compat.py
${PYSITELIB}/haxor_news/compat.pyc
${PYSITELIB}/haxor_news/compat.pyo
${PYSITELIB}/haxor_news/completer.py
${PYSITELIB}/haxor_news/completer.pyc
${PYSITELIB}/haxor_news/completer.pyo
${PYSITELIB}/haxor_news/completions.py
${PYSITELIB}/haxor_news/completions.pyc
${PYSITELIB}/haxor_news/completions.pyo
${PYSITELIB}/haxor_news/config.py
${PYSITELIB}/haxor_news/config.pyc
${PYSITELIB}/haxor_news/config.pyo
${PYSITELIB}/haxor_news/hacker_news.py
${PYSITELIB}/haxor_news/hacker_news.pyc
${PYSITELIB}/haxor_news/hacker_news.pyo
${PYSITELIB}/haxor_news/hacker_news_cli.py
${PYSITELIB}/haxor_news/hacker_news_cli.pyc
${PYSITELIB}/haxor_news/hacker_news_cli.pyo
${PYSITELIB}/haxor_news/haxor.py
${PYSITELIB}/haxor_news/haxor.pyc
${PYSITELIB}/haxor_news/haxor.pyo
${PYSITELIB}/haxor_news/keys.py
${PYSITELIB}/haxor_news/keys.pyc
${PYSITELIB}/haxor_news/keys.pyo
${PYSITELIB}/haxor_news/lib/__init__.py
${PYSITELIB}/haxor_news/lib/__init__.pyc
${PYSITELIB}/haxor_news/lib/__init__.pyo
${PYSITELIB}/haxor_news/lib/debug_timer.py
${PYSITELIB}/haxor_news/lib/debug_timer.pyc
${PYSITELIB}/haxor_news/lib/debug_timer.pyo
${PYSITELIB}/haxor_news/lib/haxor/__init__.py
${PYSITELIB}/haxor_news/lib/haxor/__init__.pyc
${PYSITELIB}/haxor_news/lib/haxor/__init__.pyo
${PYSITELIB}/haxor_news/lib/haxor/haxor.py
${PYSITELIB}/haxor_news/lib/haxor/haxor.pyc
${PYSITELIB}/haxor_news/lib/haxor/haxor.pyo
${PYSITELIB}/haxor_news/lib/haxor/settings.py
${PYSITELIB}/haxor_news/lib/haxor/settings.pyc
${PYSITELIB}/haxor_news/lib/haxor/settings.pyo
${PYSITELIB}/haxor_news/lib/html2text/__init__.py
${PYSITELIB}/haxor_news/lib/html2text/__init__.pyc
${PYSITELIB}/haxor_news/lib/html2text/__init__.pyo
${PYSITELIB}/haxor_news/lib/html2text/html2text.py
${PYSITELIB}/haxor_news/lib/html2text/html2text.pyc
${PYSITELIB}/haxor_news/lib/html2text/html2text.pyo
${PYSITELIB}/haxor_news/lib/pretty_date_time.py
${PYSITELIB}/haxor_news/lib/pretty_date_time.pyc
${PYSITELIB}/haxor_news/lib/pretty_date_time.pyo
${PYSITELIB}/haxor_news/main.py
${PYSITELIB}/haxor_news/main.pyc
${PYSITELIB}/haxor_news/main.pyo
${PYSITELIB}/haxor_news/main_cli.py
${PYSITELIB}/haxor_news/main_cli.pyc
${PYSITELIB}/haxor_news/main_cli.pyo
${PYSITELIB}/haxor_news/onions.py
${PYSITELIB}/haxor_news/onions.pyc
${PYSITELIB}/haxor_news/onions.pyo
${PYSITELIB}/haxor_news/settings.py
${PYSITELIB}/haxor_news/settings.pyc
${PYSITELIB}/haxor_news/settings.pyo
${PYSITELIB}/haxor_news/style.py
${PYSITELIB}/haxor_news/style.pyc
${PYSITELIB}/haxor_news/style.pyo
${PYSITELIB}/haxor_news/toolbar.py
${PYSITELIB}/haxor_news/toolbar.pyc
${PYSITELIB}/haxor_news/toolbar.pyo
${PYSITELIB}/haxor_news/utils.py
${PYSITELIB}/haxor_news/utils.pyc
${PYSITELIB}/haxor_news/utils.pyo
${PYSITELIB}/haxor_news/web_viewer.py
${PYSITELIB}/haxor_news/web_viewer.pyc
${PYSITELIB}/haxor_news/web_viewer.pyo

7
haxor-news/distinfo Normal file
View File

@ -0,0 +1,7 @@
$NetBSD$
SHA1 (haxor-news-0.4.3.tar.gz) = c5e1986680437c36a777012a3f24ea5e41d9028c
RMD160 (haxor-news-0.4.3.tar.gz) = e057e23f5da990744578bcb4b5936b6fb2e9f619
SHA512 (haxor-news-0.4.3.tar.gz) = 39d40bce1dfa7ecb0b81d7996012262bd9c5c40300cc1ebbb799cb586c76978d858f064b6ffeda1208289b388a9a5257603ea7dfb77b36391838272003ec523c
Size (haxor-news-0.4.3.tar.gz) = 58696 bytes
SHA1 (patch-setup.py) = 207050f0abbcdcb60d02f7bc55b13a45bdd45d7f

View File

@ -0,0 +1,16 @@
$NetBSD$
Do not install tests. They aren't isolated in haxor_news subdirectory and so can
pollute ${PYSITELIB}.
--- setup.py.orig 2017-04-09 02:26:43.000000000 +0000
+++ setup.py
@@ -34,7 +34,7 @@ setup(
'hn = haxor_news.main_cli:cli'
]
},
- packages=find_packages(),
+ packages=find_packages(exclude=["tests", "tests.*"]),
scripts=[],
name='haxor-news',
classifiers=[