pkgsrc-Changes archive

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

CVS commit: pkgsrc/finance/ledger



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Sep  6 21:08:09 UTC 2017

Modified Files:
        pkgsrc/finance/ledger: Makefile options.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/finance/ledger/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/finance/ledger/options.mk

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

Modified files:

Index: pkgsrc/finance/ledger/Makefile
diff -u pkgsrc/finance/ledger/Makefile:1.3 pkgsrc/finance/ledger/Makefile:1.4
--- pkgsrc/finance/ledger/Makefile:1.3  Thu Aug 24 20:03:13 2017
+++ pkgsrc/finance/ledger/Makefile      Wed Sep  6 21:08:09 2017
@@ -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
 

Index: pkgsrc/finance/ledger/options.mk
diff -u pkgsrc/finance/ledger/options.mk:1.1 pkgsrc/finance/ledger/options.mk:1.2
--- pkgsrc/finance/ledger/options.mk:1.1        Sat Feb 18 05:48:51 2017
+++ pkgsrc/finance/ledger/options.mk    Wed Sep  6 21:08:09 2017
@@ -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_SUPPORTED_OPTIONS+=        python
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ledger
+PKG_SUPPORTED_OPTIONS+=        python
+PKG_SUGGESTED_OPTIONS+=        python
+
 PLIST_VARS+=           python
 
 .include "../../mk/bsd.options.mk"
@@ -10,5 +12,6 @@ PLIST_VARS+=          python
 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