source: trunk/dports/python/py-pyobjc-fsevents/Portfile

Last change on this file was 148976, checked in by raimue@…, 18 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.7 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-pyobjc-fsevents
8version             3.0.4
9categories-append   devel
10license             MIT
11maintainers         nomaintainer
12platforms           darwin
13description         FSEvents wrapper for PyObjC
14long_description    This port provides the FSEvents wrapper for use with PyObjC
15homepage            http://pyobjc.sourceforge.net/
16master_sites        pypi:p/pyobjc-framework-FSEvents
17distname            pyobjc-framework-FSEvents-${version}
18
19checksums           rmd160  3221afb058d70b8751d6a1c663bfbc37d25828b3 \
20                    sha256  1a41d9ff4fc1597c8ca482076306cf8c7519a536281563cbadf7fc097376db34
21
22python.versions     27 34
23
24# since there is replication of code all these pyObjc related framework should probably all be merged
25# as subports of py-pyobj
26
27if {${name} ne ${subport}} {
28    depends_lib     port:py${python.version}-pyobjc
29
30    platform darwin 8 {
31        depends_fetch
32        depends_lib
33        pre-fetch {
34            return -code error "PyObjC 2 requires Mac OS X 10.5 or later"
35        }
36    }
37
38    post-destroot {
39        xinstall -m 644 -W ${worksrcpath} LICENSE.txt ${destroot}${prefix}/share/doc/${subport}
40        copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/${subport}/examples
41        copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport}
42    }
43
44    livecheck.type  none
45} else {
46    livecheck.type  regex
47    livecheck.url   http://pypi.python.org/pypi/pyobjc-framework-FSEvents
48    livecheck.regex {pyobjc-framework-FSEvents ([0-9.]+)}
49}
Note: See TracBrowser for help on using the repository browser.