Ticket #50089: Portfile

File Portfile, 1.2 KB (added by dliessi (Davide Liessi), 8 years ago)
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$
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           HTSeq
8set _n              [string index ${_name} 0]
9
10name                py-htseq
11version             0.6.1
12platforms           darwin
13license             GPL-3+
14maintainers         gmail.com:davide.liessi openmaintainer
15
16description         A framework to process and analyze data from high throughput \
17                    sequencing HTS assays
18long_description    ${description}
19
20homepage            http://www-huber.embl.de/users/anders/${_name}/
21master_sites        https://pypi.python.org/packages/source/${_n}/${_name}
22distname            ${_name}-${version}
23
24checksums           rmd160  034ef4917faabb8659adc89ceb1ab0d94d7703bd \
25                    sha256  9bff6779595ea13c10137dad3bc4ecfd046b0bc620990eaa08920a29dcbd05c5
26
27python.versions     27
28
29if {${name} ne ${subport}} {
30    depends_build-append \
31                        port:py${python.version}-setuptools
32
33    livecheck.type  none
34} else {
35    livecheck.type  regex
36    livecheck.url   https://pypi.python.org/pypi/${_name}
37    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
38}