summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-04-26 21:19:28 +0000
committerwiz <wiz@pkgsrc.org>2021-04-26 21:19:28 +0000
commit76367a51dcf523be0a52368f0a0095a59173e994 (patch)
tree81be057bf21ac55d119eaac11edc985c1ee2cda6 /textproc
parentb7bc4230879b194d6a32de93ae321a270f8a488f (diff)
downloadpkgsrc-76367a51dcf523be0a52368f0a0095a59173e994.tar.gz
textproc/py-epr-reader: import py-epr-reader-2.4.10
Terminal/CLI Epub reader written in Python with features: - Remembers last read file (just run `epr` without any argument) - Remembers last reading state for each file (per file saved state written to `$HOME/.config/epr/config` or `$HOME/.epr` respectively depending on availability) - Adjustable text area width - Adaptive to terminal resize - Supports EPUB3 (no audio support) - Secondary vim-like bindings - Supports opening images - Dark/Light colorscheme (depends on terminal color capability)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-epr-reader/DESCR12
-rw-r--r--textproc/py-epr-reader/Makefile16
-rw-r--r--textproc/py-epr-reader/PLIST10
-rw-r--r--textproc/py-epr-reader/distinfo6
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/py-epr-reader/DESCR b/textproc/py-epr-reader/DESCR
new file mode 100644
index 00000000000..7a8f3a2a9d2
--- /dev/null
+++ b/textproc/py-epr-reader/DESCR
@@ -0,0 +1,12 @@
+Terminal/CLI Epub reader written in Python with features:
+
+- Remembers last read file (just run `epr` without any argument)
+- Remembers last reading state for each file (per file saved state
+ written to `$HOME/.config/epr/config` or `$HOME/.epr` respectively
+ depending on availability)
+- Adjustable text area width
+- Adaptive to terminal resize
+- Supports EPUB3 (no audio support)
+- Secondary vim-like bindings
+- Supports opening images
+- Dark/Light colorscheme (depends on terminal color capability)
diff --git a/textproc/py-epr-reader/Makefile b/textproc/py-epr-reader/Makefile
new file mode 100644
index 00000000000..a6f3d244280
--- /dev/null
+++ b/textproc/py-epr-reader/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2021/04/26 21:19:28 wiz Exp $
+
+DISTNAME= epr-reader-2.4.10
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=e/epr-reader/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/wustho/epr
+COMMENT= Terminal/CLI Epub Reader
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-epr-reader/PLIST b/textproc/py-epr-reader/PLIST
new file mode 100644
index 00000000000..b6c3f5d3060
--- /dev/null
+++ b/textproc/py-epr-reader/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/26 21:19:28 wiz Exp $
+bin/epr
+${PYSITELIB}/epr.py
+${PYSITELIB}/epr.pyc
+${PYSITELIB}/epr.pyo
+${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}/top_level.txt
diff --git a/textproc/py-epr-reader/distinfo b/textproc/py-epr-reader/distinfo
new file mode 100644
index 00000000000..1022926cfff
--- /dev/null
+++ b/textproc/py-epr-reader/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/04/26 21:19:28 wiz Exp $
+
+SHA1 (epr-reader-2.4.10.tar.gz) = 7443ebc9572f15523079117bd269a08e7e42061f
+RMD160 (epr-reader-2.4.10.tar.gz) = 1c7d52c75022f8fcec42e7011b066d370dc05064
+SHA512 (epr-reader-2.4.10.tar.gz) = 30b147c6f78149a9f8072fe841c98d8eec05e5fe470432f5721445d92507ee00fe6ea7958ff7aa382d5a690b38f4615ff71c85b2eb6fc0e863c99da40023b29c
+Size (epr-reader-2.4.10.tar.gz) = 16315 bytes