Bug 228665 - [NEW PORT] graphics/py-fiona, devel/py-cligj and devel/py-munch
Summary: [NEW PORT] graphics/py-fiona, devel/py-cligj and devel/py-munch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wen Heping
URL: https://github.com/Toblerity/Fiona
Keywords: easy, patch-ready
Depends on:
Blocks:
 
Reported: 2018-06-01 20:42 UTC by Loïc Bartoletti
Modified: 2018-06-27 12:35 UTC (History)
1 user (show)

See Also:
lbartoletti: maintainer-feedback+


Attachments
fiona 1.7.11 (3.12 KB, patch)
2018-06-01 20:42 UTC, Loïc Bartoletti
lbartoletti: maintainer-approval+
Details | Diff
munch 2.2.0 (2.33 KB, patch)
2018-06-01 20:42 UTC, Loïc Bartoletti
lbartoletti: maintainer-approval+
Details | Diff
py-cligj 0.4.0 (2.30 KB, patch)
2018-06-01 20:43 UTC, Loïc Bartoletti
lbartoletti: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Bartoletti 2018-06-01 20:42:04 UTC
Created attachment 193899 [details]
fiona 1.7.11

Description:
Fiona is designed to be simple and dependable. It focuses on reading and writing data in standard Python IO style and relies upon familiar Python types and protocols such as files, dictionaries, mappings, and iterators instead of classes specific to OGR. Fiona can read and write real-world data using multi-layered GIS formats and zipped virtual file systems and integrates readily with other Python GIS packages such as pyproj, Rtree, and Shapely. Fiona is supported only on CPython versions 2.7 and 3.4+.

Poudriere 10/11 i386/amd64 OK
portlint WARN for PY_ENUM34: WARN: Makefile: you may want directory for dependency py27-enum34>0 to be devel/py-enum34:@${FLAVOR}

Adds two required ports: devel/py-munch and devel/py-cligj

devel/py-munch 
https://github.com/Infinidat/munch
munch is a fork of David Schoonover's Bunch package, providing similar functionality. 99% of the work was done by him, and the fork was made mainly for lack of responsiveness for fixes and maintenance on the original code.

Munch is a dictionary that supports attribute-style access, a la JavaScript.


devel/py-cligj
https://github.com/mapbox/cligj
Common arguments and options for GeoJSON processing commands, using Click.

cligj is for Python developers who create command line interfaces for geospatial data. cligj allows you to quickly build consistent, well-tested and interoperable CLIs for handling GeoJSON.
Comment 1 Loïc Bartoletti 2018-06-01 20:42:52 UTC
Created attachment 193900 [details]
munch 2.2.0
Comment 2 Loïc Bartoletti 2018-06-01 20:43:19 UTC
Created attachment 193901 [details]
py-cligj 0.4.0
Comment 3 commit-hook freebsd_committer 2018-06-02 23:57:06 UTC
A commit references this bug:

Author: wen
Date: Sat Jun  2 23:56:33 UTC 2018
New revision: 471434
URL: https://svnweb.freebsd.org/changeset/ports/471434

Log:
  munch is a fork of David Schoonover's Bunch package, providing similar
  functionality. 99% of the work was done by him, and the fork was made mainly
  for lack of responsiveness for fixes and maintenance on the original code.

  Munch is a dictionary that supports attribute-style access, a la JavaScript.

  WWW: https://pypi.python.org/pypi/munch

  PR:		228665
  Submitted by:	lbartoletti@tuxfamily.org

Changes:
  head/devel/Makefile
  head/devel/py-munch/
  head/devel/py-munch/Makefile
  head/devel/py-munch/distinfo
  head/devel/py-munch/pkg-descr
Comment 4 commit-hook freebsd_committer 2018-06-03 01:39:28 UTC
A commit references this bug:

Author: wen
Date: Sun Jun  3 01:39:13 UTC 2018
New revision: 471439
URL: https://svnweb.freebsd.org/changeset/ports/471439

Log:
  Common arguments and options for GeoJSON processing commands, using Click.

  cligj is for Python developers who create command line interfaces for
  geospatial data. cligj allows you to quickly build consistent, well-tested
  and interoperable CLIs for handling GeoJSON.

  WWW: https://pypi.python.org/pypi/cliqj

  PR:		228665
  Submitted by:	lbartoletti@tuxfamily.org

Changes:
  head/devel/Makefile
  head/devel/py-cligj/
  head/devel/py-cligj/Makefile
  head/devel/py-cligj/distinfo
  head/devel/py-cligj/pkg-descr
Comment 5 Wen Heping freebsd_committer 2018-06-03 12:23:43 UTC
Hi, lbartoletti@tuxfamily.org :

  In fiona's Makefile, the line if ${PYTHON_REL} < 2700 seems no use since there is no python26 in FreeBSD ports.

wen
Comment 6 Loïc Bartoletti 2018-06-04 05:40:51 UTC
You're right, I took that from the setup and told myself that some old installations might need it. Without really being convinced. If you don't think it's necessary, you can remove it.
Comment 7 commit-hook freebsd_committer 2018-06-27 12:33:07 UTC
A commit references this bug:

Author: wen
Date: Wed Jun 27 12:32:17 UTC 2018
New revision: 473437
URL: https://svnweb.freebsd.org/changeset/ports/473437

Log:
  Fiona is designed to be simple and dependable. It focuses on reading and
  writing data in standard Python IO style and relies upon familiar Python
  types and protocols such as files, dictionaries, mappings, and iterators
  instead of classes specific to OGR. Fiona can read and write real-world
  data using multi-layered GIS formats and zipped virtual file systems and
  integrates readily with other Python GIS packages such as pyproj, Rtree,
  and Shapely. Fiona is supported only on CPython versions 2.7 and 3.4+.

  WWW: https://pypi.python.org/pypi/fiona

  PR:		228665
  Submitted by:	lbartoletti@tuxfamily.org

Changes:
  head/graphics/Makefile
  head/graphics/py-fiona/
  head/graphics/py-fiona/Makefile
  head/graphics/py-fiona/distinfo
  head/graphics/py-fiona/pkg-descr