diff --git a/devel/py-enrich/Makefile b/devel/py-enrich/Makefile index f74a832990f..b844db70c5d 100644 --- a/devel/py-enrich/Makefile +++ b/devel/py-enrich/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2021/02/20 08:21:28 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.2 2021/02/20 17:34:17 sthen Exp $ COMMENT = extends Python Rich library functionality @@ -20,6 +20,9 @@ FLAVOR = python3 MODPY_SETUPTOOLS = Yes +BUILD_DEPENDS = devel/py-setuptools_scm_git_archive${MODPY_FLAVOR} \ + textproc/py-toml${MODPY_FLAVOR} + RUN_DEPENDS = devel/py-rich${MODPY_FLAVOR} .include diff --git a/devel/py-enrich/patches/patch-setup_py b/devel/py-enrich/patches/patch-setup_py new file mode 100644 index 00000000000..fffb3ccebc5 --- /dev/null +++ b/devel/py-enrich/patches/patch-setup_py @@ -0,0 +1,12 @@ +$OpenBSD: patch-setup_py,v 1.1 2021/02/20 17:34:17 sthen Exp $ + +Index: setup.py +--- setup.py.orig ++++ setup.py +@@ -13,5 +13,5 @@ site.ENABLE_USER_SITE = "--user" in sys.argv[1:] + if __name__ == "__main__": + setuptools.setup( + use_scm_version={"local_scheme": "no-local-version"}, +- setup_requires=["setuptools_scm[toml]>=3.5.0"], ++ setup_requires=["setuptools_scm[toml]"], + )