source: trunk/dports/python/py-opengl/Portfile

Last change on this file was 148976, checked in by raimue@…, 14 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# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-opengl
7version             3.1.0
8categories-append   graphics
9platforms           darwin
10supported_archs     noarch
11license             BSD
12maintainers         jmr openmaintainer
13
14description         Python binding to OpenGL
15long_description    PyOpenGL is the cross platform Python binding to OpenGL \
16                    and related APIs. The binding is created using the \
17                    standard ctypes library and is provided under an \
18                    extremely liberal BSD-style Open-Source licenses.
19
20homepage            http://pyopengl.sourceforge.net/
21
22master_sites        pypi:P/PyOpenGL/
23distname            PyOpenGL-${version}
24
25checksums           md5    0de021941018d46d91e5a8c11c071693 \
26                    rmd160 75728a3b53e62a41e634037c4f00efd4ba1ee67b \
27                    sha256 9b47c5c3a094fa518ca88aeed35ae75834d53e4285512c61879f67a48c94ddaf
28
29python.versions     26 27 33 34 35
30
31if {$subport ne $name} {
32    depends_build   port:py${python.version}-setuptools
33    depends_lib     port:py${python.version}-opengl-accelerate \
34                    port:py${python.version}-tkinter
35    if {${python.version} >= 30} {
36        depends_lib-append port:py${python.version}-Pillow
37    } else {
38        depends_lib-append path:${python.pkgd}/PIL:py${python.version}-Pillow
39    }
40    patchfiles      pillow-compat.diff
41    test.run        yes
42    livecheck.type  none
43} else {
44    livecheck.type  regex
45    livecheck.url   https://pypi.python.org/pypi/PyOpenGL
46    livecheck.regex {PyOpenGL/([0-9.]+)"}
47}
Note: See TracBrowser for help on using the repository browser.