From owner-svn-ports-head@freebsd.org Wed Dec 18 02:32:49 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE6101D11B9; Wed, 18 Dec 2019 02:32:49 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47czZ95BKKz43Z3; Wed, 18 Dec 2019 02:32:49 +0000 (UTC) (envelope-from koobs@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 932091F77D; Wed, 18 Dec 2019 02:32:49 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBI2Wnin024952; Wed, 18 Dec 2019 02:32:49 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBI2Wnlq024950; Wed, 18 Dec 2019 02:32:49 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201912180232.xBI2Wnlq024950@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Wed, 18 Dec 2019 02:32:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520357 - head/www/py-httmock X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/www/py-httmock X-SVN-Commit-Revision: 520357 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 02:32:49 -0000 Author: koobs Date: Wed Dec 18 02:32:48 2019 New Revision: 520357 URL: https://svnweb.freebsd.org/changeset/ports/520357 Log: www/py-httmock: Switch to USE_GITHUB, Remove BROKEN While we prefer using CHEESESHOP when souces are provided there, in the event it's missing valuable files such as tests, test data, LICENCE, it is preferable and more robust to use an alternative source entirely, than a combination of CHEESESHOP (or anything else) combined with another source for specific files, which can cause issues [1] This change switches to USE_GITHUB and removes unecessary and associated Makefile entries accordingly. [1] ports r516897 See Also: https://github.com/patrys/httmock/pull/59 PR: 242694 Submitted by: Derek Schrock MFH: 2019Q4 (blanket: fetch/build fix) MFH-With: r516897 Modified: head/www/py-httmock/Makefile head/www/py-httmock/distinfo Modified: head/www/py-httmock/Makefile ============================================================================== --- head/www/py-httmock/Makefile Wed Dec 18 02:27:35 2019 (r520356) +++ head/www/py-httmock/Makefile Wed Dec 18 02:32:48 2019 (r520357) @@ -3,34 +3,23 @@ PORTNAME= httmock PORTVERSION= 1.3.0 CATEGORIES= www python -MASTER_SITES= CHEESESHOP \ - https://raw.githubusercontent.com/patrys/${PORTNAME}/${PORTVERSION}/:tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - tests.py:tests -DIST_SUBDIR= py-${PORTNAME} -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= dereks@lifeofadishwasher.com COMMENT= Mocking library for requests -BROKEN= unfetchable - LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR} USES= python +USE_GITHUB= yes # tests missing from PyPI sdist USE_PYTHON= distutils autoplist -NO_ARCH= yes +GH_ACCOUNT= patrys -# Description: tests.py is missing from the pypi package -# Issue ID: https://github.com/patrys/httmock/issues/55 -# TODO: Remove extra MASTER_SITES, DISTFILES/SUBDIR, EXTRACT_ONLY, post-extract -post-extract: - @${CP} ${DISTDIR}/${DIST_SUBDIR}/tests.py ${WRKSRC} +NO_ARCH= yes do-test: cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test Modified: head/www/py-httmock/distinfo ============================================================================== --- head/www/py-httmock/distinfo Wed Dec 18 02:27:35 2019 (r520356) +++ head/www/py-httmock/distinfo Wed Dec 18 02:32:48 2019 (r520357) @@ -1,5 +1,3 @@ -TIMESTAMP = 1548775891 -SHA256 (py-httmock/httmock-1.3.0.tar.gz) = e0bbaced224426bcd994a5f1c64ab60e0c923ea615825c53e6c0190b2a7341fe -SIZE (py-httmock/httmock-1.3.0.tar.gz) = 4428 -SHA256 (py-httmock/tests.py) = 544bcd2a837b7493df8062b16611de4e53fc2761ffa25e9553a2ffdbc0972d2c -SIZE (py-httmock/tests.py) = 11680 +TIMESTAMP = 1576633617 +SHA256 (patrys-httmock-1.3.0_GH0.tar.gz) = 4716729f0d07f3f6043dde43545a5381c4c6031a62e9dc9eed21e73c63d86722 +SIZE (patrys-httmock-1.3.0_GH0.tar.gz) = 6186