From owner-svn-ports-all@freebsd.org Wed Jun 14 07:54:46 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77A62D88230; Wed, 14 Jun 2017 07:54:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 37FCA7E387; Wed, 14 Jun 2017 07:54:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf0-x242.google.com with SMTP id d5so13304294pfe.1; Wed, 14 Jun 2017 00:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bm0ioDcrYGoD4TqwKx6sAZIQaO5HxdzylHVRzzSVjFk=; b=QZKHvivoD2ttWYUhCST8YyigKJzZ6ieSUIcYDf4cpZkN3xttDKKeElSar70tHu/Wcp NAIcVJro2d7B7ARurSPxiyRbNQNQRe3Jv9q5yyXI5U5MLR7FgDRKJ5zYFdgzVOp1vFT/ 2alZMH7img5vwJ0lyhsWYdkMkhhiarCQX8RR+3eMtVGiW2i+iavcVC3d7E6vD5zFdTCa 86qrXeIin9e+YeMEMC4oku/FXTOrpzmHtciL9xg1Qhwbf0xfL7sqm3QXO38EwcU+tZpY /gSGI6aVRtnrCSjh14Y/8DYDb5iQYVdixrAuDVG+vgjGPN1CETZ/tL70IDdXNM59NYF3 ZPIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=bm0ioDcrYGoD4TqwKx6sAZIQaO5HxdzylHVRzzSVjFk=; b=tobhYEYbpKd8Vi9o3171HB5Q4Y1kDUOmNFyfHZ5suT4uoNawJZGSKYQalz2lC5Rfdw pialE0Y3tITRh6hGvbWOM+t1a9xaGJlASukGGk798ACt4dR+7r4IiJTGXY4TK+hLRHN1 z3T6DJJJ9jEJsFl+4KlTpUH0/2WwznjhOq5KuQGPIT17UPZ0gHvRgmu1vavt1IZK7bON U0Pi0lzyU4alb4xe9qfSfd4qmTZLFlcZgj+K6Zu/k1ig3cUaXvtQIYabO/h0ypY5lYuG nrHy2FpnDMyFgiznJ4GKcDDHjJ3f8HHbxqeWf/fsW92ZTxa4I9VcafSh5BN8bhSVzzEX m6Dg== X-Gm-Message-State: AKS2vOyHR4DCiPo1ynCdSy3VEFkz8oPKGtzxNSn2S4QqvK5Ls4ECzkX3 aOXSROQJBk4tqAuzT6k= X-Received: by 10.99.9.131 with SMTP id 125mr3099880pgj.178.1497426885396; Wed, 14 Jun 2017 00:54:45 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:44b5:45ac:c6b6:5f3f? (2001-44b8-31ae-7b01-44b5-45ac-c6b6-5f3f.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:44b5:45ac:c6b6:5f3f]) by smtp.gmail.com with ESMTPSA id p8sm794643pgd.23.2017.06.14.00.54.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 00:54:45 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r443531 - in head/www: . py-flexget py-flexget/files py-vcrpy To: Jan Beich , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201706131953.v5DJrwD3059683@repo.freebsd.org> From: Kubilay Kocak Message-ID: Date: Wed, 14 Jun 2017 17:50:04 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Thunderbird/54.0a2 MIME-Version: 1.0 In-Reply-To: <201706131953.v5DJrwD3059683@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 14 Jun 2017 07:54:46 -0000 On 6/14/17 5:53 AM, Jan Beich wrote: > Author: jbeich > Date: Tue Jun 13 19:53:58 2017 > New Revision: 443531 > URL: https://svnweb.freebsd.org/changeset/ports/443531 > > Log: > www/py-flexget: update to 2.10.60 > > - Hook tests: 3 failed, 1184 passed, 35 skipped, 4 xfailed, 1 xpassed, 5 warnings > > Changes: https://github.com/Flexget/Flexget/compare/2.10.43...2.10.60 > > Added: > head/www/py-vcrpy/ > head/www/py-vcrpy/Makefile (contents, props changed) > head/www/py-vcrpy/distinfo (contents, props changed) > head/www/py-vcrpy/pkg-descr (contents, props changed) > Modified: > head/www/Makefile (contents, props changed) > head/www/py-flexget/Makefile (contents, props changed) > head/www/py-flexget/distinfo (contents, props changed) > head/www/py-flexget/files/patch-requirements.txt (contents, props changed) > > Modified: head/www/Makefile > ============================================================================== > --- head/www/Makefile Tue Jun 13 19:53:35 2017 (r443530) > +++ head/www/Makefile Tue Jun 13 19:53:58 2017 (r443531) > @@ -1831,6 +1831,7 @@ > SUBDIR += py-urlobject > SUBDIR += py-user_agent > SUBDIR += py-utidylib > + SUBDIR += py-vcrpy > SUBDIR += py-w3lib > SUBDIR += py-waitress > SUBDIR += py-webassets > > Modified: head/www/py-flexget/Makefile > ============================================================================== > --- head/www/py-flexget/Makefile Tue Jun 13 19:53:35 2017 (r443530) > +++ head/www/py-flexget/Makefile Tue Jun 13 19:53:58 2017 (r443531) > @@ -2,12 +2,10 @@ > # $FreeBSD$ > > PORTNAME= flexget > -PORTVERSION= 2.10.43 > +PORTVERSION= 2.10.60 > PORTEPOCH= 1 > CATEGORIES= www python > -MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > -DISTNAME= FlexGet-${PORTVERSION} > > MAINTAINER= jbeich@FreeBSD.org > COMMENT= Program to automate downloading from different sources > @@ -27,7 +25,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=1.0. > ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.3:devel/py-pyparsing \ > ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml \ > ${PYTHON_PKGNAMEPREFIX}progressbar>0:misc/py-progressbar \ > - ${PYTHON_PKGNAMEPREFIX}guessit>=2.0.4:multimedia/py-guessit \ > + ${PYTHON_PKGNAMEPREFIX}guessit>=2.1.0:multimedia/py-guessit \ > ${PYTHON_PKGNAMEPREFIX}pynzb>0:news/py-pynzb \ > ${PYTHON_PKGNAMEPREFIX}zxcvbn-python>0:security/py-zxcvbn-python \ > ${PYTHON_PKGNAMEPREFIX}plumbum>=1.2:sysutils/py-plumbum \ > @@ -45,9 +43,29 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=1.0. > ${PYTHON_PKGNAMEPREFIX}flask-restplus08=0.8.6:www/py-flask-restplus08 \ > ${PYTHON_PKGNAMEPREFIX}html5lib>=0.11:www/py-html5lib \ > ${PYTHON_PKGNAMEPREFIX}requests>=2.8.0:www/py-requests > +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \ > + ${PYTHON_PKGNAMEPREFIX}pytest-capturelog>0:devel/py-pytest-capturelog \ > + ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3 \ > + ${PYTHON_PKGNAMEPREFIX}vcrpy>0:www/py-vcrpy > > +USE_GITHUB= yes > +GH_PROJECT= Flexget > + > NO_ARCH= yes > USES= python:2.7+ > USE_PYTHON= autoplist distutils > > -.include > +post-extract: > +# Unlock dependencies' versions > + @${MV} ${WRKSRC}/requirements.in ${WRKSRC}/requirements.txt > + > +do-test: > + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) > + > +.include > + > +.if ${PYTHON_REL} < 3300 > +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock > +.endif > + > +.include > > Modified: head/www/py-flexget/distinfo > ============================================================================== > --- head/www/py-flexget/distinfo Tue Jun 13 19:53:35 2017 (r443530) > +++ head/www/py-flexget/distinfo Tue Jun 13 19:53:58 2017 (r443531) > @@ -1,3 +1,3 @@ > -TIMESTAMP = 1494224075 > -SHA256 (FlexGet-2.10.43.tar.gz) = 0127b49dd5350900f92857d14e175650e55d5386c70b469da582b0431ab06f0a > -SIZE (FlexGet-2.10.43.tar.gz) = 2662856 > +TIMESTAMP = 1496715229 > +SHA256 (flexget-Flexget-2.10.60_GH0.tar.gz) = 7af6b652e568e02803ac46bff37a45dbe48db4d16ffcc0eacaa8815f1fb48eb4 > +SIZE (flexget-Flexget-2.10.60_GH0.tar.gz) = 6711381 > > Modified: head/www/py-flexget/files/patch-requirements.txt > ============================================================================== > --- head/www/py-flexget/files/patch-requirements.txt Tue Jun 13 19:53:35 2017 (r443530) > +++ head/www/py-flexget/files/patch-requirements.txt Tue Jun 13 19:53:58 2017 (r443531) > @@ -1,11 +1,24 @@ > ---- requirements.txt.orig 2016-08-14 10:12:26 UTC > +--- requirements.txt.orig 2017-06-06 02:13:49 UTC > +++ requirements.txt > -@@ -16,7 +16,7 @@ python-dateutil>=2.5.2 > +@@ -7,18 +7,15 @@ html5lib>=0.11 > + PyRSS2Gen > + pynzb > + #PY3 progressbar > +-rpyc==3.3.0 > ++rpyc > + jinja2 > + # There is a bug in requests 2.4.0 where it leaks urllib3 exceptions > +-requests~=2.16.3 > +-#Guessit requires python-dateutil<=2.5.2 > ++requests>=2.8.0, <3.0 > + python-dateutil>=2.5.3 > jsonschema>=2.0 > path.py>=8.1.1 > - pathlib>=1.0 > + pathlib>=1.0; python_version<'3.4' > -guessit<=2.0.4 > -+guessit>=2.0.4 > +-# Rebulk changes how guessit works higher than 0.8.2 > +-rebulk==0.8.2 > ++guessit>=2.1.0 > apscheduler>=3.2.0 > - # WebUI Requirements > - cherrypy>=3.7.0 > + terminaltables>=3.1.0 > + colorclass>=2.2.0 > > Added: head/www/py-vcrpy/Makefile > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/www/py-vcrpy/Makefile Tue Jun 13 19:53:58 2017 (r443531) > @@ -0,0 +1,29 @@ > +# $FreeBSD$ > + > +PORTNAME= vcrpy > +PORTVERSION= 1.11.1 > +CATEGORIES= www python > +MASTER_SITES= CHEESESHOP > +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > + > +MAINTAINER= jbeich@FreeBSD.org > +COMMENT= Automatically mock your HTTP interactions to simplify and speed up testing > + > +LICENSE= MIT > +LICENSE_FILE= ${WRKSRC}/LICENSE.txt > + > +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six \ > + ${PYTHON_PKGNAMEPREFIX}wrapt>0:devel/py-wrapt \ > + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml > + > +NO_ARCH= yes > +USES= python > +USE_PYTHON= autoplist distutils > + > +.include > + > +.if ${PYTHON_REL} < 3300 > +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}contextlib2>0:devel/py-contextlib2 > +.endif > + > +.include > > Added: head/www/py-vcrpy/distinfo > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/www/py-vcrpy/distinfo Tue Jun 13 19:53:58 2017 (r443531) > @@ -0,0 +1,3 @@ > +TIMESTAMP = 1495936275 > +SHA256 (vcrpy-1.11.1.tar.gz) = f434fe7e05d940d576ac850709ae57a738ba40e7f317076ea8d359ced5b32320 > +SIZE (vcrpy-1.11.1.tar.gz) = 63122 > > Added: head/www/py-vcrpy/pkg-descr > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/www/py-vcrpy/pkg-descr Tue Jun 13 19:53:58 2017 (r443531) > @@ -0,0 +1,24 @@ > +VCR.py simplifies and speeds up tests that make HTTP requests. The > +first time you run code that is inside a VCR.py context manager or > +decorated function, VCR.py records all HTTP interactions that take > +place through the libraries it supports and serializes and writes them > +to a flat file (in yaml format by default). This flat file is called a > +cassette. When the relevant piece of code is executed again, VCR.py > +will read the serialized requests and responses from the > +aforementioned cassette file, and intercept any HTTP requests that it > +recognizes from the original test run and return the responses that > +corresponded to those requests. This means that the requests will not > +actually result in HTTP traffic, which confers several benefits > +including: > + > +* The ability to work offline > +* Completely deterministic tests > +* Increased test execution speed > + > +If the server you are testing against ever changes its API, all you > +need to do is delete your existing cassette files, and run your tests > +again. VCR.py will detect the absence of a cassette file and once > +again record all HTTP interactions, which will update them to > +correspond to the new API. > + > +WWW: https://pypi.python.org/pypi/vcrpy > Hi Jan, vcrpy already exists at devel/py-vcrpy ./koobs