From nobody Mon Apr 18 00:00:21 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 4056C11CE055; Mon, 18 Apr 2022 00:00:23 +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 4KhRs15tSbz4YRZ; Mon, 18 Apr 2022 00:00:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240021; 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=a/hzLeghtpAGms5DgrX+5dn7irv79BHOxrhlyc0G1uc=; b=EXX2oG0lS/olWSW5QzZX5LD9ZdeyE1/wGF5gUssZVi+23w9aKFimTth61toRKGXgwBkHpY 7/OnVFfKE0Ul+JTYjxRm84WqjcKyFChxsqDKZ69yTJ/CZjvci9ZrdbKRzbL8mGKB/kRFIk jHLwRXXsnPsFnJcRXClw8CfEE20j8wSbD4BTb2yGb3kY+uVC8wmpqZBluwK8iXknQWk3nZ 1NxlA92t62oM+PDu5jCQt/YgqsgEUvk2HrvjP0EYpzqnUBVjslt73P10SuOe0mxtBE9z+G T31d0dbdsy68LJjsclhiew5aa1WCdUfG1qiqlfvC2cDCQaJ5PZvgwm10fP30kw== 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 7E3F327E03; Mon, 18 Apr 2022 00:00:21 +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 23I00LA8037342; Mon, 18 Apr 2022 00:00:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23I00Lxe037336; Mon, 18 Apr 2022 00:00:21 GMT (envelope-from git) Date: Mon, 18 Apr 2022 00:00:21 GMT Message-Id: <202204180000.23I00Lxe037336@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: 860a430bacc9 - main - www/py-django-bleach: Add py-django-bleach 2.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: 860a430bacc9528f6d9ac366ddcf4a29dd4279ea Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240021; 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=a/hzLeghtpAGms5DgrX+5dn7irv79BHOxrhlyc0G1uc=; b=B4SzOUmb5MsCMSCyw5M5Cx3uAxulXUgJDe9jn4mnTBhTaPyoPPOScRT5PfRAwL00V21K50 q/WEHfgmfrn4aC7m2XWw/p5kL3RXnbLhmeMIbRr9sgKcyNpQxG7FfDpYEDFRF2S6FWKl2x yFm/za2dm48zS9hSwoLaS9NvGBsZybddUq/aNPJnKLZUzNz8yWcdtJ+sGOI9WuFBjmKsSl F+biroHZpgoCClJwS2V7RVJonlfViP4HTgpUlRKWyrvQLqAr7E8+vhjrhUnCJyqtCZqwu9 t82hb93forzeYPPL26gvjfhFvf/KCQyOTe8+6bkPudjEMscc4y6HXt6cr1TyXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650240021; a=rsa-sha256; cv=none; b=klVuWRIp9wRZJfv7d5dzcP0D7caOuoVm9B+HmaWqKBp5ydQtge6xDvrmKz5YYtUVyHH1Us y+uEhm0F+S54yF47wiR/Nq6U+j2I+k5P9idABt5Qbi7Defm8NIMMr9T2Cbiadjh4AjJu6j /v6xD2wRDGvC5GQhXrKlb0kmEZ5FHl6/8rAfegfQ28x/nfsMswsVCiIvWeIxAPv5PBJC0p 7YRv9C95ACMGE2SSi+WjPyABztgO2iYTP0oqlItYpbKWQONQU8OL2szHzyP5YyTty+F1td h1LWXf0IbjIYD1aDOhmV4xTHZ13VZoY8OCrXEVh2YyGn3yrrRoRYVtGKu7QlIg== 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=860a430bacc9528f6d9ac366ddcf4a29dd4279ea commit 860a430bacc9528f6d9ac366ddcf4a29dd4279ea Author: Po-Chuan Hsieh AuthorDate: 2022-04-17 23:39:21 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-17 23:39:21 +0000 www/py-django-bleach: Add py-django-bleach 2.0.0 Bleach is a Python module that takes any HTML input, and returns valid, sanitised HTML that contains only an allowed subset of HTML tags, attributes and styles. django-bleach is a Django app that makes using bleach extremely easy. WWW: https://github.com/marksweb/django-bleach --- www/Makefile | 1 + www/py-django-bleach/Makefile | 23 +++++++++++++++++++++++ www/py-django-bleach/distinfo | 3 +++ www/py-django-bleach/pkg-descr | 5 +++++ 4 files changed, 32 insertions(+) diff --git a/www/Makefile b/www/Makefile index 1f363aaca031..14ed26efe9cf 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1481,6 +1481,7 @@ SUBDIR += py-django-babel SUBDIR += py-django-bakery SUBDIR += py-django-bitfield + SUBDIR += py-django-bleach SUBDIR += py-django-bootstrap-form SUBDIR += py-django-bootstrap-pagination SUBDIR += py-django-bootstrap3 diff --git a/www/py-django-bleach/Makefile b/www/py-django-bleach/Makefile new file mode 100644 index 000000000000..dd3ba9a09acf --- /dev/null +++ b/www/py-django-bleach/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= django-bleach +PORTVERSION= 2.0.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Easily use bleach with Django models and templates + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bleach>=1.5.0<5:www/py-bleach@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}django32>=1.11:www/py-django32@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/www/py-django-bleach/distinfo b/www/py-django-bleach/distinfo new file mode 100644 index 000000000000..541195c42631 --- /dev/null +++ b/www/py-django-bleach/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650228656 +SHA256 (django-bleach-2.0.0.tar.gz) = 377102902d84c52fda320389aeb5225336fd8d3067d8095651eb1443813c650f +SIZE (django-bleach-2.0.0.tar.gz) = 20817 diff --git a/www/py-django-bleach/pkg-descr b/www/py-django-bleach/pkg-descr new file mode 100644 index 000000000000..da95ffd3e56b --- /dev/null +++ b/www/py-django-bleach/pkg-descr @@ -0,0 +1,5 @@ +Bleach is a Python module that takes any HTML input, and returns valid, +sanitised HTML that contains only an allowed subset of HTML tags, attributes and +styles. django-bleach is a Django app that makes using bleach extremely easy. + +WWW: https://github.com/marksweb/django-bleach