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,22 +1,23 @@ 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 .include 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