On 2020/03/02 13:42, Johan Huldtgren wrote:
> hello,
>
> this is a new port for py-requests-cache, a transparent persistent
> cache for the py-requests library (version >= 1.1.0). This is a
> dependency for another new port which I'm working on. Built, packaged
> and tested on amd64.
>
> thanks,
>
> .jh
OK with this added on top. Tests work fine here if I remove the pf rule
to block _pbuild.
diff 901c8e85fc967ae7a6dd1f51615d039fab32db31 /usr/ports/mystuff
blob - 9b788811f362368946fbe0837dc3212019307d36
file + www/py-requests-cache/Makefile
--- www/py-requests-cache/Makefile
+++ www/py-requests-cache/Makefile
@@ -20,10 +20,9 @@ FLAVOR = python3
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
-# Dependencies
-RUN_DEPENDS = www/py-requests${MODPY_FLAVOR}>=1.1.0
+# tests require network
+MODPY_PYTEST = Yes
-# Requires older py-test and py-test-cov
-NO_TEST = Yes
+RUN_DEPENDS = www/py-requests${MODPY_FLAVOR}>=1.1.0
.include <bsd.port.mk>
blob - e6ddbffb34d7c3aefcba41761d7b5943eb44582e
file + www/py-requests-cache/pkg/DESCR
--- www/py-requests-cache/pkg/DESCR
+++ www/py-requests-cache/pkg/DESCR
@@ -1,2 +1,2 @@
Requests-cache is a transparent persistent cache for the py-requests
-library
+library.