diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2022-11-12 13:06:21 +0300 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2022-11-12 13:06:21 +0300 |
commit | 07dde5ad28a28deafee40a03e2d2b77e1a539c67 (patch) | |
tree | 03d696264e584c14589a6cd0740fb968bfad7960 | |
parent | dd282154a366dfda7ce6dee206d6aab22a09a167 (diff) |
www/py-fake-useragent: Update to 0.1.14
-rw-r--r-- | www/py-fake-useragent/Makefile | 5 | ||||
-rw-r--r-- | www/py-fake-useragent/distinfo | 6 | ||||
-rw-r--r-- | www/py-fake-useragent/files/patch-setup.py | 6 |
3 files changed, 13 insertions, 4 deletions
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,5 +1,5 @@ PORTNAME= fake-useragent -PORTVERSION= 0.1.11 +PORTVERSION= 0.1.14 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,4 +16,7 @@ USE_PYTHON= autoplist distutils NO_ARCH= yes +do-test: + @${PYTHON_CMD} -m pytest -v -rs + .include <bsd.port.mk> 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) |