From nobody Sun Feb 27 11:18:37 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 5657E19D5F43; Sun, 27 Feb 2022 11:18:38 +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 4K61Gk0NNvz3MZ0; Sun, 27 Feb 2022 11:18:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645960718; 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=nYHInhNjyMerg8DOxcc7Dz4juewqsrk7FBvym9DTuPo=; b=j1gI6wDkC5aGHJq3iCHo4B5mR5N1xeNuVvHbP0HNqmXmDACt+A5p5Oscl+LZx9lOvKKcrU uBWsl8kjKJP2lGetS9gcKzeSleU9HRQaL62e8sBeRTUBtINL7MdNBPBte7GABd/zZSARXK TMJkrmoHEq2/D4Kt3vUgY4zkNmlSNsWSIiZUbWErDR2PmNvbfyVxY4Ipg/ZA0nyjuE9nKW 1AD6UUQdlk0DwmDEokPW8aIhPaPnyswMmuJ91FbqS4ffKKhiXsoo7GuNsQrrzeId67kuEi W5L4+eFLx3nWVnGojEBLNAOqIKwTBTQJLb1+kX3CL6cNjD08+Tj+EeP9Nb16Dg== 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 CB3162632E; Sun, 27 Feb 2022 11:18:37 +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 21RBIbhc094298; Sun, 27 Feb 2022 11:18:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21RBIbdA094297; Sun, 27 Feb 2022 11:18:37 GMT (envelope-from git) Date: Sun, 27 Feb 2022 11:18:37 GMT Message-Id: <202202271118.21RBIbdA094297@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: f2333fd24eb4 - main - www/py-django-dpaste: Update to 3.5 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f2333fd24eb4622ceb284368b1c84dc28903626a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645960718; 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=nYHInhNjyMerg8DOxcc7Dz4juewqsrk7FBvym9DTuPo=; b=u27Vvwg1hqmDEbXlOPQ+2uTeAlP9Gs2RNWGJRDZc23FQWWsSXzul4GJpIlylXy2K4TFLJr vsI97jlV+QEPNlo6aBgahVonKh79nfWPM2foxSKK8cZjJOdk3KbJH0pROacZqbftUdNpoR RMHDFcnKMFtBlmlceFkW1TPP50uyFLVYJhA+yxo/ojnS3FpaNNncAanFVnSONYT40ImwQ3 OsVm8PcWKiSdUIxCE3efxlsIejsUhBnUhNWlFBu0xo6LAuE345LCP+aZIrAdgb9dcPd4uF OGRVj8OlC2aDEn+tgfru3iSxsWskDzWnQlhDD1tFAUi50oex8p2P0e4ZCPrvrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645960718; a=rsa-sha256; cv=none; b=TujM4m1qd6zNaRJD5bCun0NbrcSbMjB/1D6ixalX60uA/iDDRakxJ2xZsHHGMiStD+vaNI Rc1rk62UfMjCHa4uBLb8mRh1J7Ravxb+2Ix4bvtuslEYFUe0gebQBiwG7sFASuw19EdFKO QoU3OZ+/9aRzA5oJn5JYUVdxoT1QahJE7OLvHSjuw9i9AsyUM4zwS4Gn2qt8/7ve8ZRU1s V0MKvmDR72ouRtbnSWiIqgDjQLmbbDDvLWwH1zWVccKsMV3lukgggMLwu4Qhf7DSO7DUUo XAyjqNmpH9J3pjGUoJkZ3ISyoUjGRSWFn77dLPSTVhm8XU5aqlq3SEbgpzuFCQ== 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=f2333fd24eb4622ceb284368b1c84dc28903626a commit f2333fd24eb4622ceb284368b1c84dc28903626a Author: Kai Knoblich AuthorDate: 2022-02-27 11:11:27 +0000 Commit: Kai Knoblich CommitDate: 2022-02-27 11:11:27 +0000 www/py-django-dpaste: Update to 3.5 * Set Python 3.10 as upper limit because there are incompatibilities with Python 3.11. * Update WWW field as the upstream repository got a new maintainer. Changelog: https://github.com/DarrenOfficial/dpaste/compare/v3.3.1...v3.5 PR: 262061 Approved by: koobs (maintainer) MFH: No (requires newer version of py-jsx-lexer) --- www/py-django-dpaste/Makefile | 23 +++++++++++++---------- www/py-django-dpaste/distinfo | 6 +++--- www/py-django-dpaste/files/patch-setup.cfg | 16 ---------------- www/py-django-dpaste/pkg-descr | 2 +- 4 files changed, 17 insertions(+), 30 deletions(-) diff --git a/www/py-django-dpaste/Makefile b/www/py-django-dpaste/Makefile index 7fb59b7839b6..6fd59a263319 100644 --- a/www/py-django-dpaste/Makefile +++ b/www/py-django-dpaste/Makefile @@ -1,8 +1,7 @@ # Created by: Kubilay Kocak PORTNAME= dpaste -PORTVERSION= 3.3.1 -PORTREVISION= 1 +PORTVERSION= 3.5 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django- @@ -13,21 +12,25 @@ COMMENT= Django based pastebin for text and code LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}django-csp>=3.3:www/py-django-csp@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj-database-url>=0.5.0:www/py-dj-database-url@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}django-csp>=3.6:www/py-django-csp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-staticinline>=1.0:www/py-django-staticinline@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}jsx-lexer>=0.0.7:textproc/py-jsx-lexer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}misaka>=2.1.0:textproc/py-misaka@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}jsx-lexer>=0.0.8:textproc/py-jsx-lexer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}misaka>=2.1.0:textproc/py-misaka@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-django>0:devel/py-pytest-django@${PY_FLAVOR} -USES= python:3.4+ +USES= python:3.6-3.10 USE_PYTHON= distutils autoplist +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + NO_ARCH= yes do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} runtests.py + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs --ds=dpaste.settings.tests -o addopts= .include diff --git a/www/py-django-dpaste/distinfo b/www/py-django-dpaste/distinfo index ed0d0cde46bf..e3a720dd9869 100644 --- a/www/py-django-dpaste/distinfo +++ b/www/py-django-dpaste/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1567751862 -SHA256 (dpaste-3.3.1.tar.gz) = 398bd5522fbaf7dde93ebaa224e033d0c7e5ecd70d3f32b275d80a978db0196a -SIZE (dpaste-3.3.1.tar.gz) = 218357 +TIMESTAMP = 1644784695 +SHA256 (dpaste-3.5.tar.gz) = cbcb510a533fcd78e71ca828a2f59b952ed0f4376ca23707652db9f837b19818 +SIZE (dpaste-3.5.tar.gz) = 216749 diff --git a/www/py-django-dpaste/files/patch-setup.cfg b/www/py-django-dpaste/files/patch-setup.cfg deleted file mode 100644 index aa2d71226348..000000000000 --- a/www/py-django-dpaste/files/patch-setup.cfg +++ /dev/null @@ -1,16 +0,0 @@ -From 02a6812c80a7471cffd0e82b5093ac6e7a783bcd Mon Sep 17 00:00:00 2001 -From: Martin Mahner -Date: Wed, 8 Jan 2020 13:12:28 +0100 -Subject: [PATCH] Dependency updates and cleanup. - ---- setup.cfg.orig 2020-09-28 02:16:26 UTC -+++ setup.cfg -@@ -35,7 +35,7 @@ install_requires = - django-staticinline>=1.0 - django-csp>=3.3 - -- jsx-lexer==0.0.7 -+ jsx-lexer>=0.0.7 - misaka>=2.1.0 - docutils - diff --git a/www/py-django-dpaste/pkg-descr b/www/py-django-dpaste/pkg-descr index 2f4f77f1dda9..59934a9be28a 100644 --- a/www/py-django-dpaste/pkg-descr +++ b/www/py-django-dpaste/pkg-descr @@ -2,4 +2,4 @@ dpaste is a Django based pastebin. It's intended to run separately but its also possible to be installed into an existing Django project like a regular app. You can find a live example on dpaste.de -WWW: https://github.com/bartTC/dpaste +WWW: https://github.com/DarrenOfficial/dpaste