Mon Apr 3 17:26:02 2023 UTC ()
asciidoc: original repo is gone - switch to PyPI; refer to pygmentize with PYVERSSUFFIX; tests are gone; bump revision


(adam)
diff -r1.71 -r1.72 pkgsrc/textproc/asciidoc/Makefile
diff -r1.35 -r1.36 pkgsrc/textproc/asciidoc/distinfo

cvs diff -r1.71 -r1.72 pkgsrc/textproc/asciidoc/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/asciidoc/Makefile 2022/11/23 16:21:11 1.71
+++ pkgsrc/textproc/asciidoc/Makefile 2023/04/03 17:26:02 1.72
@@ -1,47 +1,41 @@ @@ -1,47 +1,41 @@
1# $NetBSD: Makefile,v 1.71 2022/11/23 16:21:11 adam Exp $ 1# $NetBSD: Makefile,v 1.72 2023/04/03 17:26:02 adam Exp $
2 2
3DISTNAME= asciidoc-10.2.0 3DISTNAME= asciidoc-10.2.0
4PKGREVISION= 2 4PKGREVISION= 3
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= ${MASTER_SITE_GITHUB:=asciidoc/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=a/asciidoc/}
7GITHUB_PROJECT= asciidoc-py3 
8 7
9MAINTAINER= gls@NetBSD.org 8MAINTAINER= gls@NetBSD.org
10HOMEPAGE= http://www.asciidoc.org/ 9HOMEPAGE= https://asciidoc.org/
11COMMENT= ASCII to formatted document converter 10COMMENT= ASCII to formatted document converter
12LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
13 12
14DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl 13DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
15DEPENDS+= getopt-[0-9]*:../../misc/getopt 14DEPENDS+= getopt-[0-9]*:../../misc/getopt
16TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock 
17TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 
18 
19WRKSRC= ${WRKDIR}/${DISTNAME:S/-/-py-/} 
20 
21USE_TOOLS+= pax 
22 15
23USE_PKG_RESOURCES= yes 16USE_PKG_RESOURCES= yes
 17USE_TOOLS+= pax
24 18
25REPLACE_PYTHON+= asciidoc/a2x.py 19REPLACE_PYTHON+= asciidoc/a2x.py
26REPLACE_PYTHON+= asciidoc/asciidoc.py 20REPLACE_PYTHON+= asciidoc/asciidoc.py
27REPLACE_PYTHON+= asciidoc/resources/filters/code/code-filter.py 21REPLACE_PYTHON+= asciidoc/resources/filters/code/code-filter.py
28REPLACE_PYTHON+= asciidoc/resources/filters/latex/latex2img.py 22REPLACE_PYTHON+= asciidoc/resources/filters/latex/latex2img.py
29REPLACE_PYTHON+= asciidoc/resources/filters/music/music2png.py 23REPLACE_PYTHON+= asciidoc/resources/filters/music/music2png.py
30REPLACE_PYTHON+= asciidoc/resources/filters/graphviz/graphviz2png.py 24REPLACE_PYTHON+= asciidoc/resources/filters/graphviz/graphviz2png.py
31REPLACE_PYTHON+= asciidoc/resources/filters/unwraplatex.py 25REPLACE_PYTHON+= asciidoc/resources/filters/unwraplatex.py
32REPLACE_PYTHON+= tests/testasciidoc.py 26REPLACE_PYTHON+= tests/testasciidoc.py
33 27
34PYTHON_VERSIONS_INCOMPATIBLE= 27 28PYTHON_VERSIONS_INCOMPATIBLE= 27
35 29
36.include "options.mk" 30.include "options.mk"
37 31
38# as of 10.2.0 32SUBST_CLASSES+= pyvers
39# 138 passed, 24 warnings 33SUBST_STAGE.pyvers= pre-configure
40TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib 34SUBST_MESSAGE.pyvers= Adding Python version suffix.
41do-test: 35SUBST_FILES.pyvers= asciidoc/resources/filters/source/source-highlight-filter.conf
42 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} 36SUBST_SED.pyvers= -e 's,pygmentize ,pygmentize-${PYVERSSUFFIX} ,g'
43 37
44.include "../../lang/python/application.mk" 38.include "../../lang/python/application.mk"
45.include "../../lang/python/egg.mk" 39.include "../../lang/python/egg.mk"
46.include "../../textproc/libxslt/buildlink3.mk" 40.include "../../textproc/libxslt/buildlink3.mk"
47.include "../../mk/bsd.pkg.mk" 41.include "../../mk/bsd.pkg.mk"

cvs diff -r1.35 -r1.36 pkgsrc/textproc/asciidoc/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/asciidoc/distinfo 2022/05/29 09:39:44 1.35
+++ pkgsrc/textproc/asciidoc/distinfo 2023/04/03 17:26:02 1.36
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.35 2022/05/29 09:39:44 wiz Exp $ 1$NetBSD: distinfo,v 1.36 2023/04/03 17:26:02 adam Exp $
2 2
3BLAKE2s (asciidoc-10.2.0.tar.gz) = b4450bb112bca4f19fa35f27cd8938be72b217d4a808ebee9bb162291c6d34fd 3BLAKE2s (asciidoc-10.2.0.tar.gz) = ee3ce892a89c9d1d04acab2dd36026b882ab3fa1c4c4b189037983536baf92b4
4SHA512 (asciidoc-10.2.0.tar.gz) = 278b4d95af1a93864887fc6a79e38fab431c4a7bf9cca4b734a7ec7cc140c0b804d7182c2002742cb408a2adc68b1f9c8996e930ba2f68a9f8488f75887b00e6 4SHA512 (asciidoc-10.2.0.tar.gz) = 2f83c7f6d1d0a34948035347833ca59841de1271e8d008b4c4a43a7a8273b230148e6f51ee8f6e2dc702460e27c495037fbe2d6d43195b70bf3447ad86390d28
5Size (asciidoc-10.2.0.tar.gz) = 1200416 bytes 5Size (asciidoc-10.2.0.tar.gz) = 216824 bytes