source: trunk/dports/python/py-enchant/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.4 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
7name                py-enchant
8version             1.6.6
9revision            1
10categories-append   textproc
11license             LGPL-2.1+
12platforms           darwin
13supported_archs     noarch
14maintainers         nomaintainer
15
16description         A python interface to the enchant spell-checking library.
17long_description    PyEnchant is a spellchecking library for Python, \
18                    based on the excellent Enchant library.
19
20homepage            http://pythonhosted.org/pyenchant/
21master_sites        pypi:p/pyenchant/
22distname            pyenchant-${version}
23
24checksums           md5     9f5acfd87d04432bf8df5f9710a17358 \
25                    rmd160  1032e5f5da257211c69705f1468bb00b864a287b \
26                    sha256  25c9d2667d512f8fc4410465fdd2e868377ca07eb3d56e2b6e534a86281d64d3
27
28
29python.versions     27 34 35
30
31if {${name} ne ${subport}} {
32    depends_lib-append      port:py${python.version}-setuptools port:enchant
33
34    patchfiles              patch-enchant-_enchant.py.diff
35
36    post-patch {
37        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/enchant/_enchant.py
38    }
39
40    livecheck.type          none
41} else {
42    livecheck.type          regex
43    livecheck.url           ${homepage}
44    livecheck.regex         Version (\\d+\\.\\d+\\.\\d+) released
45}
Note: See TracBrowser for help on using the repository browser.