diff --git a/devel/py-dotty-dict/Makefile b/devel/py-dotty-dict/Makefile index c882647715e4..92d3f56a06ee 100644 --- a/devel/py-dotty-dict/Makefile +++ b/devel/py-dotty-dict/Makefile @@ -1,31 +1,32 @@ PORTNAME= dotty-dict DISTVERSIONPREFIX= v -DISTVERSION= 1.3.0 -PORTREVISION= 1 +DISTVERSION= 1.3.1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= 0mp@FreeBSD.org COMMENT= Dictionary wrapper for quick access to deeply nested keys WWW= https://github.com/pawelzny/dotty_dict LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} + TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} USES= python # Use GitHub instead of PYPI to get the test files. USE_GITHUB= yes GH_ACCOUNT= pawelzny GH_PROJECT= ${PORTNAME:S/-/_/} -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist pep517 NO_ARCH= yes do-test: # Call the pytest module directly instead of using the official "test" # make target in order to avoid calling pipenv. (cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) .include diff --git a/devel/py-dotty-dict/distinfo b/devel/py-dotty-dict/distinfo index 37e66907f584..ef4e1650e43f 100644 --- a/devel/py-dotty-dict/distinfo +++ b/devel/py-dotty-dict/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1613648650 -SHA256 (pawelzny-dotty_dict-v1.3.0_GH0.tar.gz) = 23d28c35e698e68678dd904297e26bb0d8c1f7aa5c5d64279a0b9b05cfbb37e8 -SIZE (pawelzny-dotty_dict-v1.3.0_GH0.tar.gz) = 31748 +TIMESTAMP = 1789649694 +SHA256 (pawelzny-dotty_dict-v1.3.1_GH0.tar.gz) = 62d981357fae93a6133ae5788eb6d76b0c250d5af3cdbdb12914c78d85f6e535 +SIZE (pawelzny-dotty_dict-v1.3.1_GH0.tar.gz) = 40989 diff --git a/devel/py-dotty-dict/files/patch-setup.py b/devel/py-dotty-dict/files/patch-setup.py deleted file mode 100644 index de0bf4a29694..000000000000 --- a/devel/py-dotty-dict/files/patch-setup.py +++ /dev/null @@ -1,19 +0,0 @@ ---- setup.py.orig 2021-02-18 20:19:33 UTC -+++ setup.py -@@ -45,7 +45,6 @@ class TestCommand(test): - - setup( - name='dotty_dict', -- version=get_version('dotty_dict', '__init__.py'), - description="Dictionary wrapper for quick access to deeply nested keys.", - long_description=readme, - license="MIT license", -@@ -55,8 +54,6 @@ setup( - packages=find_packages(exclude=('tests', 'docs', 'bin', 'example')), - package_dir={'dotty_dict': 'dotty_dict'}, - include_package_data=True, -- use_scm_version=True, -- install_requires=['setuptools_scm'], - zip_safe=False, - keywords='dot notation dict wrapper helper utils lib', - classifiers=[