View | Details | Raw Unified | Return to bug 262061
Collapse All | Expand All

(-)b/www/py-django-dpaste/Makefile (-10 / +13 lines)
Lines 1-8 Link Here
1
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
1
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
2
2
3
PORTNAME=	dpaste
3
PORTNAME=	dpaste
4
PORTVERSION=	3.3.1
4
PORTVERSION=	3.5
5
PORTREVISION=	1
6
CATEGORIES=	www python
5
CATEGORIES=	www python
7
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}django-
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}django-
Lines 13-33 COMMENT= Django based pastebin for text and code Link Here
13
LICENSE=	MIT
12
LICENSE=	MIT
14
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
15
14
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}dj-database-url>=0.5.0:www/py-dj-database-url@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}django-csp>=3.6:www/py-django-csp@${PY_FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}django-csp>=3.3:www/py-django-csp@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}django-staticinline>=1.0:www/py-django-staticinline@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}django-staticinline>=1.0:www/py-django-staticinline@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}jsx-lexer>=0.0.7:textproc/py-jsx-lexer@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}misaka>=2.1.0:textproc/py-misaka@${PY_FLAVOR}
20
		${PYTHON_PKGNAMEPREFIX}jsx-lexer>=0.0.8:textproc/py-jsx-lexer@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}misaka>=2.1.0:textproc/py-misaka@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR}
23
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}pytest-django>0:devel/py-pytest-django@${PY_FLAVOR}
24
25
25
USES=		python:3.4+
26
USES=		python:3.6-3.10
26
USE_PYTHON=	distutils autoplist
27
USE_PYTHON=	distutils autoplist
27
28
29
TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
30
28
NO_ARCH=	yes
31
NO_ARCH=	yes
29
32
30
do-test:
33
do-test:
31
	@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py
34
	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs --ds=dpaste.settings.tests -o addopts=
32
35
33
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)b/www/py-django-dpaste/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1567751862
1
TIMESTAMP = 1644784695
2
SHA256 (dpaste-3.3.1.tar.gz) = 398bd5522fbaf7dde93ebaa224e033d0c7e5ecd70d3f32b275d80a978db0196a
2
SHA256 (dpaste-3.5.tar.gz) = cbcb510a533fcd78e71ca828a2f59b952ed0f4376ca23707652db9f837b19818
3
SIZE (dpaste-3.3.1.tar.gz) = 218357
3
SIZE (dpaste-3.5.tar.gz) = 216749
(-)a/www/py-django-dpaste/files/patch-setup.cfg (-16 lines)
Removed Link Here
1
From 02a6812c80a7471cffd0e82b5093ac6e7a783bcd Mon Sep 17 00:00:00 2001
2
From: Martin Mahner <martin@mahner.org>
3
Date: Wed, 8 Jan 2020 13:12:28 +0100
4
Subject: [PATCH] Dependency updates and cleanup.
5
6
--- setup.cfg.orig	2020-09-28 02:16:26 UTC
7
+++ setup.cfg
8
@@ -35,7 +35,7 @@ install_requires = 
9
 	django-staticinline>=1.0
10
 	django-csp>=3.3
11
 	
12
-	jsx-lexer==0.0.7
13
+	jsx-lexer>=0.0.7
14
 	misaka>=2.1.0
15
 	docutils
16
 	
(-)b/www/py-django-dpaste/pkg-descr (-1 / +1 lines)
Lines 2-5 dpaste is a Django based pastebin. It's intended to run separately but its Link Here
2
also possible to be installed into an existing Django project like a regular
2
also possible to be installed into an existing Django project like a regular
3
app. You can find a live example on dpaste.de
3
app. You can find a live example on dpaste.de
4
4
5
WWW: https://github.com/bartTC/dpaste
5
WWW: https://github.com/DarrenOfficial/dpaste

Return to bug 262061