[arch-commits] Commit in python/repos (4 files)
Date: Wednesday, April 8, 2020 @ 15:08:27 Author: felixonmars Revision: 379840 archrelease: copy trunk to staging-x86_64 Added: python/repos/staging-x86_64/ python/repos/staging-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 379839, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/staging-x86_64/PKGBUILD (from rev 379839, python/trunk/PKGBUILD) python/repos/staging-x86_64/genrebuild (from rev 379839, python/trunk/genrebuild) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 PKGBUILD | 160 genrebuild|7 + 3 files changed, 224 insertions(+) Copied: python/repos/staging-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 379839, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- staging-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ staging-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2020-04-08 15:08:27 UTC (rev 379840) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/staging-x86_64/PKGBUILD (from rev 379839, python/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-04-08 15:08:27 UTC (rev 379840) @@ -0,0 +1,160 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +shopt -s extglob + +pkgbase=python +pkgname=(python python-tests) +pkgver=3.8.2 +pkgrel=2 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="https://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc} +0001-compileall-Fix-ddir-when-recursing.patch)
[arch-commits] Commit in python/repos (4 files)
Date: Thursday, February 27, 2020 @ 08:37:54 Author: felixonmars Revision: 376284 archrelease: copy trunk to testing-x86_64 Added: python/repos/testing-x86_64/ python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 376283, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/testing-x86_64/PKGBUILD (from rev 376283, python/trunk/PKGBUILD) python/repos/testing-x86_64/genrebuild (from rev 376283, python/trunk/genrebuild) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 PKGBUILD | 160 genrebuild|7 + 3 files changed, 224 insertions(+) Copied: python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 376283, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2020-02-27 08:37:54 UTC (rev 376284) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/testing-x86_64/PKGBUILD (from rev 376283, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-02-27 08:37:54 UTC (rev 376284) @@ -0,0 +1,160 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +shopt -s extglob + +pkgbase=python +pkgname=(python python-tests) +pkgver=3.8.2 +pkgrel=1 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="https://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc} +0001-compileall-Fix-ddir-when-recursing.patch)
[arch-commits] Commit in python/repos (4 files)
Date: Wednesday, January 22, 2020 @ 09:09:09 Author: felixonmars Revision: 373782 archrelease: copy trunk to testing-x86_64 Added: python/repos/testing-x86_64/ python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 373781, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/testing-x86_64/PKGBUILD (from rev 373781, python/trunk/PKGBUILD) python/repos/testing-x86_64/genrebuild (from rev 373781, python/trunk/genrebuild) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 PKGBUILD | 168 genrebuild|7 + 3 files changed, 232 insertions(+) Copied: python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 373781, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2020-01-22 09:09:09 UTC (rev 373782) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/testing-x86_64/PKGBUILD (from rev 373781, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-22 09:09:09 UTC (rev 373782) @@ -0,0 +1,168 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +shopt -s extglob + +pkgbase=python +pkgname=(python python-tests) +pkgver=3.8.1 +pkgrel=4 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="https://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc} +0001-compileall-Fix-ddir-when-recursing.patch +
[arch-commits] Commit in python/repos (4 files)
Date: Wednesday, January 8, 2020 @ 22:51:27 Author: felixonmars Revision: 372840 archrelease: copy trunk to testing-x86_64 Added: python/repos/testing-x86_64/ python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 372839, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/testing-x86_64/PKGBUILD (from rev 372839, python/trunk/PKGBUILD) python/repos/testing-x86_64/genrebuild (from rev 372839, python/trunk/genrebuild) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 PKGBUILD | 160 genrebuild|7 + 3 files changed, 224 insertions(+) Copied: python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 372839, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2020-01-08 22:51:27 UTC (rev 372840) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/testing-x86_64/PKGBUILD (from rev 372839, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-08 22:51:27 UTC (rev 372840) @@ -0,0 +1,160 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +shopt -s extglob + +pkgbase=python +pkgname=(python python-tests) +pkgver=3.8.1 +pkgrel=2 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="https://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +provides=('python3') +replaces=('python3')
[arch-commits] Commit in python/repos (4 files)
Date: Saturday, December 21, 2019 @ 21:34:52 Author: felixonmars Revision: 372049 archrelease: copy trunk to testing-x86_64 Added: python/repos/testing-x86_64/ python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 372048, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/testing-x86_64/PKGBUILD (from rev 372048, python/trunk/PKGBUILD) python/repos/testing-x86_64/genrebuild (from rev 372048, python/trunk/genrebuild) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 ++ PKGBUILD | 129 genrebuild|7 + 3 files changed, 193 insertions(+) Copied: python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 372048, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2019-12-21 21:34:52 UTC (rev 372049) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/testing-x86_64/PKGBUILD (from rev 372048, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-12-21 21:34:52 UTC (rev 372049) @@ -0,0 +1,129 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +pkgname=python +pkgver=3.8.1 +pkgrel=1 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="https://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +provides=('python3') +replaces=('python3')
[arch-commits] Commit in python/repos (4 files)
Date: Friday, October 4, 2019 @ 08:14:23 Author: felixonmars Revision: 363761 archrelease: copy trunk to testing-x86_64 Added: python/repos/testing-x86_64/ python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 363760, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/testing-x86_64/PKGBUILD (from rev 363760, python/trunk/PKGBUILD) python/repos/testing-x86_64/dont-make-libpython-readonly.patch (from rev 363760, python/trunk/dont-make-libpython-readonly.patch) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 ++ PKGBUILD | 133 dont-make-libpython-readonly.patch| 13 ++ 3 files changed, 203 insertions(+) Copied: python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 363760, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2019-10-04 08:14:23 UTC (rev 363761) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/testing-x86_64/PKGBUILD (from rev 363760, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-10-04 08:14:23 UTC (rev 363761) @@ -0,0 +1,133 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +pkgname=python +pkgver=3.7.4 +pkgrel=2 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="https://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +provides=('python3') +replaces=('python3')
[arch-commits] Commit in python/repos (4 files)
Date: Tuesday, July 16, 2019 @ 08:38:20 Author: felixonmars Revision: 358048 archrelease: copy trunk to testing-x86_64 Added: python/repos/testing-x86_64/ python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 358047, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/testing-x86_64/PKGBUILD (from rev 358047, python/trunk/PKGBUILD) python/repos/testing-x86_64/dont-make-libpython-readonly.patch (from rev 358047, python/trunk/dont-make-libpython-readonly.patch) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 ++ PKGBUILD | 133 dont-make-libpython-readonly.patch| 13 ++ 3 files changed, 203 insertions(+) Copied: python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 358047, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2019-07-16 08:38:20 UTC (rev 358048) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/testing-x86_64/PKGBUILD (from rev 358047, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-07-16 08:38:20 UTC (rev 358048) @@ -0,0 +1,133 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +pkgname=python +pkgver=3.7.4 +pkgrel=1 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +provides=('python3') +replaces=('python3')
[arch-commits] Commit in python/repos (4 files)
Date: Wednesday, March 27, 2019 @ 07:53:13 Author: felixonmars Revision: 349259 archrelease: copy trunk to testing-x86_64 Added: python/repos/testing-x86_64/ python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 349258, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/testing-x86_64/PKGBUILD (from rev 349258, python/trunk/PKGBUILD) python/repos/testing-x86_64/dont-make-libpython-readonly.patch (from rev 349258, python/trunk/dont-make-libpython-readonly.patch) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 ++ PKGBUILD | 132 dont-make-libpython-readonly.patch| 13 ++ 3 files changed, 202 insertions(+) Copied: python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 349258, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2019-03-27 07:53:13 UTC (rev 349259) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/testing-x86_64/PKGBUILD (from rev 349258, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-03-27 07:53:13 UTC (rev 349259) @@ -0,0 +1,132 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +pkgname=python +pkgver=3.7.3 +pkgrel=1 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +provides=('python3') +replaces=('python3')
[arch-commits] Commit in python/repos (4 files)
Date: Thursday, January 10, 2019 @ 17:19:29 Author: felixonmars Revision: 343517 archrelease: copy trunk to staging-x86_64 Added: python/repos/staging-x86_64/ python/repos/staging-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 343516, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/staging-x86_64/PKGBUILD (from rev 343516, python/trunk/PKGBUILD) python/repos/staging-x86_64/dont-make-libpython-readonly.patch (from rev 343516, python/trunk/dont-make-libpython-readonly.patch) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 ++ PKGBUILD | 132 dont-make-libpython-readonly.patch| 13 ++ 3 files changed, 202 insertions(+) Copied: python/repos/staging-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 343516, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- staging-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ staging-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2019-01-10 17:19:29 UTC (rev 343517) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/staging-x86_64/PKGBUILD (from rev 343516, python/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-01-10 17:19:29 UTC (rev 343517) @@ -0,0 +1,132 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +pkgname=python +pkgver=3.7.2 +pkgrel=2 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +provides=('python3') +replaces=('python3')
[arch-commits] Commit in python/repos (4 files)
Date: Sunday, December 30, 2018 @ 07:59:42 Author: felixonmars Revision: 342795 archrelease: copy trunk to testing-x86_64 Added: python/repos/testing-x86_64/ python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 342794, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/testing-x86_64/PKGBUILD (from rev 342794, python/trunk/PKGBUILD) python/repos/testing-x86_64/dont-make-libpython-readonly.patch (from rev 342794, python/trunk/dont-make-libpython-readonly.patch) ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 57 ++ PKGBUILD | 132 dont-make-libpython-readonly.patch| 13 ++ 3 files changed, 202 insertions(+) Copied: python/repos/testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 342794, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ testing-x86_64/0001-compileall-Fix-ddir-when-recursing.patch 2018-12-30 07:59:42 UTC (rev 342795) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): + else: + dfile = None + if not os.path.isdir(fullname): +-yield fullname ++yield fullname, ddir + elif (maxlevels > 0 and name != os.curdir and name != os.pardir and + os.path.isdir(fullname) and not os.path.islink(fullname)): + yield from _walk_dir(fullname, ddir=dfile, + maxlevels=maxlevels - 1, quiet=quiet) + ++def _compile_one(file_ddir, *args, **kwargs): ++file, ddir = file_ddir ++return compile_file(file, ddir, *args, **kwargs) ++ + def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + quiet=0, legacy=False, optimize=-1, workers=1, + invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): +@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, + if workers is not None and workers != 1 and ProcessPoolExecutor is not None: + workers = workers or None + with ProcessPoolExecutor(max_workers=workers) as executor: +-results = executor.map(partial(compile_file, +- ddir=ddir, force=force, ++results = executor.map(partial(_compile_one, ++ force=force, +rx=rx, quiet=quiet, +legacy=legacy, +optimize=optimize, + invalidation_mode=invalidation_mode), +files) + success = min(results, default=True) + else: +-for file in files: +-if not compile_file(file, ddir, force, rx, quiet, ++for file_ddir in files: ++if not _compile_one(file_ddir, force, rx, quiet, + legacy, optimize, invalidation_mode): + success = False + return success +-- +2.18.0 + Copied: python/repos/testing-x86_64/PKGBUILD (from rev 342794, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-12-30 07:59:42 UTC (rev 342795) @@ -0,0 +1,132 @@ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Allan McRae +# Contributor: Jason Chu + +pkgname=python +pkgver=3.7.2 +pkgrel=1 +_pybasever=${pkgver%.*} +pkgdesc="Next generation of the python high-level scripting language" +arch=('x86_64') +license=('custom') +url="http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +provides=('python3') +replaces=('python3')
[arch-commits] Commit in python/repos (4 files)
Date: Thursday, March 26, 2015 @ 08:57:20 Author: fyan Revision: 234957 archrelease: copy trunk to extra-i686, extra-x86_64 Added: python/repos/extra-i686/PKGBUILD (from rev 234956, python/trunk/PKGBUILD) python/repos/extra-x86_64/PKGBUILD (from rev 234956, python/trunk/PKGBUILD) Deleted: python/repos/extra-i686/PKGBUILD python/repos/extra-x86_64/PKGBUILD ---+ /PKGBUILD | 186 extra-i686/PKGBUILD | 94 extra-x86_64/PKGBUILD | 94 3 files changed, 186 insertions(+), 188 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2015-03-26 07:56:56 UTC (rev 234956) +++ extra-i686/PKGBUILD 2015-03-26 07:57:20 UTC (rev 234957) @@ -1,94 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org -# Maintainer: Felix Yan felixonm...@archlinux.org -# Contributor: Stéphane Gaudreault steph...@archlinux.org -# Contributor: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.4.3 -pkgrel=1 -_pybasever=3.4 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'hardening-wrapper') -checkdepends=('gdb') -optdepends=('python-setuptools' -'python-pip' -'sqlite' -'mpdecimal: for decimal' -'xz: for lzma' -'tk: for tkinter') -options=('!makeflags') -provides=('python3') -replaces=('python3') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) -sha1sums=('7ca5cd664598bea96eec105aa6453223bb6b4456') - -prepare() { - cd Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - rm -r Modules/_decimal/libmpdec -} - -build() { - cd Python-${pkgver} - - # Disable bundled pip setuptools - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-system-expat \ - --with-dbmliborder=gdbm:ndbm \ - --with-system-ffi \ - --with-system-libmpdec \ - --enable-loadable-sqlite-extensions \ - --without-ensurepip - - make -} - -check() { - # test_site: http://bugs.python.org/issue21535 - - cd Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - TERM=screen \ -${srcdir}/Python-${pkgver}/python -m test.regrtest -uall -x test_site test_posixpath test_urllib2_localnet -} - -package() { - cd Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -s python3 ${pkgdir}/usr/bin/python - ln -s python3-config${pkgdir}/usr/bin/python-config - ln -s idle3 ${pkgdir}/usr/bin/idle - ln -s pydoc3${pkgdir}/usr/bin/pydoc - ln -s python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}m.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/extra-i686/PKGBUILD (from rev 234956, python/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2015-03-26 07:57:20 UTC (rev 234957) @@ -0,0 +1,93 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.3 +pkgrel=2 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'hardening-wrapper') +checkdepends=('gdb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +
[arch-commits] Commit in python/repos (4 files)
Date: Thursday, February 26, 2015 @ 18:11:27 Author: fyan Revision: 232004 archrelease: copy trunk to testing-i686, testing-x86_64 Added: python/repos/testing-i686/ python/repos/testing-i686/PKGBUILD (from rev 232003, python/trunk/PKGBUILD) python/repos/testing-x86_64/ python/repos/testing-x86_64/PKGBUILD (from rev 232003, python/trunk/PKGBUILD) -+ testing-i686/PKGBUILD | 94 ++ testing-x86_64/PKGBUILD | 94 ++ 2 files changed, 188 insertions(+) Copied: python/repos/testing-i686/PKGBUILD (from rev 232003, python/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-02-26 17:11:27 UTC (rev 232004) @@ -0,0 +1,94 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.3 +pkgrel=1 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'hardening-wrapper') +checkdepends=('gdb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +options=('!makeflags') +provides=('python3') +replaces=('python3') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('7ca5cd664598bea96eec105aa6453223bb6b4456') + +prepare() { + cd Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + rm -r Modules/_decimal/libmpdec +} + +build() { + cd Python-${pkgver} + + # Disable bundled pip setuptools + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi \ + --with-system-libmpdec \ + --enable-loadable-sqlite-extensions \ + --without-ensurepip + + make +} + +check() { + # test_site: http://bugs.python.org/issue21535 + + cd Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + TERM=screen \ +${srcdir}/Python-${pkgver}/python -m test.regrtest -uall -x test_site test_posixpath test_urllib2_localnet +} + +package() { + cd Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -s python3 ${pkgdir}/usr/bin/python + ln -s python3-config${pkgdir}/usr/bin/python-config + ln -s idle3 ${pkgdir}/usr/bin/idle + ln -s pydoc3${pkgdir}/usr/bin/pydoc + ln -s python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/testing-x86_64/PKGBUILD (from rev 232003, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-02-26 17:11:27 UTC (rev 232004) @@ -0,0 +1,94 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.3 +pkgrel=1 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'hardening-wrapper') +checkdepends=('gdb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +
[arch-commits] Commit in python/repos (4 files)
Date: Monday, January 12, 2015 @ 05:24:32 Author: fyan Revision: 228933 archrelease: copy trunk to extra-i686, extra-x86_64 Added: python/repos/extra-i686/PKGBUILD (from rev 228932, python/trunk/PKGBUILD) python/repos/extra-x86_64/PKGBUILD (from rev 228932, python/trunk/PKGBUILD) Deleted: python/repos/extra-i686/PKGBUILD python/repos/extra-x86_64/PKGBUILD ---+ /PKGBUILD | 192 extra-i686/PKGBUILD | 94 --- extra-x86_64/PKGBUILD | 94 --- 3 files changed, 192 insertions(+), 188 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2015-01-12 04:23:48 UTC (rev 228932) +++ extra-i686/PKGBUILD 2015-01-12 04:24:32 UTC (rev 228933) @@ -1,94 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org -# Maintainer: Felix Yan felixonm...@archlinux.org -# Contributor: Stéphane Gaudreault steph...@archlinux.org -# Contributor: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.4.2 -pkgrel=1 -_pybasever=3.4 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') -checkdepends=('gdb') -optdepends=('python-setuptools' -'python-pip' -'sqlite' -'mpdecimal: for decimal' -'xz: for lzma' -'tk: for tkinter') -options=('!makeflags') -provides=('python3') -replaces=('python3') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) -sha1sums=('0727d8a8498733baabe6f51632b9bab0cbaa9ada') - -prepare() { - cd Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - rm -r Modules/_decimal/libmpdec -} - -build() { - cd Python-${pkgver} - - # Disable bundled pip setuptools - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-system-expat \ - --with-dbmliborder=gdbm:ndbm \ - --with-system-ffi \ - --with-system-libmpdec \ - --without-ensurepip - - make -} - -check() { - # test_site: http://bugs.python.org/issue21535 - # test_urllib2_localnet: domain blackhole.snakebite.net not exist ?! - - cd Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - TERM=screen \ -${srcdir}/Python-${pkgver}/python -m test.regrtest -uall -x test_posixpath test_uuid test_site test_urllib2_localnet test_gdb -} - -package() { - cd Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -s python3 ${pkgdir}/usr/bin/python - ln -s python3-config${pkgdir}/usr/bin/python-config - ln -s idle3 ${pkgdir}/usr/bin/idle - ln -s pydoc3${pkgdir}/usr/bin/pydoc - ln -s python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}m.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/extra-i686/PKGBUILD (from rev 228932, python/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2015-01-12 04:24:32 UTC (rev 228933) @@ -0,0 +1,96 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.2 +pkgrel=2 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'hardening-wrapper') +checkdepends=('gdb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for
[arch-commits] Commit in python/repos (4 files)
Date: Wednesday, October 8, 2014 @ 17:06:13 Author: fyan Revision: 224086 archrelease: copy trunk to testing-i686, testing-x86_64 Added: python/repos/testing-i686/ python/repos/testing-i686/PKGBUILD (from rev 224085, python/trunk/PKGBUILD) python/repos/testing-x86_64/ python/repos/testing-x86_64/PKGBUILD (from rev 224085, python/trunk/PKGBUILD) -+ testing-i686/PKGBUILD | 94 ++ testing-x86_64/PKGBUILD | 94 ++ 2 files changed, 188 insertions(+) Copied: python/repos/testing-i686/PKGBUILD (from rev 224085, python/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-10-08 15:06:13 UTC (rev 224086) @@ -0,0 +1,94 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.2 +pkgrel=1 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') +checkdepends=('gdb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +options=('!makeflags') +provides=('python3') +replaces=('python3') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('0727d8a8498733baabe6f51632b9bab0cbaa9ada') + +prepare() { + cd Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + rm -r Modules/_decimal/libmpdec +} + +build() { + cd Python-${pkgver} + + # Disable bundled pip setuptools + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi \ + --with-system-libmpdec \ + --without-ensurepip + + make +} + +check() { + # test_site: http://bugs.python.org/issue21535 + # test_urllib2_localnet: domain blackhole.snakebite.net not exist ?! + + cd Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + TERM=screen \ +${srcdir}/Python-${pkgver}/python -m test.regrtest -uall -x test_posixpath test_uuid test_site test_urllib2_localnet test_gdb +} + +package() { + cd Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -s python3 ${pkgdir}/usr/bin/python + ln -s python3-config${pkgdir}/usr/bin/python-config + ln -s idle3 ${pkgdir}/usr/bin/idle + ln -s pydoc3${pkgdir}/usr/bin/pydoc + ln -s python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/testing-x86_64/PKGBUILD (from rev 224085, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-10-08 15:06:13 UTC (rev 224086) @@ -0,0 +1,94 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.2 +pkgrel=1 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') +checkdepends=('gdb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +
[arch-commits] Commit in python/repos (4 files)
Date: Monday, May 19, 2014 @ 19:57:51 Author: fyan Revision: 213317 archrelease: copy trunk to testing-i686, testing-x86_64 Added: python/repos/testing-i686/ python/repos/testing-i686/PKGBUILD (from rev 213316, python/trunk/PKGBUILD) python/repos/testing-x86_64/ python/repos/testing-x86_64/PKGBUILD (from rev 213316, python/trunk/PKGBUILD) -+ testing-i686/PKGBUILD | 94 ++ testing-x86_64/PKGBUILD | 94 ++ 2 files changed, 188 insertions(+) Copied: python/repos/testing-i686/PKGBUILD (from rev 213316, python/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-05-19 17:57:51 UTC (rev 213317) @@ -0,0 +1,94 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@gmail.com +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.1 +pkgrel=1 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') +checkdepends=('gdb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +options=('!makeflags') +provides=('python3') +replaces=('python3') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('143e098efe7ee7bec8a4904ec4b322f28a067a03') + +prepare() { + cd Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + rm -r Modules/_decimal/libmpdec +} + +build() { + cd Python-${pkgver} + + # Disable bundled pip setuptools + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi \ + --with-system-libmpdec \ + --without-ensurepip + + make +} + +check() { + # test_site: http://bugs.python.org/issue21535 + # test_urllib2_localnet: domain blackhole.snakebite.net not exist ?! + + cd Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + TERM=screen \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -uall -x test_posixpath test_uuid test_site test_urllib2_localnet +} + +package() { + cd Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -s python3 ${pkgdir}/usr/bin/python + ln -s python3-config${pkgdir}/usr/bin/python-config + ln -s idle3 ${pkgdir}/usr/bin/idle + ln -s pydoc3${pkgdir}/usr/bin/pydoc + ln -s python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/testing-x86_64/PKGBUILD (from rev 213316, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-05-19 17:57:51 UTC (rev 213317) @@ -0,0 +1,94 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@gmail.com +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.1 +pkgrel=1 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') +checkdepends=('gdb') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +
[arch-commits] Commit in python/repos (4 files)
Date: Sunday, April 27, 2014 @ 18:13:15 Author: fyan Revision: 211814 archrelease: copy trunk to extra-i686, extra-x86_64 Added: python/repos/extra-i686/PKGBUILD (from rev 211813, python/trunk/PKGBUILD) python/repos/extra-x86_64/PKGBUILD (from rev 211813, python/trunk/PKGBUILD) Deleted: python/repos/extra-i686/PKGBUILD python/repos/extra-x86_64/PKGBUILD ---+ /PKGBUILD | 202 extra-i686/PKGBUILD | 94 -- extra-x86_64/PKGBUILD | 94 -- 3 files changed, 202 insertions(+), 188 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2014-04-27 16:12:06 UTC (rev 211813) +++ extra-i686/PKGBUILD 2014-04-27 16:13:15 UTC (rev 211814) @@ -1,94 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org -# Contributor: Stéphane Gaudreault steph...@archlinux.org -# Contributor: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.4.0 -pkgrel=2 -_pybasever=3.4 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') -optdepends=('python-setuptools' -'python-pip' -'sqlite' -'mpdecimal: for decimal' -'xz: for lzma' -'tk: for tkinter') -options=('!makeflags') -provides=('python3') -replaces=('python3') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz - python3.4-test_sqlite.patch::http://hg.python.org/cpython/raw-rev/4d626a9df062) -sha1sums=('f54d7cf6af5dbd9bddbe31cf4772f39711381dbe' - 'b13a0b728d8e1fe1d81dea501b064cb1032f183b') - -prepare() { - cd ${srcdir}/Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # http://bugs.python.org/issue20901 - patch -p1 -i $srcdir/python3.4-test_sqlite.patch - - # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - rm -r Modules/_decimal/libmpdec -} - -build() { - cd ${srcdir}/Python-${pkgver} - - # Disable bundled pip setuptools - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-system-expat \ - --with-dbmliborder=gdbm:ndbm \ - --with-system-ffi \ - --with-system-libmpdec \ - --without-ensurepip - - make -} - -check() { - cd ${srcdir}/Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_posixpath test_logging test_uuid -} - -package() { - cd ${srcdir}/Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -sf python3 ${pkgdir}/usr/bin/python - ln -sf python3-config${pkgdir}/usr/bin/python-config - ln -sf idle3 ${pkgdir}/usr/bin/idle - ln -sf pydoc3${pkgdir}/usr/bin/pydoc - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}m.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/extra-i686/PKGBUILD (from rev 211813, python/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2014-04-27 16:13:15 UTC (rev 211814) @@ -0,0 +1,101 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Maintainer: Felix Yan felixonm...@gmail.com +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.0 +pkgrel=3 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') +optdepends=('python-setuptools' +
[arch-commits] Commit in python/repos (4 files)
Date: Monday, March 17, 2014 @ 16:40:36 Author: fyan Revision: 208074 archrelease: copy trunk to staging-i686, staging-x86_64 Added: python/repos/staging-i686/PKGBUILD (from rev 208073, python/trunk/PKGBUILD) python/repos/staging-x86_64/PKGBUILD (from rev 208073, python/trunk/PKGBUILD) Deleted: python/repos/staging-i686/PKGBUILD python/repos/staging-x86_64/PKGBUILD -+ /PKGBUILD | 188 ++ staging-i686/PKGBUILD | 91 -- staging-x86_64/PKGBUILD | 91 -- 3 files changed, 188 insertions(+), 182 deletions(-) Deleted: staging-i686/PKGBUILD === --- staging-i686/PKGBUILD 2014-03-17 15:39:39 UTC (rev 208073) +++ staging-i686/PKGBUILD 2014-03-17 15:40:36 UTC (rev 208074) @@ -1,91 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org -# Contributor: Stéphane Gaudreault steph...@archlinux.org -# Contributor: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.4.0 -pkgrel=1 -_pybasever=3.4 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') -optdepends=('python-setuptools' -'python-pip' -'sqlite' -'mpdecimal: for decimal' -'xz: for lzma' -'tk: for tkinter') -options=('!makeflags') -provides=('python3') -replaces=('python3') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) -sha1sums=('f54d7cf6af5dbd9bddbe31cf4772f39711381dbe') - -prepare() { - cd ${srcdir}/Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - rm -r Modules/_decimal/libmpdec -} - -build() { - cd ${srcdir}/Python-${pkgver} - - # Disable bundled pip setuptools - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-system-expat \ - --with-dbmliborder=gdbm:ndbm \ - --with-system-ffi \ - --with-system-libmpdec \ - --without-ensurepip - - make -} - -EOF -check() { - cd ${srcdir}/Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_posixpath test_logging test_uuid -} -EOF - -package() { - cd ${srcdir}/Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -sf python3 ${pkgdir}/usr/bin/python - ln -sf python3-config${pkgdir}/usr/bin/python-config - ln -sf idle3 ${pkgdir}/usr/bin/idle - ln -sf pydoc3${pkgdir}/usr/bin/pydoc - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}m.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/staging-i686/PKGBUILD (from rev 208073, python/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2014-03-17 15:40:36 UTC (rev 208074) @@ -0,0 +1,94 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.0 +pkgrel=2 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +options=('!makeflags') +provides=('python3') +replaces=('python3')
[arch-commits] Commit in python/repos (4 files)
Date: Monday, March 17, 2014 @ 04:39:38 Author: fyan Revision: 207997 archrelease: copy trunk to staging-i686, staging-x86_64 Added: python/repos/staging-i686/ python/repos/staging-i686/PKGBUILD (from rev 207996, python/trunk/PKGBUILD) python/repos/staging-x86_64/ python/repos/staging-x86_64/PKGBUILD (from rev 207996, python/trunk/PKGBUILD) -+ staging-i686/PKGBUILD | 91 ++ staging-x86_64/PKGBUILD | 91 ++ 2 files changed, 182 insertions(+) Copied: python/repos/staging-i686/PKGBUILD (from rev 207996, python/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2014-03-17 03:39:38 UTC (rev 207997) @@ -0,0 +1,91 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.0 +pkgrel=1 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +options=('!makeflags') +provides=('python3') +replaces=('python3') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('f54d7cf6af5dbd9bddbe31cf4772f39711381dbe') + +prepare() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + rm -r Modules/_decimal/libmpdec +} + +build() { + cd ${srcdir}/Python-${pkgver} + + # Disable bundled pip setuptools + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi \ + --with-system-libmpdec \ + --without-ensurepip + + make +} + +EOF +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_posixpath test_logging test_uuid +} +EOF + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/staging-x86_64/PKGBUILD (from rev 207996, python/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2014-03-17 03:39:38 UTC (rev 207997) @@ -0,0 +1,91 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.4.0 +pkgrel=1 +_pybasever=3.4 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal') +optdepends=('python-setuptools' +'python-pip' +'sqlite' +'mpdecimal: for decimal' +'xz: for lzma' +'tk: for tkinter') +options=('!makeflags') +provides=('python3') +replaces=('python3')
[arch-commits] Commit in python/repos (4 files)
Date: Tuesday, February 11, 2014 @ 20:51:40 Author: angvp Revision: 205854 archrelease: copy trunk to testing-i686, testing-x86_64 Added: python/repos/testing-i686/ python/repos/testing-i686/PKGBUILD (from rev 205852, python/trunk/PKGBUILD) python/repos/testing-x86_64/ python/repos/testing-x86_64/PKGBUILD (from rev 205853, python/trunk/PKGBUILD) -+ testing-i686/PKGBUILD | 81 ++ testing-x86_64/PKGBUILD | 81 ++ 2 files changed, 162 insertions(+) Copied: python/repos/testing-i686/PKGBUILD (from rev 205852, python/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-02-11 19:51:40 UTC (rev 205854) @@ -0,0 +1,81 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.4 +pkgrel=1 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs') +optdepends=('tk: for tkinter' 'sqlite') +options=('!makeflags') +provides=('python3') +replaces=('python3') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('2c9586eeb4b6e45e9ebc28372c0856c709d9a522') + +prepare() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + +} + +build() { + cd ${srcdir}/Python-${pkgver} + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi + + make +} + +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_posixpath test_logging test_uuid +} + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/testing-x86_64/PKGBUILD (from rev 205853, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-02-11 19:51:40 UTC (rev 205854) @@ -0,0 +1,81 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.4 +pkgrel=1 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs') +optdepends=('tk: for tkinter' 'sqlite') +options=('!makeflags') +provides=('python3') +replaces=('python3') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('2c9586eeb4b6e45e9ebc28372c0856c709d9a522') + +prepare() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}*
[arch-commits] Commit in python/repos (4 files)
Date: Tuesday, November 26, 2013 @ 17:59:28 Author: angvp Revision: 200341 archrelease: copy trunk to testing-i686, testing-x86_64 Added: python/repos/testing-i686/ python/repos/testing-i686/PKGBUILD (from rev 200340, python/trunk/PKGBUILD) python/repos/testing-x86_64/ python/repos/testing-x86_64/PKGBUILD (from rev 200340, python/trunk/PKGBUILD) -+ testing-i686/PKGBUILD | 81 ++ testing-x86_64/PKGBUILD | 81 ++ 2 files changed, 162 insertions(+) Copied: python/repos/testing-i686/PKGBUILD (from rev 200340, python/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-11-26 16:59:28 UTC (rev 200341) @@ -0,0 +1,81 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.3 +pkgrel=1 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs') +optdepends=('tk: for tkinter' 'sqlite') +options=('!makeflags') +provides=('python3') +replaces=('python3') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('af4e75a34bd538c79b9871227c2e7f56569ac107') + +prepare() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + +} + +build() { + cd ${srcdir}/Python-${pkgver} + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi + + make +} + +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_posixpath test_logging test_uuid +} + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/testing-x86_64/PKGBUILD (from rev 200340, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2013-11-26 16:59:28 UTC (rev 200341) @@ -0,0 +1,81 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.3 +pkgrel=1 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez-libs') +optdepends=('tk: for tkinter' 'sqlite') +options=('!makeflags') +provides=('python3') +replaces=('python3') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('af4e75a34bd538c79b9871227c2e7f56569ac107') + +prepare() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}*
[arch-commits] Commit in python/repos (4 files)
Date: Sunday, April 7, 2013 @ 01:26:57 Author: stephane Revision: 182104 archrelease: copy trunk to testing-i686, testing-x86_64 Added: python/repos/testing-i686/ python/repos/testing-i686/PKGBUILD (from rev 182103, python/trunk/PKGBUILD) python/repos/testing-x86_64/ python/repos/testing-x86_64/PKGBUILD (from rev 182103, python/trunk/PKGBUILD) -+ testing-i686/PKGBUILD | 75 ++ testing-x86_64/PKGBUILD | 75 ++ 2 files changed, 150 insertions(+) Copied: python/repos/testing-i686/PKGBUILD (from rev 182103, python/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-04-06 23:26:57 UTC (rev 182104) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.1 +pkgrel=1 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('393d7302c48bc911cd7faa7fa9b5fbcb9919bddc') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi + + make +} + +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site \ + test_urllib test_uuid test_pydoc test_logging +} + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/testing-x86_64/PKGBUILD (from rev 182103, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2013-04-06 23:26:57 UTC (rev 182104) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.1 +pkgrel=1 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('393d7302c48bc911cd7faa7fa9b5fbcb9919bddc') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \
[arch-commits] Commit in python/repos (4 files)
Date: Saturday, December 22, 2012 @ 15:27:03 Author: andyrtr Revision: 173776 archrelease: copy trunk to staging-i686, staging-x86_64 Added: python/repos/staging-i686/ python/repos/staging-i686/PKGBUILD (from rev 173775, python/trunk/PKGBUILD) python/repos/staging-x86_64/ python/repos/staging-x86_64/PKGBUILD (from rev 173775, python/trunk/PKGBUILD) -+ staging-i686/PKGBUILD | 75 ++ staging-x86_64/PKGBUILD | 75 ++ 2 files changed, 150 insertions(+) Copied: python/repos/staging-i686/PKGBUILD (from rev 173775, python/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-12-22 20:27:03 UTC (rev 173776) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.0 +pkgrel=3 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('833d73565e1b665f1878504081dc985a5a06e46a') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi + + make +} + +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site \ + test_urllib test_uuid test_pydoc test_logging +} + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/staging-x86_64/PKGBUILD (from rev 173775, python/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2012-12-22 20:27:03 UTC (rev 173776) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.0 +pkgrel=3 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk=8.6.0' 'sqlite' 'valgrind' 'bluez') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('833d73565e1b665f1878504081dc985a5a06e46a') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ +
[arch-commits] Commit in python/repos (4 files)
Date: Wednesday, December 12, 2012 @ 07:48:09 Author: stephane Revision: 173191 archrelease: copy trunk to testing-i686, testing-x86_64 Added: python/repos/testing-i686/ python/repos/testing-i686/PKGBUILD (from rev 173190, python/trunk/PKGBUILD) python/repos/testing-x86_64/ python/repos/testing-x86_64/PKGBUILD (from rev 173190, python/trunk/PKGBUILD) -+ testing-i686/PKGBUILD | 75 ++ testing-x86_64/PKGBUILD | 75 ++ 2 files changed, 150 insertions(+) Copied: python/repos/testing-i686/PKGBUILD (from rev 173190, python/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-12-12 12:48:09 UTC (rev 173191) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.0 +pkgrel=2 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('833d73565e1b665f1878504081dc985a5a06e46a') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi + + make +} + +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site \ + test_urllib test_uuid test_pydoc test_logging +} + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/testing-x86_64/PKGBUILD (from rev 173190, python/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-12-12 12:48:09 UTC (rev 173191) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.0 +pkgrel=2 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind' 'bluez') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('833d73565e1b665f1878504081dc985a5a06e46a') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ +
[arch-commits] Commit in python/repos (4 files)
Date: Saturday, September 29, 2012 @ 12:34:59 Author: stephane Revision: 167272 archrelease: copy trunk to staging-i686, staging-x86_64 Added: python/repos/staging-i686/ python/repos/staging-i686/PKGBUILD (from rev 167271, python/trunk/PKGBUILD) python/repos/staging-x86_64/ python/repos/staging-x86_64/PKGBUILD (from rev 167271, python/trunk/PKGBUILD) -+ staging-i686/PKGBUILD | 75 ++ staging-x86_64/PKGBUILD | 75 ++ 2 files changed, 150 insertions(+) Copied: python/repos/staging-i686/PKGBUILD (from rev 167271, python/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-09-29 16:34:59 UTC (rev 167272) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.0 +pkgrel=1 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('833d73565e1b665f1878504081dc985a5a06e46a') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi + + make +} + +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site \ + test_urllib test_uuid test_pydoc +} + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}m.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m/libpython${_pybasever}m.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/staging-x86_64/PKGBUILD (from rev 167271, python/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2012-09-29 16:34:59 UTC (rev 167272) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.3.0 +pkgrel=1 +_pybasever=3.3 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('833d73565e1b665f1878504081dc985a5a06e46a') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-system-expat
[arch-commits] Commit in python/repos (4 files)
Date: Monday, April 23, 2012 @ 10:08:04 Author: stephane Revision: 157086 archrelease: copy trunk to staging-i686, staging-x86_64 Added: python/repos/staging-i686/ python/repos/staging-i686/PKGBUILD (from rev 157085, python/trunk/PKGBUILD) python/repos/staging-x86_64/ python/repos/staging-x86_64/PKGBUILD (from rev 157085, python/trunk/PKGBUILD) -+ staging-i686/PKGBUILD | 76 ++ staging-x86_64/PKGBUILD | 76 ++ 2 files changed, 152 insertions(+) Copied: python/repos/staging-i686/PKGBUILD (from rev 157085, python/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-04-23 14:08:04 UTC (rev 157086) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.3 +pkgrel=2 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-wide-unicode \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi + + make +} + +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site \ + test_urllib test_uuid test_pydoc +} + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}mu.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}mu/libpython${_pybasever}mu.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}mu/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/staging-x86_64/PKGBUILD (from rev 157085, python/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2012-04-23 14:08:04 UTC (rev 157086) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.3 +pkgrel=2 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \
[arch-commits] Commit in python/repos (4 files)
Date: Monday, April 23, 2012 @ 19:56:16 Author: stephane Revision: 157113 archrelease: copy trunk to staging-i686, staging-x86_64 Added: python/repos/staging-i686/PKGBUILD (from rev 157112, python/trunk/PKGBUILD) python/repos/staging-x86_64/PKGBUILD (from rev 157112, python/trunk/PKGBUILD) Deleted: python/repos/staging-i686/PKGBUILD python/repos/staging-x86_64/PKGBUILD -+ staging-i686/PKGBUILD | 152 +++--- staging-x86_64/PKGBUILD | 152 +++--- 2 files changed, 152 insertions(+), 152 deletions(-) Deleted: staging-i686/PKGBUILD === --- staging-i686/PKGBUILD 2012-04-23 23:55:35 UTC (rev 157112) +++ staging-i686/PKGBUILD 2012-04-23 23:56:16 UTC (rev 157113) @@ -1,76 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault steph...@archlinux.org -# Contributor: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.2.3 -pkgrel=2 -_pybasever=3.2 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite' 'valgrind') -optdepends=('tk: for tkinter' 'sqlite') -provides=('python3') -replaces=('python3') -options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) -sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823') - -build() { - cd ${srcdir}/Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-wide-unicode \ - --with-system-expat \ - --with-dbmliborder=gdbm:ndbm \ - --with-system-ffi - - make -} - -check() { - cd ${srcdir}/Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site \ - test_urllib test_uuid test_pydoc -} - -package() { - cd ${srcdir}/Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -sf python3 ${pkgdir}/usr/bin/python - ln -sf python3-config${pkgdir}/usr/bin/python-config - ln -sf idle3 ${pkgdir}/usr/bin/idle - ln -sf pydoc3${pkgdir}/usr/bin/pydoc - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}mu.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}mu/libpython${_pybasever}mu.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}mu/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/staging-i686/PKGBUILD (from rev 157112, python/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-04-23 23:56:16 UTC (rev 157113) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.3 +pkgrel=3 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ +
[arch-commits] Commit in python/repos (4 files)
Date: Wednesday, April 18, 2012 @ 08:20:58 Author: stephane Revision: 156458 db-move: moved python from [testing] to [extra] (i686) Added: python/repos/extra-i686/PKGBUILD (from rev 156455, python/repos/testing-i686/PKGBUILD) Deleted: python/repos/extra-i686/PKGBUILD python/repos/extra-i686/gdbm-magic-values.patch python/repos/testing-i686/ -+ PKGBUILD| 157 ++ gdbm-magic-values.patch | 13 --- 2 files changed, 76 insertions(+), 94 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2012-04-18 12:20:57 UTC (rev 156457) +++ extra-i686/PKGBUILD 2012-04-18 12:20:58 UTC (rev 156458) @@ -1,81 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault steph...@archlinux.org -# Maintainer: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.2.2 -pkgrel=2 -_pybasever=3.2 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite3' 'valgrind') -optdepends=('tk: for tkinter' 'sqlite3') -provides=('python3') -replaces=('python3') -options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz -gdbm-magic-values.patch) -sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769' - '43bfbe3e23360f412b95cb284ff29b2cbe338be9') - -build() { - cd ${srcdir}/Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # gdbm has new magic that whichdb does not recognize - # http://bugs.python.org/issue13007 - patch -Np1 -i ../gdbm-magic-values.patch - - # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-wide-unicode \ - --with-system-expat \ - --with-dbmliborder=gdbm:ndbm \ - --with-system-ffi - - make -} - -check() { - cd ${srcdir}/Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site test_uuid -} - -package() { - cd ${srcdir}/Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -sf python3 ${pkgdir}/usr/bin/python - ln -sf python3-config${pkgdir}/usr/bin/python-config - ln -sf idle3 ${pkgdir}/usr/bin/idle - ln -sf pydoc3${pkgdir}/usr/bin/pydoc - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}mu.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}mu/libpython${_pybasever}mu.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}mu/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/extra-i686/PKGBUILD (from rev 156455, python/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-04-18 12:20:58 UTC (rev 156458) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.3 +pkgrel=1 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ +
[arch-commits] Commit in python/repos (4 files)
Date: Wednesday, April 18, 2012 @ 08:20:59 Author: stephane Revision: 156459 db-move: moved python from [testing] to [extra] (x86_64) Added: python/repos/extra-x86_64/PKGBUILD (from rev 156455, python/repos/testing-x86_64/PKGBUILD) Deleted: python/repos/extra-x86_64/PKGBUILD python/repos/extra-x86_64/gdbm-magic-values.patch python/repos/testing-x86_64/ -+ PKGBUILD| 157 ++ gdbm-magic-values.patch | 13 --- 2 files changed, 76 insertions(+), 94 deletions(-) Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2012-04-18 12:20:58 UTC (rev 156458) +++ extra-x86_64/PKGBUILD 2012-04-18 12:20:59 UTC (rev 156459) @@ -1,81 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault steph...@archlinux.org -# Maintainer: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.2.2 -pkgrel=2 -_pybasever=3.2 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite3' 'valgrind') -optdepends=('tk: for tkinter' 'sqlite3') -provides=('python3') -replaces=('python3') -options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz -gdbm-magic-values.patch) -sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769' - '43bfbe3e23360f412b95cb284ff29b2cbe338be9') - -build() { - cd ${srcdir}/Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # gdbm has new magic that whichdb does not recognize - # http://bugs.python.org/issue13007 - patch -Np1 -i ../gdbm-magic-values.patch - - # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-wide-unicode \ - --with-system-expat \ - --with-dbmliborder=gdbm:ndbm \ - --with-system-ffi - - make -} - -check() { - cd ${srcdir}/Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site test_uuid -} - -package() { - cd ${srcdir}/Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -sf python3 ${pkgdir}/usr/bin/python - ln -sf python3-config${pkgdir}/usr/bin/python-config - ln -sf idle3 ${pkgdir}/usr/bin/idle - ln -sf pydoc3${pkgdir}/usr/bin/pydoc - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}mu.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}mu/libpython${_pybasever}mu.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}mu/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/extra-x86_64/PKGBUILD (from rev 156455, python/repos/testing-x86_64/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2012-04-18 12:20:59 UTC (rev 156459) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Contributor: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.3 +pkgrel=1 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ +
[arch-commits] Commit in python/repos (4 files)
Date: Tuesday, November 29, 2011 @ 08:33:42 Author: stephane Revision: 143817 db-move: moved python from [testing] to [extra] (i686) Added: python/repos/extra-i686/PKGBUILD (from rev 143804, python/repos/testing-i686/PKGBUILD) python/repos/extra-i686/gdbm-magic-values.patch (from rev 143804, python/repos/testing-i686/gdbm-magic-values.patch) Deleted: python/repos/extra-i686/PKGBUILD python/repos/testing-i686/ -+ PKGBUILD| 155 -- gdbm-magic-values.patch | 13 +++ 2 files changed, 94 insertions(+), 74 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2011-11-29 13:33:39 UTC (rev 143816) +++ extra-i686/PKGBUILD 2011-11-29 13:33:42 UTC (rev 143817) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault steph...@archlinux.org -# Maintainer: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.2.2 -pkgrel=1 -_pybasever=3.2 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite3' 'valgrind') -optdepends=('tk: for tkinter' 'sqlite3') -provides=('python3') -replaces=('python3') -options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) -sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769') - -build() { - cd ${srcdir}/Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-wide-unicode \ - --with-system-expat \ - --with-system-ffi - - make -} - -check() { - cd ${srcdir}/Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site -} - -package() { - cd ${srcdir}/Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -sf python3 ${pkgdir}/usr/bin/python - ln -sf python3-config${pkgdir}/usr/bin/python-config - ln -sf idle3 ${pkgdir}/usr/bin/idle - ln -sf pydoc3${pkgdir}/usr/bin/pydoc - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}mu.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}mu/libpython${_pybasever}mu.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}mu/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/extra-i686/PKGBUILD (from rev 143804, python/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2011-11-29 13:33:42 UTC (rev 143817) @@ -0,0 +1,81 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.2 +pkgrel=2 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite3' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite3') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz +gdbm-magic-values.patch) +sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769' + '43bfbe3e23360f412b95cb284ff29b2cbe338be9') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # gdbm has new magic that whichdb does not recognize + # http://bugs.python.org/issue13007 + patch -Np1 -i ../gdbm-magic-values.patch + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ +
[arch-commits] Commit in python/repos (4 files)
Date: Tuesday, November 29, 2011 @ 08:33:44 Author: stephane Revision: 143818 db-move: moved python from [testing] to [extra] (x86_64) Added: python/repos/extra-x86_64/PKGBUILD (from rev 143804, python/repos/testing-x86_64/PKGBUILD) python/repos/extra-x86_64/gdbm-magic-values.patch (from rev 143804, python/repos/testing-x86_64/gdbm-magic-values.patch) Deleted: python/repos/extra-x86_64/PKGBUILD python/repos/testing-x86_64/ -+ PKGBUILD| 155 -- gdbm-magic-values.patch | 13 +++ 2 files changed, 94 insertions(+), 74 deletions(-) Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2011-11-29 13:33:42 UTC (rev 143817) +++ extra-x86_64/PKGBUILD 2011-11-29 13:33:44 UTC (rev 143818) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault steph...@archlinux.org -# Maintainer: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.2.2 -pkgrel=1 -_pybasever=3.2 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite3' 'valgrind') -optdepends=('tk: for tkinter' 'sqlite3') -provides=('python3') -replaces=('python3') -options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) -sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769') - -build() { - cd ${srcdir}/Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-wide-unicode \ - --with-system-expat \ - --with-system-ffi - - make -} - -check() { - cd ${srcdir}/Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site -} - -package() { - cd ${srcdir}/Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -sf python3 ${pkgdir}/usr/bin/python - ln -sf python3-config${pkgdir}/usr/bin/python-config - ln -sf idle3 ${pkgdir}/usr/bin/idle - ln -sf pydoc3${pkgdir}/usr/bin/pydoc - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}mu.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}mu/libpython${_pybasever}mu.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}mu/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/extra-x86_64/PKGBUILD (from rev 143804, python/repos/testing-x86_64/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2011-11-29 13:33:44 UTC (rev 143818) @@ -0,0 +1,81 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.2 +pkgrel=2 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite3' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite3') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz +gdbm-magic-values.patch) +sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769' + '43bfbe3e23360f412b95cb284ff29b2cbe338be9') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # gdbm has new magic that whichdb does not recognize + # http://bugs.python.org/issue13007 + patch -Np1 -i ../gdbm-magic-values.patch + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ +
[arch-commits] Commit in python/repos (4 files)
Date: Thursday, November 24, 2011 @ 12:03:17 Author: stephane Revision: 143475 db-move: moved python from [staging] to [testing] (i686) Added: python/repos/testing-i686/ python/repos/testing-i686/PKGBUILD (from rev 143456, python/repos/staging-i686/PKGBUILD) python/repos/testing-i686/gdbm-magic-values.patch (from rev 143456, python/repos/staging-i686/gdbm-magic-values.patch) Deleted: python/repos/staging-i686/ -+ PKGBUILD| 81 ++ gdbm-magic-values.patch | 13 +++ 2 files changed, 94 insertions(+) Copied: python/repos/testing-i686/PKGBUILD (from rev 143456, python/repos/staging-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2011-11-24 17:03:17 UTC (rev 143475) @@ -0,0 +1,81 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.2 +pkgrel=2 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite3' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite3') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz +gdbm-magic-values.patch) +sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769' + '43bfbe3e23360f412b95cb284ff29b2cbe338be9') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # gdbm has new magic that whichdb does not recognize + # http://bugs.python.org/issue13007 + patch -Np1 -i ../gdbm-magic-values.patch + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-wide-unicode \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi + + make +} + +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site test_uuid +} + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}mu.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}mu/libpython${_pybasever}mu.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}mu/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/testing-i686/gdbm-magic-values.patch (from rev 143456, python/repos/staging-i686/gdbm-magic-values.patch) === --- testing-i686/gdbm-magic-values.patch(rev 0) +++ testing-i686/gdbm-magic-values.patch2011-11-24 17:03:17 UTC (rev 143475) @@ -0,0 +1,13 @@ +diff -up Python-3.2.2/Lib/dbm/__init__.py.gdbm-1.9-magic Python-3.2.2/Lib/dbm/__init__.py +--- Python-3.2.2/Lib/dbm/__init__.py.gdbm-1.9-magic2011-09-03 12:16:40.0 -0400 Python-3.2.2/Lib/dbm/__init__.py 2011-09-30 15:47:27.488863694 -0400 +@@ -166,7 +166,7 @@ def whichdb(filename): + return + + # Check for GNU dbm +-if magic == 0x13579ace: ++if magic in (0x13579ace, 0x13579acd, 0x13579acf): + return dbm.gnu + + # Later versions of Berkeley db hash file have a 12-byte pad in +diff -up Python-3.2.2/Misc/NEWS.gdbm-1.9-magic Python-3.2.2/Misc/NEWS
[arch-commits] Commit in python/repos (4 files)
Date: Thursday, November 24, 2011 @ 12:03:18 Author: stephane Revision: 143476 db-move: moved python from [staging] to [testing] (x86_64) Added: python/repos/testing-x86_64/ python/repos/testing-x86_64/PKGBUILD (from rev 143456, python/repos/staging-x86_64/PKGBUILD) python/repos/testing-x86_64/gdbm-magic-values.patch (from rev 143456, python/repos/staging-x86_64/gdbm-magic-values.patch) Deleted: python/repos/staging-x86_64/ -+ PKGBUILD| 81 ++ gdbm-magic-values.patch | 13 +++ 2 files changed, 94 insertions(+) Copied: python/repos/testing-x86_64/PKGBUILD (from rev 143456, python/repos/staging-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2011-11-24 17:03:18 UTC (rev 143476) @@ -0,0 +1,81 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.2 +pkgrel=2 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite3' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite3') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz +gdbm-magic-values.patch) +sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769' + '43bfbe3e23360f412b95cb284ff29b2cbe338be9') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # gdbm has new magic that whichdb does not recognize + # http://bugs.python.org/issue13007 + patch -Np1 -i ../gdbm-magic-values.patch + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-wide-unicode \ + --with-system-expat \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-ffi + + make +} + +check() { + cd ${srcdir}/Python-${pkgver} + LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ + ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site test_uuid +} + +package() { + cd ${srcdir}/Python-${pkgver} + make DESTDIR=${pkgdir} install maninstall + + # Why are these not done by default... + ln -sf python3 ${pkgdir}/usr/bin/python + ln -sf python3-config${pkgdir}/usr/bin/python-config + ln -sf idle3 ${pkgdir}/usr/bin/idle + ln -sf pydoc3${pkgdir}/usr/bin/pydoc + ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 + + # Fix FS#22552 + ln -sf ../../libpython${_pybasever}mu.so \ + ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}mu/libpython${_pybasever}mu.so + + # Clean-up reference to build directory + sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}mu/Makefile + + # License + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} Copied: python/repos/testing-x86_64/gdbm-magic-values.patch (from rev 143456, python/repos/staging-x86_64/gdbm-magic-values.patch) === --- testing-x86_64/gdbm-magic-values.patch (rev 0) +++ testing-x86_64/gdbm-magic-values.patch 2011-11-24 17:03:18 UTC (rev 143476) @@ -0,0 +1,13 @@ +diff -up Python-3.2.2/Lib/dbm/__init__.py.gdbm-1.9-magic Python-3.2.2/Lib/dbm/__init__.py +--- Python-3.2.2/Lib/dbm/__init__.py.gdbm-1.9-magic2011-09-03 12:16:40.0 -0400 Python-3.2.2/Lib/dbm/__init__.py 2011-09-30 15:47:27.488863694 -0400 +@@ -166,7 +166,7 @@ def whichdb(filename): + return + + # Check for GNU dbm +-if magic == 0x13579ace: ++if magic in (0x13579ace, 0x13579acd, 0x13579acf): + return dbm.gnu + + # Later versions of Berkeley db hash file have a 12-byte pad in +diff -up Python-3.2.2/Misc/NEWS.gdbm-1.9-magic Python-3.2.2/Misc/NEWS
[arch-commits] Commit in python/repos (4 files)
Date: Monday, September 5, 2011 @ 01:47:36 Author: allan Revision: 136999 archrelease: copy trunk to extra-i686, extra-x86_64 Added: python/repos/extra-i686/PKGBUILD (from rev 136998, python/trunk/PKGBUILD) python/repos/extra-x86_64/PKGBUILD (from rev 136998, python/trunk/PKGBUILD) Deleted: python/repos/extra-i686/PKGBUILD python/repos/extra-x86_64/PKGBUILD ---+ extra-i686/PKGBUILD | 148 extra-x86_64/PKGBUILD | 148 2 files changed, 148 insertions(+), 148 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2011-09-05 05:46:29 UTC (rev 136998) +++ extra-i686/PKGBUILD 2011-09-05 05:47:36 UTC (rev 136999) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault steph...@archlinux.org -# Maintainer: Allan McRae al...@archlinux.org -# Contributor: Jason Chu ja...@archlinux.org - -pkgname=python -pkgver=3.2.1 -pkgrel=1 -_pybasever=3.2 -pkgdesc=Next generation of the python high-level scripting language -arch=('i686' 'x86_64') -license=('custom') -url=http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite3' 'valgrind') -optdepends=('tk: for tkinter' 'sqlite3') -provides=('python3') -replaces=('python3') -options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) -sha1sums=('ab5cf4a4c21abe590dea87473a1dee6820699d79') - -build() { - cd ${srcdir}/Python-${pkgver} - - # FS#23997 - sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py - - # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-ipv6 \ - --with-valgrind \ - --with-wide-unicode \ - --with-system-expat \ - --with-system-ffi - - make -} - -check() { - cd ${srcdir}/Python-${pkgver} - LD_LIBRARY_PATH=${srcdir}/Python-${pkgver}:${LD_LIBRARY_PATH} \ - ${srcdir}/Python-${pkgver}/python -m test.regrtest -x test_distutils test_site -} - -package() { - cd ${srcdir}/Python-${pkgver} - make DESTDIR=${pkgdir} install maninstall - - # Why are these not done by default... - ln -sf python3 ${pkgdir}/usr/bin/python - ln -sf python3-config${pkgdir}/usr/bin/python-config - ln -sf idle3 ${pkgdir}/usr/bin/idle - ln -sf pydoc3${pkgdir}/usr/bin/pydoc - ln -sf python${_pybasever}.1 ${pkgdir}/usr/share/man/man1/python3.1 - - # Fix FS#22552 - ln -sf ../../libpython${_pybasever}mu.so \ - ${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}mu/libpython${_pybasever}mu.so - - # Clean-up reference to build directory - sed -i s|$srcdir/Python-${pkgver}:|| $pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}mu/Makefile - - # License - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} Copied: python/repos/extra-i686/PKGBUILD (from rev 136998, python/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2011-09-05 05:47:36 UTC (rev 136999) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault steph...@archlinux.org +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Jason Chu ja...@archlinux.org + +pkgname=python +pkgver=3.2.2 +pkgrel=1 +_pybasever=3.2 +pkgdesc=Next generation of the python high-level scripting language +arch=('i686' 'x86_64') +license=('custom') +url=http://www.python.org/; +depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') +makedepends=('tk' 'sqlite3' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite3') +provides=('python3') +replaces=('python3') +options=('!makeflags') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769') + +build() { + cd ${srcdir}/Python-${pkgver} + + # FS#23997 + sed -i -e s|^#.* /usr/local/bin/python|#!/usr/bin/python| Lib/cgi.py + + # Ensure that we are using the system copy of various libraries (expat, zlib and libffi), + # rather than copies shipped in the tarball + rm -r Modules/expat + rm -r Modules/zlib + rm -r Modules/_ctypes/{darwin,libffi}* + + ./configure --prefix=/usr \ + --enable-shared \ + --with-threads \ + --with-computed-gotos \ + --enable-ipv6 \ + --with-valgrind \ + --with-wide-unicode \ + --with-system-expat \ + --with-system-ffi + + make +} + +check() { + cd