- Update to 3.1

- Update MASTER_SITES
- Add LICENSE
- Add regression-test target
- Respect NOPORTDOCS

PR:		ports/167183
Submitted by:	sbz
This commit is contained in:
Li-Wen Hsu 2012-04-22 14:14:38 +00:00
parent 88efc523f8
commit 390d5ffc5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295257
3 changed files with 23 additions and 5 deletions

View file

@ -6,21 +6,39 @@
#
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
post-extract:
@${RM} -f ${WRKSRC}/test.py
.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>

View file

@ -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

View file

@ -3,4 +3,4 @@ and for logical operations on such arrays. The core idea used in this Python
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