[140939] trunk/dports/textproc/libplist
khindenburg at macports.org
khindenburg at macports.org
Mon Oct 5 20:11:13 PDT 2015
Revision: 140939
https://trac.macports.org/changeset/140939
Author: khindenburg at macports.org
Date: 2015-10-05 20:11:13 -0700 (Mon, 05 Oct 2015)
Log Message:
-----------
libplist: update to 0.12
- no longer using cmake
- patch not needed
- fix dependencies: remove glib2/swig; add gsed
- correct python27 + cython
- remove python26
- enable tests
Modified Paths:
--------------
trunk/dports/textproc/libplist/Portfile
Removed Paths:
-------------
trunk/dports/textproc/libplist/files/
Modified: trunk/dports/textproc/libplist/Portfile
===================================================================
--- trunk/dports/textproc/libplist/Portfile 2015-10-06 01:39:53 UTC (rev 140938)
+++ trunk/dports/textproc/libplist/Portfile 2015-10-06 03:11:13 UTC (rev 140939)
@@ -2,10 +2,9 @@
# $Id$
PortSystem 1.0
-PortGroup cmake 1.0
name libplist
-version 1.10
+version 1.12
categories textproc multimedia
maintainers nomaintainer
description Library for working with Apple Binary and XML Property Lists
@@ -16,39 +15,34 @@
master_sites http://libimobiledevice.org/downloads/
use_bzip2 yes
-checksums rmd160 b9d8d69a064054acd82d53cbb34d8a604dbaa915 \
- sha256 f44c52a0f8065d41d44772a7484f93bc5e7da21a8f4a9ad3f38a36b827eeff0b
+checksums rmd160 c1d6171766329dd809013c9061239636f8cb3998 \
+ sha256 0effdedcb3de128c4930d8c03a3854c74c426c16728b8ab5f0a5b6bdc0b644be
-depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
- port:libxml2 \
- port:swig-python
+depends_lib port:pkgconfig \
+ port:libxml2
-patchfiles patch-iterator.diff
+configure.args-append --without-cython
-configure.args-append -DENABLE_CYTHON=OFF
+build.args-append CC="${configure.cc} ${configure.cflags} [get_canonical_archflags cc]" \
+ CXX=${configure.cxx} \
+ CPP=${configure.cpp}
use_parallel_build no
-variant python26 conflicts python27 description {Use Python 2.6} {
- depends_lib-append port:python26
- configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python2.6 \
- -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6 \
- -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/2.6/Python
+default_variants +python27
+
+variant python27 description {Use Python 2.7} {
+ depends_build-append port:gsed
+ depends_lib-append port:py27-cython
+ configure.args-delete --without-cython
+ configure.env-append PYTHON=${prefix}/bin/python \
+ PYTHON_VERSION=2.7 \
+ CYTHON=${prefix}/bin/cython-2.7
}
-variant python27 conflicts python26 description {Use Python 2.7} {
- depends_lib-append port:python27
- configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \
- -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/include/python2.7 \
- -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/2.7/Python
-}
-if {![variant_isset python26]} {
- default_variants +python27
-}
-if {![variant_isset python26] && ![variant_isset python27]} {
- depends_lib-delete port:swig-python
- configure.args-append -DENABLE_SWIG=OFF
-}
+test.run yes
+test.target check
+
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151005/71f8d464/attachment.html>
More information about the macports-changes
mailing list