[112602] trunk/dports/python
snc at macports.org
snc at macports.org
Sun Oct 27 13:12:19 PDT 2013
Revision: 112602
https://trac.macports.org/changeset/112602
Author: snc at macports.org
Date: 2013-10-27 13:12:19 -0700 (Sun, 27 Oct 2013)
Log Message:
-----------
py-BitVector: new submiossion, version 3.3, from maintainer, fixes #40533
Added Paths:
-----------
trunk/dports/python/py-BitVector/
trunk/dports/python/py-BitVector/Portfile
Added: trunk/dports/python/py-BitVector/Portfile
===================================================================
--- trunk/dports/python/py-BitVector/Portfile (rev 0)
+++ trunk/dports/python/py-BitVector/Portfile 2013-10-27 20:12:19 UTC (rev 112602)
@@ -0,0 +1,56 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+name py-BitVector
+version 3.3
+categories-append math
+platforms darwin
+
+maintainers bo.ingv.it:Peter.Danecek openmaintainer
+
+license PSF
+
+description A memory-efficient packed representation for bit arrays
+
+long_description The BitVector class is for a memory-efficient packed \
+ representation of bit arrays and for logical operations \
+ on such arrays. It is written in pure Python.
+
+homepage https://engineering.purdue.edu/kak/dist/BitVector-${version}.html
+
+distname BitVector-${version}
+master_sites https://engineering.purdue.edu/kak/dist
+
+checksums md5 5cd94e48eefabac749edaebf8337fc5a \
+ rmd160 1228aa6855a8958dd14ecbe5c639f3d343588183 \
+ sha256 ad82343d3e12f2538a250de3385c2511e980e85478f858659c5280eb988d0484
+
+python.versions 26 27 31 32 33 34
+
+if {${subport} ne ${name}} {
+ depends_build-append port:py${python.version}-setuptools
+
+ test.run yes
+ test.cmd ${python.bin} TestBitVector/Test.py
+ test.target {}
+
+ # delete redundant files & avoid testing different version
+ pre-patch {
+ eval delete [ glob ${worksrcpath}/*/BitVector.py ]
+
+ # create link for testing
+ ln -s ../BitVector.py ${worksrcpath}/TestBitVector/BitVector.py
+ }
+
+ # Adding documentation & examples
+ post-destroot {
+ copy ${worksrcpath}/${distname}.html ${destroot}${prefix}/share/doc/${subport}
+
+ # Avoid creation of example directory
+ delete ${destroot}${prefix}/share/doc/${subport}/examples
+ copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/${subport}/examples
+ }
+}
Property changes on: trunk/dports/python/py-BitVector/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131027/1596dae2/attachment.html>
More information about the macports-changes
mailing list