Commits

Palmer, 2E0EOL  committed 3f84c53

Debianise the module.

  • Participants
  • Parent commits 20c78ab
  • Tags python-select26-0.1a3-1

Comments (0)

Files changed (5)

File Makefile

-PYTHON?=python2.5
-TESTFLAGS=-v
-TESTOPTS=
-SETUPFLAGS=
-
-all: inplace
-
-# Build in-place
-inplace:
-	$(PYTHON) setup.py $(SETUPFLAGS) build_ext -i
-
-.PHONY=build
-build: 
-	$(PYTHON) setup.py $(SETUPFLAGS) build
-
-bdist_egg:
-	$(PYTHON) setup.py $(SETUPFLAGS) bdist_egg
-
-test_build: build 
-	$(PYTHON) runtests.py $(TESTFLAGS) $(TESTOPTS)
-
-test_inplace: inplace 
-	$(PYTHON) runtests.py $(TESTFLAGS) $(TESTOPTS)
-	
-sdist: egg
-	$(PYTHON) setup.py $(SETUPFLAGS) sdist --format=gztar
-
-upload: 
-	$(PYTHON) setup.py $(SETUPFLAGS) register sdist --format=gztar upload --sign
-
-install:
-	$(PYTHON) setup.py $(SETUPFLAGS) install
-
-# What should the default be?
-test: test_inplace
-
-egg: bdist_egg
-
-clean:
-	find . \( -name '*.o' -o -name '*~' -o -name '*.so' -o -name '*.py[cod]' -o -name '*.dll' \) -exec rm -f {} \;
-	rm -rf build
-
-realclean: clean
-	rm -f TAGS
-	rm -rf dist
-	$(PYTHON) setup.py clean -a
-

File debian/changelog

+python-select26 (0.1a3-1) stable; urgency=low
+
+  * Initial package.
+
+ -- David Palmer <david.palmer@gradwell.com>  Tue, 21 Sep 2010 13:42:00 +0100

File debian/compat

+7

File debian/control

+Source: python-select26
+Section: python
+Priority: optional
+Maintainer: David Palmer <david.palmer@gradwell.com>
+XS-Python-Version: >= 2.5
+Build-Depends: debhelper (>= 7), python-all-dev, python-support, python-all-dbg, python-setuptools, build-essential
+
+Package: python-select26
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Backport of the new select module with epoll and kqueue interface
+ The select26 extension is a backport of the new API functions of Python 2.6
+ for Python 2.3 to 2.5. It contains object oriented wrappers for epoll (Linux 2.6)
+ and kqueue/kevent (BSD).

File debian/rules

+#!/usr/bin/make -f
+export DH_VERBOSE=1
+
+clean:
+	echo faked clean
+
+%:
+	dh $@
+