Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2016 22:44:41 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428160 - head/graphics/py-pyproj
Message-ID:  <201612082244.uB8Mif9F017371@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Thu Dec  8 22:44:41 2016
New Revision: 428160
URL: https://svnweb.freebsd.org/changeset/ports/428160

Log:
  Update to 1.9.5.1
  Unbreak fetch
  Add LICENSE (MIT)
  Use ports version of graphics/proj instead of bundled version
  Update pkg-descr/WWW
  
  PR:		210534 (based on)
  Submitted by:	<fmysh@iijmio-mail.jp> (maintainer)
  Reported by:	Dusan Vejnovic <freebsd@dussan.org>

Modified:
  head/graphics/py-pyproj/Makefile
  head/graphics/py-pyproj/distinfo
  head/graphics/py-pyproj/pkg-descr

Modified: head/graphics/py-pyproj/Makefile
==============================================================================
--- head/graphics/py-pyproj/Makefile	Thu Dec  8 22:01:03 2016	(r428159)
+++ head/graphics/py-pyproj/Makefile	Thu Dec  8 22:44:41 2016	(r428160)
@@ -2,29 +2,39 @@
 # $FreeBSD$
 
 PORTNAME=	pyproj
-PORTVERSION=	1.9.3
+PORTVERSION=	1.9.5.1
 CATEGORIES=	graphics python geography
-MASTER_SITES=	GOOGLE_CODE
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	fmysh@iijmio-mail.jp
-COMMENT=	Pyrex wrapper to provide python interfaces to PROJ.4
+COMMENT=	Cython wrapper to provide python interfaces to PROJ.4 functions
 
-BROKEN=		Unfetchable (google code has gone away)
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libproj.so:graphics/proj
 
-WRKSRC=		${WRKDIR}/${DISTNAME:C/[a-z]$//}
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist concurrent
+
+MAKE_ENV=	PROJ_DIR=${LOCALBASE}
 
-PORTDOCS=	Changelog README LICENSE_proj4
+PORTDOCS=	*
+PORTDOCS1=	Changelog README.md docs/*
 PORTEXAMPLES=	datum_shift.py geodtest.py sample.out \
-		test.py test2.py test_transform.py
+		test.py test2.py test_datum.py test_transform.py
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_proj.so
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${PORTDOCS1:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/test/,} ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/graphics/py-pyproj/distinfo
==============================================================================
--- head/graphics/py-pyproj/distinfo	Thu Dec  8 22:01:03 2016	(r428159)
+++ head/graphics/py-pyproj/distinfo	Thu Dec  8 22:44:41 2016	(r428160)
@@ -1,2 +1,3 @@
-SHA256 (pyproj-1.9.3.tar.gz) = 912ed86c5e407f091d0f3d076594af4fb569e27c68199b7d71651edd522aaa0c
-SIZE (pyproj-1.9.3.tar.gz) = 2687498
+TIMESTAMP = 1481180431
+SHA256 (pyproj-1.9.5.1.tar.gz) = 53fa54c8fa8a1dfcd6af4bf09ce1aae5d4d949da63b90570ac5ec849efaf3ea8
+SIZE (pyproj-1.9.5.1.tar.gz) = 4424543

Modified: head/graphics/py-pyproj/pkg-descr
==============================================================================
--- head/graphics/py-pyproj/pkg-descr	Thu Dec  8 22:01:03 2016	(r428159)
+++ head/graphics/py-pyproj/pkg-descr	Thu Dec  8 22:44:41 2016	(r428160)
@@ -1,8 +1,24 @@
-Pyrex wrapper to provide python interfaces to
-PROJ.4 (http://proj.maptools.org) functions.
+Cython wrapper to provide python interfaces to PROJ.4 functions.
 
-Performs cartographic transformations (converts from longitude,latitude
-to native map projection x,y coordinates and vice versa, or from
-one map projection coordinate system directly to another).
+Performs cartographic transformations and geodetic computations.
 
-WWW: http://code.google.com/p/pyproj
+The Proj class can convert from geographic (longitude,latitude)
+to native map projection (x,y) coordinates and vice versa, or
+from one map projection coordinate system directly to another. 
+The module variable pj_list is a dictionary containing all the
+available projections and their descriptions.
+
+The Geod class can perform forward and inverse geodetic, or
+Great Circle, computations. The forward computation involves
+determining latitude, longitude and back azimuth of a terminus
+point given the latitude and longitude of an initial point,
+plus azimuth and distance. The inverse computation involves
+determining the forward and back azimuths and distance given
+the latitudes and longitudes of an initial and terminus point.
+
+Input coordinates can be given as python arrays, lists/tuples,
+scalars or numpy/Numeric/numarray arrays. Optimized for objects
+that support the Python buffer protocol (regular python and
+numpy array objects).
+
+WWW: https://github.com/jswhit/pyproj



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612082244.uB8Mif9F017371>