From nobody Sat Sep 17 10:50:12 2022 X-Original-To: dev-commits-ports-main@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 4MV74h3wkzz4cMnR; Sat, 17 Sep 2022 10:50:12 +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 4MV74h3P2lz3rjV; Sat, 17 Sep 2022 10:50:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663411812; 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=HFWHnz0TyEB0fi2DONu5W/NtEIWeSeP+7roUAvbT1JQ=; b=wKs1fSqbpDNK3cWdjVlV3mg+PwnUfgHt5l0HI39af2lmJSQjd1Je+eAN//PnkWWYDuYURe oSdJtkvM5rCZBMwoKgJefmc0N039I16ZNvAxz35amo+exu2eeqovwBRWC5ThOJJ1NGanek wRQhCW6/yyXkU02JMoyhHVAW4e82c4VDsjc8S8WGtKLMNG+CFVmCl2OGYVoJx9bofwe46B PPkQwcrlmuvb1bELQ17exo+8rxqBPc4pMnv+y2yycJCIR8YSuc0TZxDyXhJmSAx2W/jlYZ Np06Gmy3dWzEMhlGdL+n4J/RLZMRGZ2yd7NIJcmW2YgwIkUzx8TZ2gKYNjmGxg== 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 4MV74h2LlHzgmf; Sat, 17 Sep 2022 10:50:12 +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 28HAoCrF004679; Sat, 17 Sep 2022 10:50:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28HAoCdl004677; Sat, 17 Sep 2022 10:50:12 GMT (envelope-from git) Date: Sat, 17 Sep 2022 10:50:12 GMT Message-Id: <202209171050.28HAoCdl004677@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: e2acfab80364 - main - www/py-dj40-django-rich: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e2acfab803648034112e51669ddeae743bdf417c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663411812; 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=HFWHnz0TyEB0fi2DONu5W/NtEIWeSeP+7roUAvbT1JQ=; b=xB0eeMUjAWdExiK/Nb/FwJwbIA19no+LzqCz/CX5CRoqDpB+H6+10mKTL7FC/2VivoMlGQ fHDD8/alza94BU54M6dXoxafFqaIcB0IqzZxsZrl4uEWPmc+mqJCnolhPkbS3ruOQvC/un yn3REnwq4nnarkvmQC+TW0Nbz9E683Pjq22XyspadkxgGJTxrzLY/CMiVcFGzcI13my+Ry l/Qj7EjDBSEywRoZQ4iJGAash22zW0D1FW7acs7rfsueRatgoY7KZFc6wpBHKbyIS9pO7H U0ExZrIpwemKT9tWZIbINOqOgBhStq7+MajshiXbAWOcTFQ1GJ0Q5a8CVS91Ig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663411812; a=rsa-sha256; cv=none; b=VLmg0ol+uVpMr8PDQaPxMV7Yic/P7/PCsAb3yAT7A9I6uZIfOLxAIJljWuGy5IQ15cYv7n SBpRmqInDUT3SMNyoZHsJE4/7slQE1bJONSZenRfw9QEZZ1u3D4jQRvMFZLSlKkQVO6Zff rtxSNeQ8r2obtYq0Z5LfAD47fEHH0cL1rBMFMWq9WW861+N+XjD8HwuVuhwlrrEe3e2wMy qqeMPZD4QBwppLIsPn2t8Mwzswi/Hg0tFqn5Nd1+Wx1cXaE+IRNyjUj72VFTK4aCPp8y0O y+ZNxLOe7f4ogdkx1glGrRJxIlVzsHFraC1DhGpXV+fiLL/rGC3uAOV/JJcm6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2acfab803648034112e51669ddeae743bdf417c commit e2acfab803648034112e51669ddeae743bdf417c Author: Kai Knoblich AuthorDate: 2022-09-17 10:41:32 +0000 Commit: Kai Knoblich CommitDate: 2022-09-17 10:41:32 +0000 www/py-dj40-django-rich: New port This package provides extensions for using Rich with the Django framework. These extensions consist of the following subclasses: * django_rich.management.RichCommand: Subclass of Django's BaseCommand class that sets its self.console to a Rich console. * django_rich.test.RichRunner: Subclass of Django's DiscoverRunner with colorized outputs and nice traceback rendering. --- www/Makefile | 1 + www/py-dj40-django-rich/Makefile | 24 ++++++++++++++++++++++++ www/py-dj40-django-rich/distinfo | 3 +++ www/py-dj40-django-rich/pkg-descr | 11 +++++++++++ 4 files changed, 39 insertions(+) diff --git a/www/Makefile b/www/Makefile index 223ba4a5800e..aa543da8da24 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1453,6 +1453,7 @@ SUBDIR += py-dj40-django-mptt SUBDIR += py-dj40-django-prometheus SUBDIR += py-dj40-django-redis + SUBDIR += py-dj40-django-rich SUBDIR += py-dj40-django-tables2 SUBDIR += py-dj40-django-taggit SUBDIR += py-dj40-django-timezone-field diff --git a/www/py-dj40-django-rich/Makefile b/www/py-dj40-django-rich/Makefile new file mode 100644 index 000000000000..57b0627288fe --- /dev/null +++ b/www/py-dj40-django-rich/Makefile @@ -0,0 +1,24 @@ +PORTNAME= django-rich +PORTVERSION= 1.4.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Extensions for using Rich with Django +WWW= https://github.com/adamchainz/django-rich + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=3.2:www/py-django40@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=10.0.0:textproc/py-rich@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist distutils + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + +NO_ARCH= yes + +.include diff --git a/www/py-dj40-django-rich/distinfo b/www/py-dj40-django-rich/distinfo new file mode 100644 index 000000000000..1f88129e0fba --- /dev/null +++ b/www/py-dj40-django-rich/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1657859577 +SHA256 (django-rich-1.4.0.tar.gz) = 10a5d9e9b62228b683d51584e4c2a5aa9f838176364a90c8cd79688aadca9f4c +SIZE (django-rich-1.4.0.tar.gz) = 58751 diff --git a/www/py-dj40-django-rich/pkg-descr b/www/py-dj40-django-rich/pkg-descr new file mode 100644 index 000000000000..19b9613667df --- /dev/null +++ b/www/py-dj40-django-rich/pkg-descr @@ -0,0 +1,11 @@ +This package provides Extensions for using Rich with the Django framework. + +These extensions consist of the following subclasses: + +* django_rich.management.RichCommand: + Subclass of Django’s BaseCommand class that sets its self.console to a + Rich Console. + +* django_rich.test.RichRunner: + Subclass of Django's DiscoverRunner with colourized outputs and nice + traceback rendering.