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

Last change on this file was 148976, checked in by raimue@…, 14 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.2 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           pyttsx
8set _n              [string index ${_name} 0]
9
10name                py-${_name}
11version             1.1
12revision            2
13categories-append   devel audio
14platforms           darwin
15license             BSD
16maintainers         nomaintainer
17
18description         Cross-platform Python wrapper for text-to-speech synthesis
19long_description    ${description}
20
21homepage            https://github.com/parente/pyttsx
22master_sites        pypi:${_n}/${_name}/
23distname            ${_name}-${version}
24
25checksums           md5     9426e15cc34e2d38f70b7bc61bd326dc \
26                    rmd160  a7fc99cb0457ef07abaf46ee9c85412170ab4747 \
27                    sha256  f435937d8c30e30f8fe034030e4ecbd0a69c3eaa4205e7280d5c9e19bf153df6
28
29python.versions     27
30
31if {${name} ne ${subport}} {
32    depends_build-append    port:py${python.version}-setuptools
33
34    livecheck.type  none
35} else {
36    livecheck.type  regex
37    livecheck.url   [lindex ${master_sites} 0]
38    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
39}
Note: See TracBrowser for help on using the repository browser.