Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 18:12:21 GMT
From:      Choe@FreeBSD.org, Cheng-Dae <whitekid@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/89163: new port: devel/py-formencode
Message-ID:  <200511161812.jAGICLSe028725@www.freebsd.org>
Resent-Message-ID: <200511161820.jAGIKFC7020742@freefall.freebsd.org>

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

>Number:         89163
>Category:       ports
>Synopsis:       new port: devel/py-formencode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 16 18:20:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Choe, Cheng-Dae
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD w.comdongin.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Nov 11 12:09:14 KST 2005 root@w.comdongin.com:/usr/obj/data/src/sys/CDI i386

>Description:
- add run dependency with devel/py-formencode (was reported ports/98160)
- fix DOCSDIR/EXAMPLESDIR with py- prefix
- mark ports docs plist with PORTDOCS
>How-To-Repeat:
              N/A
>Fix:
diff -ruN py-sqlobject.orig/Makefile py-sqlobject/Makefile
--- py-sqlobject.orig/Makefile	Sun Oct 23 08:10:52 2005
+++ py-sqlobject/Makefile	Thu Nov 17 02:59:36 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	sqlobject
 PORTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	http://cheeseshop.python.org/packages/source/S/SQLObject/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,11 +17,17 @@
 COMMENT=	A python object for manipulation with SQL table row
 
 # Someone will add SQLite, Firebird and DBMConnection support things.
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb \
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/formencode/__init__.py:${PORTSDIR}/devel/py-formencode \
+		${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb \
 		${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
+
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
+EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
+
+PORTDOCS=	*
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -ruN py-sqlobject.orig/pkg-plist py-sqlobject/pkg-plist
--- py-sqlobject.orig/pkg-plist	Sun Oct 23 08:10:52 2005
+++ py-sqlobject/pkg-plist	Thu Nov 17 02:50:53 2005
@@ -107,41 +107,41 @@
 %%PYTHON_SITELIBDIR%%/sqlobject/util/threadinglocal.py
 %%PYTHON_SITELIBDIR%%/sqlobject/util/threadinglocal.pyc
 %%PYTHON_SITELIBDIR%%/sqlobject/util/threadinglocal.pyo
-%%PORTDOCS%%%%DOCSDIR%%/Authors.txt
-%%PORTDOCS%%%%DOCSDIR%%/DeveloperGuide.txt
-%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
-%%PORTDOCS%%%%DOCSDIR%%/Inheritance.txt
-%%PORTDOCS%%%%DOCSDIR%%/News.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/SQLBuilder.txt
-%%PORTDOCS%%%%DOCSDIR%%/SQLObject.txt
-%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
-%%PORTDOCS%%%%DOCSDIR%%/community.txt
-%%PORTDOCS%%%%DOCSDIR%%/default.css
-%%PORTDOCS%%%%DOCSDIR%%/download.txt
-%%PORTDOCS%%%%DOCSDIR%%/europython/europython_sqlobj.py
-%%PORTDOCS%%%%DOCSDIR%%/europython/main.css
-%%PORTDOCS%%%%DOCSDIR%%/europython/person.py
-%%PORTDOCS%%%%DOCSDIR%%/index.txt
-%%PORTDOCS%%%%DOCSDIR%%/interface.py
-%%PORTDOCS%%%%DOCSDIR%%/links.txt
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/sqlobject-and-database-programming.html
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/bodybg.gif
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/custom.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/framing.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/opera.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/pretty.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/print.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/s5-core.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/slides.css
-%%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/slides.js
-%%PORTDOCS%%%%DOCSDIR%%/rebuild
-%%PORTDOCS%%%%DOCSDIR%%/sqlobject-admin.txt
-%%PORTDOCS%%%%DOCSDIR%%/test.py
-@dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui
-@dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11
-@dirrm %%PORTDOCS%%%%DOCSDIR%%/europython
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@comment %%PORTDOCS%%%%DOCSDIR%%/Authors.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/DeveloperGuide.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/Inheritance.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/News.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/README.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/SQLBuilder.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/SQLObject.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/TODO.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/community.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/default.css
+@comment %%PORTDOCS%%%%DOCSDIR%%/download.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/europython/europython_sqlobj.py
+@comment %%PORTDOCS%%%%DOCSDIR%%/europython/main.css
+@comment %%PORTDOCS%%%%DOCSDIR%%/europython/person.py
+@comment %%PORTDOCS%%%%DOCSDIR%%/index.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/interface.py
+@comment %%PORTDOCS%%%%DOCSDIR%%/links.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/sqlobject-and-database-programming.html
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/bodybg.gif
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/custom.css
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/framing.css
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/opera.css
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/pretty.css
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/print.css
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/s5-core.css
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/slides.css
+@comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/slides.js
+@comment %%PORTDOCS%%%%DOCSDIR%%/rebuild
+@comment %%PORTDOCS%%%%DOCSDIR%%/sqlobject-admin.txt
+@comment %%PORTDOCS%%%%DOCSDIR%%/test.py
+@comment @dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui
+@comment @dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11
+@comment @dirrm %%PORTDOCS%%%%DOCSDIR%%/europython
+@comment %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm %%PYTHON_SITELIBDIR%%/sqlobject/util
 @dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sybase
 @dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sqlite
>Release-Note:
>Audit-Trail:
>Unformatted:



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