Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 2008 01:58:43 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129429: [Update]devel/py-durus:update to 3.8
Message-ID:  <200812050158.mB51whCp069646@www.freebsd.org>
Resent-Message-ID: <200812050200.mB52013q087799@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129429
>Category:       ports
>Synopsis:       [Update]devel/py-durus:update to 3.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 05 02:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD-8.0 Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Sep 21 18:56:51 HKT 2008     root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
update to 3.8 from 3.7
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -curN py-durus/Makefile py-durus.new/Makefile
--- py-durus/Makefile	2007-07-30 17:41:12.000000000 +0800
+++ py-durus.new/Makefile	2008-12-05 17:37:41.000000000 +0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	durus
-PORTVERSION=	3.7
+PORTVERSION=	3.8
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.mems-exchange.org/software/durus/ \
 		${MASTER_SITE_LOCAL} \
@@ -19,18 +19,16 @@
 COMMENT=	A persistent object storage system for Python
 
 USE_PYTHON=	2.4+
-USE_PYDISTUTILS=	yes
+USE_PYDISTUTILS=	easy_install
+PYEASYINSTALL_ARCHDEP=	yes
 PYDISTUTILS_PKGNAME=	Durus
-MAN1=	durus.1
 
 .include <bsd.port.pre.mk>
 
 post-install:
-	@ ${INSTALL_MAN} ${WRKSRC}/doc/durus.1 ${MANPREFIX}/man/man1
-
 .if !defined(NOPORTDOCS)
 	@ ${MKDIR} ${DOCSDIR}
-.for docfile in ACKS.txt CHANGES.txt history.py INSTALL.txt LICENSE.txt README.txt doc/FAQ.txt
+.for docfile in ACKS.txt CHANGES.txt INSTALL.txt LICENSE.txt README.txt doc/FAQ.txt
 	@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
 .endfor
 .endif
