diff options
author | leot <leot@pkgsrc.org> | 2017-12-19 14:26:21 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2017-12-19 14:26:21 +0000 |
commit | cd958383f78d53ef4402eef9e9af800c0307a59e (patch) | |
tree | 36d7cda3e1f613f36dc0a97b9d44b1b603e089c0 | |
parent | 1fa534b9d684450841bf80534b267e4dd1608b72 (diff) | |
download | pkgsrc-cd958383f78d53ef4402eef9e9af800c0307a59e.tar.gz |
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.
-rw-r--r-- | time/py-jrnl/ALTERNATIVES | 1 | ||||
-rw-r--r-- | time/py-jrnl/DESCR | 10 | ||||
-rw-r--r-- | time/py-jrnl/Makefile | 30 | ||||
-rw-r--r-- | time/py-jrnl/PLIST | 35 | ||||
-rw-r--r-- | time/py-jrnl/distinfo | 7 | ||||
-rw-r--r-- | time/py-jrnl/patches/patch-setup.py | 15 |
6 files changed, 98 insertions, 0 deletions
diff --git a/time/py-jrnl/ALTERNATIVES b/time/py-jrnl/ALTERNATIVES new file mode 100644 index 00000000000..e2ec89bc225 --- /dev/null +++ b/time/py-jrnl/ALTERNATIVES @@ -0,0 +1 @@ +bin/jrnl @PREFIX@/bin/jrnl-@PYVERSSUFFIX@ diff --git a/time/py-jrnl/DESCR b/time/py-jrnl/DESCR new file mode 100644 index 00000000000..5edb3e883ef --- /dev/null +++ b/time/py-jrnl/DESCR @@ -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. diff --git a/time/py-jrnl/Makefile b/time/py-jrnl/Makefile new file mode 100644 index 00000000000..d3261b725e1 --- /dev/null +++ b/time/py-jrnl/Makefile @@ -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" diff --git a/time/py-jrnl/PLIST b/time/py-jrnl/PLIST new file mode 100644 index 00000000000..6043050c8fc --- /dev/null +++ b/time/py-jrnl/PLIST @@ -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 diff --git a/time/py-jrnl/distinfo b/time/py-jrnl/distinfo new file mode 100644 index 00000000000..0d1ae449512 --- /dev/null +++ b/time/py-jrnl/distinfo @@ -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 diff --git a/time/py-jrnl/patches/patch-setup.py b/time/py-jrnl/patches/patch-setup.py new file mode 100644 index 00000000000..7f1571d9b25 --- /dev/null +++ b/time/py-jrnl/patches/patch-setup.py @@ -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."), + } + |