Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2012 18:08:07 -0700 (PDT)
From:      Sofian Brabez <sbz@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lwhsu@FreeBSD.org
Subject:   ports/167183: [PATCH] math/py-bitvector: update to 3.1
Message-ID:  <4f9359f7.6965b40a.7a7b.ffffd927@mx.google.com>
Resent-Message-ID: <201204220110.q3M1A7Ub078535@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167183
>Category:       ports
>Synopsis:       [PATCH] math/py-bitvector: update to 3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 22 01:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sofian Brabez
>Release:        FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.ifr.lan 8.1-STABLE FreeBSD 8.1-STABLE #3: Wed Nov 17 10:34:25 CET 2010
>Description:
- Update to 3.1
- Update MASTER_SITES
- Add LICENSE
- Add regression-test target
- Respect NOPORTDOCS

Port maintainer (lwhsu@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- py26-bitvector-3.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/math/py-bitvector/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	20 Apr 2008 09:57:44 -0000	1.5
+++ Makefile	22 Apr 2012 01:04:17 -0000
@@ -6,21 +6,36 @@
 #
 
 PORTNAME=	bitvector
-PORTVERSION=	1.4
+PORTVERSION=	3.1
 CATEGORIES=	math python
-MASTER_SITES=	http://cobweb.ecn.purdue.edu/~kak/dist/
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	BitVector-${PORTVERSION}
 
 MAINTAINER=	lwhsu@FreeBSD.org
 COMMENT=	A pure-Python memory-efficient packed representation for bit arrays
 
+LICENSE=	PSFL
+
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	BitVector
 
+PORTDOCS=	README BitVector-${PORTVERSION}.html
+
 PLIST_FILES=	%%PYTHON_SITELIBDIR%%/BitVector.py \
 		%%PYTHON_SITELIBDIR%%/BitVector.pyc \
 		%%PYTHON_SITELIBDIR%%/BitVector.pyo
 
+.if !defined(NOPORTDOCS)
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
+
+post-install:
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
+regression-test:
+	@(cd ${WRKSRC}/TestBitVector && ${PYTHON_CMD} Test.py)
+
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/math/py-bitvector/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo	20 Mar 2011 12:50:49 -0000	1.4
+++ distinfo	22 Apr 2012 01:04:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (BitVector-1.4.tar.gz) = 448b7de69aea70ff8596f85ab01006488a4ac18665acf4b0ac83f1fe94dc5897
-SIZE (BitVector-1.4.tar.gz) = 67420
+SHA256 (BitVector-3.1.tar.gz) = fb839af4a65b9a656d7b6aa7a83c4088023b15f2123ea3a5f8a2764a6c17b1f7
+SIZE (BitVector-3.1.tar.gz) = 157374
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/math/py-bitvector/pkg-descr,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-descr
--- pkg-descr	27 Dec 2006 19:55:22 -0000	1.1
+++ pkg-descr	22 Apr 2012 01:04:17 -0000
@@ -3,4 +3,4 @@
 script for bin packing is based on an internet posting by Josiah Carlson to
 the Pyrex mailing list.
 
-WWW:	http://rvl4.ecn.purdue.edu/~kak/dist/BitVector-1.3.html
+WWW:	https://engineering.purdue.edu/kak/dist/BitVector-3.1.html
--- py26-bitvector-3.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f9359f7.6965b40a.7a7b.ffffd927>