[Python-modules-commits] r14385 - in packages/beaker/trunk/debian (7 files)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Mon Sep 6 20:38:24 UTC 2010
Date: Monday, September 6, 2010 @ 20:38:22
Author: piotr
Revision: 14385
* Provide python3-beaker
* Provide pydist files
Added:
packages/beaker/trunk/debian/python-beaker.pydist
packages/beaker/trunk/debian/python3-beaker.pydist
Modified:
packages/beaker/trunk/debian/changelog
packages/beaker/trunk/debian/control
packages/beaker/trunk/debian/rules
packages/beaker/trunk/debian/watch
Deleted:
packages/beaker/trunk/debian/dirs
Modified: packages/beaker/trunk/debian/changelog
===================================================================
--- packages/beaker/trunk/debian/changelog 2010-09-06 20:21:49 UTC (rev 14384)
+++ packages/beaker/trunk/debian/changelog 2010-09-06 20:38:22 UTC (rev 14385)
@@ -1,3 +1,10 @@
+beaker (1.5.4-2) experimental; urgency=low
+
+ * Provide python3-beaker
+ * Provide pydist files
+
+ -- Piotr Ożarowski <piotr at debian.org> Mon, 06 Sep 2010 21:51:45 +0200
+
beaker (1.5.4-1) unstable; urgency=low
* New upstream release
Modified: packages/beaker/trunk/debian/control
===================================================================
--- packages/beaker/trunk/debian/control 2010-09-06 20:21:49 UTC (rev 14384)
+++ packages/beaker/trunk/debian/control 2010-09-06 20:38:22 UTC (rev 14385)
@@ -4,9 +4,11 @@
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Oleksandr Moskalenko <malex at debian.org>, Piotr Ożarowski <piotr at debian.org>
Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: python-support (>= 0.6.4), python-all (>=2.5.0), python-setuptools (>= 0.6b3-1~)
+Build-Depends-Indep: python-support (>= 0.6.4), python-all (>= 2.5.0), python3-all (>= 3.1.2-2),
+ python-setuptools (>= 0.6b3-1~), python3-setuptools
Standards-Version: 3.8.4
XS-Python-Version: >=2.5
+X-Python3-Version: >=3.0
Homepage: http://pypi.python.org/pypi/Beaker
Vcs-Svn: svn://svn.debian.org/python-modules/packages/beaker/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/beaker/trunk/
@@ -41,3 +43,33 @@
* Create functions for automatic call-backs to create new cache copies after
expiration
* Fine-grained toggling of back-ends, keys, and expiration per Cache object
+
+Package: python3-beaker
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Recommends: ${python3:Recommends}, python3-pkg-resources
+Suggests: ${python3:Suggests}, python3-sqlalchemy
+# Suggests: python3-pycryptopp | python3-crypto, python3-pylibmc | python3-memcache
+Description: cache and session library for Python 3
+ Beaker is a web session and general caching library that includes WSGI
+ middleware for use in web applications.
+ .
+ As a general caching library, Beaker can handle storing for various times any
+ Python object that can be pickled with optional back-ends on a fine-grained
+ basis.
+ .
+ Features:
+ * Fast, robust performance
+ * Multiple reader/single writer lock system to avoid duplicate simultaneous
+ cache creation
+ * Cache back-ends include dbm, file, memory, memcached, and database (using
+ SQLAlchemy for multiple-db vendor support)
+ * Signed cookies to prevent session hijacking/spoofing
+ * Cookie-only sessions to remove the need for a database or file backend
+ (ideal for clustered systems)
+ * Extensible Container object to support new back-ends
+ * Caches can be divided into namespaces (to represent templates, objects,
+ etc.) then keyed for different copies
+ * Create functions for automatic call-backs to create new cache copies after
+ expiration
+ * Fine-grained toggling of back-ends, keys, and expiration per Cache object
Deleted: packages/beaker/trunk/debian/dirs
===================================================================
--- packages/beaker/trunk/debian/dirs 2010-09-06 20:21:49 UTC (rev 14384)
+++ packages/beaker/trunk/debian/dirs 2010-09-06 20:38:22 UTC (rev 14385)
@@ -1 +0,0 @@
-usr/share/python-support/python-beaker
Added: packages/beaker/trunk/debian/python-beaker.pydist
===================================================================
--- packages/beaker/trunk/debian/python-beaker.pydist (rev 0)
+++ packages/beaker/trunk/debian/python-beaker.pydist 2010-09-06 20:38:22 UTC (rev 14385)
@@ -0,0 +1 @@
+Beaker python-beaker
Added: packages/beaker/trunk/debian/python3-beaker.pydist
===================================================================
--- packages/beaker/trunk/debian/python3-beaker.pydist (rev 0)
+++ packages/beaker/trunk/debian/python3-beaker.pydist 2010-09-06 20:38:22 UTC (rev 14385)
@@ -0,0 +1 @@
+Beaker python3-beaker
Modified: packages/beaker/trunk/debian/rules
===================================================================
--- packages/beaker/trunk/debian/rules 2010-09-06 20:21:49 UTC (rev 14384)
+++ packages/beaker/trunk/debian/rules 2010-09-06 20:38:22 UTC (rev 14385)
@@ -2,21 +2,22 @@
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-package=python-beaker
+
PYVERS=$(shell pyversions -vr)
+PY3VERS=$(shell py3versions -vs)
-include /usr/share/python/python.mk
ifeq (,$(py_libdir))
py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages
endif
+pkgdir = $(CURDIR)/debian/python$(if $(patsubst 3.%,,$(1)),,3)-beaker
clean:
- rm -f build-*
dh_testdir
dh_testroot
rm -rf build
- find . -name *\.py[co] -exec rm -f {} \;
- dh_clean
+ find . -name *.py[co] -delete
+ dh_clean build-*
build: build-indep
@@ -28,14 +29,14 @@
python setup.py build
touch $@
-install: $(PYVERS:%=install-python%)
+install: $(PYVERS:%=install-python%) $(PY3VERS:%=install-python%)
install-python%:
python$* setup.py install \
- --no-compile $(py_setup_install_args) \
+ $(py_setup_install_args) \
--single-version-externally-managed \
- --root $(CURDIR)/debian/$(package)
+ --root $(call pkgdir,$*)
-dpkg --compare-versions '$*' lt '2.5' && \
- rm -f $(CURDIR)/debian/$(package)/$(call py_libdir,$*)/beaker/ext/google.py
+ rm -f $(call pkgdir,$*)/$(call py_libdir,$*)/beaker/ext/google.py
binary-indep: build install
dh_testdir
@@ -45,6 +46,7 @@
dh_installdocs
dh_installexamples
dh_pysupport
+ dh_python3
dh_compress -X.py
dh_fixperms
dh_installdeb
Modified: packages/beaker/trunk/debian/watch
===================================================================
--- packages/beaker/trunk/debian/watch 2010-09-06 20:21:49 UTC (rev 14384)
+++ packages/beaker/trunk/debian/watch 2010-09-06 20:38:22 UTC (rev 14385)
@@ -1,2 +1,2 @@
version=3
-http://cheeseshop.python.org/packages/source/B/Beaker/Beaker-(.*)\.tar\.gz
+http://pypi.python.org/packages/source/B/Beaker/Beaker-(.*)\.tar\.gz
More information about the Python-modules-commits
mailing list