Initial import of goopy-0.1

Google utilities written in Python.

Submitted and maintained by mpech@.
This commit is contained in:
xsa 2005-03-22 13:15:03 +00:00
parent a2ca11be9e
commit f317825bc3
5 changed files with 53 additions and 0 deletions

26
devel/goopy/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/03/22 13:15:03 xsa Exp $
COMMENT= "Google utilities written in Python"
DISTNAME= goopy-0.1
CATEGORIES= devel
HOMEPAGE= http://goog-goopy.sourceforge.net/
MAINTAINER= Mike Pechkin <mpech@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=goog-goopy/}
MODULES= lang/python
do-regress: fake
@cd ${WRKSRC}/goopy && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./functional_unittest.py
.include <bsd.port.mk>

4
devel/goopy/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (goopy-0.1.tar.gz) = 2de22e1ae2697859de8c8e8a75d0c947
RMD160 (goopy-0.1.tar.gz) = bd2e6a7f91ed6d57bb43bc4afbf4d9152b717104
SHA1 (goopy-0.1.tar.gz) = f4613fede58816375bfe0eea27d42d34a74ffcc6
SIZE (goopy-0.1.tar.gz) = 4529

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-goopy_functional_py,v 1.1.1.1 2005/03/22 13:15:03 xsa Exp $
--- goopy/functional.py.orig Mon Mar 21 19:26:00 2005
+++ goopy/functional.py Mon Mar 21 19:26:07 2005
@@ -184,7 +184,7 @@ def maximum(cmp, lst):
for i in xrange(1, len(lst)):
v = lst[i]
- if cmp(maxval, v) <= 0:
+ if cmp(maxval, v) < 0:
maxval = v
return maxval

1
devel/goopy/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
Python utilities that Googlers have found useful.

10
devel/goopy/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/03/22 13:15:03 xsa Exp $
lib/python${MODPY_VERSION}/
lib/python${MODPY_VERSION}/site-packages/
lib/python${MODPY_VERSION}/site-packages/goopy/
lib/python${MODPY_VERSION}/site-packages/goopy/__init__.py
lib/python${MODPY_VERSION}/site-packages/goopy/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/goopy/functional.py
lib/python${MODPY_VERSION}/site-packages/goopy/functional.pyc
lib/python${MODPY_VERSION}/site-packages/goopy/functional_unittest.py
lib/python${MODPY_VERSION}/site-packages/goopy/functional_unittest.pyc