diff --git a/misc/py-python-geohash/Makefile b/misc/py-python-geohash/Makefile index 60d6ffcf6e49..6a1617810ada 100644 --- a/misc/py-python-geohash/Makefile +++ b/misc/py-python-geohash/Makefile @@ -1,21 +1,47 @@ PORTNAME= python-geohash -DISTVERSION= 0.8.5 -PORTREVISION= 3 +DISTVERSION= 0.9.2 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python_geohash-${DISTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Fast, accurate python geohashing library -WWW= https://pypi.org/project/python-geohash/ +WWW= https://github.com/hkwi/python-geohash LICENSE= APACHE20 MIT BSD3CLAUSE LICENSE_COMB= multi -USES= python +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.8:devel/py-setuptools-rust@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= cargo python USE_PYTHON= autoplist distutils +CARGO_BUILD= no +CARGO_INSTALL= no +CARGO_TEST= no + +PLIST_FILES= ${PYTHON_SITELIBDIR}/_geohash.abi3.so + +CARGO_CRATES= heck-0.5.0 \ + libc-0.2.186 \ + once_cell-1.21.4 \ + portable-atomic-1.13.1 \ + proc-macro2-1.0.106 \ + pyo3-0.28.3 \ + pyo3-build-config-0.28.3 \ + pyo3-ffi-0.28.3 \ + pyo3-macros-0.28.3 \ + pyo3-macros-backend-0.28.3 \ + quote-1.0.45 \ + syn-2.0.117 \ + target-lexicon-0.13.5 \ + unicode-ident-1.0.24 + post-install: @${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/_geohash*.so .include diff --git a/misc/py-python-geohash/distinfo b/misc/py-python-geohash/distinfo index d3f4d05875a5..6dd854cd267f 100644 --- a/misc/py-python-geohash/distinfo +++ b/misc/py-python-geohash/distinfo @@ -1,3 +1,31 @@ -TIMESTAMP = 1482304702 -SHA256 (python-geohash-0.8.5.tar.gz) = 05a21fcf4eda1a5eddbd291890ade23fc5ddaa6bb98f2ee23d2d384ed14f086d -SIZE (python-geohash-0.8.5.tar.gz) = 17636 +TIMESTAMP = 1785558864 +SHA256 (python_geohash-0.9.2.tar.gz) = dd2da7eb381e0cd40cd2111590417b4f41e552c29167ac9b04d7523fdf3d21e4 +SIZE (python_geohash-0.9.2.tar.gz) = 17922 +SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea +SIZE (rust/crates/heck-0.5.0.crate) = 11517 +SHA256 (rust/crates/libc-0.2.186.crate) = 68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66 +SIZE (rust/crates/libc-0.2.186.crate) = 821883 +SHA256 (rust/crates/once_cell-1.21.4.crate) = 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 +SIZE (rust/crates/once_cell-1.21.4.crate) = 35010 +SHA256 (rust/crates/portable-atomic-1.13.1.crate) = c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49 +SIZE (rust/crates/portable-atomic-1.13.1.crate) = 197001 +SHA256 (rust/crates/proc-macro2-1.0.106.crate) = 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 +SIZE (rust/crates/proc-macro2-1.0.106.crate) = 59765 +SHA256 (rust/crates/pyo3-0.28.3.crate) = 91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12 +SIZE (rust/crates/pyo3-0.28.3.crate) = 1204476 +SHA256 (rust/crates/pyo3-build-config-0.28.3.crate) = e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e +SIZE (rust/crates/pyo3-build-config-0.28.3.crate) = 35961 +SHA256 (rust/crates/pyo3-ffi-0.28.3.crate) = 7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e +SIZE (rust/crates/pyo3-ffi-0.28.3.crate) = 80881 +SHA256 (rust/crates/pyo3-macros-0.28.3.crate) = df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813 +SIZE (rust/crates/pyo3-macros-0.28.3.crate) = 8963 +SHA256 (rust/crates/pyo3-macros-backend-0.28.3.crate) = c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb +SIZE (rust/crates/pyo3-macros-backend-0.28.3.crate) = 88063 +SHA256 (rust/crates/quote-1.0.45.crate) = 41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924 +SIZE (rust/crates/quote-1.0.45.crate) = 31564 +SHA256 (rust/crates/syn-2.0.117.crate) = e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99 +SIZE (rust/crates/syn-2.0.117.crate) = 306011 +SHA256 (rust/crates/target-lexicon-0.13.5.crate) = adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca +SIZE (rust/crates/target-lexicon-0.13.5.crate) = 26928 +SHA256 (rust/crates/unicode-ident-1.0.24.crate) = e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 +SIZE (rust/crates/unicode-ident-1.0.24.crate) = 49298