here is the new port with the fixes and also a separate diff

Attachment: py-yenc.tar.gz
Description: application/tgz

diff -ru news/py-yenc_orig/Makefile news/py-yenc/Makefile
--- news/py-yenc_orig/Makefile	Tue Dec 11 19:07:18 2007
+++ news/py-yenc/Makefile	Tue Dec 11 22:47:09 2007
@@ -1,8 +1,9 @@
+# $OpenBSD$
+
 COMMENT=		yEnc encoding/decoding extension for Python
 
-VERSION=		0.3
-DISTNAME=		yenc-${VERSION}
-PKGNAME=		py-yenc-${VERSION}
+DISTNAME=		yenc-0.3
+PKGNAME=		${DISTNAME:S/^/py-/}
 CATEGORIES=		news
 
 HOMEPAGE=		http://www.hellanzb.com/
@@ -16,6 +17,8 @@
 MASTER_SITES=		${HOMEPAGE}/hellanzb-content/
 
 MODULES=		lang/python
+
+REGRESS_DEPENDS=	::news/py-yenc
 
 do-regress:
 	cd ${WRKSRC}/test && ${MODPY_BIN} test.py
diff -ru news/py-yenc_orig/pkg/DESCR news/py-yenc/pkg/DESCR
--- news/py-yenc_orig/pkg/DESCR	Tue Dec 11 19:20:15 2007
+++ news/py-yenc/pkg/DESCR	Tue Dec 11 22:14:57 2007
@@ -1,6 +1,6 @@
 The yEnc module provide a simple API for doing raw encoding/decoding of
 yencoded binaries, mainly for retrieving or posting to the usenet.  This
 implementation is really simple and intended mainly as an exercise to
-the author but is also significatively faster than any possible pure
+the author but is also significantly faster than any possible pure
 Python implementation and it's being actually used by some Python nntp
 clients out there.
diff -ru news/py-yenc_orig/pkg/PLIST news/py-yenc/pkg/PLIST
--- news/py-yenc_orig/pkg/PLIST	Tue Dec 11 19:44:05 2007
+++ news/py-yenc/pkg/PLIST	Tue Dec 11 22:47:48 2007
@@ -1,4 +1,4 @@
[EMAIL PROTECTED] $OpenBSD: PLIST,v 1.1.1.1 2006/12/18 18:15:33 jasper Exp $
[EMAIL PROTECTED] $OpenBSD$
 lib/python${MODPY_VERSION}/site-packages/_yenc.so
 lib/python${MODPY_VERSION}/site-packages/yenc.py
 lib/python${MODPY_VERSION}/site-packages/yenc.pyc

Reply via email to