Date: Sat, 20 Oct 2018 16:10:01 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482583 - in head/www/py-pywikibot: . files Message-ID: <201810201610.w9KGA1C1063783@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Oct 20 16:10:00 2018 New Revision: 482583 URL: https://svnweb.freebsd.org/changeset/ports/482583 Log: www/py-pywikibot: Update 3.0.20180403 -> 3.0.20180922 Reported by: repology Modified: head/www/py-pywikibot/Makefile head/www/py-pywikibot/distinfo head/www/py-pywikibot/files/patch-setup.py Modified: head/www/py-pywikibot/Makefile ============================================================================== --- head/www/py-pywikibot/Makefile Sat Oct 20 16:09:56 2018 (r482582) +++ head/www/py-pywikibot/Makefile Sat Oct 20 16:10:00 2018 (r482583) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pywikibot -DISTVERSION= 3.0.20180403 +DISTVERSION= 3.0.20180922 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,9 +15,10 @@ LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} USES= dos2unix python +DOS2UNIX_FILES= setup.py USE_PYTHON= autoplist distutils + NO_ARCH= yes -DOS2UNIX_FILES= setup.py OPTIONS_DEFINE= EVENTSTREAMS ISBN PYDOT GOOGLE IRC MWPARSE PILLOW MWOAUTH HTML EVENTSTREAMS_DESC= Support for reading Server Sent Event streams Modified: head/www/py-pywikibot/distinfo ============================================================================== --- head/www/py-pywikibot/distinfo Sat Oct 20 16:09:56 2018 (r482582) +++ head/www/py-pywikibot/distinfo Sat Oct 20 16:10:00 2018 (r482583) @@ -1,3 +1,3 @@ -TIMESTAMP = 1522871315 -SHA256 (pywikibot-3.0.20180403.tar.gz) = 6a8c5b633185949c724260605d6acbc66104ea69211585ce3a2a937d12f729a5 -SIZE (pywikibot-3.0.20180403.tar.gz) = 489134 +TIMESTAMP = 1540051290 +SHA256 (pywikibot-3.0.20180922.tar.gz) = 43ea77aff7eb7783b43c735573a3755d3b447d142c4acdc428c5199ad2009742 +SIZE (pywikibot-3.0.20180922.tar.gz) = 512312 Modified: head/www/py-pywikibot/files/patch-setup.py ============================================================================== --- head/www/py-pywikibot/files/patch-setup.py Sat Oct 20 16:09:56 2018 (r482582) +++ head/www/py-pywikibot/files/patch-setup.py Sat Oct 20 16:10:00 2018 (r482583) @@ -1,25 +1,31 @@ ---- setup.py.orig 2018-03-05 08:16:49 UTC +--- setup.py.orig 2018-10-20 16:02:34 UTC +++ setup.py -@@ -213,14 +213,14 @@ from setuptools import setup, find_packa - name = 'pywikibot' - version = '3.0' +@@ -190,17 +190,17 @@ else: + def get_version(): + """Get a valid pywikibot module version string.""" + version = '3.0' +- try: +- import subprocess +- date = subprocess.check_output( +- ['git', 'log', '-1', '--format=%ci']).strip() +- date = date.decode().split(' ')[0].replace('-', '') +- version += '.' + date +- if 'sdist' not in sys.argv: +- version += '.dev0' +- except Exception as e: +- print(e) +- version += '.dev0' ++ #try: ++ # import subprocess ++ # date = subprocess.check_output( ++ # ['git', 'log', '-1', '--format=%ci']).strip() ++ # date = date.decode().split(' ')[0].replace('-', '') ++ # version += '.' + date ++ # if 'sdist' not in sys.argv: ++ # version += '.dev0' ++ #except Exception as e: ++ # print(e) ++ # version += '.dev0' + return version --try: -- import subprocess -- date = subprocess.check_output(['git', 'log', '-1', '--format=%ci']).strip() -- date = date.decode().split(' ')[0].replace('-', '') -- version = version + "." + date --except Exception as e: -- print(e) -- version = version + "-dev" -+#try: -+# import subprocess -+# date = subprocess.check_output(['git', 'log', '-1', '--format=%ci']).strip() -+# date = date.decode().split(' ')[0].replace('-', '') -+# version = version + "." + date -+#except Exception as e: -+# print(e) -+# version = version + "-dev" - - def read_desc(filename):
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810201610.w9KGA1C1063783>