notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-s2 Python binding of S2 Geometry Library
0.11.1 graphics on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.10.0_1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-09-12 12:11:36
Last Update: 2024-02-21 15:06:52
Commit Hash: 2a3dadc
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (10 items)
Collapse this list.
  1. /usr/local/share/licenses/py39-s2-0.11.1/catalog.mk
  2. /usr/local/share/licenses/py39-s2-0.11.1/LICENSE
  3. /usr/local/share/licenses/py39-s2-0.11.1/APACHE20
  4. lib/python3.9/site-packages/__init__.py
  5. lib/python3.9/site-packages/__pycache__/__init__.cpython-39.opt-1.pyc
  6. lib/python3.9/site-packages/__pycache__/__init__.cpython-39.pyc
  7. lib/python3.9/site-packages/_s2geometry.so
  8. @owner
  9. @group
  10. @mode
Collapse this list.
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 py39-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 py39-s2 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-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):
py37-s2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest------0.9.0-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

py39-s2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.11.10.11.1-0.11.1----
FreeBSD:13:quarterly0.10.0_10.10.0_10.10.0_10.10.0_1-0.10.0_10.10.0_10.10.0_1
FreeBSD:14:latest0.11.10.11.10.10.00.11.1-0.10.0_1-0.10.0_1
FreeBSD:14:quarterly0.10.0_10.11.1-0.10.0_1-0.10.0_10.10.0_10.10.0_1
FreeBSD:15:latest0.11.10.11.1n/a0.10.0_1n/a0.10.0_10.10.0_10.11.1
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. s2>=0.11.1<0.11.1_99 : graphics/s2
  2. swig>=4 : devel/swig
  3. cmake : devel/cmake-core
  4. ninja : devel/ninja
  5. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. python3.9 : lang/python39
Library dependencies:
  1. 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/google/s2geometry/tar.gz/v0.11.1?dummy=/
Collapse this list.

Number of commits found: 14

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.11.1
21 Feb 2024 15:06:52
commit hash: 2a3dadc897f15ee5570e80ee8b14cb78d22840dacommit hash: 2a3dadc897f15ee5570e80ee8b14cb78d22840dacommit hash: 2a3dadc897f15ee5570e80ee8b14cb78d22840dacommit hash: 2a3dadc897f15ee5570e80ee8b14cb78d22840da files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: d6f233c3b0c4b3fbea87b408f7bff221320e7481commit hash: d6f233c3b0c4b3fbea87b408f7bff221320e7481commit hash: d6f233c3b0c4b3fbea87b408f7bff221320e7481commit hash: d6f233c3b0c4b3fbea87b408f7bff221320e7481 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
graphics/py-s2: Update WWW and clean up pkg-descr
0.10.0_1
30 Jan 2023 12:59:17
commit hash: 135447f2e2be5a9b9ac1e482ed01915a19a6a93dcommit hash: 135447f2e2be5a9b9ac1e482ed01915a19a6a93dcommit hash: 135447f2e2be5a9b9ac1e482ed01915a19a6a93dcommit hash: 135447f2e2be5a9b9ac1e482ed01915a19a6a93d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.10.0
20 Jul 2022 14:22:04
commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
0.10.0
26 Apr 2022 15:01:17
commit hash: 476d3a4e0e31ad2d8422d85d7ab42740191500f2commit hash: 476d3a4e0e31ad2d8422d85d7ab42740191500f2commit hash: 476d3a4e0e31ad2d8422d85d7ab42740191500f2commit hash: 476d3a4e0e31ad2d8422d85d7ab42740191500f2 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: dbb6535a833bed3e215bcc7347abf6ba99af768ccommit hash: dbb6535a833bed3e215bcc7347abf6ba99af768ccommit hash: dbb6535a833bed3e215bcc7347abf6ba99af768ccommit hash: dbb6535a833bed3e215bcc7347abf6ba99af768c files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
graphics/py-s2: similarly to other s2 ports, drop gcc on powerpc64
0.9.0
29 Apr 2021 14:23:58
commit hash: 3a3a032c7bf26270794c1a115476e76f21aea6b5commit hash: 3a3a032c7bf26270794c1a115476e76f21aea6b5commit hash: 3a3a032c7bf26270794c1a115476e76f21aea6b5commit hash: 3a3a032c7bf26270794c1a115476e76f21aea6b5 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
graphics/py-s2: Add CATEGORIES=python
0.9.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.9.0
18 Dec 2020 15:03:56
Revision:558380Original commit files touched by this commit
pkubaj search for other commits by this committer
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
Revision:548554Original commit files touched by this commit
sunpoet search for other commits by this committer
Add s2 version check to BUILD_DEPENDS
0.9.0
12 Sep 2020 16:34:56
Revision:548380Original commit files touched by this commit
linimon search for other commits by this committer
Unbreak index.
0.9.0
12 Sep 2020 12:07:17
Revision:548313Original commit files touched by this commit
sunpoet search for other commits by this committer
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

Number of commits found: 14