diff -curN py-durus/distinfo py-durus.new/distinfo
--- py-durus/distinfo	2007-06-16 17:17:06.000000000 +0800
+++ py-durus.new/distinfo	2008-12-05 17:28:41.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (Durus-3.7.tar.gz) = 604b20012d7813475fd6d843a6880edb
-SHA256 (Durus-3.7.tar.gz) = 025fb8102305ce1301dc87113abc1c416938c3e898ead47fc1f49d5caff26337
-SIZE (Durus-3.7.tar.gz) = 68881
+MD5 (Durus-3.8.tar.gz) = 75018ffc6682d09e5e0cdad065efa00a
+SHA256 (Durus-3.8.tar.gz) = 14ea503faafaf87cbb301a845c034a7121a04960904c983f0380fb9ca451299d
+SIZE (Durus-3.8.tar.gz) = 71491
diff -curN py-durus/files/patch-setup.py py-durus.new/files/patch-setup.py
--- py-durus/files/patch-setup.py	2006-11-15 22:18:12.000000000 +0800
+++ py-durus.new/files/patch-setup.py	1970-01-01 08:00:00.000000000 +0800
@@ -1,19 +0,0 @@
---- setup.py.orig	Wed Aug 16 01:24:55 2006
-+++ setup.py	Fri Nov 10 17:39:51 2006
-@@ -2,11 +2,11 @@
- $URL: svn+ssh://svn.mems-exchange.org/repos/trunk/durus/setup.py $
- $Id: setup.py 28588 2006-08-15 17:11:08Z dbinger $
- """
--try:
--    import setuptools
--    used = setuptools # to quiet import checker.
--except ImportError:
--    pass
-+# try:
-+#     import setuptools
-+#     used = setuptools # to quiet import checker.
-+# except ImportError:
-+#     pass
- 
- import os
- from distutils.core import setup
diff -curN py-durus/pkg-plist py-durus.new/pkg-plist
--- py-durus/pkg-plist	2007-06-16 17:17:06.000000000 +0800
+++ py-durus.new/pkg-plist	2008-12-05 17:33:36.000000000 +0800
@@ -1,74 +1,9 @@
 bin/durus
-%%PYTHON_SITELIBDIR%%/durus/error.py
-%%PYTHON_SITELIBDIR%%/durus/client_storage.py
-%%PYTHON_SITELIBDIR%%/durus/logger.py
-%%PYTHON_SITELIBDIR%%/durus/history.py
-%%PYTHON_SITELIBDIR%%/durus/persistent.py
-%%PYTHON_SITELIBDIR%%/durus/connection.py
-%%PYTHON_SITELIBDIR%%/durus/persistent_set.py
-%%PYTHON_SITELIBDIR%%/durus/storage.py
-%%PYTHON_SITELIBDIR%%/durus/btree.py
-%%PYTHON_SITELIBDIR%%/durus/storage_server.py
-%%PYTHON_SITELIBDIR%%/durus/run_durus.py
-%%PYTHON_SITELIBDIR%%/durus/client.py
-%%PYTHON_SITELIBDIR%%/durus/persistent_dict.py
-%%PYTHON_SITELIBDIR%%/durus/serialize.py
-%%PYTHON_SITELIBDIR%%/durus/shelf.py
-%%PYTHON_SITELIBDIR%%/durus/pack_storage.py
-%%PYTHON_SITELIBDIR%%/durus/__init__.py
-%%PYTHON_SITELIBDIR%%/durus/persistent_list.py
-%%PYTHON_SITELIBDIR%%/durus/file.py
-%%PYTHON_SITELIBDIR%%/durus/file_storage.py
-%%PYTHON_SITELIBDIR%%/durus/utils.py
-%%PYTHON_SITELIBDIR%%/durus/error.pyc
-%%PYTHON_SITELIBDIR%%/durus/client_storage.pyc
-%%PYTHON_SITELIBDIR%%/durus/logger.pyc
-%%PYTHON_SITELIBDIR%%/durus/history.pyc
-%%PYTHON_SITELIBDIR%%/durus/persistent.pyc
-%%PYTHON_SITELIBDIR%%/durus/connection.pyc
-%%PYTHON_SITELIBDIR%%/durus/persistent_set.pyc
-%%PYTHON_SITELIBDIR%%/durus/storage.pyc
-%%PYTHON_SITELIBDIR%%/durus/btree.pyc
-%%PYTHON_SITELIBDIR%%/durus/storage_server.pyc
-%%PYTHON_SITELIBDIR%%/durus/run_durus.pyc
-%%PYTHON_SITELIBDIR%%/durus/client.pyc
-%%PYTHON_SITELIBDIR%%/durus/persistent_dict.pyc
-%%PYTHON_SITELIBDIR%%/durus/serialize.pyc
-%%PYTHON_SITELIBDIR%%/durus/shelf.pyc
-%%PYTHON_SITELIBDIR%%/durus/pack_storage.pyc
-%%PYTHON_SITELIBDIR%%/durus/__init__.pyc
-%%PYTHON_SITELIBDIR%%/durus/persistent_list.pyc
-%%PYTHON_SITELIBDIR%%/durus/file_storage.pyc
-%%PYTHON_SITELIBDIR%%/durus/file.pyc
-%%PYTHON_SITELIBDIR%%/durus/utils.pyc
-%%PYTHON_SITELIBDIR%%/durus/_persistent.so
-%%PYTHON_SITELIBDIR%%/durus/error.pyo
-%%PYTHON_SITELIBDIR%%/durus/client_storage.pyo
-%%PYTHON_SITELIBDIR%%/durus/logger.pyo
-%%PYTHON_SITELIBDIR%%/durus/history.pyo
-%%PYTHON_SITELIBDIR%%/durus/persistent.pyo
-%%PYTHON_SITELIBDIR%%/durus/connection.pyo
-%%PYTHON_SITELIBDIR%%/durus/persistent_set.pyo
-%%PYTHON_SITELIBDIR%%/durus/storage.pyo
-%%PYTHON_SITELIBDIR%%/durus/btree.pyo
-%%PYTHON_SITELIBDIR%%/durus/storage_server.pyo
-%%PYTHON_SITELIBDIR%%/durus/run_durus.pyo
-%%PYTHON_SITELIBDIR%%/durus/client.pyo
-%%PYTHON_SITELIBDIR%%/durus/persistent_dict.pyo
-%%PYTHON_SITELIBDIR%%/durus/serialize.pyo
-%%PYTHON_SITELIBDIR%%/durus/shelf.pyo
-%%PYTHON_SITELIBDIR%%/durus/pack_storage.pyo
-%%PYTHON_SITELIBDIR%%/durus/__init__.pyo
-%%PYTHON_SITELIBDIR%%/durus/persistent_list.pyo
-%%PYTHON_SITELIBDIR%%/durus/file_storage.pyo
-%%PYTHON_SITELIBDIR%%/durus/file.pyo
-%%PYTHON_SITELIBDIR%%/durus/utils.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 %%PORTDOCS%%%%DOCSDIR%%/ACKS.txt
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
 %%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
-%%PORTDOCS%%%%DOCSDIR%%/history.py
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
 %%PORTDOCS%%%%DOCSDIR%%/README.txt
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm	%%PYTHON_SITELIBDIR%%/durus


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812050158.mB51whCp069646>