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

(-)Makefile (-8 / +22 lines)
Lines 2-28 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	pyproj
4
PORTNAME=	pyproj
5
PORTVERSION=	1.9.3
5
PORTVERSION=	1.9.5.1
6
CATEGORIES=	graphics python geography
6
CATEGORIES=	graphics python geography
7
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
9
10
MAINTAINER=	fmysh@iijmio-mail.jp
10
MAINTAINER=	fmysh@iijmio-mail.jp
11
COMMENT=	Pyrex wrapper to provide python interfaces to PROJ.4
11
COMMENT=	Cython wrapper to provide python interfaces to PROJ.4 functions
12
12
13
WRKSRC=		${WRKDIR}/${DISTNAME:C/[a-z]$//}
13
LICENSE=	pyproj
14
LICENSE_NAME=	pyproj License
15
LICENSE_FILE=	${WRKSRC}/LICENSE
16
LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
17
18
# Use not bundled Proj.4 but port one
19
MAKE_ENV+=	PROJ_DIR=${LOCALBASE}
20
LIB_DEPENDS+=	libproj.so:graphics/proj
21
14
USES=		python
22
USES=		python
15
USE_PYTHON=	distutils autoplist
23
USE_PYTHON=	distutils autoplist concurrent
16
24
17
PORTDOCS=	Changelog README LICENSE_proj4
25
PORTDOCS=	Changelog README.md docs/*
18
PORTEXAMPLES=	datum_shift.py geodtest.py sample.out \
26
PORTEXAMPLES=	datum_shift.py geodtest.py sample.out \
19
		test.py test2.py test_transform.py
27
		test.py test2.py test_datum.py test_transform.py
20
28
21
OPTIONS_DEFINE=	DOCS EXAMPLES
29
OPTIONS_DEFINE=	DOCS EXAMPLES
22
30
23
post-install:
31
DOCS_BUILD_DEPENDS+=	epydoc:devel/epydoc
32
33
post-install-DOCS-on:
24
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
34
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
25
	${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
35
	${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
36
	(cd ${WRKSRC}; ${SETENV} PYTHONPATH=${STAGEDIR}/${PYTHON_SITELIBDIR} ${SH} create_docs.sh)
37
	(cd ${WRKSRC}/docs; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/docs)
38
39
post-install-EXAMPLES-on:
26
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
40
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
27
	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/test/,} ${STAGEDIR}${EXAMPLESDIR}
41
	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/test/,} ${STAGEDIR}${EXAMPLESDIR}
28
42
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (pyproj-1.9.3.tar.gz) = 912ed86c5e407f091d0f3d076594af4fb569e27c68199b7d71651edd522aaa0c
1
TIMESTAMP = 1465267302
2
SIZE (pyproj-1.9.3.tar.gz) = 2687498
2
SHA256 (pyproj-1.9.5.1.tar.gz) = 53fa54c8fa8a1dfcd6af4bf09ce1aae5d4d949da63b90570ac5ec849efaf3ea8
3
SIZE (pyproj-1.9.5.1.tar.gz) = 4424543
(-)pkg-descr (-6 / +22 lines)
Lines 1-8 Link Here
1
Pyrex wrapper to provide python interfaces to
1
Cython wrapper to provide python interfaces to PROJ.4 functions.
2
PROJ.4 (http://proj.maptools.org) functions.
3
2
4
Performs cartographic transformations (converts from longitude,latitude
3
Performs cartographic transformations and geodetic computations.
5
to native map projection x,y coordinates and vice versa, or from
6
one map projection coordinate system directly to another).
7
4
8
WWW: http://code.google.com/p/pyproj
5
The Proj class can convert from geographic (longitude,latitude)
6
to native map projection (x,y) coordinates and vice versa, or
7
from one map projection coordinate system directly to another. 
8
The module variable pj_list is a dictionary containing all the
9
available projections and their descriptions.
10
11
The Geod class can perform forward and inverse geodetic, or
12
Great Circle, computations. The forward computation involves
13
determining latitude, longitude and back azimuth of a terminus
14
point given the latitude and longitude of an initial point,
15
plus azimuth and distance. The inverse computation involves
16
determining the forward and back azimuths and distance given
17
the latitudes and longitudes of an initial and terminus point.
18
19
Input coordinates can be given as python arrays, lists/tuples,
20
scalars or numpy/Numeric/numarray arrays. Optimized for objects
21
that support the Python buffer protocol (regular python and
22
numpy array objects).
23
24
WWW: https://github.com/jswhit/pyproj

Return to bug 210534