Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 2026 17:25:34 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b63c25d7dc9b - main - devel/py-us: Update to 3.2.0
Message-ID:  <69d29b0e.1e15e.5f338588@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit b63c25d7dc9b0572b8c56fe0eb50419d55add71e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-05 17:09:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-05 17:18:38 +0000

    devel/py-us: Update to 3.2.0
    
    - Update COMMENT
    - Fix *_DEPENDS: jellyfish is a runtime dependency
    - Convert to USE_PYTHON=pep517
    - Update pkg-descr
    - Take maintainership
    
    Changes:        https://github.com/unitedstates/python-us/releases
---
 devel/py-us/Makefile             | 13 +++++++------
 devel/py-us/distinfo             |  6 +++---
 devel/py-us/files/patch-setup.py | 11 -----------
 devel/py-us/pkg-descr            | 13 ++++++++++++-
 4 files changed, 22 insertions(+), 21 deletions(-)

diff --git a/devel/py-us/Makefile b/devel/py-us/Makefile
index bb6b18453dde..c0d24f22649c 100644
--- a/devel/py-us/Makefile
+++ b/devel/py-us/Makefile
@@ -1,21 +1,22 @@
 PORTNAME=	us
-PORTVERSION=	2.0.2
-PORTREVISION=	1
+PORTVERSION=	3.2.0
 CATEGORIES=	devel
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Easily work with US and state metadata
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	US state meta information and other fun stuff
 WWW=		https://github.com/unitedstates/python-us
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jellyfish>=0:devel/py-jellyfish@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jellyfish>=0:devel/py-jellyfish@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-us/distinfo b/devel/py-us/distinfo
index babf0ac08b78..4a6196996d45 100644
--- a/devel/py-us/distinfo
+++ b/devel/py-us/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616601330
-SHA256 (us-2.0.2.tar.gz) = cb11ad0d43deff3a1c3690c74f0c731cff5b862c73339df2edd91133e1496fbc
-SIZE (us-2.0.2.tar.gz) = 14207
+TIMESTAMP = 1773966862
+SHA256 (us-3.2.0.tar.gz) = cb223e85393dcc5171ead0dd212badc47f9667b23700fea3e7ea5f310d545338
+SIZE (us-3.2.0.tar.gz) = 16046
diff --git a/devel/py-us/files/patch-setup.py b/devel/py-us/files/patch-setup.py
deleted file mode 100644
index a015cdfa2532..000000000000
--- a/devel/py-us/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2020-04-29 04:59:47 UTC
-+++ setup.py
-@@ -13,7 +13,7 @@ setup(
-     license="BSD",
-     packages=find_packages(),
-     include_package_data=True,
--    install_requires=["jellyfish==0.6.1"],
-+    install_requires=["jellyfish"],
-     entry_points={"console_scripts": ["states = us.cli.states:main"]},
-     platforms=["any"],
-     classifiers=[
diff --git a/devel/py-us/pkg-descr b/devel/py-us/pkg-descr
index 491de13ec03d..f226cc4037c2 100644
--- a/devel/py-us/pkg-descr
+++ b/devel/py-us/pkg-descr
@@ -1 +1,12 @@
-python-us is a package for easily working with US and state metadata
+A package for easily working with US and state metadata.
+- all US states and territories
+- postal abbreviations
+- Associated Press style abbreviations
+- FIPS codes
+- capitals
+- years of statehood
+- time zones
+- phonetic state name lookup
+- is contiguous or continental
+- URLs to shapefiles for state, census, congressional districts, counties, and
+  census tracts


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d29b0e.1e15e.5f338588>