source: trunk/dports/python/py-ode/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.1 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-ode
8version             1.2.1
9categories-append   games graphics
10license             {LGPL-2.1+ BSD}
11maintainers         nomaintainer
12description         Python bindings for The Open Dynamics Engine
13long_description    ${description}, an open-source physics engine.
14platforms           darwin
15homepage            http://pyode.sourceforge.net/
16master_sites        pypi:P/PyODE
17distname            PyODE-${version}
18
19checksums           md5     02015056f80121c4730178e8198c19c8 \
20                    rmd160  ae23ba127a472407aa8fde7e33c5115f3efbacbe \
21                    sha256  29062581255e1bf3cd91e5630225f1e5bc3e7e9446f94a325f9467cb9b08be67
22
23python.versions     27
24if {${name} ne ${subport}} {
25    depends_lib-append port:ode
26
27    patchfiles      patch-setup-py.diff
28    post-patch {
29        reinplace   "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
30    }
31}
Note: See TracBrowser for help on using the repository browser.