pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/py-jrnl py-jrnl: Import py-jrnl-1.9.8 as time/py-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d2673e111d3
branches:  trunk
changeset: 372905:3d2673e111d3
user:      leot <leot%pkgsrc.org@localhost>
date:      Tue Dec 19 14:26:21 2017 +0000

description:
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.

diffstat:

 time/py-jrnl/ALTERNATIVES           |   1 +
 time/py-jrnl/DESCR                  |  10 ++++++++++
 time/py-jrnl/Makefile               |  30 ++++++++++++++++++++++++++++++
 time/py-jrnl/PLIST                  |  35 +++++++++++++++++++++++++++++++++++
 time/py-jrnl/distinfo               |   7 +++++++
 time/py-jrnl/patches/patch-setup.py |  15 +++++++++++++++
 6 files changed, 98 insertions(+), 0 deletions(-)

diffs (122 lines):

diff -r ad019c091797 -r 3d2673e111d3 time/py-jrnl/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-jrnl/ALTERNATIVES Tue Dec 19 14:26:21 2017 +0000
@@ -0,0 +1,1 @@
+bin/jrnl @PREFIX@/bin/jrnl-@PYVERSSUFFIX@
diff -r ad019c091797 -r 3d2673e111d3 time/py-jrnl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-jrnl/DESCR        Tue Dec 19 14:26:21 2017 +0000
@@ -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 -r ad019c091797 -r 3d2673e111d3 time/py-jrnl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-jrnl/Makefile     Tue Dec 19 14:26:21 2017 +0000
@@ -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@localhost
+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 -r ad019c091797 -r 3d2673e111d3 time/py-jrnl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-jrnl/PLIST        Tue Dec 19 14:26:21 2017 +0000
@@ -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 -r ad019c091797 -r 3d2673e111d3 time/py-jrnl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-jrnl/distinfo     Tue Dec 19 14:26:21 2017 +0000
@@ -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 -r ad019c091797 -r 3d2673e111d3 time/py-jrnl/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-jrnl/patches/patch-setup.py       Tue Dec 19 14:26:21 2017 +0000
@@ -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."),
+ }
+ 



Home | Main Index | Thread Index | Old Index