source: trunk/dports/python/py-pympler/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.6 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-pympler
8set real_name       Pympler
9version             0.2.1
10revision            1
11python.versions     27 34
12categories-append   devel
13license             Apache-2 BSD MIT
14maintainers         nomaintainer
15supported_archs     noarch
16
17description         measure, monitor and analyze the memory behavior of Python objects
18long_description    \
19    Pympler is a development tool to measure, monitor and analyze the memory \
20    behavior of Python objects in a running Python application. \
21    By pympling a Python application, detailed insight in the size and the \
22    lifetime of Python objects can be obtained. Undesirable or unexpected runtime \
23    behavior like memory bloat and other "pymples" can easily be identified.
24
25platforms           darwin
26
27homepage            http://packages.python.org/${real_name}/
28master_sites        pypi:P/${real_name}/
29distname            ${real_name}-${version}
30
31if {${name} ne ${subport}} {
32    patch {
33        reinplace "s|data_path = cobj.install_data|data_path = '${python.prefix}/share/pympler'|" \
34            ${worksrcpath}/setup.py
35    }
36}
37
38checksums           rmd160  47b2285eb5fe9ff01f50d71e57da896110865af2 \
39                    sha256  292ee62bd50633af4d460d722c77e8c31647e936ae68e3c000e229312163becd
40
41livecheck.type      regex
42livecheck.url       ${master_sites}
43livecheck.regex     "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.