pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: riastradh
Date: Sat Feb 18 05:48:52 UTC 2017
Modified Files:
pkgsrc/doc: CHANGES-2017
pkgsrc/finance: Makefile
Added Files:
pkgsrc/finance/ledger: DESCR Makefile PLIST TODO distinfo options.mk
pkgsrc/finance/ledger/patches: patch-src_system.hh.in
Log Message:
Import ledger 3.1.1 from wip, with some tweaks as 3.1.1nb1.
- Fill text in DESCR.
- Use lang/python/tool.mk explicitly.
- Add options.mk for python option. (Other extensions TBD.)
- Patch a misuse of editline.
To generate a diff of this commit:
cvs rdiff -u -r1.769 -r1.770 pkgsrc/doc/CHANGES-2017
cvs rdiff -u -r1.43 -r1.44 pkgsrc/finance/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/ledger/DESCR \
pkgsrc/finance/ledger/Makefile pkgsrc/finance/ledger/PLIST \
pkgsrc/finance/ledger/TODO pkgsrc/finance/ledger/distinfo \
pkgsrc/finance/ledger/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/ledger/patches/patch-src_system.hh.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/doc/CHANGES-2017
diff -u pkgsrc/doc/CHANGES-2017:1.769 pkgsrc/doc/CHANGES-2017:1.770
--- pkgsrc/doc/CHANGES-2017:1.769 Fri Feb 17 21:29:13 2017
+++ pkgsrc/doc/CHANGES-2017 Sat Feb 18 05:48:51 2017
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2017,v 1.769 2017/02/17 21:29:13 jmmv Exp $
+$NetBSD: CHANGES-2017,v 1.770 2017/02/18 05:48:51 riastradh Exp $
Changes to the packages collection and infrastructure in 2017:
@@ -967,3 +967,4 @@ Changes to the packages collection and i
Added sysutils/sandboxctl version 1.0 [jmmv 2017-02-17]
Added pkgtools/pkg_comp version 2.0 [jmmv 2017-02-17]
Added pkgtools/pkg_comp-cron version 1.0 [jmmv 2017-02-17]
+ Added finance/ledger version 3.1.1nb1 [riastradh 2017-02-18]
Index: pkgsrc/finance/Makefile
diff -u pkgsrc/finance/Makefile:1.43 pkgsrc/finance/Makefile:1.44
--- pkgsrc/finance/Makefile:1.43 Thu Dec 8 02:56:11 2016
+++ pkgsrc/finance/Makefile Sat Feb 18 05:48:51 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2016/12/08 02:56:11 jnemeth Exp $
+# $NetBSD: Makefile,v 1.44 2017/02/18 05:48:51 riastradh Exp $
#
COMMENT= Monetary, financial and related applications
@@ -7,6 +7,7 @@ SUBDIR+= gkrellm-stock
SUBDIR+= gnucash
SUBDIR+= gnucash-docs
SUBDIR+= kmymoney2
+SUBDIR+= ledger
SUBDIR+= libofx
SUBDIR+= magento
SUBDIR+= moneyguru
Added files:
Index: pkgsrc/finance/ledger/DESCR
diff -u /dev/null pkgsrc/finance/ledger/DESCR:1.1
--- /dev/null Sat Feb 18 05:48:52 2017
+++ pkgsrc/finance/ledger/DESCR Sat Feb 18 05:48:51 2017
@@ -0,0 +1,12 @@
+Ledger is a powerful, double-entry accounting system that is accessed
+from the UNIX command-line. This may put off some users, since there is
+no flashy UI, but for those who want unparalleled reporting access to
+their data there are few alternatives.
+
+Ledger uses text files for input. It reads the files and generates
+reports; there is no other database or stored state. To use Ledger, you
+create a file of your account names and transactions, run from the
+command line with some options to specify input and requested reports,
+and get output. The output is generally plain text, though you could
+generate a graph or html instead. Ledger is simple in concept,
+surprisingly rich in ability, and easy to use.
Index: pkgsrc/finance/ledger/Makefile
diff -u /dev/null pkgsrc/finance/ledger/Makefile:1.1
--- /dev/null Sat Feb 18 05:48:52 2017
+++ pkgsrc/finance/ledger/Makefile Sat Feb 18 05:48:51 2017
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2017/02/18 05:48:51 riastradh Exp $
+
+GITHUB_PROJECT= ledger
+VERSION= 3.1.1
+PKGREVISION= 1
+DISTNAME= ledger-${VERSION}
+CATEGORIES= finance
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ledger/}
+GITHUB_TAG= v${VERSION}
+
+MAINTAINER= base%atomicules.co.uk@localhost
+HOMEPAGE= http://ledger-cli.org/
+COMMENT= Double-entry accounting system for command-line
+LICENSE= modified-bsd
+
+USE_CMAKE= YES
+USE_LANGUAGES= c++ c
+GCC_REQD+= 4.8
+
+.include "options.mk"
+
+REPLACE_INTERPRETER+= python
+REPLACE.python.old= /usr/bin/env python
+REPLACE.python.new= ${PYTHONBIN}
+REPLACE_FILES.python+= contrib/getquote-uk.py acprep python/demo.py
+REPLACE_FILES.python+= test/DocTests.py test/LedgerHarness.py
+REPLACE_FILES.python+= test/convert.py test/RegressTests.py test/convert.py
+REPLACE_FILES.python+= tools/genuuid
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/editline/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+.include "../../math/mpfr/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/finance/ledger/PLIST
diff -u /dev/null pkgsrc/finance/ledger/PLIST:1.1
--- /dev/null Sat Feb 18 05:48:52 2017
+++ pkgsrc/finance/ledger/PLIST Sat Feb 18 05:48:51 2017
@@ -0,0 +1,66 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/18 05:48:51 riastradh Exp $
+bin/ledger
+include/ledger/account.h
+include/ledger/amount.h
+include/ledger/annotate.h
+include/ledger/balance.h
+include/ledger/chain.h
+include/ledger/commodity.h
+include/ledger/compare.h
+include/ledger/context.h
+include/ledger/convert.h
+include/ledger/csv.h
+include/ledger/draft.h
+include/ledger/emacs.h
+include/ledger/error.h
+include/ledger/expr.h
+include/ledger/exprbase.h
+include/ledger/filters.h
+include/ledger/flags.h
+include/ledger/format.h
+include/ledger/generate.h
+include/ledger/global.h
+include/ledger/history.h
+include/ledger/item.h
+include/ledger/iterators.h
+include/ledger/journal.h
+include/ledger/lookup.h
+include/ledger/mask.h
+include/ledger/op.h
+include/ledger/option.h
+include/ledger/org.h
+include/ledger/output.h
+include/ledger/parser.h
+include/ledger/pool.h
+include/ledger/post.h
+include/ledger/precmd.h
+include/ledger/predicate.h
+include/ledger/print.h
+include/ledger/pstream.h
+include/ledger/ptree.h
+include/ledger/pyfstream.h
+include/ledger/pyinterp.h
+include/ledger/pyutils.h
+include/ledger/query.h
+include/ledger/quotes.h
+include/ledger/report.h
+include/ledger/scope.h
+include/ledger/select.h
+include/ledger/session.h
+include/ledger/stats.h
+include/ledger/stream.h
+include/ledger/strptime.h
+include/ledger/system.hh
+include/ledger/temps.h
+include/ledger/timelog.h
+include/ledger/times.h
+include/ledger/token.h
+include/ledger/unistring.h
+include/ledger/utils.h
+include/ledger/value.h
+include/ledger/views.h
+include/ledger/xact.h
+lib/libledger.so
+lib/libledger.so.3
+${PLIST.python}${PYSITELIB}/ledger.so
+man/man1/ledger.1
Index: pkgsrc/finance/ledger/TODO
diff -u /dev/null pkgsrc/finance/ledger/TODO:1.1
--- /dev/null Sat Feb 18 05:48:52 2017
+++ pkgsrc/finance/ledger/TODO Sat Feb 18 05:48:51 2017
@@ -0,0 +1 @@
+- Add remaining options.
Index: pkgsrc/finance/ledger/distinfo
diff -u /dev/null pkgsrc/finance/ledger/distinfo:1.1
--- /dev/null Sat Feb 18 05:48:52 2017
+++ pkgsrc/finance/ledger/distinfo Sat Feb 18 05:48:51 2017
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/02/18 05:48:51 riastradh Exp $
+
+SHA1 (ledger-3.1.1.tar.gz) = 77ad24ce4947e2f130e58d8e8bc4c5b6920a0222
+RMD160 (ledger-3.1.1.tar.gz) = 07645c8d798e386eb4ed0a5a9e3dcf6fe0a184f8
+SHA512 (ledger-3.1.1.tar.gz) = 3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5
+Size (ledger-3.1.1.tar.gz) = 842364 bytes
+SHA1 (patch-src_system.hh.in) = c9f5830aaf77681d93eedb78d06fa91f47a7b478
Index: pkgsrc/finance/ledger/options.mk
diff -u /dev/null pkgsrc/finance/ledger/options.mk:1.1
--- /dev/null Sat Feb 18 05:48:52 2017
+++ pkgsrc/finance/ledger/options.mk Sat Feb 18 05:48:51 2017
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2017/02/18 05:48:51 riastradh Exp $
+
+PKG_SUPPORTED_OPTIONS+= python
+PKG_OPTIONS_VAR= PKG_OPTIONS.ledger
+PLIST_VARS+= python
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpython)
+CMAKE_ARGS+= -DUSE_PYTHON:BOOL=TRUE
+PLIST.python= yes
+PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
+.include "../../devel/py-boost/buildlink3.mk"
+.endif
Index: pkgsrc/finance/ledger/patches/patch-src_system.hh.in
diff -u /dev/null pkgsrc/finance/ledger/patches/patch-src_system.hh.in:1.1
--- /dev/null Sat Feb 18 05:48:52 2017
+++ pkgsrc/finance/ledger/patches/patch-src_system.hh.in Sat Feb 18 05:48:52 2017
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_system.hh.in,v 1.1 2017/02/18 05:48:52 riastradh Exp $
+
+Canonicalize pkgsrc readline.h filename. This is seen both by
+consumers of devel/readline and by consumers of devel/editline, via
+buildlink3 magic. The only reason editline/readline.h may exist is to
+allow both devel/readline and devel/editline to coexist.
+
+--- src/system.hh.in.orig 2016-01-11 15:59:38.000000000 +0000
++++ src/system.hh.in
+@@ -168,7 +168,7 @@ typedef std::ostream::pos_type ostream_p
+ #include "utf8.h"
+
+ #if HAVE_EDIT
+-#include <editline/readline.h>
++#include <readline/readline.h>
+ #endif
+
+ #include <boost/algorithm/string.hpp>
Home |
Main Index |
Thread Index |
Old Index