[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#32260] [PATCH 01/21] gnu: python: Remove outdated comment and phase
From: |
Marius Bakke |
Subject: |
[bug#32260] [PATCH 01/21] gnu: python: Remove outdated comment and phases. |
Date: |
Tue, 24 Jul 2018 14:35:44 +0200 |
* gnu/packages/python.scm (python-2.7)[arguments]: Don't set SOURCE_DATE_EPOCH
or make libraries writable, since those are handled by gnu-build-system.
(python-3.6): Don't override :#tests?.
---
gnu/packages/python.scm | 33 +--------------------------------
1 file changed, 1 insertion(+), 32 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fc1ef3eb2..d173bbe61 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -178,23 +178,7 @@
"tk")) ;tkinter; adds 50 MiB to the closure
(build-system gnu-build-system)
(arguments
- `(;; 356 tests OK.
- ;; 6 tests failed:
- ;; test_compileall test_distutils test_import test_shutil
test_socket
- ;; test_subprocess
- ;; 39 tests skipped:
- ;; test_aepack test_al test_applesingle test_bsddb test_bsddb185
- ;; test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
- ;; test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
- ;; test_dl test_gdb test_gl test_imageop test_imgfile test_ioctl
- ;; test_kqueue test_linuxaudiodev test_macos test_macostools
- ;; test_msilib test_ossaudiodev test_scriptpackages test_smtpnet
- ;; test_socketserver test_startfile test_sunaudiodev test_timeout
- ;; test_tk test_ttk_guionly test_urllib2net test_urllibnet
- ;; test_winreg test_winsound test_zipfile64
- ;; 4 skips unexpected on linux2:
- ;; test_bsddb test_bsddb3 test_gdb test_ioctl
- #:test-target "test"
+ `(#:test-target "test"
#:configure-flags
(list "--enable-shared" ;allow embedding
"--with-system-ffi" ;build ctypes
@@ -219,11 +203,6 @@
"Lib/test/support/__init__.py"
"Lib/test/test_subprocess.py"))
(("/bin/sh") (which "sh")))
-
- ;; Use zero as the timestamp in .pyc files so that builds are
- ;; deterministic. TODO: Remove it when this variable is set in
- ;; gnu-build-system.scm.
- (setenv "SOURCE_DATE_EPOCH" "1")
#t))
(add-before 'configure 'do-not-record-configure-flags
(lambda* (#:key configure-flags #:allow-other-keys)
@@ -281,15 +260,6 @@
file))))))
(call-with-output-file "__init__.py" (const #t))
#t)))))))
- (add-before 'strip 'make-libraries-writable
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Make .so files writable so they can be stripped.
- (let ((out (assoc-ref outputs "out")))
- (for-each (lambda (file)
- (chmod file #o755))
- (find-files (string-append out "/lib")
- "\\.so"))
- #t)))
(add-after 'install 'move-tk-inter
(lambda* (#:key outputs #:allow-other-keys)
;; When Tkinter support is built move it to a separate output so
@@ -377,7 +347,6 @@ data types.")
#t))))
(arguments
(substitute-keyword-arguments (package-arguments python-2)
- ((#:tests? _) #t)
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'patch-timestamp-for-pyc-files
--
2.18.0
- [bug#32260] [PATCH 07/21] gnu: python-py: Update home page., (continued)
- [bug#32260] [PATCH 07/21] gnu: python-py: Update home page., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 12/21] gnu: python-pytest-runner: Update to 4.2., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 02/21] gnu: python: Update to 3.7.0., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 05/21] gnu: python-py: Add missing dependency on setuptools-scm., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 14/21] gnu: python-hypothesis: Update to 3.66.6., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 15/21] gnu: python-pytest-cov: Update to 2.5.1., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 18/21] gnu: python-pytest-mock: Update to 1.10.0., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 11/21] gnu: python-setuptools: Update to 40.0.0., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 20/21] gnu: gdb: Fix build with Python >= 3.7., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 01/21] gnu: python: Remove outdated comment and phases.,
Marius Bakke <=
- [bug#32260] [PATCH 08/21] gnu: python-pyflakes: Update to 2.0.0., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 17/21] gnu: python-pytest: Update to 3.6.3., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 10/21] gnu: python-pycodestyle: Update to 2.4.0., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 13/21] gnu: python-flake8: Update to 3.5.0., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 16/21] gnu: Add python-invoke., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 19/21] gnu: docbook-xsl: Delete bundled jars., Marius Bakke, 2018/07/24
- [bug#32260] [PATCH 21/21] gnu: python-fonttools: Update to 3.28.0., Marius Bakke, 2018/07/24
- bug#32260: [PATCH 00/21] Python updates, Marius Bakke, 2018/07/28