New port: devel/py-us: Easily work with US and state metadata

This commit is contained in:
Neel Chauhan 2021-03-24 16:01:19 +00:00
parent f94c06a8aa
commit 48c4ebdc4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=569137
5 changed files with 40 additions and 0 deletions

View file

@ -5208,6 +5208,7 @@
SUBDIR += py-urwid
SUBDIR += py-urwid-readline
SUBDIR += py-urwidtrees
SUBDIR += py-us
SUBDIR += py-user_agents
SUBDIR += py-userpath
SUBDIR += py-uvloop

22
devel/py-us/Makefile Normal file
View file

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= us
PORTVERSION= 2.0.2
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Easily work with US and state metadata
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jellyfish>=0:devel/py-jellyfish@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

3
devel/py-us/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1616601330
SHA256 (us-2.0.2.tar.gz) = cb11ad0d43deff3a1c3690c74f0c731cff5b862c73339df2edd91133e1496fbc
SIZE (us-2.0.2.tar.gz) = 14207

View file

@ -0,0 +1,11 @@
--- 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=[

3
devel/py-us/pkg-descr Normal file
View file

@ -0,0 +1,3 @@
python-us is a package for easily working with US and state metadata
WWW: https://github.com/unitedstates/python-us