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

Collapse All | Expand All

(-)b/lamprop/Makefile (-13 / +9 lines)
Lines 1-8 Link Here
1
# $FreeBSD: head/science/lamprop/Makefile 486683 2018-12-05 16:38:39Z amdmi3 $
1
# $FreeBSD: head/science/lamprop/Makefile 486683 2018-12-05 16:38:39Z amdmi3 $
2
2
3
PORTNAME=	lamprop
3
PORTNAME=	lamprop
4
PORTVERSION=	3.4
4
PORTVERSION=	3.8
5
PORTREVISION=	1
6
CATEGORIES=	science python
5
CATEGORIES=	science python
7
6
8
MAINTAINER=	rsmith@xs4all.nl
7
MAINTAINER=	rsmith@xs4all.nl
Lines 12-32 LICENSE= BSD2CLAUSE Link Here
12
11
13
RUN_DEPENDS=	${PYNUMPY}
12
RUN_DEPENDS=	${PYNUMPY}
14
13
15
USES=		python:3.4+
14
USES=		python:3.6+
15
USE_PYTHON=	autoplist concurrent distutils
16
NO_ARCH=	yes
16
USE_GITHUB=	yes
17
USE_GITHUB=	yes
17
GH_ACCOUNT=	rsmith-nl
18
GH_ACCOUNT=	rsmith-nl
18
NO_ARCH=	yes
19
19
20
PLIST_FILES=	bin/lamprop \
20
PORTDOCS=	lamprop-manual.pdf
21
		man/man1/lamprop.1.gz \
22
		man/man5/lamprop.5.gz
23
21
24
do-build:
22
OPTIONS_DEFINE=	DOCS
25
	cd ${WRKSRC} && ${PYTHON_VERSION} build.py
26
23
27
do-install:
24
post-install-DOCS-on:
28
	${INSTALL_SCRIPT} ${WRKSRC}/lamprop ${STAGEDIR}${PREFIX}/bin
25
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
29
	${INSTALL_MAN} ${WRKSRC}/doc/lamprop.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
26
	${INSTALL_DATA} ${WRKSRC}/doc/lamprop-manual.pdf ${STAGEDIR}${DOCSDIR}
30
	${INSTALL_MAN} ${WRKSRC}/doc/lamprop.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
31
27
32
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)b/lamprop/distinfo (-2 / +2 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1513686957
1
TIMESTAMP = 1513686957
2
SHA256 (rsmith-nl-lamprop-3.4_GH0.tar.gz) = 25ddfe2e110d01a9894f8d4694352377903b7a24df4f5a6127acfe3fc1eb82dc
2
SHA256 (rsmith-nl-lamprop-3.8_GH0.tar.gz) = 486baf72e0b94f27a31926611a155da6df26cd04a79517d53480083be5da574f
3
SIZE (rsmith-nl-lamprop-3.4_GH0.tar.gz) = 53081
3
SIZE (rsmith-nl-lamprop-3.8_GH0.tar.gz) = 221538
(-)a/lamprop/files/patch-build.py (-11 lines)
Removed Link Here
1
--- build.py.orig	2018-03-13 08:20:32 UTC
2
+++ build.py
3
@@ -28,7 +28,7 @@ def mkarchive(name, modules, main='__mai
4
     """
5
     std = '__main__.py'
6
     vi = sys.version_info
7
-    shebang = '#!/usr/bin/env python{}\n'.format(vi.major).encode('ascii')
8
+    shebang = '#!/usr/bin/env python{}.{}\n'.format(vi.major, vi.minor).encode('ascii')
9
     if isinstance(modules, str):
10
         modules = [modules]
11
     if main != std:

Return to bug 233809