From nobody Sun Feb 05 15:55:54 2023 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 4P8vBM1p8qz3kTdG; Sun, 5 Feb 2023 15:55:55 +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 4P8vBL6mlXz4HVX; Sun, 5 Feb 2023 15:55:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675612554; 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=GpMHgqTioxN8tsJgR0dcti7vNmUT2WPZv50A4jhe0Wo=; b=D+wnh2qMQ08hCxH3tzdzXht+J9sfKNQaxl0vLbb9PpsL70j4YC8MQRB1ZZssdnxIwF/E/9 rwjnjAjjQZYXpp6gBNFqmQ4CJ+ZlFV7InBwA7ixPGiD8lh4KwAbIg9toXpPr6gJQ0/pUxh atRqsLk+8noOYMARQ4OjTDxFJ+QRP0rR0q5apPvbLYPfvtq/djQB9KW9eL+h8+sWPIPfba CyAXbILgP13HMn0d5t6G4Ed1kXN6SdjT/DwmVHCgoqNE3fXiAtdg2EPz2dofeDoDNGNs9R MFSBsP8ASklTJAhBgsv9yhLtVnQHZ2e4QUUxEF7Nk+4vRp4K/ooS6jCwKSNI4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675612554; 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=GpMHgqTioxN8tsJgR0dcti7vNmUT2WPZv50A4jhe0Wo=; b=AB1bZBIjaqwJZ8dUPcTNxnlBUkGymxRbkZazOFydkdfyq2nStqyc5QrWKm/W7zfgsq5ERh EkFGp7+6krHL1AmBmBgGSDOqk9jDCgS+Tv/7h/cve0cxXz6yVckdx/QlEdDybU/VrzNPKb 15ZR7K60cFg8VMTqPXlXafzdP1QmspVsNOEV8YNmg5uLIXSRC1CqGpx77vIo/npEYaHv3r 3uCNA8K+IrJ5q+lQtUZvZV7Ll28L23x9zkosPvnmfhee+AHVE6lIupTX8M2xmLdY4XLB+J +CZpKNRObzEBkIaBdow2c2AAiBLaNIvUF8Rf5rULTqm/hBXqOMCA4XL9nZsCFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675612554; a=rsa-sha256; cv=none; b=s8LDTC7HpnUIIcatvlh/3EW098EOUB+qgKPuaSRa93nZEQQ4ol3Xc9FqRTAEZem9qEMTEl w2m1ONNnpg4YHgPB17ZMO5KCgf+lw4YbttmwHcFZ0UXC3CMwHyA6FZ7mKyx0pWp8LpI8z7 kk3gq/TNw85oMQmV4vXjk5tdWXCrL1ya/pJDyUDEdKrtbIQJx0EsGXN0dr1JN+ym3WQtSX +L6G/loWnaXfx7BJLIqPbKkzqn4HTpteh87a9gG1Z/EVlU7yh7FccIm3PDK8P7i6nM/eFi qDTxgAXWXfTDkkR3/zRGAG3Uga+onJ0GvYLMy6ciuCPgJPHjepSbR2c1tHpxkg== 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 4P8vBL5m7Lz10pX; Sun, 5 Feb 2023 15:55:54 +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 315Fts5m031431; Sun, 5 Feb 2023 15:55:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 315FtsMq031430; Sun, 5 Feb 2023 15:55:54 GMT (envelope-from git) Date: Sun, 5 Feb 2023 15:55:54 GMT Message-Id: <202302051555.315FtsMq031430@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: 0a928f388161 - main - www/py-django-bleach: Allow build with py-bleach 6.0.0+ 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: 0a928f3881610045c81d449985b7fecf06ef97b0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a928f3881610045c81d449985b7fecf06ef97b0 commit 0a928f3881610045c81d449985b7fecf06ef97b0 Author: Po-Chuan Hsieh AuthorDate: 2023-02-05 15:19:51 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-02-05 15:48:07 +0000 www/py-django-bleach: Allow build with py-bleach 6.0.0+ - Bump PORTREVISION for package change --- www/py-django-bleach/Makefile | 3 ++- www/py-django-bleach/files/patch-bleach6 | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/www/py-django-bleach/Makefile b/www/py-django-bleach/Makefile index 197fddc5420f..2596c683e7cc 100644 --- a/www/py-django-bleach/Makefile +++ b/www/py-django-bleach/Makefile @@ -1,5 +1,6 @@ PORTNAME= django-bleach PORTVERSION= 3.0.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +12,7 @@ WWW= https://github.com/marksweb/django-bleach LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bleach>=5<6:www/py-bleach@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bleach>=5:www/py-bleach@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} USES= python:3.8+ diff --git a/www/py-django-bleach/files/patch-bleach6 b/www/py-django-bleach/files/patch-bleach6 new file mode 100644 index 000000000000..3e894a4e2716 --- /dev/null +++ b/www/py-django-bleach/files/patch-bleach6 @@ -0,0 +1,24 @@ +--- django_bleach/tests/test_forms.py.orig 2022-10-12 00:33:48 UTC ++++ django_bleach/tests/test_forms.py +@@ -147,7 +147,7 @@ class TestCustomWidget(TestCase): + no_tags = BleachField( + max_length=100, + strip_tags=True, +- allowed_tags=[] ++ allowed_tags={} + ) + no_strip = BleachField( + max_length=100, +--- testproject/models.py.orig 2022-10-12 00:33:48 UTC ++++ testproject/models.py +@@ -10,8 +10,8 @@ class Person(models.Model): + biography = BleachField( + max_length=100, + verbose_name='Person biography', +- allowed_tags=['p', 'a', 'li', 'ul', 'strong'], ++ allowed_tags={'p', 'a', 'li', 'ul', 'strong'}, + allowed_attributes=['class', 'href', 'style'], +- allowed_protocols=['http', 'https'], ++ allowed_protocols={'http', 'https'}, + css_sanitizer=CSSSanitizer(allowed_css_properties=['color', 'background-color']) + )