Port details |
- py-s2 Python binding of S2 Geometry Library
- 0.11.1_1 graphics
=2 0.11.1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2020-09-12 12:11:36
- Last Update: 2025-01-29 16:57:06
- Commit Hash: 0cf0a70
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: APACHE20
- WWW:
- https://s2geometry.io/
- https://github.com/google/s2geometry
- Description:
- S2 Geometry Library is a package for manipulating geometric shapes. Unlike many
geometry libraries, S2 is primarily designed to work with spherical geometry,
i.e., shapes drawn on a sphere rather than on a planar 2D map. This makes it
especially suitable for working with geographic data.
This port is the Python binding of S2 Geometry Library.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}s2>0:graphics/py-s2@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/graphics/py-s2/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/py-s2
- pkg install py311-s2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-s2 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-s2
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1708448988
SHA256 (google-s2geometry-v0.11.1_GH0.tar.gz) = bdbeb8ebdb88fa934257caf81bb44b55711617a3ab4fdec2c3cfd6cc31b61734
SIZE (google-s2geometry-v0.11.1_GH0.tar.gz) = 1180820
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- s2>=0.11.1<0.11.1_99 : graphics/s2
- swig>=4 : devel/swig
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- Library dependencies:
-
- libs2.so : graphics/s2
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- graphics_py-s2
- USES:
- cmake compiler:c++17-lang localbase:ldflags python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.11.1_1 29 Jan 2025 16:57:06
    |
Piotr Kubaj (pkubaj)  |
graphics/py-s2: builds fine on powerpc64 without -mcpu=power7 |
0.11.1 21 Feb 2024 15:06:52
    |
Po-Chuan Hsieh (sunpoet)  |
graphics/py-s2: Update to 0.11.1
- Build and install python bytecode
Changes: https://github.com/google/s2geometry/releases |
0.10.0_1 05 Apr 2023 17:30:43
    |
Po-Chuan Hsieh (sunpoet)  |
graphics/py-s2: Update WWW and clean up pkg-descr |
0.10.0_1 30 Jan 2023 12:59:17
    |
Po-Chuan Hsieh (sunpoet)  |
graphics/py-s2: Use the same C++ version as devel/abseil
- Update version requirement of *_DEPENDS
- Bump PORTREVISION for package change
Reference: https://github.com/google/s2geometry/blob/master/README.md#building |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.10.0 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.10.0 20 Jul 2022 14:22:04
    |
Tobias C. Berner (tcberner)  |
graphics: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Abel Chow <ozsanh45vds001@sneakemail.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Ade Lovett <ade@lovett.com>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Hayward <xelah@xelah.com>
* Alex Ivasyuv <siegerstein@pochta.ru>
* Alex Samorukov <samm@os2.kiev.ua> (Only the first 15 lines of the commit message are shown above ) |
0.10.0 26 Apr 2022 15:01:17
    |
Po-Chuan Hsieh (sunpoet)  |
graphics/py-s2: Update to 0.10.0
Changes: https://github.com/google/s2geometry/releases |
0.9.0_1 22 Apr 2022 15:37:46
    |
Piotr Kubaj (pkubaj)  |
graphics/py-s2: similarly to other s2 ports, drop gcc on powerpc64 |
0.9.0 29 Apr 2021 14:23:58
    |
Po-Chuan Hsieh (sunpoet)  |
graphics/py-s2: Add CATEGORIES=python |
0.9.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.9.0 18 Dec 2020 15:03:56
  |
pkubaj  |
graphics/py-s2: fix build on powerpc64 head
__builtin_bpermd with clang requires POWER7 or later:
In file included from CMakeFiles/_pywraps2.dir/s2PYTHON_wrap.cxx:4427:
In file included from /usr/local/include/s2/util/coding/coder.h:32:
In file included from /usr/local/include/s2/util/coding/varint.h:41:
/usr/local/include/s2/util/bits/bits.h:509:19: error: this builtin is only valid
on POWER7 or later CPUs
uint64 result = __builtin_bpermd(0x3f3e3d3c3b3a3938, temp);
But GCC can use __builtin_bpermd without resorting to forcing POWER7. |
0.9.0 13 Sep 2020 19:45:57
  |
sunpoet  |
Add s2 version check to BUILD_DEPENDS |
0.9.0 12 Sep 2020 16:34:56
  |
linimon  |
Unbreak index. |
0.9.0 12 Sep 2020 12:07:17
  |
sunpoet  |
Add py-s2 0.9.0
S2 Geometry Library is a package for manipulating geometric shapes. Unlike many
geometry libraries, S2 is primarily designed to work with spherical geometry,
i.e., shapes drawn on a sphere rather than on a planar 2D map. This makes it
especially suitable for working with geographic data.
This port is the Python binding of S2 Geometry Library.
WWW: https://s2geometry.io/
WWW: https://github.com/google/s2geometry |