patch for older setuptools_scm and add BDEP, "just patch it" aja@
This commit is contained in:
parent
763fad78bf
commit
c5cfefb114
@ -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 <bsd.port.mk>
|
||||
|
12
devel/py-enrich/patches/patch-setup_py
Normal file
12
devel/py-enrich/patches/patch-setup_py
Normal file
@ -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]"],
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user