From owner-svn-ports-all@freebsd.org Sat Oct 20 16:10:03 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 5B635FEAC26; Sat, 20 Oct 2018 16:10:03 +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 7AE6C77EFC; Sat, 20 Oct 2018 16:10:02 +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 C2D9F203C0; Sat, 20 Oct 2018 16:10:01 +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 w9KGA1BT063786; Sat, 20 Oct 2018 16:10:01 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9KGA1C1063783; Sat, 20 Oct 2018 16:10:01 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810201610.w9KGA1C1063783@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 20 Oct 2018 16:10:01 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/www/py-pywikibot: . files X-SVN-Commit-Revision: 482583 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.29 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: Sat, 20 Oct 2018 16:10:03 -0000 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):