release JCL 0.1 beta2

This commit is contained in:
David Rousselie
2010-05-11 20:37:27 +02:00
parent 0b2126836a
commit 13052b4668
15 changed files with 11524 additions and 83 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.coverage
*flymake.py
.ropeproject

32
Makefile Normal file
View File

@@ -0,0 +1,32 @@
PYTHON=`which python`
DESTDIR=/
BUILDIR=$(CURDIR)/debian/jcl
PROJECT=jcl
VERSION=0.1b2
all:
@echo "make source - Create source package"
@echo "make install - Install on local system"
@echo "make buildrpm - Generate a rpm package"
@echo "make builddeb - Generate a deb package"
@echo "make clean - Get rid of scratch and byte files"
source:
$(PYTHON) setup.py sdist $(COMPILE)
install:
$(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)
buildrpm:
$(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
builddeb:
$(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../
rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*
dpkg-buildpackage -i -I -rfakeroot
clean:
$(PYTHON) setup.py clean
fakeroot $(MAKE) -f $(CURDIR)/debian/rules clean
rm -rf build/ MANIFEST
find . -name '*.pyc' -delete

0
coverage.py Executable file → Normal file
View File

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
jcl (0.1b2) unstable; urgency=low
* JCL v0.1 beta 2
-- David Rousselie <dax@happycoders.org> Tue, 11 May 2010 07:45:54 +0200
jcl (0.1b1) unstable; urgency=low jcl (0.1b1) unstable; urgency=low
* JCL v0.1 beta 1 * JCL v0.1 beta 1

2
debian/compat vendored
View File

@@ -1 +1 @@
4 7

11
debian/control vendored
View File

@@ -2,15 +2,12 @@ Source: jcl
Maintainer: David Rousselie <dax@happycoders.org> Maintainer: David Rousselie <dax@happycoders.org>
Section: python Section: python
Priority: optional Priority: optional
Build-Depends: python-setuptools (>= 0.6b3-1), python-all-dev (>= 2.3.5-11), debhelper (>= 5.0.38), python-central (>= 0.5.6) Build-Depends: debhelper (>=7.0.50~), python-support (>= 0.6), cdbs (>= 0.4.49), python-all-dev
Standards-Version: 3.7.2 Standards-Version: 3.8.4
XS-Python-Version: all
Package: python-jcl Package: python-jcl
Architecture: all Architecture: all
Depends: ${python:Depends}, python-sqlobject (>= 0.8), python-pyxmpp (>= 1.0), python-pysqlite2 (>= 2.0) Depends: ${python:Depends}, python-sqlobject (>= 0.8), python-pyxmpp (>= 1.0.1), python-pysqlite2 (>= 2.0)
Suggests: Suggests:
XB-Python-Version: ${python:Versions}
Provides: ${python:Provides} Provides: ${python:Provides}
Description: Jabber Component Library Description: Jabber Component Library

11465
debian/patches/debian-changes-0.1b2 vendored Normal file

File diff suppressed because it is too large Load Diff

1
debian/patches/series vendored Normal file
View File

@@ -0,0 +1 @@
debian-changes-0.1b2

1
debian/pyversions vendored Normal file
View File

@@ -0,0 +1 @@
2.4-2.6

76
debian/rules vendored
View File

@@ -1,76 +1,10 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# This file was automatically generated by stdeb 0.2.a1 at DEB_PYTHON_SYSTEM := pysupport
# Mon, 12 Nov 2007 08:09:57 +0100
PACKAGE_NAME=python-jcl include /usr/share/cdbs/1/rules/debhelper.mk
MODULE_NAME=jcl include /usr/share/cdbs/1/class/python-distutils.mk
DEB_UPSTREAM_VERSION=0.1b1
PYVERS=$(shell pyversions -vr) clean::
rm -rf build build-stamp configure-stamp MANIFEST
build: build-stamp
build-stamp: $(PYVERS:%=build-python%)
touch $@
build-python%:
# Force setuptools, but reset sys.argv[0] to 'setup.py' because setup.py files expect that.
python$* -c "import setuptools,sys;f='setup.py';sys.argv[0]=f;execfile(f,{'__file__':f,'__name__':'__main__'})" build
touch $@
clean:
dh_testdir
dh_testroot
rm -f *-stamp
rm -rf dist build
-find -name '*.py[co]' | xargs rm -f
# find . -name *.pyc -exec rm {} \;
dh_clean dh_clean
install: build install-prereq $(PYVERS:%=install-python%)
install-prereq:
dh_testdir
dh_testroot
dh_clean -k
install-python%:
# Force setuptools, but reset sys.argv[0] to 'setup.py' because setup.py files expect that.
python$* -c "import setuptools,sys;f='setup.py';sys.argv[0]=f;execfile(f,{'__file__':f,'__name__':'__main__'})" install --no-compile --single-version-externally-managed --root $(CURDIR)/debian/${PACKAGE_NAME}
mv debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/${MODULE_NAME}-${DEB_UPSTREAM_VERSION}-py$*.egg-info debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/${MODULE_NAME}.egg-info
binary-arch:
binary-indep: build install
dh_testdir -i
dh_testroot -i
dh_pycentral -i
dh_installdocs -i
dh_installdirs -i
dh_installexamples -i
dh_strip -i
dh_compress -i -X.py
dh_fixperms -i
: # Replace all '#!' calls to python with $(PYTHON)
: # and make them executable
for i in \
`find debian/python-jcl/usr/bin -type f` \
`find debian/python-jcl/usr/lib -type f`; \
do \
case "$$i" in *-[0-9].[0-9]) continue; esac; \
sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \
$$i > $$i.temp; \
if cmp --quiet $$i $$i.temp; then \
rm -f $$i.temp; \
else \
mv -f $$i.temp $$i; \
chmod 755 $$i; \
echo "fixed interpreter: $$i"; \
fi; \
done
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)

View File

@@ -23,7 +23,7 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
setup(name='jcl', setup(name='jcl',
version='0.1b1', version='0.1b2',
description='Jabber Component Library', description='Jabber Component Library',
author='David Rousselie', author='David Rousselie',
author_email='dax@happycoders.org', author_email='dax@happycoders.org',

View File

@@ -1,6 +1,6 @@
Metadata-Version: 1.0 Metadata-Version: 1.0
Name: jcl Name: jcl
Version: 0.1b1 Version: 0.1b2
Summary: Jabber Component Library Summary: Jabber Component Library
Home-page: http://people.happycoders.org/dax/projects/jcl Home-page: http://people.happycoders.org/dax/projects/jcl
Author: David Rousselie Author: David Rousselie

View File

@@ -17,5 +17,6 @@ src/jcl/jabber/feeder.py
src/jcl/jabber/message.py src/jcl/jabber/message.py
src/jcl/jabber/presence.py src/jcl/jabber/presence.py
src/jcl/jabber/register.py src/jcl/jabber/register.py
src/jcl/jabber/vcard.py
src/jcl/model/__init__.py src/jcl/model/__init__.py
src/jcl/model/account.py src/jcl/model/account.py

View File

@@ -1,3 +1,3 @@
SQLObject>=0.8 SQLObject>=0.8
pyxmpp>=1.0 pyxmpp>=1.0.1
pysqlite>=2.0 pysqlite>=2.0