Skip to content
Permalink
Browse files

new port

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3989 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Nov 19, 2003
1 parent e411a80 commit 8fc0b47f32672dfa2ba377fed2ed2ba1153585b8
Showing with 77 additions and 0 deletions.
  1. +42 −0 python/py-biopython/Portfile
  2. +35 −0 python/py-reportlab/Portfile
@@ -0,0 +1,42 @@
# $Id: Portfile,v 1.1 2003/11/19 13:34:07 mww Exp $

PortSystem 1.0

name py-biopython
version 1.23
categories python
maintainers mww@opendarwin.org
description python tools for computational molecular biology
long_description python tools for computational molecular biology: \
parsers for various file formats, interfaces for programs, \
tools for performing common operations on sequences, etc.

homepage http://www.biopython.org/
master_sites ${homepage}/files
distname biopython-${version}
checksums md5 45ea628621c6b04d471f029ef5873aaf

depends_lib bin:python:python \
lib:XXX:py-numeric \
lib:XXX:py-mx \
lib:XXX:py-reportlab

use_configure no

build.cmd python setup.py
build.target build

test {
system "cd ${worksrcpath} && python setup.py test"
}

destroot.cmd python setup.py
destroot.destdir --prefix=${destroot}${prefix}

post-destroot {
file mkdir ${destroot}${prefix}/share/doc
file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/CONTRIB ${worksrcpath}/LICENSE \
${worksrcpath}/NEWS ${worksrcpath}/PKG-INFO \
${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
}
@@ -0,0 +1,35 @@
# $Id: Portfile,v 1.1 2003/11/19 13:33:41 mww Exp $

PortSystem 1.0

name py-reportlab
version 1_18
categories python
maintainers mww@opendarwin.org
description python library for creating pdf files
long_description ReportLab is a software library that lets you directly \
create documents in Adobe's Portable Document Format (PDF) \
using the python programming language.

homepage http://www.reportlab.org/
master_sites ${homepage}/ftp/
distname ReportLab_${version}
checksums md5 742dcc46702cb547264803303ffae2aa
extract.suffix .tgz
depends_lib bin:python:python

use_configure no

build.dir ${workpath}/reportlab
build.cmd python setup.py
build.target build

destroot.cmd python setup.py
destroot.destdir --prefix=${destroot}${prefix}

post-destroot {
file mkdir ${destroot}${prefix}/share/doc/
file copy ${build.dir}/docs ${destroot}${prefix}/share/doc/${name}
file copy ${build.dir}/README ${build.dir}/changes \
${destroot}${prefix}/share/doc/${name}
}

0 comments on commit 8fc0b47

Please sign in to comment.
You can’t perform that action at this time.