Update textproc/py-humanize 0.5.1 -> 1.0.0

Updates to latest. Tests are now included in the pypi tarball so
make tests work.

Changes are mostly localization with a couple minor fixes.

OK benoit@
This commit is contained in:
kmos
2020-02-10 14:44:54 +00:00
parent 83b3047780
commit b02fb0097a
3 changed files with 63 additions and 11 deletions
+10 -6
View File
@@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2019/09/09 21:36:14 kmos Exp $
# $OpenBSD: Makefile,v 1.5 2020/02/10 14:44:54 kmos Exp $
COMMENT = python number humanization utilities
MODPY_EGG_VERSION = 0.5.1
MODPY_EGG_VERSION = 1.0.0
DISTNAME = humanize-${MODPY_EGG_VERSION}
PKGNAME = py-humanize-${MODPY_EGG_VERSION}
REVISION = 1
CATEGORIES = textproc
@@ -19,13 +18,18 @@ PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
MODPY_PYTEST = Yes
FLAVORS = python3
FLAVOR ?=
# Tests aren't included in pypi distribution
NO_TEST = Yes
BUILD_DEPENDS = devel/py-setuptools_scm${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-freezegun${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR}
TEST_ENV = PYTHONPATH=${WRKSRC}/src
.if !${FLAVOR:Mpython3}
TEST_DEPENDS += devel/py-mock
.endif
.include <bsd.port.mk>
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (humanize-0.5.1.tar.gz) = pD9XEVgxrHxw3gmOasRqwTvgDWmrv2C9ysJRNEeFuxk=
SIZE (humanize-0.5.1.tar.gz) = 14250
SHA256 (humanize-1.0.0.tar.gz) = OKzptmvK63+Bhrnb8LNEjgAUjltPuvcm+Wx4nlLD50E=
SIZE (humanize-1.0.0.tar.gz) = 34411
+51 -3
View File
@@ -1,14 +1,14 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/04/03 02:30:05 bentley Exp $
@comment $OpenBSD: PLIST,v 1.2 2020/02/10 14:44:54 kmos Exp $
lib/python${MODPY_VERSION}/site-packages/humanize/
lib/python${MODPY_VERSION}/site-packages/humanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/humanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/humanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/humanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/humanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
lib/python${MODPY_VERSION}/site-packages/humanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
lib/python${MODPY_VERSION}/site-packages/humanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/humanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/humanize/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/humanize/${MODPY_PYCACHE}
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/humanize/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/humanize/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/humanize/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/humanize/${MODPY_PYCACHE}filesize.${MODPY_PYC_MAGIC_TAG}pyc
@@ -19,17 +19,65 @@ lib/python${MODPY_VERSION}/site-packages/humanize/compat.py
lib/python${MODPY_VERSION}/site-packages/humanize/filesize.py
lib/python${MODPY_VERSION}/site-packages/humanize/i18n.py
lib/python${MODPY_VERSION}/site-packages/humanize/locale/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/de_DE/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/de_DE/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/de_DE/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/de_DE/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fa_IR/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fa_IR/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fa_IR/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fa_IR/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fi_FI/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fi_FI/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fi_FI/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fi_FI/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fr_FR/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fr_FR/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fr_FR/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/fr_FR/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/id_ID/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/id_ID/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/id_ID/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/id_ID/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/it_IT/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/it_IT/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/it_IT/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/it_IT/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ja_JP/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ja_JP/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ja_JP/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ja_JP/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ko_KR/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ko_KR/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ko_KR/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ko_KR/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/nl_NL/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/nl_NL/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/nl_NL/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/nl_NL/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/pt_BR/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/pt_BR/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/pt_BR/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/pt_BR/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ru_RU/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ru_RU/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ru_RU/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/ru_RU/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/sk_SK/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/sk_SK/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/sk_SK/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/sk_SK/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/tr_TR/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/tr_TR/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/tr_TR/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/tr_TR/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/vi_VI/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/vi_VI/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/vi_VI/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/vi_VI/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/locale/zh_CN/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/zh_CN/LC_MESSAGES/
lib/python${MODPY_VERSION}/site-packages/humanize/locale/zh_CN/LC_MESSAGES/humanize.mo
lib/python${MODPY_VERSION}/site-packages/humanize/locale/zh_CN/LC_MESSAGES/humanize.po
lib/python${MODPY_VERSION}/site-packages/humanize/number.py
lib/python${MODPY_VERSION}/site-packages/humanize/time.py