pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
haxor-news: Import haxor-news-0.4.3 as wip/haxor-news
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Tue Jan 2 15:34:17 2018 +0100
Changeset: 03b2e7fb06d94554ef35d4c0869c87565fffff45
Modified Files:
Makefile
Added Files:
haxor-news/DESCR
haxor-news/Makefile
haxor-news/PLIST
haxor-news/distinfo
haxor-news/patches/patch-setup.py
Log Message:
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
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=03b2e7fb06d94554ef35d4c0869c87565fffff45
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
haxor-news/DESCR | 9 +++++
haxor-news/Makefile | 23 +++++++++++
haxor-news/PLIST | 84 +++++++++++++++++++++++++++++++++++++++
haxor-news/distinfo | 7 ++++
haxor-news/patches/patch-setup.py | 16 ++++++++
6 files changed, 140 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index a929323230..d0fd152256 100644
--- a/Makefile
+++ b/Makefile
@@ -1171,6 +1171,7 @@ SUBDIR+= hasktags
SUBDIR+= hawk
SUBDIR+= hawknl
SUBDIR+= haxima
+SUBDIR+= haxor-news
SUBDIR+= haydar-fonts
SUBDIR+= haze
SUBDIR+= hdparm
diff --git a/haxor-news/DESCR b/haxor-news/DESCR
new file mode 100644
index 0000000000..dbc775fc8b
--- /dev/null
+++ b/haxor-news/DESCR
@@ -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
diff --git a/haxor-news/Makefile b/haxor-news/Makefile
new file mode 100644
index 0000000000..e4b070c1c9
--- /dev/null
+++ b/haxor-news/Makefile
@@ -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@localhost
+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"
diff --git a/haxor-news/PLIST b/haxor-news/PLIST
new file mode 100644
index 0000000000..1568a2261b
--- /dev/null
+++ b/haxor-news/PLIST
@@ -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
diff --git a/haxor-news/distinfo b/haxor-news/distinfo
new file mode 100644
index 0000000000..032de6abd4
--- /dev/null
+++ b/haxor-news/distinfo
@@ -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
diff --git a/haxor-news/patches/patch-setup.py b/haxor-news/patches/patch-setup.py
new file mode 100644
index 0000000000..cb9ad62a44
--- /dev/null
+++ b/haxor-news/patches/patch-setup.py
@@ -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=[
Home |
Main Index |
Thread Index |
Old Index