py-jrnl: Import py-jrnl-1.9.8 as time/py-jrnl

jrnl is a simple journal application for your command line. Journals
are stored as human readable plain text files - you can put them
into a Dropbox folder for instant syncing and you can be assured
that your journal will still be readable in 2050, when all your
fancy iPad journal applications will long be forgotten.

jrnl also plays nice with the fabulous DayOne and can read and
write directly from and to DayOne Journals.

Optionally, your journal can be encrypted using the 256-bit AES.

Packaged in pkgsrc-wip by myself.
This commit is contained in:
leot 2017-12-19 14:26:21 +00:00
parent 841b4c5074
commit 3e150778f2
6 changed files with 98 additions and 0 deletions

View file

@ -0,0 +1 @@
bin/jrnl @PREFIX@/bin/jrnl-@PYVERSSUFFIX@

10
time/py-jrnl/DESCR Normal file
View file

@ -0,0 +1,10 @@
jrnl is a simple journal application for your command line. Journals
are stored as human readable plain text files - you can put them
into a Dropbox folder for instant syncing and you can be assured
that your journal will still be readable in 2050, when all your
fancy iPad journal applications will long be forgotten.
jrnl also plays nice with the fabulous DayOne and can read and
write directly from and to DayOne Journals.
Optionally, your journal can be encrypted using the 256-bit AES.

30
time/py-jrnl/Makefile Normal file
View file

@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.1 2017/12/19 14:26:21 leot Exp $
DISTNAME= jrnl-1.9.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_GITHUB:=maebert/}
MAINTAINER= leot@NetBSD.org
HOMEPAGE= http://jrnl.sh/
COMMENT= Command line journal application
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-crypto>=2.6:../../security/py-crypto
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.2:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-keyring>=3.3:../../security/py-keyring
DEPENDS+= ${PYPKGPREFIX}-keyrings.alt>=1.3:../../security/py-keyrings.alt
DEPENDS+= ${PYPKGPREFIX}-parsedatetime>=1.2:../../time/py-parsedatetime
DEPENDS+= ${PYPKGPREFIX}-pytz>=2013b:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
DEPENDS+= ${PYPKGPREFIX}-six>=1.6.1:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-tzlocal>=1.1:../../time/py-tzlocal
USE_LANGUAGES= # none
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/jrnl ${DESTDIR}${PREFIX}/bin/jrnl-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

35
time/py-jrnl/PLIST Normal file
View file

@ -0,0 +1,35 @@
@comment $NetBSD: PLIST,v 1.1 2017/12/19 14:26:21 leot Exp $
bin/jrnl-${PYVERSSUFFIX}
${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}/jrnl/DayOneJournal.py
${PYSITELIB}/jrnl/DayOneJournal.pyc
${PYSITELIB}/jrnl/DayOneJournal.pyo
${PYSITELIB}/jrnl/Entry.py
${PYSITELIB}/jrnl/Entry.pyc
${PYSITELIB}/jrnl/Entry.pyo
${PYSITELIB}/jrnl/Journal.py
${PYSITELIB}/jrnl/Journal.pyc
${PYSITELIB}/jrnl/Journal.pyo
${PYSITELIB}/jrnl/__init__.py
${PYSITELIB}/jrnl/__init__.pyc
${PYSITELIB}/jrnl/__init__.pyo
${PYSITELIB}/jrnl/cli.py
${PYSITELIB}/jrnl/cli.pyc
${PYSITELIB}/jrnl/cli.pyo
${PYSITELIB}/jrnl/exporters.py
${PYSITELIB}/jrnl/exporters.pyc
${PYSITELIB}/jrnl/exporters.pyo
${PYSITELIB}/jrnl/install.py
${PYSITELIB}/jrnl/install.pyc
${PYSITELIB}/jrnl/install.pyo
${PYSITELIB}/jrnl/time.py
${PYSITELIB}/jrnl/time.pyc
${PYSITELIB}/jrnl/time.pyo
${PYSITELIB}/jrnl/util.py
${PYSITELIB}/jrnl/util.pyc
${PYSITELIB}/jrnl/util.pyo

7
time/py-jrnl/distinfo Normal file
View file

@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2017/12/19 14:26:21 leot Exp $
SHA1 (jrnl-1.9.8.tar.gz) = 11c6e522e6074f5df39ecd664f24b7e70f67ce27
RMD160 (jrnl-1.9.8.tar.gz) = b91ed3326a11c120c250d548d593e1f858db1663
SHA512 (jrnl-1.9.8.tar.gz) = dad2e78a984c2415674e26e833dac118bc99acbd43b860dbf39a19a0374c92393b91087f0d1b3163ad0cf851c7abfebe80ce74320d6058f8a494a84bc51d0aef
Size (jrnl-1.9.8.tar.gz) = 193595 bytes
SHA1 (patch-setup.py) = 41ccaebed6a5bf3aca3a94eec376e6de830e0f32

View file

@ -0,0 +1,15 @@
$NetBSD: patch-setup.py,v 1.1 2017/12/19 14:26:21 leot Exp $
Be more permissive regarding version requirements.
--- setup.py.orig 2014-11-06 10:33:36.000000000 +0000
+++ setup.py
@@ -70,7 +70,7 @@ conditional_dependencies = {
"readline>=6.2": not readline_available and "win32" not in sys.platform,
"colorama>=0.2.5": "win32" in sys.platform,
"argparse>=1.1.0": sys.version.startswith("2.6"),
- "python-dateutil==1.5": sys.version.startswith("2."),
+ "python-dateutil>=1.5": sys.version.startswith("2."),
"python-dateutil>=2.2": sys.version.startswith("3."),
}