python bitstring modules: unify

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@81499 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Bryan Blackburn
2011-07-31 23:59:23 +00:00
parent 1804ba486b
commit db7d09938d
4 changed files with 13 additions and 110 deletions
+39
View File
@@ -0,0 +1,39 @@
# $Id$
PortSystem 1.0
PortGroup python 1.0
name py-bitstring
version 2.2.0
revision 1
categories-append devel
license MIT
maintainers blb openmaintainer
description Module to simplify handling of binary data
long_description \
bitstring is a pure Python module that makes the creation, manipulation \
and analysis of binary data as simple and natural as possible.
platforms darwin
supported_archs noarch
homepage http://code.google.com/p/python-bitstring/
master_sites googlecode:python-bitstring
distname bitstring-${version}
use_zip yes
checksums sha1 cd12c16b8d05a98b0e5a7dafc82dcb5891325812 \
rmd160 0ef2c6b67f5914a2524f1cd7644b40f8ba421729
if {${name} != ${subport}} {
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} README.txt release_notes.txt \
${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 ${worksrcpath}/doc/bitstring_manual.pdf \
${destroot}${prefix}/share/doc/${subport}
}
}
python.default_version 27
python.versions 26 27 31 32