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

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           Whoosh
8set _n              [string index ${_name} 0]
9
10name                py-whoosh
11version             2.5.7
12platforms           darwin
13supported_archs     noarch
14license             BSD
15maintainers         nomaintainer
16
17description         Fast pure-Python indexing and search library
18long_description    \
19    Whoosh is a fast, featureful full-text indexing and searching library \
20    implemented in pure Python. Programmers can use it to easily add search \
21    functionality to their applications and websites. Every part of how \
22    Whoosh works can be extended or replaced to meet your needs exactly.
23
24homepage            https://bitbucket.org/mchaput/whoosh/wiki/Home
25master_sites        pypi:${_n}/${_name}
26distname            ${_name}-${version}
27
28checksums           md5     9d35a7498d5c7af8fe162f63719f4eeb \
29                    rmd160  e5bd168af8cc5cd601af9d3aff6c6cb85c38d61c \
30                    sha256  450d3b76c45dd26ceda101ebafee181c7ab377e8ea37ff5aaca1be79227f73fa
31
32python.versions     27 34
33
34if {${name} ne ${subport}} {
35    depends_build   port:py${python.version}-setuptools
36
37    livecheck.type  none
38} else {
39    livecheck.type  regex
40    livecheck.url   [lindex ${master_sites} 0]
41    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
42}
Note: See TracBrowser for help on using the repository browser.