From: Michael Tremer Date: Sun, 31 May 2009 11:09:30 +0000 (+0200) Subject: Added new package: python-sqlite2. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afe87ec7fb6bb09410b10b7e513e1fb9fb943075;p=ipfire-3.x.git Added new package: python-sqlite2. --- diff --git a/lfs/python-sqlite2 b/lfs/python-sqlite2 new file mode 100644 index 000000000..406756b06 --- /dev/null +++ b/lfs/python-sqlite2 @@ -0,0 +1,85 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +PKG_NAME = pysqlite +PKG_VER = 2.5.5 +PKG_REL = 0 + +THISAPP = $(PKG_NAME)-$(PKG_VER) +DL_FILE = $(THISAPP).tar.gz +DIR_APP = $(DIR_SRC)/$(THISAPP) + +OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +MAINTAINER = +GROUP = System/Databases +CORE = yes +EXTRA = no +DEBUG = no +BUILD_DEPS = +DEPS = python sqlite + +URL = http://pysqlite.org/ +LICENSE = zlib libpng +SHORT_DESC = DB-API 2.0 interface for SQLite 3.x. + +define LONG_DESC + pysqlite is an interface to the SQLite 3.x embedded relational database \ + engine. It is almost fully compliant with the Python database API version \ + 2.0 also exposes the unique features of SQLite. +endef + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +download: $(objects) + +info: + $(DO_PKG_INFO) + +install: $(OBJECT) + +package: + @$(DO_PACKAGE) + +$(objects): + @$(LOAD) + +############################################################################### +# Installation Details +############################################################################### + +$(OBJECT): $(objects) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && sed -i -e "/\/usr\/include/d" -e "/\/usr\/lib/d" setup.cfg + cd $(DIR_APP) && CFLAGS="$(CFLAGS)" python setup.py build + cd $(DIR_APP) && python setup.py install -O1 --skip-build + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/src/rootfiles/core/python-sqlite2 b/src/rootfiles/core/python-sqlite2 new file mode 100644 index 000000000..9a299b3c3 --- /dev/null +++ b/src/rootfiles/core/python-sqlite2 @@ -0,0 +1,46 @@ ++usr/lib/python2.6/site-packages/pysqlite-2.5.5-py2.6.egg-info +usr/lib/python2.6/site-packages/pysqlite2 +usr/lib/python2.6/site-packages/pysqlite2/__init__.py +usr/lib/python2.6/site-packages/pysqlite2/__init__.pyc +usr/lib/python2.6/site-packages/pysqlite2/__init__.pyo +usr/lib/python2.6/site-packages/pysqlite2/_sqlite.so +usr/lib/python2.6/site-packages/pysqlite2/dbapi2.py +usr/lib/python2.6/site-packages/pysqlite2/dbapi2.pyc +usr/lib/python2.6/site-packages/pysqlite2/dbapi2.pyo +usr/lib/python2.6/site-packages/pysqlite2/dump.py +usr/lib/python2.6/site-packages/pysqlite2/dump.pyc +usr/lib/python2.6/site-packages/pysqlite2/dump.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test ++usr/lib/python2.6/site-packages/pysqlite2/test/__init__.py ++usr/lib/python2.6/site-packages/pysqlite2/test/__init__.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/__init__.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test/dbapi.py ++usr/lib/python2.6/site-packages/pysqlite2/test/dbapi.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/dbapi.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test/dump.py ++usr/lib/python2.6/site-packages/pysqlite2/test/dump.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/dump.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test/factory.py ++usr/lib/python2.6/site-packages/pysqlite2/test/factory.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/factory.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test/hooks.py ++usr/lib/python2.6/site-packages/pysqlite2/test/hooks.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/hooks.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test/py25tests.py ++usr/lib/python2.6/site-packages/pysqlite2/test/py25tests.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/py25tests.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test/regression.py ++usr/lib/python2.6/site-packages/pysqlite2/test/regression.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/regression.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test/transactions.py ++usr/lib/python2.6/site-packages/pysqlite2/test/transactions.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/transactions.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test/types.py ++usr/lib/python2.6/site-packages/pysqlite2/test/types.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/types.pyo ++usr/lib/python2.6/site-packages/pysqlite2/test/userfunctions.py ++usr/lib/python2.6/site-packages/pysqlite2/test/userfunctions.pyc ++usr/lib/python2.6/site-packages/pysqlite2/test/userfunctions.pyo ++usr/pysqlite2-doc ++usr/pysqlite2-doc/code ++usr/pysqlite2-doc/install-source.txt