From 3919e63cdf7f2d63988b51e0ffffba7e1aeaf421 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 31 May 2016 01:02:43 +0200 Subject: [PATCH] python-Sphinx: update to 1.4.2 --- srcpkgs/python-Sphinx/patches/babel-2.3-fix.patch | 10 ---------- srcpkgs/python-Sphinx/template | 6 +++--- 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 srcpkgs/python-Sphinx/patches/babel-2.3-fix.patch diff --git a/srcpkgs/python-Sphinx/patches/babel-2.3-fix.patch b/srcpkgs/python-Sphinx/patches/babel-2.3-fix.patch deleted file mode 100644 index e49463cf2f..0000000000 --- a/srcpkgs/python-Sphinx/patches/babel-2.3-fix.patch +++ /dev/null @@ -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() diff --git a/srcpkgs/python-Sphinx/template b/srcpkgs/python-Sphinx/template index 62f44fa9c3..371cebd308 100644 --- a/srcpkgs/python-Sphinx/template +++ b/srcpkgs/python-Sphinx/template @@ -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 " 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