summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-22 15:43:03 +0000
committerwiz <wiz@pkgsrc.org>2022-01-22 15:43:03 +0000
commit1e39c16e39298b7adce3bdfebf0553f6569aa4e7 (patch)
treed12fd7ce45d4f41cf06bd8bb59e3dfaeb490b29c
parent2fe080e6ac1a60de03f9c70b78a7e8db07ded701 (diff)
downloadpkgsrc-1e39c16e39298b7adce3bdfebf0553f6569aa4e7.tar.gz
py-zhCodecs: convert to egg.mk
-rw-r--r--converters/py-zhCodecs/Makefile10
-rw-r--r--converters/py-zhCodecs/PLIST3
2 files changed, 7 insertions, 6 deletions
diff --git a/converters/py-zhCodecs/Makefile b/converters/py-zhCodecs/Makefile
index a555a60d97a..1470809844c 100644
--- a/converters/py-zhCodecs/Makefile
+++ b/converters/py-zhCodecs/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2021/04/21 08:51:16 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2022/01/22 15:43:03 wiz Exp $
DISTNAME= ChineseCodecs1.2.0
PKGNAME= ${PYPKGPREFIX}-zhCodecs-1.2.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= converters devel python
MASTER_SITES= # ftp://ftp.shellhung.org/pub/OpenBSD/packages/chinese/
@@ -11,12 +11,12 @@ HOMEPAGE= https://sourceforge.net/projects/python-codecs/
COMMENT= Python Unicode codecs for Chinese charsets
WRKSRC= ${WRKDIR}/${DISTNAME}/Python
-PYDISTUTILSPKG= # defined
PYTHON_VERSIONS_ACCEPTED= 27
+EGG_NAME= ChineseCodecs-1.1.0
post-extract:
- @${CHMOD} 711 ${WRKSRC}/chinesetw
+ ${CHMOD} 711 ${WRKSRC}/chinesetw
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/py-zhCodecs/PLIST b/converters/py-zhCodecs/PLIST
index 36972a22e8e..9852dd7608b 100644
--- a/converters/py-zhCodecs/PLIST
+++ b/converters/py-zhCodecs/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:39:10 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/01/22 15:43:03 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}
${PYSITELIB}/big5_tw.py
${PYSITELIB}/big5_tw.pyc
${PYSITELIB}/big5_tw.pyo