pkgsrc-WIP-changes archive

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

Update to 0.32.1 which has working tests.



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Sun Nov 17 16:09:27 2019 +0100
Changeset:	cde9b07e7570e1a76ecab8136e66406757710414

Modified Files:
	nget/Makefile
	nget/distinfo

Log Message:
Update to 0.32.1 which has working tests.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cde9b07e7570e1a76ecab8136e66406757710414

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

diffstat:
 nget/Makefile | 14 +++++++++++---
 nget/distinfo |  8 ++++----
 2 files changed, 15 insertions(+), 7 deletions(-)

diffs:
diff --git a/nget/Makefile b/nget/Makefile
index f2f780bc8f..87596e89f1 100644
--- a/nget/Makefile
+++ b/nget/Makefile
@@ -1,13 +1,13 @@
 # $NetBSD$
 
 PKGNAME=		nget-${VER}
-VER=			0.32
+VER=			0.32.1
 CATEGORIES=		news
 MASTER_SITES=		https://gitlab.com/Rhialto/nget/-/archive/${GIT_TAG}/
 EXTRACT_SUFX=		.tar.bz2
 DISTNAME=		${GIT_TAG}-${PKGNAME}
-GIT_TAG=		nget-${VER:S/./_/}
-GIT_REV=		a2ff4e61dc5fb10ff9a8d1b36e4cfe7fe5a9bc3e
+GIT_TAG=		nget-${VER:S/./_/g}
+GIT_REV=		5274f1728b467c2c313c165061acc3b2c3a86fea
 WRKSRC=			${WRKDIR}/nget-${GIT_TAG}-${GIT_REV}
 
 MAINTAINER=		rhialto%NetBSD.org@localhost
@@ -30,6 +30,10 @@ INSTALLATION_DIRS=	share/nget share/examples/nget
 INSTALL_MAKE_FLAGS+=	prefix=${DESTDIR}${PREFIX} \
 			mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
 
+TEST_DEPENDS+=		cppunit-[0-9]*:../../devel/cppunit
+TEST_TARGET=		test
+REPLACE_PYTHON+=	test/test_nget.py
+
 pre-configure:
 	cd ${WRKSRC} && ./autogen.sh
 
@@ -39,8 +43,12 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/.ngetrc ${DESTDIR}${EGDIR}/dot.ngetrc
 
 .include "../../converters/uulib/buildlink3.mk"
+.include "../../devel/cppunit/buildlink3.mk"	# for make test
+BUILDLINK_DEPMETHOD.cppunit=    test
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../devel/popt/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
+PYTHON_FOR_BUILD_ONLY=	test
+.include "../../lang/python/application.mk"	# for make test
 .include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/nget/distinfo b/nget/distinfo
index 1931605179..c8a3671768 100644
--- a/nget/distinfo
+++ b/nget/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (nget-0_32-nget-0.32.tar.bz2) = 28d62491d72be860ec23454f7c14cc116e3cfd33
-RMD160 (nget-0_32-nget-0.32.tar.bz2) = 9fbcaef68d0172aa9a0cea3476f62946cad862b7
-SHA512 (nget-0_32-nget-0.32.tar.bz2) = 23bbc403838cc1fb113f1733356b2da32bc1e64855d33faaadd71fc2783a6fc4e958f3d78b3ca6abe8bb8121f5425a3e3aaf3cc2448923f3997671c02a34a8de
-Size (nget-0_32-nget-0.32.tar.bz2) = 382754 bytes
+SHA1 (nget-0_32_1-nget-0.32.1.tar.bz2) = d2471f776e4b79de57217760408c2b4052b7abee
+RMD160 (nget-0_32_1-nget-0.32.1.tar.bz2) = c9bf5b997594346475ac48d9e0ce30d8a35b982e
+SHA512 (nget-0_32_1-nget-0.32.1.tar.bz2) = b58291e34f2f5965ddd4f142ed46838b71705a155aa658fdb4cd9a94c4be6c28971f214aada290e633d2cb6aa5926bd8ac90d1d7d7e54d547fc27bb2a2319517
+Size (nget-0_32_1-nget-0.32.1.tar.bz2) = 382735 bytes


Home | Main Index | Thread Index | Old Index