git: ea42a77ef993 - main - devel/py-gpxpy: New port: Python library for parsing and manipulating GPX files

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Fri, 04 Feb 2022 18:05:41 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ea42a77ef99382ec74215a529df5ea0cbd713716

commit ea42a77ef99382ec74215a529df5ea0cbd713716
Author:     Steven Lawrance <stl@koffein.net>
AuthorDate: 2022-02-04 09:25:00 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-02-04 18:05:09 +0000

    devel/py-gpxpy: New port: Python library for parsing and manipulating GPX files
    
    GPXPY is a simple Python library for parsing and manipulating GPX files.
    GPX is an XML based format for GPS tracks.
    
    WWW: https://pypi.org/project/gpxpy/
    
    PR:             261709
    Reported by:    Steven Lawrance <stl@koffein.net>
---
 devel/Makefile           |  1 +
 devel/py-gpxpy/Makefile  | 17 +++++++++++++++++
 devel/py-gpxpy/distinfo  |  3 +++
 devel/py-gpxpy/pkg-descr |  4 ++++
 4 files changed, 25 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 5872e89abb21..c67158dd2da1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4580,6 +4580,7 @@
     SUBDIR += py-google-pasta
     SUBDIR += py-google-re2
     SUBDIR += py-googleapis-common-protos
+    SUBDIR += py-gpxpy
     SUBDIR += py-grab
     SUBDIR += py-graphene
     SUBDIR += py-graphene-django
diff --git a/devel/py-gpxpy/Makefile b/devel/py-gpxpy/Makefile
new file mode 100644
index 000000000000..ad02f2ef39e1
--- /dev/null
+++ b/devel/py-gpxpy/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	gpxpy
+PORTVERSION=	1.5.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	stl@koffein.net
+COMMENT=	Python library for parsing and manipulating GPX files
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		python:3.6+
+USE_PYTHON=	distutils autoplist
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-gpxpy/distinfo b/devel/py-gpxpy/distinfo
new file mode 100644
index 000000000000..16eccfcca64a
--- /dev/null
+++ b/devel/py-gpxpy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1643997847
+SHA256 (gpxpy-1.5.0.tar.gz) = e6993a8945eae07a833cd304b88bbc6c3c132d63b2bf4a9b0a5d9097616b8708
+SIZE (gpxpy-1.5.0.tar.gz) = 111597
diff --git a/devel/py-gpxpy/pkg-descr b/devel/py-gpxpy/pkg-descr
new file mode 100644
index 000000000000..933cb2337c77
--- /dev/null
+++ b/devel/py-gpxpy/pkg-descr
@@ -0,0 +1,4 @@
+This is a simple Python library for parsing and manipulating GPX files.
+GPX is an XML based format for GPS tracks.
+
+WWW: https://pypi.org/project/gpxpy/