[Pkg-gnupg-commit] [gpgme] 19/103: python: Remove unneeded stats copy
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Dec 14 18:52:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit df8433bffa9e669897243f08edf7845762250e4a
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date: Sat Apr 8 16:34:31 2017 +0300
python: Remove unneeded stats copy
* lang/python/setup.py.in: errors.i, gpgme.h are generated and always
newer than the original.
Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
---
lang/python/setup.py.in | 6 ------
1 file changed, 6 deletions(-)
diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
index e50971c..f4ce64f 100755
--- a/lang/python/setup.py.in
+++ b/lang/python/setup.py.in
@@ -195,12 +195,6 @@ class BuildExtFirstHack(build):
self._generate_gpgme_h(gpgme_h, self._in_build_base("gpgme.h"))
self._generate_errors_i(gpg_error_h, self._in_build_base("errors.i"))
- # Keep timestamp to avoid rebuild
- for source, target in ((gpgme_h, self._in_build_base("gpgme.h")),
- (gpg_error_h, self._in_build_base("errors.i"))):
- if not up_to_date(source, target):
- shutil.copystat(source, target)
-
# Copy due to http://bugs.python.org/issue2624
# Avoid creating in srcdir
for source, target in ((in_srcdir(n), self._in_build_base(n))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list