Add Debian packaging configuration
darcs-hash:20071113175844-86b55-930c81a3e37181559260cd4df978d5d4baa77a9a.gz
This commit is contained in:
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
jcl (0.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* JCL first version
|
||||||
|
|
||||||
|
-- David Rousselie <dax@happycoders.org> Mon, 12 Nov 2007 08:09:57 +0100
|
||||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
4
|
||||||
17
debian/control
vendored
Normal file
17
debian/control
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
Source: jcl
|
||||||
|
Maintainer: David Rousselie <dax@happycoders.org>
|
||||||
|
Section: python
|
||||||
|
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)
|
||||||
|
Standards-Version: 3.7.2
|
||||||
|
XS-Python-Version: all
|
||||||
|
|
||||||
|
Package: python-jcl
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${python:Depends}, python-sqlobject (>= 0.8), python-pyxmpp (>= 1.0)
|
||||||
|
Recommends: python-pysqlite2
|
||||||
|
Suggests:
|
||||||
|
XB-Python-Version: ${python:Versions}
|
||||||
|
Provides: ${python:Provides}
|
||||||
|
Description: Jabber Component Library
|
||||||
|
|
||||||
76
debian/rules
vendored
Executable file
76
debian/rules
vendored
Executable file
@@ -0,0 +1,76 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
# This file was automatically generated by stdeb 0.2.a1 at
|
||||||
|
# Mon, 12 Nov 2007 08:09:57 +0100
|
||||||
|
|
||||||
|
PACKAGE_NAME=python-jcl
|
||||||
|
MODULE_NAME=jcl
|
||||||
|
DEB_UPSTREAM_VERSION=0.1
|
||||||
|
|
||||||
|
PYVERS=$(shell pyversions -vr)
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
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
|
||||||
11
src/jcl.egg-info/PKG-INFO
Normal file
11
src/jcl.egg-info/PKG-INFO
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
Metadata-Version: 1.0
|
||||||
|
Name: jcl
|
||||||
|
Version: 0.1
|
||||||
|
Summary: Jabber Component Library
|
||||||
|
Home-page: http://people.happycoders.org/dax/projects/jcl
|
||||||
|
Author: David Rousselie
|
||||||
|
Author-email: dax@happycoders.org
|
||||||
|
License: GPL
|
||||||
|
Description: UNKNOWN
|
||||||
|
Keywords: jabber component
|
||||||
|
Platform: UNKNOWN
|
||||||
21
src/jcl.egg-info/SOURCES.txt
Normal file
21
src/jcl.egg-info/SOURCES.txt
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
README
|
||||||
|
setup.py
|
||||||
|
src/jcl/__init__.py
|
||||||
|
src/jcl/error.py
|
||||||
|
src/jcl/lang.py
|
||||||
|
src/jcl/runner.py
|
||||||
|
src/jcl.egg-info/PKG-INFO
|
||||||
|
src/jcl.egg-info/SOURCES.txt
|
||||||
|
src/jcl.egg-info/dependency_links.txt
|
||||||
|
src/jcl.egg-info/requires.txt
|
||||||
|
src/jcl.egg-info/top_level.txt
|
||||||
|
src/jcl/jabber/__init__.py
|
||||||
|
src/jcl/jabber/command.py
|
||||||
|
src/jcl/jabber/component.py
|
||||||
|
src/jcl/jabber/disco.py
|
||||||
|
src/jcl/jabber/feeder.py
|
||||||
|
src/jcl/jabber/message.py
|
||||||
|
src/jcl/jabber/presence.py
|
||||||
|
src/jcl/jabber/register.py
|
||||||
|
src/jcl/model/__init__.py
|
||||||
|
src/jcl/model/account.py
|
||||||
1
src/jcl.egg-info/dependency_links.txt
Normal file
1
src/jcl.egg-info/dependency_links.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
3
src/jcl.egg-info/requires.txt
Normal file
3
src/jcl.egg-info/requires.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
SQLObject>=0.8
|
||||||
|
pyxmpp>=1.0
|
||||||
|
pysqlite>=2.0
|
||||||
1
src/jcl.egg-info/top_level.txt
Normal file
1
src/jcl.egg-info/top_level.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
jcl
|
||||||
Reference in New Issue
Block a user