pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/asciidoc



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr  3 17:26:02 UTC 2023

Modified Files:
        pkgsrc/textproc/asciidoc: Makefile distinfo

Log Message:
asciidoc: original repo is gone - switch to PyPI; refer to pygmentize with PYVERSSUFFIX; tests are gone; bump revision


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/textproc/asciidoc/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/textproc/asciidoc/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/asciidoc/Makefile
diff -u pkgsrc/textproc/asciidoc/Makefile:1.71 pkgsrc/textproc/asciidoc/Makefile:1.72
--- pkgsrc/textproc/asciidoc/Makefile:1.71      Wed Nov 23 16:21:11 2022
+++ pkgsrc/textproc/asciidoc/Makefile   Mon Apr  3 17:26:02 2023
@@ -1,26 +1,20 @@
-# $NetBSD: Makefile,v 1.71 2022/11/23 16:21:11 adam Exp $
+# $NetBSD: Makefile,v 1.72 2023/04/03 17:26:02 adam Exp $
 
 DISTNAME=      asciidoc-10.2.0
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    textproc
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=asciidoc/}
-GITHUB_PROJECT=        asciidoc-py3
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asciidoc/}
 
 MAINTAINER=    gls%NetBSD.org@localhost
-HOMEPAGE=      http://www.asciidoc.org/
+HOMEPAGE=      https://asciidoc.org/
 COMMENT=       ASCII to formatted document converter
 LICENSE=       gnu-gpl-v2
 
 DEPENDS+=      docbook-xsl-[0-9]*:../../textproc/docbook-xsl
 DEPENDS+=      getopt-[0-9]*:../../misc/getopt
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-
-WRKSRC=                ${WRKDIR}/${DISTNAME:S/-/-py-/}
-
-USE_TOOLS+=            pax
 
 USE_PKG_RESOURCES=     yes
+USE_TOOLS+=            pax
 
 REPLACE_PYTHON+=       asciidoc/a2x.py
 REPLACE_PYTHON+=       asciidoc/asciidoc.py
@@ -35,11 +29,11 @@ PYTHON_VERSIONS_INCOMPATIBLE=       27
 
 .include "options.mk"
 
-# as of 10.2.0
-# 138 passed, 24 warnings
-TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+SUBST_CLASSES+=                pyvers
+SUBST_STAGE.pyvers=    pre-configure
+SUBST_MESSAGE.pyvers=  Adding Python version suffix.
+SUBST_FILES.pyvers=    asciidoc/resources/filters/source/source-highlight-filter.conf
+SUBST_SED.pyvers=      -e 's,pygmentize ,pygmentize-${PYVERSSUFFIX} ,g'
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"

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



Home | Main Index | Thread Index | Old Index