Date: Mon, 5 Mar 2018 08:25:29 +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: r463627 - in head/www/py-pywikibot: . files Message-ID: <201803050825.w258PTHQ017453@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Mon Mar 5 08:25:29 2018 New Revision: 463627 URL: https://svnweb.freebsd.org/changeset/ports/463627 Log: www/py-pywikibot: Update to 3.0.20180304 Changelog: * Fixed python warnings during build (I reported this to them) Port changes: * Added USES=dos2unix and DOS2UNIX_FILES * Added the patch preventing git from being launched Approved by: tcberner (mentor, implicit) Added: head/www/py-pywikibot/files/ head/www/py-pywikibot/files/patch-setup.py (contents, props changed) Modified: head/www/py-pywikibot/Makefile head/www/py-pywikibot/distinfo Modified: head/www/py-pywikibot/Makefile ============================================================================== --- head/www/py-pywikibot/Makefile Mon Mar 5 08:19:09 2018 (r463626) +++ head/www/py-pywikibot/Makefile Mon Mar 5 08:25:29 2018 (r463627) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pywikibot -DISTVERSION= 3.0.20180302 +DISTVERSION= 3.0.20180304 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,9 +14,10 @@ LICENSE= MIT RUN_DEPENDS= ${PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR} -USES= python +USES= dos2unix python 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 Mon Mar 5 08:19:09 2018 (r463626) +++ head/www/py-pywikibot/distinfo Mon Mar 5 08:25:29 2018 (r463627) @@ -1,3 +1,3 @@ -TIMESTAMP = 1520200116 -SHA256 (pywikibot-3.0.20180302.tar.gz) = 64e7eae5088d0d2a5e700bb07d1c70a6bab48adee550db776491c1912c163569 -SIZE (pywikibot-3.0.20180302.tar.gz) = 492385 +TIMESTAMP = 1520237596 +SHA256 (pywikibot-3.0.20180304.tar.gz) = 2f5bcb646e3519040b198b8752c3bb05b040d67d02d6c64fb29d93e9f84d8a53 +SIZE (pywikibot-3.0.20180304.tar.gz) = 490238 Added: head/www/py-pywikibot/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-pywikibot/files/patch-setup.py Mon Mar 5 08:25:29 2018 (r463627) @@ -0,0 +1,25 @@ +--- setup.py.orig 2018-03-05 08:16:49 UTC ++++ setup.py +@@ -213,14 +213,14 @@ from setuptools import setup, find_packa + name = 'pywikibot' + version = '3.0' + +-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?201803050825.w258PTHQ017453>