python-Sphinx: update to 1.4.2

This commit is contained in:
Alessio Sergi 2016-05-31 01:02:43 +02:00
parent 12e4c07a4b
commit 3919e63cdf
2 changed files with 3 additions and 13 deletions

View file

@ -1,10 +0,0 @@
--- sphinx/util/i18n.py.orig
+++ sphinx/util/i18n.py
@@ -188,7 +188,7 @@ def format_date(format, date=None, language=None, warn=None):
# See https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal
source_date_epoch = os.getenv('SOURCE_DATE_EPOCH')
if source_date_epoch is not None:
- date = gmtime(float(source_date_epoch))
+ date = datetime.utcfromtimestamp(float(source_date_epoch))
else:
date = datetime.now()

View file

@ -1,7 +1,7 @@
# Template file for 'python-Sphinx'
pkgname=python-Sphinx
version=1.4.1
revision=3
version=1.4.2
revision=1
noarch=yes
wrksrc="Sphinx-${version}"
build_style=python-module
@ -22,7 +22,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://sphinx-doc.org/"
license="2-clause-BSD"
distfiles="${PYPI_SITE}/S/Sphinx/Sphinx-${version}.tar.gz"
checksum=c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc
checksum=92ed6b657ff6294f483e58d5280e0a8a2db142a38b30e18da4af74ecdce72584
alternatives="
sphinx:sphinx-apidoc:/usr/bin/sphinx-apidoc2.7