diff --git a/www/py-fake-useragent/Makefile b/www/py-fake-useragent/Makefile index 3191041d6be8..7858296b078a 100644 --- a/www/py-fake-useragent/Makefile +++ b/www/py-fake-useragent/Makefile @@ -1,19 +1,22 @@ PORTNAME= fake-useragent -PORTVERSION= 0.1.11 +PORTVERSION= 0.1.14 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Up to date simple useragent faker with real world database WWW= https://pypi.org/project/fake-useragent/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes +do-test: + @${PYTHON_CMD} -m pytest -v -rs + .include diff --git a/www/py-fake-useragent/distinfo b/www/py-fake-useragent/distinfo index dcd26c297f91..4bac482716b5 100644 --- a/www/py-fake-useragent/distinfo +++ b/www/py-fake-useragent/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1549877247 -SHA256 (fake-useragent-0.1.11.tar.gz) = c104998b750eb097eefc28ae28e92d66397598d2cf41a31aa45d5559ef1adf35 -SIZE (fake-useragent-0.1.11.tar.gz) = 13200 +TIMESTAMP = 1668241100 +SHA256 (fake-useragent-0.1.14.tar.gz) = 470c509fc645a4fb2799a6cdf35982c3d27e57af04f601b3f37ac0b5e46c0cc7 +SIZE (fake-useragent-0.1.14.tar.gz) = 19247 diff --git a/www/py-fake-useragent/files/patch-setup.py b/www/py-fake-useragent/files/patch-setup.py new file mode 100644 index 000000000000..130806a8f6f1 --- /dev/null +++ b/www/py-fake-useragent/files/patch-setup.py @@ -0,0 +1,6 @@ +--- setup.py.orig 2022-11-12 09:41:13 UTC ++++ setup.py +@@ -0,0 +1,3 @@ ++import setuptools ++if __name__ == "__main__": ++ setuptools.setup(use_scm_version=False)