- update to 2.4.0

- do not install useless doc
- nicer Makefile

ok martynas@
This commit is contained in:
eric 2008-01-12 23:05:13 +00:00
parent 00208aca0c
commit c26c3bb5f9
4 changed files with 29 additions and 55 deletions

View File

@ -1,16 +1,17 @@
# $OpenBSD: Makefile,v 1.8 2007/10/08 08:22:39 steven Exp $
# $OpenBSD: Makefile,v 1.9 2008/01/12 23:05:13 eric Exp $
SHARED_ONLY= Yes
COMMENT= SQLite3 adapter for Python
DISTNAME= pysqlite-2.3.5
PKGNAME= ${DISTNAME:S/^pysqlite/py-sqlite2/}p0
VERSION= 2.4.0
DISTNAME= pysqlite-${VERSION}
PKGNAME= py-sqlite2-${VERSION}
CATEGORIES= databases devel
MAINTAINER= Eric Faurot <eric@openbsd.org>
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.3/2.3.5/
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/${VERSION:R}/${VERSION}/
HOMEPAGE= http://pysqlite.org/
# BSD-like
@ -22,6 +23,8 @@ PERMIT_DISTFILES_CDROM= Yes
LIB_DEPENDS= sqlite3.>=8.6::databases/sqlite3
REGRESS_DEPENDS= :python-bz2-*:lang/python/${MODPY_VERSION},-bz2
SUBST_VARS= VERSION
MODULES= lang/python
pre-configure:

View File

@ -1,5 +1,5 @@
MD5 (pysqlite-2.3.5.tar.gz) = tKGF6TaEg3D8waWxd1W2QQ==
RMD160 (pysqlite-2.3.5.tar.gz) = 7pBktz8P/JC99Ya0U0vYxIv0tEA=
SHA1 (pysqlite-2.3.5.tar.gz) = rt5avqGwyE4DDBdRaeBi+dksa04=
SHA256 (pysqlite-2.3.5.tar.gz) = B06I4UdizyVoRlj7yJPrn1XPS5iJtx+K7ubomS0/M/4=
SIZE (pysqlite-2.3.5.tar.gz) = 85198
MD5 (pysqlite-2.4.0.tar.gz) = RrRZDFG5+2LNC+FDlkZUng==
RMD160 (pysqlite-2.4.0.tar.gz) = ELrMB41ITCInsnLOWaKGolyjgZY=
SHA1 (pysqlite-2.4.0.tar.gz) = U3IN+XCUXmVGY1DkvNWbl05OdQA=
SHA256 (pysqlite-2.4.0.tar.gz) = fmbAfT65MDX5Jy0BRw5TGnyfnZdRrQbzqcE7T2fAoGo=
SIZE (pysqlite-2.4.0.tar.gz) = 84800

View File

@ -1,17 +1,20 @@
$OpenBSD: patch-setup_py,v 1.2 2006/05/25 13:39:08 alek Exp $
--- setup.py.orig Tue Apr 11 00:13:37 2006
+++ setup.py Thu Apr 20 01:56:14 2006
@@ -104,11 +104,11 @@ def get_setup_args():
$OpenBSD: patch-setup_py,v 1.3 2008/01/12 23:05:13 eric Exp $
--- setup.py.orig Wed Jul 18 01:03:48 2007
+++ setup.py Tue Nov 27 21:53:01 2007
@@ -105,12 +105,10 @@ def get_setup_args():
print "Fatal error: PYSQLITE_VERSION could not be detected!"
sys.exit(1)
- data_files = [("pysqlite2-doc",
+ data_files = [("share/doc/py-sqlite2",
glob.glob("doc/*.html") \
+ glob.glob("doc/*.txt") \
+ glob.glob("doc/*.css")),
- glob.glob("doc/*.html") \
- + glob.glob("doc/*.txt") \
- + glob.glob("doc/*.css")),
- ("pysqlite2-doc/code",
+ ("share/examples/py-sqlite2",
glob.glob("doc/code/*.py"))]
- glob.glob("doc/code/*.py"))]
+ data_files = [("share/doc/py-sqlite2",
+ glob.glob("doc/usage-guide.html") \
+ + glob.glob("doc/usage-guide.txt") \
+ + glob.glob("doc/*.css")), ]
py_modules = ["sqlite"]
setup_args = dict(

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.5 2007/09/10 11:02:48 eric Exp $
@comment $OpenBSD: PLIST,v 1.6 2008/01/12 23:05:13 eric Exp $
lib/python${MODPY_VERSION}/site-packages/pysqlite-${VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/pysqlite2/
lib/python${MODPY_VERSION}/site-packages/pysqlite2/__init__.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/__init__.pyc
@ -14,6 +15,8 @@ lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/factory.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/factory.pyc
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/hooks.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/hooks.pyc
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/py25tests.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/py25tests.pyc
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/regression.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/regression.pyc
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/transactions.py
@ -25,41 +28,6 @@ lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/userfunctions.pyc
share/doc/py-sqlite2/
share/doc/py-sqlite2/default.css
share/doc/py-sqlite2/docutils.css
share/doc/py-sqlite2/install-source-win32.html
share/doc/py-sqlite2/install-source-win32.txt
share/doc/py-sqlite2/install-source.html
share/doc/py-sqlite2/install-source.txt
share/doc/py-sqlite2/silvercity.css
share/doc/py-sqlite2/usage-guide.html
share/doc/py-sqlite2/usage-guide.txt
share/examples/py-sqlite2/
share/examples/py-sqlite2/adapter_datetime.py
share/examples/py-sqlite2/adapter_point_1.py
share/examples/py-sqlite2/adapter_point_2.py
share/examples/py-sqlite2/authorizer.py
share/examples/py-sqlite2/collation_reverse.py
share/examples/py-sqlite2/complete_statement.py
share/examples/py-sqlite2/connect_db_1.py
share/examples/py-sqlite2/connect_db_2.py
share/examples/py-sqlite2/converter_point.py
share/examples/py-sqlite2/countcursors.py
share/examples/py-sqlite2/createdb.py
share/examples/py-sqlite2/execsql_fetchonerow.py
share/examples/py-sqlite2/execsql_printall_1.py
share/examples/py-sqlite2/execute_1.py
share/examples/py-sqlite2/execute_2.py
share/examples/py-sqlite2/execute_3.py
share/examples/py-sqlite2/executemany_1.py
share/examples/py-sqlite2/executemany_2.py
share/examples/py-sqlite2/executescript.py
share/examples/py-sqlite2/insert_more_people.py
share/examples/py-sqlite2/md5func.py
share/examples/py-sqlite2/mysumaggr.py
share/examples/py-sqlite2/parse_colnames.py
share/examples/py-sqlite2/pysqlite_datetime.py
share/examples/py-sqlite2/row_factory.py
share/examples/py-sqlite2/rowclass.py
share/examples/py-sqlite2/shared_cache.py
share/examples/py-sqlite2/shortcut_methods.py
share/examples/py-sqlite2/simple_tableprinter.py
share/examples/py-sqlite2/text_factory.py