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

Last change on this file was 114324, checked in by ryandesign@…, 4 years ago

python ports: use eq and ne when comparing ${subport} instead of == and !=

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-kyotocabinet
8version             1.18
9revision            0
10categories-append   databases
11license             GPL
12platforms           darwin
13
14maintainers         stromnov openmaintainer
15
16description         Python 2.x Binding of Kyoto Cabinet
17long_description    ${description}
18
19homepage            http://fallabs.com/kyotocabinet/
20master_sites        http://fallabs.com/kyotocabinet/pythonlegacypkg/
21
22distname            kyotocabinet-python-legacy-${version}
23
24checksums           rmd160  e73ace1daa317770cedd743346d7ba65170158d3 \
25                    sha256  0139ac994ff041067965fcaac99e55ebbf7a268814e489877ac448364594197b
26
27python.default_version  27
28python.versions     26 27
29
30if {${name} ne ${subport}} {
31    depends_lib-append  port:kyotocabinet \
32                        port:zlib
33}
34
35livecheck.type      regex
36livecheck.url       ${master_sites}
37livecheck.regex     "kyotocabinet-python-legacy-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.