From owner-svn-ports-all@freebsd.org Mon Mar 5 08:25:31 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04D20F3D1D1; Mon, 5 Mar 2018 08:25:31 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 820CC6B3D6; Mon, 5 Mar 2018 08:25:30 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1762321717; Mon, 5 Mar 2018 08:25:30 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w258PT2E017456; Mon, 5 Mar 2018 08:25:29 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w258PTHQ017453; Mon, 5 Mar 2018 08:25:29 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803050825.w258PTHQ017453@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 5 Mar 2018 08:25:29 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/www/py-pywikibot: . files X-SVN-Commit-Revision: 463627 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 08:25:31 -0000 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):