[126503] trunk/dports/python/py-ctypes/Portfile
larryv at macports.org
larryv at macports.org
Fri Oct 10 21:50:07 PDT 2014
Revision: 126503
https://trac.macports.org/changeset/126503
Author: larryv at macports.org
Date: 2014-10-10 21:50:07 -0700 (Fri, 10 Oct 2014)
Log Message:
-----------
py24-ctypes: Replace with python27
Modified Paths:
--------------
trunk/dports/python/py-ctypes/Portfile
Modified: trunk/dports/python/py-ctypes/Portfile
===================================================================
--- trunk/dports/python/py-ctypes/Portfile 2014-10-11 04:39:30 UTC (rev 126502)
+++ trunk/dports/python/py-ctypes/Portfile 2014-10-11 04:50:07 UTC (rev 126503)
@@ -5,7 +5,14 @@
name py-ctypes
version 1.0.2
-revision 2
+revision 3
+
+python.versions 24
+
+replaced_by python27
+depends_lib
+PortGroup obsolete 1.0
+
platforms darwin
maintainers nomaintainer
license MIT
@@ -17,35 +24,3 @@
libraries in pure Python.
homepage http://starship.python.net/crew/theller/ctypes/
-master_sites sourceforge:ctypes
-
-checksums md5 94ff7aa7f7f71b23bac8a98065d77743 \
- sha1 7f77f2b507a50f292297831ee50e310037398e14 \
- rmd160 f8b74c2f9b5646edc916565dd22c51d8819cd6b8
-
-distname ctypes-${version}
-
-python.versions 24
-
-if {${name} ne ${subport}} {
- depends_build-append port:pkgconfig
-
- depends_lib-append port:libffi
-
- patchfiles patch-setup.py.diff
-
- python.add_archflags no
- pre-build {
- build.env-append CFLAGS="[get_canonical_archflags cc] -D_DARWIN_C_SOURCE" \
- CPPFLAGS="[exec ${prefix}/bin/pkg-config libffi --cflags]"
- }
-
- test.run yes
- test.cmd ${build.cmd}
- test.target test
-
- post-destroot {
- xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.CVS \
- README.txt ${destroot}${prefix}/share/doc/${subport}
- }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141010/c5a3e9e4/attachment.html>
More information about the macports-changes
mailing list