update to pyzor 1.0, ok benoit@

This commit is contained in:
sthen 2016-02-29 23:42:21 +00:00
parent 6480f7553c
commit 43396bed0e
5 changed files with 12 additions and 35 deletions

View File

@ -1,31 +1,21 @@
# $OpenBSD: Makefile,v 1.11 2014/09/06 07:44:53 benoit Exp $
# $OpenBSD: Makefile,v 1.12 2016/02/29 23:42:21 sthen Exp $
COMMENT = collaborative, networked system to detect and block spam
MODPY_EGG_VERSION = 0.7.0
MODPY_EGG_VERSION = 1.0.0
DISTNAME = pyzor-${MODPY_EGG_VERSION}
CATEGORIES = mail net
HOMEPAGE = http://pyzor.sourceforge.net/
HOMEPAGE = http://www.pyzor.org/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pyzor/}
EXTRACT_SUFX = .tar.bz2
MODULES = lang/python
BUILD_DEPENDS += lang/python/${MODPY_VERSION},-gdbm
MODPY_PI = Yes
NO_TEST = Yes
post-extract:
chmod -R og+r ${WRKSRC}
pre-configure:
${SUBST_CMD} ${WRKSRC}/scripts/pyzor ${WRKSRC}/scripts/pyzord
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (pyzor-0.7.0.tar.bz2) = bZymK9SqmgIQrbnUyP8rOLss0FHxUXzinojX++SxAm0=
SIZE (pyzor-0.7.0.tar.bz2) = 78555
SHA256 (pyzor-1.0.0.tar.gz) = EOoRS97i7uXt1q/o7t2q9gViBEWXeuAZo+mxy7a8Oyc=
SIZE (pyzor-1.0.0.tar.gz) = 39945

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-scripts_pyzor,v 1.1.1.1 2008/09/02 12:33:17 jasper Exp $
--- scripts/pyzor.orig Tue Sep 2 12:55:20 2008
+++ scripts/pyzor Tue Sep 2 12:55:37 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!${MODPY_BIN}
import pyzor.client
pyzor.client.run()

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-scripts_pyzord,v 1.1.1.1 2008/09/02 12:33:17 jasper Exp $
--- scripts/pyzord.orig Tue Sep 2 12:55:24 2008
+++ scripts/pyzord Tue Sep 2 12:55:38 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!${MODPY_BIN}
import os
import os.path

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST,v 1.3 2014/09/06 07:44:53 benoit Exp $
@comment $OpenBSD: PLIST,v 1.4 2016/02/29 23:42:21 sthen Exp $
bin/pyzor
bin/pyzor-migrate
bin/pyzord
lib/python${MODPY_VERSION}/site-packages/pyzor/
lib/python${MODPY_VERSION}/site-packages/pyzor-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
@ -24,6 +25,10 @@ lib/python${MODPY_VERSION}/site-packages/pyzor/engines/mysql.py
lib/python${MODPY_VERSION}/site-packages/pyzor/engines/mysql.pyc
lib/python${MODPY_VERSION}/site-packages/pyzor/engines/redis_.py
lib/python${MODPY_VERSION}/site-packages/pyzor/engines/redis_.pyc
lib/python${MODPY_VERSION}/site-packages/pyzor/engines/redis_v0.py
lib/python${MODPY_VERSION}/site-packages/pyzor/engines/redis_v0.pyc
lib/python${MODPY_VERSION}/site-packages/pyzor/forwarder.py
lib/python${MODPY_VERSION}/site-packages/pyzor/forwarder.pyc
lib/python${MODPY_VERSION}/site-packages/pyzor/hacks/
lib/python${MODPY_VERSION}/site-packages/pyzor/hacks/__init__.py
lib/python${MODPY_VERSION}/site-packages/pyzor/hacks/__init__.pyc