Skip to content
Permalink
Browse files

py-pyttsx: fix livecheck, deprecated

  • Loading branch information
reneeotten authored and cjones051073 committed Apr 5, 2019
1 parent b030d47 commit 648eadfa361ebd9888cd1df177d82edb14ff922b
Showing with 5 additions and 10 deletions.
  1. +5 −10 python/py-pyttsx/Portfile
@@ -2,11 +2,9 @@

PortSystem 1.0
PortGroup python 1.0
PortGroup deprecated 1.0

set _name pyttsx
set _n [string index ${_name} 0]

name py-${_name}
name py-pyttsx
version 1.1
revision 2
categories-append devel audio
@@ -18,21 +16,18 @@ description Cross-platform Python wrapper for text-to-speech synthesis
long_description ${description}

homepage https://github.com/parente/pyttsx
master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}

checksums md5 9426e15cc34e2d38f70b7bc61bd326dc \
rmd160 a7fc99cb0457ef07abaf46ee9c85412170ab4747 \
sha256 f435937d8c30e30f8fe034030e4ecbd0a69c3eaa4205e7280d5c9e19bf153df6

deprecated.upstream_support no
python.versions 27

if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools

livecheck.type none
} else {
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
}

0 comments on commit 648eadf

Please sign in to comment.
You can’t perform that action at this time.