Ticket #48529: macports-py-pysvn-update.diff

File macports-py-pysvn-update.diff, 3.2 KB (added by bwalle (Bernhard Walle), 8 years ago)

Update to 1.8.0

  • python/py-pysvn/Portfile

    diff -Nurp dports/python/py-pysvn/Portfile myports/python/py-pysvn/Portfile
    old new PortSystem 1.0 
    44PortGroup python 1.0
    55               
    66name            py-pysvn
    7 version         1.7.6
    8 revision        3
     7version         1.8.0
     8revision        2
    99categories-append     devel
    1010maintainers     blair openmaintainer
    1111platforms       darwin
    homepage http://pysvn.tigris.org/ 
    2020
    2121master_sites    http://pysvn.barrys-emacs.org/source_kits/
    2222distname        pysvn-${version}
    23 checksums       md5     010a80f0058713209d62e96b20afbde9 \
    24                 sha1    720399815278a0b29a2ea87a09a0d2807d4614e4 \
    25                 rmd160  f6b44e293ec4a94cd610cb8e1f2b711c1aad5aee
     23                checksums           md5     3999a7680f4d3c4d3bddfc45edf65788 \
     24                    sha1    f1d584bc3b0d15eb27606ca1a6c364dc44fee345 \
     25                    rmd160  3216c21f72247c4b8981c73384d2f623c9887579
    2626
    2727python.versions 26 27
    2828
    if {[string match *clang* ${configure.cx 
    3434if {${name} ne ${subport}} {
    3535    depends_lib-append  port:subversion
    3636
    37     patchfiles      patch-Source_setup_configure.py.diff
    38 
    3937    worksrcdir      ${worksrcdir}/Source
    4038
    4139    use_configure   yes
  • python/py-pysvn/files/patch-Source_setup_configure.py.diff

    diff -Nurp dports/python/py-pysvn/files/patch-Source_setup_configure.py.diff myports/python/py-pysvn/files/patch-Source_setup_configure.py.diff
    old new  
    1 diff -ru ../../pysvn-1.7.6.orig/Source/setup_configure.py ./setup_configure.py
    2 --- ../../pysvn-1.7.6.orig/Source/setup_configure.py    2012-02-28 10:53:48.000000000 -0800
    3 +++ ./setup_configure.py        2012-08-17 20:25:49.000000000 -0700
    4 @@ -515,7 +515,7 @@
    5                      self.get_lib_name_for_platform( 'libsvn_client-1' ) )
    6          # if we are using the Fink SVN then remember this
    7          self.is_mac_os_x_fink = folder.startswith( '/sw/' )
    8 -        self.is_mac_os_x_darwin_ports = folder.startswith( '/opt/local/' )
    9 +        self.is_mac_os_x_darwin_ports = False
    10          return folder
    11  
    12      def find_apr_inc( self ):
    13 @@ -1014,8 +1014,7 @@
    14  
    15      def setupUtilities( self ):
    16          self._addVar( 'CCCFLAGS',
    17 -                                        '-g  '
    18 -                                        '-no-long-double '
    19 +                                        '-g -O2 '
    20                                          '-Wall -fPIC -fexceptions -frtti '
    21                                          '-I. -I%(APR_INC)s -I%(SVN_INC)s '
    22                                          '-D%(DEBUG)s' )
    23 @@ -1031,8 +1030,7 @@
    24          self._addVar( 'PYTHON_INC',         distutils.sysconfig.get_python_inc() )
    25  
    26          py_cflags_list = [
    27 -                    '-g',
    28 -                    '-no-long-double',
    29 +                    '-g -O2',
    30                      '-Wall -fPIC -fexceptions -frtti',
    31                      '-I. -I%(APR_INC)s -I%(SVN_INC)s',
    32                      '-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',