ports/89163: new port: devel/py-formencode
Choe at FreeBSD.org
Choe at FreeBSD.org
Wed Nov 16 18:20:33 UTC 2005
>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 at 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
- at dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui
- at dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11
- at dirrm %%PORTDOCS%%%%DOCSDIR%%/europython
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at comment %%PORTDOCS%%%%DOCSDIR%%/Authors.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/DeveloperGuide.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/Inheritance.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/News.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/README.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/SQLBuilder.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/SQLObject.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/TODO.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/community.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/default.css
+ at comment %%PORTDOCS%%%%DOCSDIR%%/download.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/europython/europython_sqlobj.py
+ at comment %%PORTDOCS%%%%DOCSDIR%%/europython/main.css
+ at comment %%PORTDOCS%%%%DOCSDIR%%/europython/person.py
+ at comment %%PORTDOCS%%%%DOCSDIR%%/index.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/interface.py
+ at comment %%PORTDOCS%%%%DOCSDIR%%/links.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/sqlobject-and-database-programming.html
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/bodybg.gif
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/custom.css
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/framing.css
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/opera.css
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/pretty.css
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/print.css
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/s5-core.css
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/slides.css
+ at comment %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui/slides.js
+ at comment %%PORTDOCS%%%%DOCSDIR%%/rebuild
+ at comment %%PORTDOCS%%%%DOCSDIR%%/sqlobject-admin.txt
+ at comment %%PORTDOCS%%%%DOCSDIR%%/test.py
+ at comment @dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11/ui
+ at comment @dirrm %%PORTDOCS%%%%DOCSDIR%%/presentation-2004-11
+ at comment @dirrm %%PORTDOCS%%%%DOCSDIR%%/europython
+ at comment %%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/sqlobject/util
@dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sybase
@dirrm %%PYTHON_SITELIBDIR%%/sqlobject/sqlite
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list