devel/py-platformdirs: Update to 2.6.2
Changes: https://github.com/platformdirs/platformdirs/releases
This commit is contained in:
parent
0e30668579
commit
c133ff1758
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= platformdirs
|
||||
PORTVERSION= 2.5.4
|
||||
PORTVERSION= 2.6.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -16,8 +16,14 @@ USE_PYTHON= autoplist concurrent distutils
|
|||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 30800
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/pyproject.toml
|
||||
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1669057815
|
||||
SHA256 (platformdirs-2.5.4.tar.gz) = 1006647646d80f16130f052404c6b901e80ee4ed6bef6792e1f238a8969106f7
|
||||
SIZE (platformdirs-2.5.4.tar.gz) = 20843
|
||||
TIMESTAMP = 1674589858
|
||||
SHA256 (platformdirs-2.6.2.tar.gz) = e1fea1fe471b9ff8332e229df3cb7de4f53eeea4998d3b6bfff542115e998bd2
|
||||
SIZE (platformdirs-2.6.2.tar.gz) = 14260
|
||||
|
|
|
@ -24,15 +24,19 @@ setup(
|
|||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
],
|
||||
install_requires=[
|
||||
'typing-extensions>=4.4; python_version < "3.8"',
|
||||
],
|
||||
extras_require={
|
||||
'docs': [
|
||||
'furo>=2022.9.29',
|
||||
'furo>=2022.12.7',
|
||||
'proselint>=0.13',
|
||||
'sphinx-autodoc-typehints>=1.19.4',
|
||||
'sphinx-autodoc-typehints>=1.19.5',
|
||||
'sphinx>=5.3',
|
||||
],
|
||||
'test': [
|
||||
'appdirs==1.4.4',
|
||||
'covdefaults>=2.2.2',
|
||||
'pytest-cov>=4',
|
||||
'pytest-mock>=3.10',
|
||||
'pytest>=7.2',
|
||||
|
@ -41,7 +45,5 @@ setup(
|
|||
packages=[
|
||||
'platformdirs',
|
||||
],
|
||||
package_dir={
|
||||
'': 'src'
|
||||
},
|
||||
package_dir={'': 'src'},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue