pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/time/py-vdirsyncer



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat May 25 06:58:10 UTC 2019

Modified Files:
        pkgsrc/time/py-vdirsyncer: distinfo
Added Files:
        pkgsrc/time/py-vdirsyncer/patches: patch-docs_conf.py

Log Message:
py-vdirsyncer: fix build with latest setuptools_scm


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/time/py-vdirsyncer/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-vdirsyncer/patches/patch-docs_conf.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-vdirsyncer/distinfo
diff -u pkgsrc/time/py-vdirsyncer/distinfo:1.40 pkgsrc/time/py-vdirsyncer/distinfo:1.41
--- pkgsrc/time/py-vdirsyncer/distinfo:1.40     Thu Aug 16 12:43:43 2018
+++ pkgsrc/time/py-vdirsyncer/distinfo  Sat May 25 06:58:10 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.40 2018/08/16 12:43:43 wiz Exp $
+$NetBSD: distinfo,v 1.41 2019/05/25 06:58:10 wiz Exp $
 
 SHA1 (vdirsyncer-0.16.7.tar.gz) = 91070a9777dcf5ac0ae523da1c6042d53ed0ad57
 RMD160 (vdirsyncer-0.16.7.tar.gz) = c0120a4b965b1e518b39d1a5b362ca166123b191
 SHA512 (vdirsyncer-0.16.7.tar.gz) = 218c6781139a9e979077308dc732756cc27ecb67966e4b52be31cb1ebf04d224443036102d5c4bad253b9dcf533939f0b72082166f0fe94e042a7e946b8fad0e
 Size (vdirsyncer-0.16.7.tar.gz) = 112786 bytes
+SHA1 (patch-docs_conf.py) = edcadc3f79ec9f6ec7ade9896cb81668733ca137

Added files:

Index: pkgsrc/time/py-vdirsyncer/patches/patch-docs_conf.py
diff -u /dev/null pkgsrc/time/py-vdirsyncer/patches/patch-docs_conf.py:1.1
--- /dev/null   Sat May 25 06:58:10 2019
+++ pkgsrc/time/py-vdirsyncer/patches/patch-docs_conf.py        Sat May 25 06:58:10 2019
@@ -0,0 +1,25 @@
+$NetBSD: patch-docs_conf.py,v 1.1 2019/05/25 06:58:10 wiz Exp $
+
+Follow advice from setuptools_scm how to use it.
+https://github.com/pimutils/vdirsyncer/pull/799
+
+--- docs/conf.py.orig  2018-06-13 16:54:02.000000000 +0000
++++ docs/conf.py
+@@ -3,7 +3,7 @@
+ import datetime
+ import os
+ 
+-import setuptools_scm
++from pkg_resources import get_distribution
+ 
+ extensions = ['sphinx.ext.autodoc']
+ 
+@@ -16,7 +16,7 @@ project = u'vdirsyncer'
+ copyright = (u'2014-{}, Markus Unterwaditzer & contributors'
+              .format(datetime.date.today().strftime('%Y')))
+ 
+-release = setuptools_scm.get_version(root='..', relative_to=__file__)
++release = get_distribution('vdirsyncer').version
+ version = '.'.join(release.split('.')[:2])  # The short X.Y version.
+ 
+ rst_epilog = '.. |vdirsyncer_version| replace:: %s' % release



Home | Main Index | Thread Index | Old Index