summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-05 15:40:56 +0000
committerwiz <wiz@pkgsrc.org>2022-01-05 15:40:56 +0000
commitd19f073cf98e1f2653a8d55bc4ae03f713437692 (patch)
treee9aefdaf8aa062e73299809ec4ac25bfcfb8a1a8 /textproc
parent43a3377b786e75dc9288884a4be636135f02feae (diff)
downloadpkgsrc-d19f073cf98e1f2653a8d55bc4ae03f713437692.tar.gz
python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/csvkit/Makefile6
-rw-r--r--textproc/csvtomd/Makefile6
-rw-r--r--textproc/py-Unidecode/Makefile6
-rw-r--r--textproc/py-black/Makefile6
-rw-r--r--textproc/py-commonmark/Makefile6
-rw-r--r--textproc/py-creole/Makefile6
-rw-r--r--textproc/py-deepdiff/Makefile6
-rw-r--r--textproc/py-epr-reader/Makefile6
-rw-r--r--textproc/py-ftfy/Makefile6
-rw-r--r--textproc/py-generateDS/Makefile6
-rw-r--r--textproc/py-guessit/Makefile6
-rw-r--r--textproc/py-html2text/Makefile6
-rw-r--r--textproc/py-jade/Makefile6
-rw-r--r--textproc/py-jsbeautifier/Makefile6
-rw-r--r--textproc/py-jsonschema/Makefile7
-rw-r--r--textproc/py-m2r/Makefile6
-rw-r--r--textproc/py-markdown/Makefile8
-rw-r--r--textproc/py-mkdocs/Makefile6
-rw-r--r--textproc/py-natsort/Makefile6
-rw-r--r--textproc/py-nltk/Makefile6
-rw-r--r--textproc/py-openapi-spec-validator/Makefile6
-rw-r--r--textproc/py-ptable/Makefile6
-rw-r--r--textproc/py-pybtex/Makefile6
-rw-r--r--textproc/py-pygments/Makefile6
-rw-r--r--textproc/py-pysrt/Makefile6
-rw-r--r--textproc/py-ramlfications/Makefile6
-rw-r--r--textproc/py-rdflib/Makefile6
-rw-r--r--textproc/py-rst2pdf/Makefile6
-rw-r--r--textproc/py-sphinx/Makefile6
-rw-r--r--textproc/py-sphobjinv/Makefile6
-rw-r--r--textproc/py-tabulate/Makefile6
-rw-r--r--textproc/py-textile/Makefile6
-rw-r--r--textproc/py-vobject/Makefile6
-rw-r--r--textproc/py-xml2rfc/Makefile6
-rw-r--r--textproc/py-xmlschema/Makefile6
-rw-r--r--textproc/subliminal/Makefile6
-rw-r--r--textproc/translate-toolkit/Makefile6
-rw-r--r--textproc/yq/Makefile6
38 files changed, 151 insertions, 80 deletions
diff --git a/textproc/csvkit/Makefile b/textproc/csvkit/Makefile
index 3a9d788d78c..e4230d92229 100644
--- a/textproc/csvkit/Makefile
+++ b/textproc/csvkit/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2022/01/04 20:54:50 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/01/05 15:41:23 wiz Exp $
DISTNAME= csvkit-0.9.0
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=wireservice/}
GITHUB_TAG= ${PKGVERSION_NOREV}
@@ -24,5 +24,7 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-aenum via py-dbf
+USE_PKG_RESOURCES= yes
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/csvtomd/Makefile b/textproc/csvtomd/Makefile
index ed372c334a1..abc30b88107 100644
--- a/textproc/csvtomd/Makefile
+++ b/textproc/csvtomd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2022/01/04 20:54:50 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:23 wiz Exp $
DISTNAME= csvtomd-0.1.1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=mplewis/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -15,6 +15,8 @@ USE_LANGUAGES= # none
REPLACE_PYTHON+= csvtomd
+USE_PKG_RESOURCES= yes
+
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
diff --git a/textproc/py-Unidecode/Makefile b/textproc/py-Unidecode/Makefile
index 7ba37093ff3..e4ee213b482 100644
--- a/textproc/py-Unidecode/Makefile
+++ b/textproc/py-Unidecode/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2022/01/04 20:54:51 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/01/05 15:41:23 wiz Exp $
DISTNAME= Unidecode-1.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=U/Unidecode/}
@@ -13,6 +13,8 @@ LICENSE= gnu-gpl-v2
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} unidecode unidecode-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-black/Makefile b/textproc/py-black/Makefile
index 2cca1b08f54..c398269ac00 100644
--- a/textproc/py-black/Makefile
+++ b/textproc/py-black/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:54:52 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:23 wiz Exp $
DISTNAME= black-20.8b1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/black/}
@@ -27,6 +27,8 @@ DEPENDS+= ${PYPKGPREFIX}-aiohttp-cors-[0-9]*:../../www/py-aiohttp-cors
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-aiohttp
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && for b in black black-primer blackd; \
do ${MV} $$b $$b-${PYVERSSUFFIX}; \
diff --git a/textproc/py-commonmark/Makefile b/textproc/py-commonmark/Makefile
index ba9781aa6a2..e8184372f56 100644
--- a/textproc/py-commonmark/Makefile
+++ b/textproc/py-commonmark/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:54:53 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:23 wiz Exp $
DISTNAME= commonmark-0.9.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/commonmark/}
@@ -18,6 +18,8 @@ DEPENDS+= ${PYPKGPREFIX}-future>=0.14.0:../../devel/py-future
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} cmark cmark-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-creole/Makefile b/textproc/py-creole/Makefile
index f079769b1f0..b9542fc20af 100644
--- a/textproc/py-creole/Makefile
+++ b/textproc/py-creole/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2022/01/04 20:54:53 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/01/05 15:41:23 wiz Exp $
DISTNAME= python-creole-1.3.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc www python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-creole/}
@@ -22,6 +22,8 @@ REPLACE_PYTHON+= creole/*/*.py
PYTHON_SELF_CONFLICT= yes
+USE_PKG_RESOURCES= yes
+
do-test:
cd ${WRKSRC} && ${PYTHONBIN} setup.py nosetests
diff --git a/textproc/py-deepdiff/Makefile b/textproc/py-deepdiff/Makefile
index 3393a2587d7..95ead0898f3 100644
--- a/textproc/py-deepdiff/Makefile
+++ b/textproc/py-deepdiff/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2022/01/04 20:54:53 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:24 wiz Exp $
DISTNAME= deepdiff-5.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/deepdiff/}
@@ -19,6 +19,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} deep deep-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-epr-reader/Makefile b/textproc/py-epr-reader/Makefile
index ba55325a06b..c8194a37554 100644
--- a/textproc/py-epr-reader/Makefile
+++ b/textproc/py-epr-reader/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:54:55 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:24 wiz Exp $
DISTNAME= epr-reader-2.4.11
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=e/epr-reader/}
@@ -13,5 +13,7 @@ LICENSE= mit
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-ftfy/Makefile b/textproc/py-ftfy/Makefile
index b64b965045d..d1efb2c8f82 100644
--- a/textproc/py-ftfy/Makefile
+++ b/textproc/py-ftfy/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2022/01/04 20:54:55 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/01/05 15:41:24 wiz Exp $
DISTNAME= ftfy-4.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= python textproc
MASTER_SITES= ${MASTER_SITE_PYPI:=f/ftfy/}
@@ -16,6 +16,8 @@ DEPENDS+= ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/ftfy \
${DESTDIR}${PREFIX}/bin/ftfy${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-generateDS/Makefile b/textproc/py-generateDS/Makefile
index cbc2c881a7e..c97870fdbb3 100644
--- a/textproc/py-generateDS/Makefile
+++ b/textproc/py-generateDS/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2022/01/04 20:54:55 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:24 wiz Exp $
DISTNAME= generateDS-2.28b0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/0$//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/generateDS/}
@@ -17,5 +17,7 @@ USE_LANGUAGES= # none
PYTHON_SELF_CONFLICT= yes
+USE_PKG_RESOURCES= yes
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-guessit/Makefile b/textproc/py-guessit/Makefile
index bff82a0c45f..a9e34fc337c 100644
--- a/textproc/py-guessit/Makefile
+++ b/textproc/py-guessit/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2022/01/04 20:54:55 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:24 wiz Exp $
DISTNAME= guessit-3.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/guessit/}
@@ -21,6 +21,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} guessit guessit-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-html2text/Makefile b/textproc/py-html2text/Makefile
index 2bb35ef7217..9280b5addb9 100644
--- a/textproc/py-html2text/Makefile
+++ b/textproc/py-html2text/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.57 2022/01/04 20:54:55 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2022/01/05 15:41:24 wiz Exp $
DISTNAME= html2text-2020.1.16
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc converters python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/html2text/}
@@ -14,6 +14,8 @@ LICENSE= gnu-gpl-v3
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} html2text html2text-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-jade/Makefile b/textproc/py-jade/Makefile
index a2977c4ccf4..9f9b0fbfe13 100644
--- a/textproc/py-jade/Makefile
+++ b/textproc/py-jade/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:54:56 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:24 wiz Exp $
DISTNAME= pyjade-4.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyjade/}
@@ -15,6 +15,8 @@ DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} pyjade pyjade${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-jsbeautifier/Makefile b/textproc/py-jsbeautifier/Makefile
index b75e9275da8..35a8a149b1e 100644
--- a/textproc/py-jsbeautifier/Makefile
+++ b/textproc/py-jsbeautifier/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2022/01/04 20:54:57 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2022/01/05 15:41:24 wiz Exp $
DISTNAME= jsbeautifier-1.13.13
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jsbeautifier/}
@@ -16,6 +16,8 @@ DEPENDS+= ${PYPKGPREFIX}-six>=1.13.0:../../lang/py-six
PYTHON_VERSIONED_DEPENDENCIES= test:test
+USE_PKG_RESOURCES= yes
+
USE_LANGUAGES= # none
post-install:
diff --git a/textproc/py-jsonschema/Makefile b/textproc/py-jsonschema/Makefile
index 7ee2f9bb204..dc148be96f2 100644
--- a/textproc/py-jsonschema/Makefile
+++ b/textproc/py-jsonschema/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2022/01/04 20:54:58 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2022/01/05 15:41:25 wiz Exp $
DISTNAME= jsonschema-3.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jsonschema/}
@@ -24,7 +24,7 @@ DEPENDS+= ${PYPKGPREFIX}-functools32-[0-9]*:../../devel/py-functools32
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
.endif
-PYTHON_VERSIONED_DEPENDENCIES+= setuptools
+USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
@@ -34,5 +34,4 @@ do-test:
cd ${WRKSRC}/jsonschema && ${PYTHONBIN} -m unittest discover -v
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-m2r/Makefile b/textproc/py-m2r/Makefile
index 96e15f43f89..7c04a712f43 100644
--- a/textproc/py-m2r/Makefile
+++ b/textproc/py-m2r/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2022/01/04 20:54:58 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2022/01/05 15:41:25 wiz Exp $
DISTNAME= m2r-0.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/m2r/}
@@ -18,6 +18,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONED_DEPENDENCIES= pygments:test
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} m2r m2r-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-markdown/Makefile b/textproc/py-markdown/Makefile
index 127a4970697..9e8f80a62b8 100644
--- a/textproc/py-markdown/Makefile
+++ b/textproc/py-markdown/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2022/01/04 20:54:59 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2022/01/05 15:41:25 wiz Exp $
DISTNAME= Markdown-3.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=M/Markdown/}
@@ -13,9 +13,10 @@ LICENSE= modified-bsd
TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
-PYTHON_VERSIONED_DEPENDENCIES+= setuptools
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
USE_LANGUAGES= # none
post-install:
@@ -23,5 +24,4 @@ post-install:
${MV} markdown_py markdown_py${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-mkdocs/Makefile b/textproc/py-mkdocs/Makefile
index 9228f9e0272..0ba5342af36 100644
--- a/textproc/py-mkdocs/Makefile
+++ b/textproc/py-mkdocs/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 20:55:00 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/01/05 15:41:25 wiz Exp $
DISTNAME= mkdocs-1.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mkdocs/}
@@ -19,6 +19,8 @@ DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
PYTHON_VERSIONED_DEPENDENCIES+= markdown
+USE_PKG_RESOURCES= yes
+
USE_LANGUAGES= # none
post-install:
diff --git a/textproc/py-natsort/Makefile b/textproc/py-natsort/Makefile
index 30ddbde5d01..4922aa8c288 100644
--- a/textproc/py-natsort/Makefile
+++ b/textproc/py-natsort/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2022/01/04 20:55:00 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2022/01/05 15:41:25 wiz Exp $
DISTNAME= natsort-7.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/natsort/}
@@ -18,6 +18,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} natsort natsort-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-nltk/Makefile b/textproc/py-nltk/Makefile
index efece9e93ab..7ae5da4fa4f 100644
--- a/textproc/py-nltk/Makefile
+++ b/textproc/py-nltk/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:55:00 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/05 15:41:25 wiz Exp $
DISTNAME= nltk-3.6.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nltk/}
EXTRACT_SUFX= .zip
@@ -56,6 +56,8 @@ REPLACE_PYTHON= nltk/corpus/reader/knbc.py
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} nltk nltk-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-openapi-spec-validator/Makefile b/textproc/py-openapi-spec-validator/Makefile
index a2724f275a0..fee2c2b5a34 100644
--- a/textproc/py-openapi-spec-validator/Makefile
+++ b/textproc/py-openapi-spec-validator/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:55:01 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:25 wiz Exp $
DISTNAME= openapi-spec-validator-0.3.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc www python
MASTER_SITES= ${MASTER_SITE_PYPI:=o/openapi-spec-validator/}
@@ -21,6 +21,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
do-test:
diff --git a/textproc/py-ptable/Makefile b/textproc/py-ptable/Makefile
index 1acf7deaa17..3c733288bc1 100644
--- a/textproc/py-ptable/Makefile
+++ b/textproc/py-ptable/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:55:02 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:25 wiz Exp $
DISTNAME= PTable-0.9.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PTable/}
@@ -13,6 +13,8 @@ LICENSE= modified-bsd
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ptable ptable-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-pybtex/Makefile b/textproc/py-pybtex/Makefile
index 2f1207640a4..5f9114b18ce 100644
--- a/textproc/py-pybtex/Makefile
+++ b/textproc/py-pybtex/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2022/01/04 20:55:03 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/01/05 15:41:26 wiz Exp $
DISTNAME= pybtex-0.24.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pybtex/}
@@ -17,6 +17,8 @@ DEPENDS+= ${PYPKGPREFIX}-yaml>=3.01:../../textproc/py-yaml
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pybtex pybtex-${PYVERSSUFFIX} && \
diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile
index 57aff616e2d..ecb468c47d9 100644
--- a/textproc/py-pygments/Makefile
+++ b/textproc/py-pygments/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2022/01/04 20:55:03 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2022/01/05 15:41:26 wiz Exp $
DISTNAME= Pygments-2.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygments/}
@@ -18,6 +18,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pygmentize pygmentize-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-pysrt/Makefile b/textproc/py-pysrt/Makefile
index 1d98b7ce1b3..c1b2e7f291f 100644
--- a/textproc/py-pysrt/Makefile
+++ b/textproc/py-pysrt/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:55:04 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:26 wiz Exp $
DISTNAME= pysrt-1.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pysrt/}
@@ -15,6 +15,8 @@ DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} srt srt-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-ramlfications/Makefile b/textproc/py-ramlfications/Makefile
index 8cf2004f765..b45b1d06dd5 100644
--- a/textproc/py-ramlfications/Makefile
+++ b/textproc/py-ramlfications/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:55:04 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:26 wiz Exp $
DISTNAME= ramlfications-0.1.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/ramlfications/}
@@ -19,6 +19,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-xmltodict-[0-9]*:../../textproc/py-xmltodict
PYTHON_VERSIONED_DEPENDENCIES+= markdown:test
+USE_PKG_RESOURCES= yes
+
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index 71770720379..0d12f27d547 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2022/01/04 20:55:04 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/01/05 15:41:26 wiz Exp $
DISTNAME= rdflib-5.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/rdflib/}
@@ -21,6 +21,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-networkx
+USE_PKG_RESOURCES= yes
+
REPLACE_PYTHON+= rdflib/extras/describer.py rdflib/extras/infixowl.py
REPLACE_PYTHON+= rdflib/plugins/parsers/notation3.py
REPLACE_PYTHON+= rdflib/plugins/parsers/ntriples.py
diff --git a/textproc/py-rst2pdf/Makefile b/textproc/py-rst2pdf/Makefile
index 70bdea2cf91..6ba07d8d2bd 100644
--- a/textproc/py-rst2pdf/Makefile
+++ b/textproc/py-rst2pdf/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2022/01/04 20:55:05 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:26 wiz Exp $
DISTNAME= rst2pdf-0.98
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/}
@@ -25,6 +25,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index 7d75ef94052..e93967a8fbf 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.81 2022/01/04 20:55:05 wiz Exp $
+# $NetBSD: Makefile,v 1.82 2022/01/05 15:41:26 wiz Exp $
DISTNAME= Sphinx-4.3.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=S/Sphinx/}
@@ -40,6 +40,8 @@ PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} sphinx-apidoc sphinx-apidoc-${PYVERSSUFFIX} && \
diff --git a/textproc/py-sphobjinv/Makefile b/textproc/py-sphobjinv/Makefile
index a83894eb77f..a629c857f5a 100644
--- a/textproc/py-sphobjinv/Makefile
+++ b/textproc/py-sphobjinv/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:55:07 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:26 wiz Exp $
DISTNAME= sphobjinv-2.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sphobjinv/}
@@ -20,6 +20,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} sphobjinv sphobjinv-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-tabulate/Makefile b/textproc/py-tabulate/Makefile
index b772e6b1296..f5c3985c8f3 100644
--- a/textproc/py-tabulate/Makefile
+++ b/textproc/py-tabulate/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2022/01/04 20:55:07 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/01/05 15:41:27 wiz Exp $
DISTNAME= tabulate-0.8.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tabulate/}
@@ -15,6 +15,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} tabulate tabulate-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-textile/Makefile b/textproc/py-textile/Makefile
index 469ec50c3bd..b7de6b772f2 100644
--- a/textproc/py-textile/Makefile
+++ b/textproc/py-textile/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2022/01/04 20:55:08 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2022/01/05 15:41:27 wiz Exp $
DISTNAME= textile-3.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/textile/}
@@ -18,6 +18,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pytextile pytextile-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/py-vobject/Makefile b/textproc/py-vobject/Makefile
index cc524e3fb59..299984c36f7 100644
--- a/textproc/py-vobject/Makefile
+++ b/textproc/py-vobject/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2022/01/04 20:55:08 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2022/01/05 15:41:27 wiz Exp $
DISTNAME= vobject-0.9.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=v/vobject/}
@@ -13,6 +13,8 @@ LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.4.0:../../time/py-dateutil
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} change_tz change_tz-${PYVERSSUFFIX} && \
diff --git a/textproc/py-xml2rfc/Makefile b/textproc/py-xml2rfc/Makefile
index 31ecba4ee32..5e5b5538f68 100644
--- a/textproc/py-xml2rfc/Makefile
+++ b/textproc/py-xml2rfc/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2022/01/04 20:55:09 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:27 wiz Exp $
DISTNAME= xml2rfc-3.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=x/xml2rfc/}
@@ -37,6 +37,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-weasyprint>=0:../../print/py-weasyprint
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
do-test:
${RUN} cd ${WRKSRC} && \
${PYTHONBIN} -m unittest
diff --git a/textproc/py-xmlschema/Makefile b/textproc/py-xmlschema/Makefile
index 3e9684a9978..a56be80b351 100644
--- a/textproc/py-xmlschema/Makefile
+++ b/textproc/py-xmlschema/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.34 2022/01/04 20:55:09 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2022/01/05 15:41:27 wiz Exp $
DISTNAME= xmlschema-1.9.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=x/xmlschema/}
@@ -18,6 +18,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-elementpath
+USE_PKG_RESOURCES= yes
+
post-install:
.for bin in xmlschema-json2xml xmlschema-validate xmlschema-xml2json
cd ${DESTDIR}${PREFIX}/bin && \
diff --git a/textproc/subliminal/Makefile b/textproc/subliminal/Makefile
index 8dbc96835d6..29ed8099716 100644
--- a/textproc/subliminal/Makefile
+++ b/textproc/subliminal/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2022/01/04 20:55:10 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:27 wiz Exp $
DISTNAME= subliminal-2.1.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/subliminal/}
@@ -29,6 +29,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-dogpile-cache, py-stevedore
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} subliminal subliminal-${PYVERSSUFFIX} || ${TRUE}
diff --git a/textproc/translate-toolkit/Makefile b/textproc/translate-toolkit/Makefile
index b86a36b4f0e..b45f3b64056 100644
--- a/textproc/translate-toolkit/Makefile
+++ b/textproc/translate-toolkit/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:55:10 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/05 15:41:27 wiz Exp $
DISTNAME= translate-toolkit-3.0.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/translate-toolkit/}
@@ -26,5 +26,7 @@ REPLACE_BASH+= tools/popuretext
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/yq/Makefile b/textproc/yq/Makefile
index aafb856660c..58b4d26d852 100644
--- a/textproc/yq/Makefile
+++ b/textproc/yq/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:55:10 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:27 wiz Exp $
DISTNAME= yq-2.9.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=kislyuk/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -21,6 +21,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+USE_PKG_RESOURCES= yes
+
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"