On Sat, Nov 14, 2020 at 07:02:28PM +0100, Martin Reindl wrote:
> Am 14.11.20 um 09:31 schrieb Mikolaj Kucharski:
> > Hi,
> >
> > : Python module to retry code until it succeeds
> > :
> > : Tenacity is a general-purpose retrying library, written in Python,
> > : to simplify the task of adding retry behavior to just about anything.
> >
> > Regress test fails only on one test, because Python `typeguard` module
> > is not available, as a test dependency.
> >
> > I've put it into CATEGORIES = sysutils devel, but not sure is this good
> > fit.
> >
> > I think COMMENT could be tweaked for better English.
> >
> > Other than that, it works here. I've made it Python3-only, I'm not sure
> > will it ever work on Python2.
> >
> > Comments, okays?
> >
>
> Needs py-setuptools_scm as BDEP. I think this should go into devel, not
> sure about sysutils as it contains no executable. Please also add a
> comment about missing typeguard for TDEP, so there is a reminder if a
> py-typeguard port ever makes it into the tree.
>
> With this OK martin@
Something like this? Updated port attached.
--- Makefile Sat Nov 14 08:22:29 2020
+++ Makefile Sat Nov 14 18:08:08 2020
@@ -8,7 +8,7 @@
MAINTAINER = Mikolaj Kucharski <mikolaj@kucharski.name>
-CATEGORIES = sysutils devel
+CATEGORIES = devel
HOMEPAGE = https://github.com/jd/tenacity
@@ -21,6 +21,9 @@
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
+BUILD_DEPENDS = devel/py-setuptools_scm${MODPY_FLAVOR}
+
+# depends on typeguard, currently not in ports
TEST_DEPENDS = www/py-tornado${MODPY_FLAVOR}
FLAVORS = python3
--
Regards,
Mikolaj
No comments:
Post a Comment