source: trunk/dports/python/py-biopython/Portfile

Last change on this file was 152739, checked in by mmoll@…, 14 months ago

py-biopython: update to version 1.68

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 152739 2016-09-15 20:32:24Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name            py-biopython
8version         1.68
9categories-append     science
10maintainers     mmoll openmaintainer
11platforms       darwin
12description     python tools for computational molecular biology
13long_description    python tools for computational molecular biology: \
14                parsers for various file formats, interfaces for programs, \
15                tools for performing common operations on sequences, etc.
16
17homepage        http://www.biopython.org/
18license         MIT
19master_sites    ${homepage}/DIST
20distname        biopython-${version}
21checksums           md5     078e915185485a5327937029b7577ddc \
22                    sha1    380d8a7b5ced009613cdce5d4075d099e6a15c40 \
23                    rmd160  d68bf7b336db7675c72740cc03adf871bc3ee8c4
24
25python.versions 27 34 35
26
27if { ${name} ne ${subport} } {
28    depends_lib-append  port:py${python.version}-numpy
29
30    post-destroot {
31        file delete -force ${destroot}${prefix}/share/doc/${subport}
32        file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport}
33        xinstall -m 644 -W ${worksrcpath} CONTRIB DEPRECATED LICENSE NEWS README \
34            ${destroot}${prefix}/share/doc/${subport}
35    }
36
37    build.env   CFLAGS=-I${python.include}
38
39    test.run        no
40    test.cmd        ${build.cmd}
41    test.target     test
42
43    livecheck.type  none
44} else {
45    livecheck.type  regex
46    livecheck.url   http://biopython.org/wiki/Download
47    livecheck.regex biopython-(\[0-9\.\]+).tar.gz
48}
Note: See TracBrowser for help on using the repository browser.