View | Details | Raw Unified | Return to bug 242694 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/py-httmock/Makefile (-15 / +4 lines)
Lines 3-21 Link Here
3
PORTNAME=	httmock
3
PORTNAME=	httmock
4
PORTVERSION=	1.3.0
4
PORTVERSION=	1.3.0
5
CATEGORIES=	www python
5
CATEGORIES=	www python
6
MASTER_SITES=	CHEESESHOP \
6
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
7
		https://raw.githubusercontent.com/patrys/${PORTNAME}/${PORTVERSION}/:tests
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
10
		tests.py:tests
11
DIST_SUBDIR=	py-${PORTNAME}
12
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
13
7
14
MAINTAINER=	dereks@lifeofadishwasher.com
8
MAINTAINER=	dereks@lifeofadishwasher.com
15
COMMENT=	Mocking library for requests
9
COMMENT=	Mocking library for requests
16
10
17
BROKEN=		unfetchable
18
19
LICENSE=	APACHE20
11
LICENSE=	APACHE20
20
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
21
13
Lines 24-36 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR} Link Here
24
USES=		python
16
USES=		python
25
USE_PYTHON=	distutils autoplist
17
USE_PYTHON=	distutils autoplist
26
18
27
NO_ARCH=	yes
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	patrys
28
21
29
# Description: tests.py is missing from the pypi package
22
NO_ARCH=	yes
30
# Issue ID: https://github.com/patrys/httmock/issues/55
31
# TODO: Remove extra MASTER_SITES, DISTFILES/SUBDIR, EXTRACT_ONLY, post-extract
32
post-extract:
33
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/tests.py ${WRKSRC}
34
23
35
do-test:
24
do-test:
36
	cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
25
	cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
(-)b/www/py-httmock/distinfo (-6 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1548775891
1
TIMESTAMP = 1576633367
2
SHA256 (py-httmock/httmock-1.3.0.tar.gz) = e0bbaced224426bcd994a5f1c64ab60e0c923ea615825c53e6c0190b2a7341fe
2
SHA256 (patrys-httmock-1.3.0_GH0.tar.gz) = 4716729f0d07f3f6043dde43545a5381c4c6031a62e9dc9eed21e73c63d86722
3
SIZE (py-httmock/httmock-1.3.0.tar.gz) = 4428
3
SIZE (patrys-httmock-1.3.0_GH0.tar.gz) = 6186
4
SHA256 (py-httmock/tests.py) = 544bcd2a837b7493df8062b16611de4e53fc2761ffa25e9553a2ffdbc0972d2c
5
SIZE (py-httmock/tests.py) = 11680
6
- 

Return to bug 242694