pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/finance/ledger Simplify. Mark as only working with pyt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fad2569d9dde
branches:  trunk
changeset: 367794:fad2569d9dde
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Sep 06 21:08:09 2017 +0000

description:
Simplify. Mark as only working with python-2.x, and enable python by
default.
Bump PKGREVISION.

diffstat:

 finance/ledger/Makefile   |  12 +++++-------
 finance/ledger/options.mk |   7 +++++--
 2 files changed, 10 insertions(+), 9 deletions(-)

diffs (50 lines):

diff -r 48fabe8e8e7e -r fad2569d9dde finance/ledger/Makefile
--- a/finance/ledger/Makefile   Wed Sep 06 16:52:23 2017 +0000
+++ b/finance/ledger/Makefile   Wed Sep 06 21:08:09 2017 +0000
@@ -1,19 +1,17 @@
-# $NetBSD: Makefile,v 1.3 2017/08/24 20:03:13 adam Exp $
+# $NetBSD: Makefile,v 1.4 2017/09/06 21:08:09 wiz Exp $
 
-GITHUB_PROJECT=        ledger
-VERSION=       3.1.1
-PKGREVISION=   3
-DISTNAME=      ledger-${VERSION}
+DISTNAME=      ledger-3.1.1
+PKGREVISION=   4
 CATEGORIES=    finance
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ledger/}
-GITHUB_TAG=    v${VERSION}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 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_CMAKE=     yes
 USE_LANGUAGES= c++ c
 GCC_REQD+=     4.8
 
diff -r 48fabe8e8e7e -r fad2569d9dde finance/ledger/options.mk
--- a/finance/ledger/options.mk Wed Sep 06 16:52:23 2017 +0000
+++ b/finance/ledger/options.mk Wed Sep 06 21:08:09 2017 +0000
@@ -1,7 +1,9 @@
-# $NetBSD: options.mk,v 1.1 2017/02/18 05:48:51 riastradh Exp $
+# $NetBSD: options.mk,v 1.2 2017/09/06 21:08:09 wiz Exp $
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.ledger
 PKG_SUPPORTED_OPTIONS+=        python
-PKG_OPTIONS_VAR=       PKG_OPTIONS.ledger
+PKG_SUGGESTED_OPTIONS+=        python
+
 PLIST_VARS+=           python
 
 .include "../../mk/bsd.options.mk"
@@ -10,5 +12,6 @@
 CMAKE_ARGS+=           -DUSE_PYTHON:BOOL=TRUE
 PLIST.python=          yes
 PLIST_SUBST+=          PYSITELIB=${PYSITELIB:Q}
+PYTHON_VERSIONS_ACCEPTED=      27 # as of 3.1.1
 .include "../../devel/py-boost/buildlink3.mk"
 .endif



Home | Main Index | Thread Index | Old Index