From nobody Sat Apr 16 04:22:07 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 60F827C9A24; Sat, 16 Apr 2022 04:22:10 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KgKlz6V8Zz3M1m; Sat, 16 Apr 2022 04:22:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650082928; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IjoK5pQSreAS2N/LMyj1gIQ/JT7OhEthLJBfHF3ehNk=; b=Nm65JNM6IOOtiHhHL9Urw/lsETNZpTdM2vtkyquxZSH5WctcLLel7R/acUPMeZXzGaVT6z w+KKr/PoXAaMTqaIPVrYxyZj8cMFdUAF2NTpxL4eTG7TNIifCLuZ1Go/ntSgYsgOcx1qTk QsJXnhDiuWXrS3aGjy1N4w0TgdynTJEJo9UZTEQ37VvAO+MIPaly4Pub8XsOIghvlwiJqf dU4mOWEsr1ozl25Y/qh8X00/U7CiHf9vr+CXOSlF8kMHRRHzFEXJpaPFsWRfzLJlxcGfdQ 6iylUgagYmTGSITGsE32vituADnSjcOePcqcGStjSzkq5QhG0V28EiZKyxhpsw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2A97422A42; Sat, 16 Apr 2022 04:22:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23G4M7Cc004402; Sat, 16 Apr 2022 04:22:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23G4M7tD004401; Sat, 16 Apr 2022 04:22:07 GMT (envelope-from git) Date: Sat, 16 Apr 2022 04:22:07 GMT Message-Id: <202204160422.23G4M7tD004401@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: a8b914bfdbce - main - databases/py-redis2: Clean up Makefile List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a8b914bfdbce9c2130c01f87f55ee71f5961be00 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650082928; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IjoK5pQSreAS2N/LMyj1gIQ/JT7OhEthLJBfHF3ehNk=; b=X+BmewUiM53K7YRcNn0EUp/Oup+J8V2Eb0uXGWjDGJHgvK7OieT/nWxTu0r8EtPh0EMLuT lP/MzV3mNzePlCskGXOj2lVVVupJxmQXmYwkD9CGspWIQiRbXXq5hgHQMnvNzI/a3casqH j5RGSYG4b5lBd2/rXcg5IcHBsVqRmzQqQgcrNfzz0W7ztujXAWWshXgQ5x/mZktfV6loBU k2wN5KwFfheBi541XOhtxUuICJ7R5pouZdryhz7zkGxUe8NVDZRJo8Bjn3hP077lcMp1SU VhpkK/eyiltxXZoMpq3/JuhGSyDNg/BXvkeiYQrOYRuoCNdCc+IKrGctWB2WLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650082928; a=rsa-sha256; cv=none; b=hSYsdV4Bky3PsYFzzjYQ5Ij2GNp9QFUtMaSXcWmeZRHaOYRClVjLlYPAy9P21MScemnyKW oFXpE/V9873kgS7shmwiwU+5kB36pSTuoCYwLUwyYXq1ACw7vqGw2WtEASc4miuFqQSSl7 EvDPSs5ob6dn30J3Ti3bYy1JS+aDv5Jb7AtbfctQboWv4INNDnFpIwk+F1t+0CeRcpkf97 hFqI5LJZH+AccaFjT0raYH6sP7/V1wdLEJ088kFy8moRPljdoJC6TH46gS3qHXUJ1Tj5RA 7CEV0Yaljw1wy0WrOiUfOMDAEBnRJ112igM55zZyqACnKxBYCmgTe8tK6Sp/sw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a8b914bfdbce9c2130c01f87f55ee71f5961be00 commit a8b914bfdbce9c2130c01f87f55ee71f5961be00 Author: Po-Chuan Hsieh AuthorDate: 2022-04-16 03:57:07 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-16 04:19:17 +0000 databases/py-redis2: Clean up Makefile - Change MASTER_SITES from GitHub to CHEESESHOP - Update do-test: --- databases/py-redis2/Makefile | 25 ++++++++++++------------- databases/py-redis2/distinfo | 6 +++--- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/databases/py-redis2/Makefile b/databases/py-redis2/Makefile index 102bac14675d..990872741b2b 100644 --- a/databases/py-redis2/Makefile +++ b/databases/py-redis2/Makefile @@ -4,6 +4,7 @@ PORTNAME= redis PORTVERSION= 2.10.6 PORTREVISION= 2 CATEGORIES= databases python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 2 @@ -13,27 +14,25 @@ COMMENT= Python client for Redis key-value store LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= redis-server:databases/redis - -OPTIONS_DEFINE= HIREDIS - -HIREDIS_DESC= High performance response parser (via hiredis) - -HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>0:databases/py-hiredis@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=2.5.0,1:devel/py-pytest@${PY_FLAVOR} \ + redis-server:databases/redis USES= python:3.6+ USE_PYTHON= distutils autoplist concurrent -USE_GITHUB= yes -GH_ACCOUNT= andymccurdy -GH_PROJECT= ${PORTNAME}-py - NO_ARCH= yes + CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis + PORTSCOUT= limit:^2\. -# Needs redis-server to be running +OPTIONS_DEFINE= HIREDIS +HIREDIS_DESC= High performance response parser + +HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} + do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/databases/py-redis2/distinfo b/databases/py-redis2/distinfo index 4a453d1f3ff6..8f3d4e051c0a 100644 --- a/databases/py-redis2/distinfo +++ b/databases/py-redis2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1508148992 -SHA256 (andymccurdy-redis-py-2.10.6_GH0.tar.gz) = e28e24539d6590a8b88498f2d30f7fe3e2be1171d7a91fe1fa6c5b6982519015 -SIZE (andymccurdy-redis-py-2.10.6_GH0.tar.gz) = 94869 +TIMESTAMP = 1649423748 +SHA256 (redis-2.10.6.tar.gz) = a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f +SIZE (redis-2.10.6.tar.gz) = 97299