Skip to content

Commit

Permalink
devel/py-pyproject-fmt: Update to 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jan 30, 2023
1 parent ce55b32 commit ed55e9f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
6 changes: 3 additions & 3 deletions devel/py-pyproject-fmt/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= pyproject-fmt
PORTVERSION= 0.3.5
PORTVERSION= 0.4.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -13,7 +13,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.3:textproc/py-tomlkit@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.6:textproc/py-tomlkit@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
Expand All @@ -23,7 +23,7 @@ NO_ARCH= yes
.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 30800
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3:devel/py-typing-extensions@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4:devel/py-typing-extensions@${PY_FLAVOR}
.endif

post-patch:
Expand Down
6 changes: 3 additions & 3 deletions devel/py-pyproject-fmt/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1661599271
SHA256 (pyproject_fmt-0.3.5.tar.gz) = d49028349cb4f5b7dbb8a414b9ff8f5018b7f2f0238703cc5b8cf811a099d407
SIZE (pyproject_fmt-0.3.5.tar.gz) = 9521
TIMESTAMP = 1674589874
SHA256 (pyproject_fmt-0.4.1.tar.gz) = b90cf0dfee7435fd68503ee578cb30b898330d3eb2f1a5428e15c127a2e3841f
SIZE (pyproject_fmt-0.4.1.tar.gz) = 9705
21 changes: 10 additions & 11 deletions devel/py-pyproject-fmt/files/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,26 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
install_requires=[
'packaging>=21.3',
'tomlkit>=0.11.3',
'typing-extensions>=4.3; python_version < "3.8"',
'tomlkit>=0.11.6',
'typing-extensions>=4.4; python_version < "3.8"',
],
extras_require={
'docs': [
'furo>=2022.6.21',
'furo>=2022.9.29',
'sphinx-argparse-cli>=1.10',
'sphinx-autodoc-typehints>=1.19.2',
'sphinx-autodoc-typehints>=1.19.4',
'sphinx-copybutton>=0.5',
'sphinx>=5.1.1',
'sphinx>=5.3',
],
'test': [
'covdefaults>=2.2',
'pytest-cov>=3',
'pytest-mock>=3.8.2',
'pytest>=7.1.2',
'pytest-cov>=4',
'pytest-mock>=3.10',
'pytest>=7.2',
],
},
entry_points={
Expand All @@ -46,7 +47,5 @@
'pyproject_fmt',
'pyproject_fmt.formatter',
],
package_dir={
'': 'src'
},
package_dir={'': 'src'},
)

0 comments on commit ed55e9f

Please sign in to comment.