pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 27 08:07:11 UTC 2024

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/py-mkdocs-get-deps: ALTERNATIVES DESCR Makefile PLIST
            distinfo

Log Message:
py-mkdocs-get-deps: added version 0.2.0

An extra command for MkDocs that infers required PyPI packages from plugins in
mkdocs.yml.


To generate a diff of this commit:
cvs rdiff -u -r1.1475 -r1.1476 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-mkdocs-get-deps/ALTERNATIVES \
    pkgsrc/textproc/py-mkdocs-get-deps/DESCR \
    pkgsrc/textproc/py-mkdocs-get-deps/Makefile \
    pkgsrc/textproc/py-mkdocs-get-deps/PLIST \
    pkgsrc/textproc/py-mkdocs-get-deps/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1475 pkgsrc/textproc/Makefile:1.1476
--- pkgsrc/textproc/Makefile:1.1475     Sun May 26 13:12:38 2024
+++ pkgsrc/textproc/Makefile    Mon May 27 08:07:11 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1475 2024/05/26 13:12:38 markd Exp $
+# $NetBSD: Makefile,v 1.1476 2024/05/27 08:07:11 adam Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -1117,6 +1117,7 @@ SUBDIR+=  py-mistune
 SUBDIR+=       py-mkdocs
 SUBDIR+=       py-mkdocs-bootstrap
 SUBDIR+=       py-mkdocs-bootswatch
+SUBDIR+=       py-mkdocs-get-deps
 SUBDIR+=       py-myst-parser
 SUBDIR+=       py-natsort
 SUBDIR+=       py-nltk

Added files:

Index: pkgsrc/textproc/py-mkdocs-get-deps/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-mkdocs-get-deps/ALTERNATIVES:1.1
--- /dev/null   Mon May 27 08:07:11 2024
+++ pkgsrc/textproc/py-mkdocs-get-deps/ALTERNATIVES     Mon May 27 08:07:11 2024
@@ -0,0 +1 @@
+bin/mkdocs-get-deps @PREFIX@/bin/mkdocs-get-deps-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-mkdocs-get-deps/DESCR
diff -u /dev/null pkgsrc/textproc/py-mkdocs-get-deps/DESCR:1.1
--- /dev/null   Mon May 27 08:07:11 2024
+++ pkgsrc/textproc/py-mkdocs-get-deps/DESCR    Mon May 27 08:07:11 2024
@@ -0,0 +1,2 @@
+An extra command for MkDocs that infers required PyPI packages from plugins in
+mkdocs.yml.
Index: pkgsrc/textproc/py-mkdocs-get-deps/Makefile
diff -u /dev/null pkgsrc/textproc/py-mkdocs-get-deps/Makefile:1.1
--- /dev/null   Mon May 27 08:07:11 2024
+++ pkgsrc/textproc/py-mkdocs-get-deps/Makefile Mon May 27 08:07:11 2024
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2024/05/27 08:07:11 adam Exp $
+
+DISTNAME=      mkdocs_get_deps-0.2.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mkdocs-get-deps/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mkdocs/get-deps
+COMMENT=       MkDocs extension that lists all dependencies
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+DEPENDS+=      ${PYPKGPREFIX}-mergedeep>=1.3.4:../../devel/py-mergedeep
+DEPENDS+=      ${PYPKGPREFIX}-platformdirs>=2.2.0:../../misc/py-platformdirs
+DEPENDS+=      ${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 310
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=4.3:../../devel/py-importlib-metadata
+.endif
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} mkdocs-get-deps mkdocs-get-deps-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-mkdocs-get-deps/PLIST
diff -u /dev/null pkgsrc/textproc/py-mkdocs-get-deps/PLIST:1.1
--- /dev/null   Mon May 27 08:07:11 2024
+++ pkgsrc/textproc/py-mkdocs-get-deps/PLIST    Mon May 27 08:07:11 2024
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/27 08:07:11 adam Exp $
+bin/mkdocs-get-deps-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.md
+${PYSITELIB}/mkdocs_get_deps/__init__.py
+${PYSITELIB}/mkdocs_get_deps/__init__.pyc
+${PYSITELIB}/mkdocs_get_deps/__init__.pyo
+${PYSITELIB}/mkdocs_get_deps/__main__.py
+${PYSITELIB}/mkdocs_get_deps/__main__.pyc
+${PYSITELIB}/mkdocs_get_deps/__main__.pyo
+${PYSITELIB}/mkdocs_get_deps/cache.py
+${PYSITELIB}/mkdocs_get_deps/cache.pyc
+${PYSITELIB}/mkdocs_get_deps/cache.pyo
+${PYSITELIB}/mkdocs_get_deps/py.typed
+${PYSITELIB}/mkdocs_get_deps/yaml_util.py
+${PYSITELIB}/mkdocs_get_deps/yaml_util.pyc
+${PYSITELIB}/mkdocs_get_deps/yaml_util.pyo
Index: pkgsrc/textproc/py-mkdocs-get-deps/distinfo
diff -u /dev/null pkgsrc/textproc/py-mkdocs-get-deps/distinfo:1.1
--- /dev/null   Mon May 27 08:07:11 2024
+++ pkgsrc/textproc/py-mkdocs-get-deps/distinfo Mon May 27 08:07:11 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/05/27 08:07:11 adam Exp $
+
+BLAKE2s (mkdocs_get_deps-0.2.0.tar.gz) = 4795abb60c15eb8e798250f2530b7adfc49a127b64137cc5b302a0f1301d9b2a
+SHA512 (mkdocs_get_deps-0.2.0.tar.gz) = 3fdf445923b82544fc9feaddd6a99638901f9c88a34f404c38ce510934245bd836d1491a9c5561f7b49ae0aa006c58a83ac946449713b0504c0da788d8233d5e
+Size (mkdocs_get_deps-0.2.0.tar.gz) = 10239 bytes



Home | Main Index | Thread Index | Old Index