summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2003-12-24 09:55:55 +0000
committerrecht <recht@pkgsrc.org>2003-12-24 09:55:55 +0000
commitcb761ea1080d2ab38b0cf134071b3db01f719e77 (patch)
treeffe7b607b2e0b7c6a644651dee6ea8833bc6b4af /net
parent9f0aa4e233227e9050cfa77c4ebda23918367a1a (diff)
downloadpkgsrc-cb761ea1080d2ab38b0cf134071b3db01f719e77.tar.gz
initial import of py-spreadmodule 1.4
This is a Python extension module for Spread, an open source group communications package.
Diffstat (limited to 'net')
-rw-r--r--net/py-spreadmodule/DESCR2
-rw-r--r--net/py-spreadmodule/Makefile26
-rw-r--r--net/py-spreadmodule/PLIST2
-rw-r--r--net/py-spreadmodule/distinfo5
-rw-r--r--net/py-spreadmodule/patches/patch-aa13
5 files changed, 48 insertions, 0 deletions
diff --git a/net/py-spreadmodule/DESCR b/net/py-spreadmodule/DESCR
new file mode 100644
index 00000000000..c25bb5e9c26
--- /dev/null
+++ b/net/py-spreadmodule/DESCR
@@ -0,0 +1,2 @@
+This is a Python extension module for Spread, an open source group
+communications package.
diff --git a/net/py-spreadmodule/Makefile b/net/py-spreadmodule/Makefile
new file mode 100644
index 00000000000..be4a2ada26e
--- /dev/null
+++ b/net/py-spreadmodule/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/24 09:55:55 recht Exp $
+#
+
+DISTNAME= SpreadModule-1.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/SpreadModule/spreadmodule/}
+CATEGORIES= net
+MASTER_SITES= http://www.python.org/other/spread/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= recht@NetBSD.org
+HOMEPAGE= http://www.python.org/other/spread/
+COMMENT= Python bindings for the Spread messaging service
+
+PYDISTUTILSPKG= YES
+USE_BUILDLINK2= YES
+
+PYTHON_VERSIONS_ACCEPTED= 23pth 22pth 21pth
+
+SUBST_CLASSES+= setup
+SUBST_STAGE.setup= post-patch
+SUBST_FILES.setup= setup.py
+SUBST_SED.setup= -e 's,/usr/local,${PREFIX},g'
+
+.include "../../net/spread/buildlink2.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-spreadmodule/PLIST b/net/py-spreadmodule/PLIST
new file mode 100644
index 00000000000..0545506ec9a
--- /dev/null
+++ b/net/py-spreadmodule/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/24 09:55:55 recht Exp $
+${PYSITELIB}/spread.so
diff --git a/net/py-spreadmodule/distinfo b/net/py-spreadmodule/distinfo
new file mode 100644
index 00000000000..069efe28ff7
--- /dev/null
+++ b/net/py-spreadmodule/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/24 09:55:55 recht Exp $
+
+SHA1 (SpreadModule-1.4.tgz) = 46474f8b3dfb7a709f479637c67afa95173bc474
+Size (SpreadModule-1.4.tgz) = 17423 bytes
+SHA1 (patch-aa) = b2d8cfb30901db738f803e51a922c98795ee6b73
diff --git a/net/py-spreadmodule/patches/patch-aa b/net/py-spreadmodule/patches/patch-aa
new file mode 100644
index 00000000000..ca8a88cce56
--- /dev/null
+++ b/net/py-spreadmodule/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/24 09:55:55 recht Exp $
+
+--- setup.py.orig 2003-10-25 00:24:13.000000000 +0200
++++ setup.py 2003-10-25 00:24:26.000000000 +0200
+@@ -55,7 +55,7 @@
+ else:
+ SPREAD_DIR = "/usr/local"
+ ext = Extension('spread', ['spreadmodule.c'],
+- include_dirs = [SPREAD_DIR + "/include"],
++ include_dirs = [SPREAD_DIR + "/include/spread"],
+ library_dirs = [SPREAD_DIR + "/lib"],
+ libraries = ['tspread'],
+ )