Download raw body.
[NEW] devel/py-expanvars v0.12.0
On 2024/08/17 17:28, Denis Fondras wrote:
> This module is inspired by GNU bash's variable expansion features.
> It can be used as an alternative to Python's os.path.expandvars
> function. A good use case is reading config files with the flexibility
> of reading values from environment variables using advanced features
> like returning a default value if some variable is not defined.
>
> This is required for ansible-libssh.
>
> OK ?
ok with this on top, though I think I'd prefer to put it in sysutils
rather than devel
diff --git a/devel/py-expandvars/Makefile b/devel/py-expandvars/Makefile
index caad8e8..9b69f55 100644
--- a/devel/py-expandvars/Makefile
+++ b/devel/py-expandvars/Makefile
@@ -1,5 +1,5 @@
MODPY_EGG_VERSION = 0.12.0
-COMMENT = Expand system variables Unix style
+COMMENT = expand system variables Unix style
DISTNAME = expandvars-${MODPY_EGG_VERSION}
PKGNAME = py-expandvars-${MODPY_EGG_VERSION}
CATEGORIES = devel
@@ -14,10 +14,6 @@ FLAVOR = python3
MODULES = lang/python
MODPY_PI = Yes
-MODPY_PYBUILD = setuptools
-
-BUILD_DEPENDS= devel/py-hatchling${MODPY_FLAVOR}
-
-SUBST_VARS += MODPY_FLAVOR
+MODPY_PYBUILD = hatchling
.include <bsd.port.mk>
[NEW] devel/py-expanvars v0.12.0