py-doc8: updated to 1.1.1
v1.1.1 Minor Changes Remove support for py37 and enable support for py312 Bugfixes Remove use of pbr Allow PEP links with anchors PEP 621: Migrate more config into pyproject.toml v1.0.0 Major Changes Drop support for python 3.6 Bugfixes Address some deprecation warnings Make toml support implicit Remove pip from pyproject.toml Add support for python 3.11
This commit is contained in:
parent
ea8a4f9302
commit
f0d9ad47aa
|
@ -1,8 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.8 2023/11/07 22:37:59 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2024/02/07 10:29:53 adam Exp $
|
||||
|
||||
DISTNAME= doc8-0.10.1
|
||||
DISTNAME= doc8-1.1.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=d/doc8/}
|
||||
|
||||
|
@ -11,23 +10,26 @@ HOMEPAGE= https://github.com/pycqa/doc8
|
|||
COMMENT= Opinionated style checker for rst styles of documentation
|
||||
LICENSE= apache-2.0
|
||||
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
||||
DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.2:../../devel/py-setuptools
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=7.0.0:../../devel/py-setuptools_scm
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.33.6:../../devel/py-wheel
|
||||
DEPENDS+= ${PYPKGPREFIX}-docutils>=0.19:../../textproc/py-docutils
|
||||
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
|
||||
DEPENDS+= ${PYPKGPREFIX}-restructuredtext_lint>=0.7:../../devel/py-restructuredtext_lint
|
||||
DEPENDS+= ${PYPKGPREFIX}-stevedore-[0-9]*:../../devel/py-stevedore
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
PYSETUP= -c 'from setuptools import setup; setup()'
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
|
||||
|
||||
USE_PKG_RESOURCES= yes
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
cd ${DESTDIR}${PREFIX}/bin && \
|
||||
${MV} doc8 doc8-${PYVERSSUFFIX} || ${TRUE}
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/wheel.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,18 +1,20 @@
|
|||
@comment $NetBSD: PLIST,v 1.3 2021/11/14 15:14:27 adam Exp $
|
||||
@comment $NetBSD: PLIST,v 1.4 2024/02/07 10:29:53 adam Exp $
|
||||
bin/doc8-${PYVERSSUFFIX}
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
|
||||
${PYSITELIB}/${EGG_INFODIR}/requires.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/doc8/__init__.py
|
||||
${PYSITELIB}/doc8/__init__.pyc
|
||||
${PYSITELIB}/doc8/__init__.pyo
|
||||
${PYSITELIB}/doc8/__main__.py
|
||||
${PYSITELIB}/doc8/__main__.pyc
|
||||
${PYSITELIB}/doc8/__main__.pyo
|
||||
${PYSITELIB}/doc8/_version.py
|
||||
${PYSITELIB}/doc8/_version.pyc
|
||||
${PYSITELIB}/doc8/_version.pyo
|
||||
${PYSITELIB}/doc8/checks.py
|
||||
${PYSITELIB}/doc8/checks.pyc
|
||||
${PYSITELIB}/doc8/checks.pyo
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.5 2021/11/14 15:14:27 adam Exp $
|
||||
$NetBSD: distinfo,v 1.6 2024/02/07 10:29:53 adam Exp $
|
||||
|
||||
BLAKE2s (doc8-0.10.1.tar.gz) = 4d4a4698d3915a774c8b52ad03c0cd032c0338e23d820e23bceadf39b0b202f5
|
||||
SHA512 (doc8-0.10.1.tar.gz) = 0d12edbdd39e747c7ad19e52dc826e074ef1ff71cdcf4984d62a5e1c1154e3d78571ff3a522eff13e543ace060d65c6dc43f25d9590ee6a2cdb98eab28e4f91f
|
||||
Size (doc8-0.10.1.tar.gz) = 25514 bytes
|
||||
BLAKE2s (doc8-1.1.1.tar.gz) = 42361a3b9773231a0b949dac026b36f0c000a3c78ad6a96a1f30d077a540617b
|
||||
SHA512 (doc8-1.1.1.tar.gz) = 7ec21c2483f7ebf2a7e1fef6677c6051ac253da6014354a968b8a107d8097f986b6b162850561fd6a103e93d157b2c849554aabe2484a49c4a3726c8e2083a89
|
||||
Size (doc8-1.1.1.tar.gz) = 26514 bytes
|
||||
SHA1 (patch-pyproject.toml) = 8efee529e21c9fad1121c5da81bee3c9a7289585
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
$NetBSD: patch-pyproject.toml,v 1.1 2024/02/07 10:29:53 adam Exp $
|
||||
|
||||
setuptools_scm_git_archive is part of setuptools_scm as of 7.0.0.
|
||||
|
||||
--- pyproject.toml.orig 2024-02-07 10:27:14.473007604 +0000
|
||||
+++ pyproject.toml
|
||||
@@ -1,8 +1,7 @@
|
||||
[build-system]
|
||||
requires = [
|
||||
"setuptools>=61.2",
|
||||
- "setuptools_scm[toml] >= 3.5.0",
|
||||
- "setuptools_scm_git_archive >= 1.1",
|
||||
+ "setuptools_scm[toml] >= 7.0.0",
|
||||
"wheel >= 0.33.6",
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
Loading…
Reference in New Issue