Nicola Vitale 5d6cd5d24b
textproc/py-epy-reader: Add new port
TUI Ebook Reader.

Main features:

- Supported formats:
  Epub (.epub, .epub3)
  FictionBook (.fb2)
  Mobi (.mobi)
  AZW3 (.azw, .azw3)
  URL (online reading)
- Reading progress percentage
- Bookmarks
- External dictionary integration (sdcv, dict or wkdict)
- Inline formats: bold and italic (depend on terminal and font capability.
  Italic only supported in python>=3.7)
- Text-to-Speech (with additional setup, read below)
- Double Spread
- Seamless (disabled by default)

https://github.com/wustho/epy
2024-02-06 15:49:20 +01:00

23 lines
589 B
Makefile

PORTNAME= epy-reader
DISTVERSION= 2023.6.11
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= TUI Ebook Reader
WWW= https://github.com/wustho/epy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
USES= python shebangfix
USE_PYTHON= autoplist pep517
SHEBANG_FILES= ${WRKSRC}/src/epy_reader/tools/KindleUnpack/*.py
.include <bsd.port.mk>