Changeset 80148
- Timestamp:
- 07/05/11 04:49:02 (4 years ago)
- Location:
- trunk/dports
- Files:
-
- 3 deleted
- 5 edited
- 2 copied
-
lang/python31/Portfile (modified) (5 diffs)
-
lang/python31/files/patch-Lib-cgi.py.diff (modified) (1 diff)
-
lang/python31/files/patch-Makefile.pre.in.diff (deleted)
-
lang/python31/files/patch-configure-arch_only.diff (deleted)
-
lang/python31/files/patch-setup_no_tkinter.py.diff (modified) (1 diff)
-
lang/python31/files/pyconfig.h-universal.ed (copied) (copied from trunk/dports/lang/python26/files/pyconfig.h-universal.ed) (1 diff)
-
lang/python31/files/version.plist (deleted)
-
python/py31-tkinter (copied) (copied from trunk/dports/python/py27-tkinter)
-
python/py31-tkinter/Portfile (modified) (2 diffs)
-
python/py31-tkinter/files/setup.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/python31/Portfile
r78591 r80148 6 6 name python31 7 7 epoch 1 8 version 3.1.3 9 revision 2 8 version 3.1.4 10 9 set major [lindex [split $version .] 0] 11 10 set branch [join [lrange [split ${version} .] 0 1] .] … … 22 21 23 22 distname Python-${version} 24 use_ bzip2yes23 use_xz yes 25 24 26 checksums md5 ad5e5f1c07e829321e0a015f8cafe245\27 sha1 aeadf1eb7f450aab77a8972c042bc5f49bcf2288\28 rmd160 730f3b8eb1a41f1b7c469fc81be734bb802cb9f925 checksums md5 dcd128e69f8ee239182b54e33313aac7 \ 26 sha1 e5767a4fc92433816451de75c8721f2e1a81f6ea \ 27 rmd160 beb24a2a1227aa2bc036263b4c808daa72fa3e02 29 28 30 patchfiles patch-Makefile.pre.in.diff \ 31 patch-setup.py.diff \ 29 patchfiles patch-setup.py.diff \ 32 30 patch-Lib-cgi.py.diff \ 33 patch-Lib-distutils-dist.py.diff 34 if {![variant_isset universal]} { 35 patchfiles-append patch-configure-arch_only.diff 36 # -arch ends up getting passed to libtool which doesn't understand it, so we 37 # just clear it since this port doesn't respect build_arch anyway 38 configure.ld_archflags 39 } 31 patch-Lib-distutils-dist.py.diff \ 32 patch-setup_no_tkinter.py.diff 40 33 41 depends_lib port:zlib port:openssl port:tk\34 depends_lib port:zlib port:openssl \ 42 35 port:sqlite3 port:ncurses port:gdbm \ 43 36 port:bzip2 port:readline port:gettext … … 111 104 reinplace {s|^\(LINKFORSHARED=.*\)$(PYTHONFRAMEWORKDIR).*$|\1 $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)|} ${destroot}${framewdir}/lib/python${branch}/config/Makefile 112 105 113 # The framework version.plist isn't currently being installed so114 # we'll copy ours for now (see http://trac.macports.org/ticket/18773 and115 # http://bugs.python.org/issue4937)116 xinstall -m 644 ${filespath}/version.plist \117 ${destroot}${framewdir}/Resources/version.plist118 119 106 # remove -arch flags from the config 120 107 reinplace -E {s|-arch [a-z0-9_]+||g} \ … … 158 145 configure.args-append --enable-universalsdk=/ 159 146 } 147 post-configure { 148 system "cd ${worksrcpath} && ed - pyconfig.h < ${filespath}/pyconfig.h-universal.ed" 149 } 160 150 } 161 151 … … 164 154 } 165 155 166 variant no_tkinter description {Disable Tkinter support, which will break IDLE} {167 patchfiles-append patch-setup_no_tkinter.py.diff168 depends_lib-delete port:tk169 }170 171 156 livecheck.type regex 172 157 livecheck.url ${homepage}download/releases/ -
trunk/dports/lang/python31/files/patch-Lib-cgi.py.diff
r49114 r80148 3 3 @@ -1,13 +1,6 @@ 4 4 -#! /usr/local/bin/python 5 +#! @@PREFIX@@/bin/python3. 05 +#! @@PREFIX@@/bin/python3.1 6 6 7 7 -# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is -
trunk/dports/lang/python31/files/patch-setup_no_tkinter.py.diff
r58144 r80148 1 --- setup.py.orig 20 09-03-31 12:20:48.000000000 -06002 +++ setup.py 20 09-09-17 00:33:12.000000000 -06001 --- setup.py.orig 2011-06-12 01:48:52.000000000 +1000 2 +++ setup.py 2011-07-05 20:35:54.000000000 +1000 3 3 @@ -17,7 +17,7 @@ 4 from distutils. command.install_lib import install_lib4 from distutils.spawn import find_executable 5 5 6 6 # This global variable is used to hold the list of modules to be disabled. -
trunk/dports/lang/python31/files/pyconfig.h-universal.ed
r80144 r80148 48 48 #endif 49 49 . 50 /WORDS_BIGENDIAN/c51 #if __BIG_ENDIAN__52 #define WORDS_BIGENDIAN 153 #endif54 .55 50 w -
trunk/dports/python/py31-tkinter/Portfile
r79630 r80148 3 3 4 4 PortSystem 1.0 5 PortGroup python 271.05 PortGroup python31 1.0 6 6 7 name py 27-tkinter8 version 2.7.27 name py31-tkinter 8 version 3.1.4 9 9 categories python graphics 10 10 platforms darwin 11 maintainers singingwolfboy openmaintainer11 maintainers nomaintainer 12 12 description Python bindings to the Tk widget set 13 13 long_description ${description} 14 14 15 homepage http://docs.python.org/library/tkinter.html 16 master_sites http://www.python.org/ftp/python/${version}/ \ 17 ftp://ftp.python.org/pub/python/${version}/ 15 homepage http://docs.python.org/release/${version}/library/tkinter.html 16 master_sites http://www.python.org/ftp/python/${version}/ 18 17 distname Python-${version} 19 dist_subdir python 2720 checksums md5 ba7b2f11ffdbf195ee0d111b9455a5bd\21 sha1 417bdeea77abfaf1b9257fc6b4a04aaa209f4547\22 rmd160 c3bf4f09b7c429a4d9f4cc251c795304cd5232c523 use_ bzip2yes18 dist_subdir python31 19 checksums md5 dcd128e69f8ee239182b54e33313aac7 \ 20 sha1 e5767a4fc92433816451de75c8721f2e1a81f6ea \ 21 rmd160 beb24a2a1227aa2bc036263b4c808daa72fa3e02 22 use_xz yes 24 23 25 24 depends_lib-append port:tk … … 41 40 livecheck.type regex 42 41 livecheck.url http://www.python.org/download/releases/ 43 livecheck.regex Python ( 2.7.\[0-9\]+)42 livecheck.regex Python (3\\.1\\.\[0-9\]+) -
trunk/dports/python/py31-tkinter/files/setup.py
r74692 r80148 7 7 from distutils.core import setup, Extension 8 8 except: 9 raise SystemExit , "Distutils problem"9 raise SystemExit("Distutils problem") 10 10 11 11 tkversion = "__TK-VERSION__" … … 15 15 libs = ["tcl" + tkversion, "tk" + tkversion] 16 16 17 setup(name = " Tkinter",17 setup(name = "tkinter", 18 18 description = "Tk Extension to Python", 19 19
Note: See TracChangeset
for help on using the changeset viewer.

