Matthias Klose:
> On 05/27/2015 11:26 AM, Jérémy Bobbio wrote:
> >> --- python3.5-3.5.0~b1/debian/rules        2015-05-26 02:07:36.000000000 
> >> +0200
> >> +++ python3.5-3.5.0~b1/debian/rules        2015-05-27 09:28:58.000000000 
> >> +0200
> >> @@ -23,6 +23,17 @@
> >>  PKGSOURCE  := $(call vafilt,$(CHANGELOG_VARS),Source)
> >>  PKGVERSION := $(call vafilt,$(CHANGELOG_VARS),Version)
> >>  
> >> +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
> >> +
> >> +BUILD_DATE := $(shell LC_ALL=C date -u +'"%H:%M:%S"' -d "$(LAST_CHANGE)")
> >> +BUILD_TIME := $(shell LC_ALL=C date -u +'"%b %e %Y"' -d "$(LAST_CHANGE)")
> > 
> > These two are reversed. It should be:
> > 
> > BUILD_DATE := $(shell LC_ALL=C date -u +'"%b %e %Y"' -d "$(LAST_CHANGE)")
> > BUILD_TIME := $(shell LC_ALL=C date -u +'"%H:%M:%S"' -d "$(LAST_CHANGE)")
> > 
> > Sorry about the noise.
> 
> the patch is incomplete, not creating/removing the datetime.h file.

Sorry but the patch sent for python3.5 does not uses `datetime.h`.

> your patch is wrong, because it adds this flag in _sysconfigdata_*.py
> so all distutils/setuptools based extension builds would break.

Passing -DDATE and -DTIME would break distutils/setuptools based
extension?

> Rewrote this properly for all pythonx.y packages.

Could you be more specific, then?

> As you submit more of this kind of patches for other packages, please keep 
> these
> patches as local as possible. And these flags are usually called CPPFLAGS, not
> CCPFLAGS.

Sorry but I don't understand your last two sentences. The latter one
especially.

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature

Reply via email to