pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-jrnl



Module Name:    pkgsrc
Committed By:   leot
Date:           Tue Dec 19 14:26:22 UTC 2017

Added Files:
        pkgsrc/time/py-jrnl: ALTERNATIVES DESCR Makefile PLIST distinfo
        pkgsrc/time/py-jrnl/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-jrnl/ALTERNATIVES \
    pkgsrc/time/py-jrnl/DESCR pkgsrc/time/py-jrnl/Makefile \
    pkgsrc/time/py-jrnl/PLIST pkgsrc/time/py-jrnl/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-jrnl/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/time/py-jrnl/ALTERNATIVES
diff -u /dev/null pkgsrc/time/py-jrnl/ALTERNATIVES:1.1
--- /dev/null   Tue Dec 19 14:26:22 2017
+++ pkgsrc/time/py-jrnl/ALTERNATIVES    Tue Dec 19 14:26:21 2017
@@ -0,0 +1 @@
+bin/jrnl @PREFIX@/bin/jrnl-@PYVERSSUFFIX@
Index: pkgsrc/time/py-jrnl/DESCR
diff -u /dev/null pkgsrc/time/py-jrnl/DESCR:1.1
--- /dev/null   Tue Dec 19 14:26:22 2017
+++ pkgsrc/time/py-jrnl/DESCR   Tue Dec 19 14:26:21 2017
@@ -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.
Index: pkgsrc/time/py-jrnl/Makefile
diff -u /dev/null pkgsrc/time/py-jrnl/Makefile:1.1
--- /dev/null   Tue Dec 19 14:26:22 2017
+++ pkgsrc/time/py-jrnl/Makefile        Tue Dec 19 14:26:21 2017
@@ -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"
Index: pkgsrc/time/py-jrnl/PLIST
diff -u /dev/null pkgsrc/time/py-jrnl/PLIST:1.1
--- /dev/null   Tue Dec 19 14:26:22 2017
+++ pkgsrc/time/py-jrnl/PLIST   Tue Dec 19 14:26:21 2017
@@ -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
Index: pkgsrc/time/py-jrnl/distinfo
diff -u /dev/null pkgsrc/time/py-jrnl/distinfo:1.1
--- /dev/null   Tue Dec 19 14:26:22 2017
+++ pkgsrc/time/py-jrnl/distinfo        Tue Dec 19 14:26:21 2017
@@ -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

Index: pkgsrc/time/py-jrnl/patches/patch-setup.py
diff -u /dev/null pkgsrc/time/py-jrnl/patches/patch-setup.py:1.1
--- /dev/null   Tue Dec 19 14:26:22 2017
+++ pkgsrc/time/py-jrnl/patches/patch-setup.py  Tue Dec 19 14:26:21 2017
@@ -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